@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');

section {
    background: url(https://itosoken.info/wp-content/uploads/2026/03/bg-ivory.jpg);
	background-size: 512px;
}

/* =========================================================
  ルート変数（既存）
========================================================= */
:root {
	/* フォント */
	--font1: "noto sans jp";
	--font2: "Roboto", sans-serif;
	--font3: "noto serif jp";
	--line-height: 2;
	--font-weight:600;
	--letter-spacing: 0em;
	--font-size1: 16px;

	/* 文字色・テーマ色 */
	--text1: #000;
	--footer-text: #000;
	--footer-text-hover: #666;
	--main1: #70ba2d;
	--dark: #377003;
	--light: #dcf0ca;
	--main2: #e67e22;
	--foot-border: 1px solid #ffffff85;

	/* レイアウト */
	--sec-width: 1100px;
	--sec-narrow-width: 800px;
	--sec-narrow-width2: 800px;
	--smb: 35px;
	--sec-pad: 60px;
	--gap: 5%;
	--scbg1: #fafafa;
	--scbg2: #fafafa;
	--scbg3: #fafafa;
}

p.rect {
    position: relative;
    color: #fff;
    width: 700px;
    margin: 0 auto;
    font-weight: 500;
}
h3.recmds {
    text-align: center;
    color: #fff;
    position: relative;
    font-size: 26px;
    margin-bottom: 29px;
    display: block;
}
h2.kmdsr.white span {
    color: #70ba2d7d;
}
h2.kmdsr.white {
    color: #fff;
}
.recruit-bg:before {
    content: "";
    background: #00000087;
    width: 100%;
    height: 100%;
    position: absolute;
	    top: 0;
}
div.recruit-bg {
    background: url(https://itosoken.info/wp-content/uploads/2026/03/recruit-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    width: 90vw;
    margin: 0 auto;
    position: relative;
	    padding: 90px 0;
}
.obi {
    position: absolute;
    width: 60vw;
    height: 400px;
    right: 0;
    background: #ffec3d30;
    z-index: 1;
    top: -200px;
}
p.access-text {
    margin-bottom: 39px;
}
a.phone.bg span {
    display: block;
    font-family: var(--font1);
    font-size: 14px;
    line-height: 1;
    margin-top: 5px;
}
a.phone.bg {
    font-size: 24px;
    text-decoration: none;
    font-family: roboto;
    background: var(--light);
    display: block;
    border-radius: 10px;
    color: var(--text1);
    line-height: 1;
    padding: 10px 0;
}
a.phone {
    color: var(--dark);
    font-size: 24px;
    text-decoration: none;
    font-family: roboto;
}
h4.mds {
    margin-bottom: 10px;
    font-size: 16px;
}
h3.mds {
    font-size: 20px;
}
h3.mds:before {
    content: "■";
    color: var(--main1);
    margin-right: 10px;
}
article.aic-posts__item {
    border-bottom: 1px solid #c4c4c4;
}

a.intver {
    margin-top: 60px;
    display: block;
	    z-index: 5;
    position: relative;
}
svg.site-header__icon.site-header__icon--chevron {
    flex-shrink: 1;
}
ul.site-header__menu * {
    flex-shrink: 0;
}

p.maint {
    font-size: 18px;
    width: 800px;
    margin: 0 auto;
    line-height: 2;
    max-width: 100%;
}
.circle-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: 40px 20px;
  flex-wrap: wrap;
}
 
.circle-item {
    width: clamp(120px, 15vw, 180px);
    height: clamp(120px, 15vw, 180px);
  border-radius: 50%;
  background-color: #6ab04c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 16px;
  box-sizing: border-box;
}
 
.circle-item .main {
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}
 
.circle-item .sub {
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.4;
}

.hero-content .ja {
	    font-weight: 900;
    font-size: 3vw;
    line-height: 1;
    margin: 1vw 0 0;
}

.hero-content .eng {
    font-size: 5vw;
    font-family: 'Roboto';
    text-transform: uppercase;
    color: var(--main1);
    line-height: 1;
    margin: 0;
}
.hero-content {
    position: absolute;
    left: 3vw;
    bottom: 5vw;
}
.hero {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 78px);
    padding: 0;
	    background: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  z-index: 1;
}

.site-header__logo {
    margin-left: 30px;
}
/* =========================================================
  ベース・リセット
========================================================= */
body {
	margin: 0;
}

/* =========================================================
  セクション・基本レイアウト
========================================================= */
section {
	padding-top: var(--sec-pad);
	padding-bottom: var(--sec-pad);
	position: relative;
}
section.bg1 { background: var(--scbg1); }
section.bg2 { background: var(--scbg2); }
section.bg3 { background: var(--scbg3); }

.inner {
	width: var(--sec-width);
	margin: 0 auto;
	max-width: 90%;
}

.center {
	text-align: center;
}

/* =========================================================
  レイアウトユーティリティ（コンテナ / Flex / 表示切替 / 分割）
========================================================= */
.container {
	width: 100%;
	max-width: var(--sec-width);   /* 置き換え */
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--smb);     /* 置き換え */
	padding-left: var(--smb);      /* 置き換え */
}

/* Flex：左右中央揃え */
.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Flex：両端揃え */
.flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* PCのみ / スマホのみ */
@media (max-width: 767px) {
	.pc-only { display: none !important; }
}
@media (min-width: 768px) {
	.sp-only { display: none !important; }
}

/* 2カラム分割（inner.split2） */
.inner.split2 {
    display: flex;
    gap: 6%;
    max-width: 100%;
}
.inner.split2 div {
	width: 47%;
	text-align: center;
}


/* 画像いっぱいcenl系 */
@media screen and (min-width: 681px) {
  .cenl {
    /* (画面幅 - 1400px) ÷ 2 を計算。マイナスになる場合は0pxにする */
    padding-left: max(0px, calc((100vw - 1400px) / 2));
  }
  .cenr {
    padding-right: max(0px, calc((100vw - 1400px) / 2));
  }
}
.text-container {
    width: 47%;
	    box-sizing: border-box;
}
.wide-flex .img-container{
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.wide-flex .img-container img {
    aspect-ratio: 2 / 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wide-flex {
    display: flex;
	gap: 3%;
	    align-items: center;
}


@media screen and (max-width: 680px) {
.wide-flex {
    flex-wrap: wrap;
}
	.text-container {
    width: 90%;
    margin: 0 auto;
}
.wide-flex .img-container {
    width: 100%;
    margin-bottom: var(--smb);
}
	.wide-flex.rev {
    flex-direction: column-reverse;
}
}



/* =========================================================
  共通パーツ（ボタン / 電話リンク / 定義リスト）
========================================================= */
/* ボタン */
a.btn {
	position: relative;
	display: block;
	background: var(--main1);
	color: #fff;
	padding: 7px 0;
	text-align: center;
	text-decoration: none;
	width: 300px;
	margin: 0 auto;
	max-width: 100%;
}
a.btn:hover {
	background: var(--dark);
}
a.btn:after {
	content: "\f138";
	font-family: "Font Awesome 7 pro";
	font-weight: 900;
	position: absolute;
	right: 10px;
	line-height: 0;
	top: 50%;
}

/* 電話リンク */
#contact-parts a.phone {
	color: var(--text1);
	font-size: 28px;
	text-decoration: none;
}
a.phone:before {
	content: "\f095";
	font-family: "Font Awesome 7 pro";
	font-weight: 900;
	font-size: 80%;
	margin-right: .2em;
	position: relative;
	top: -0.1em;
}

/* 定義リスト */
dl.list dt {
	position: absolute;
}
dl.list dd {
	margin-left: 100px;
}



/* =========================================================
  見出しデザイン（バリエーション）
========================================================= */
/* 共通（kmdsr / kmdsl） */
.kmdsr,
.kmdsl {
	    z-index: 1;
	    position: relative;
    font-size: 32px;
	font-weight: 600;
	    margin: 0;
    padding-top: 30px;
    margin-bottom: 30px;
}

.kmdsr span, .kmdsl span {
    font-weight: 900;
    position: absolute;
    color: #70ba2d80;
font-size: 63px;
    top: 0;
    line-height: 1;
    z-index: -1;
    left: 0;
    font-family: roboto;
    text-transform: uppercase;
}

/* 中央（kmdsr）差分 */
.kmdsr {
	text-align: center;
}
.kmdsr span {
	right: 0;
}


/* 共通（cbar / lbar） */
.cbar,
.lbar {
	padding-bottom: 40px;
	position: relative;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
}

.cbar span,
.lbar span {
	display: block;
	font-size: 32px;
	line-height: 1;
	padding-bottom: 10px;
}

.cbar:after,
.lbar:after {
	position: absolute;
	content: '';
	width: 60px;
	height: 2px;
	margin-top: 20px;
	display: block;
	background-color: var(--text1); /* 置き換え */
}

/* 中央バー（cbar）差分 */
.cbar {
	text-align: center;
}
.cbar:after {
	left: 50%;
	transform: translateX(-50%);
}

/* 左バー（lbar）差分 */
.lbar:after {
	left: 0;
}

/* =========================================================
  アニメーションユーティリティ（cover / fade）
========================================================= */
.cover-bottom.sc:before { height: 0; }
.cover-bottom:before {
	content: "";
	background: var(--main1);
	position: absolute;
	height: 100%;
	width: 100%;
	right: 0;
	bottom: 0;
	transition: .5s ease;
}

.cover-right.sc:before,
.cover-left.sc:before { width: 0; }

.cover-right:before {
	content: "";
	background: var(--main1);
	position: absolute;
	height: 100%;
	width: 100%;
	right: 0;
	top: 0;
	transition: .5s ease;
}
.cover-left:before {
	content: "";
	background: var(--main1);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	transition: .5s ease;
}

.cover.sc:before { opacity: 0; }
.cover:before {
	content: "";
	background: var(--main1);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	transition: .5s ease;
}

.fade-right.sc,
.fade-left.sc,
.fade-bottom.sc {
	opacity: 1;
	transform: translate(0px, 0px);
}
.fade-bottom {
	opacity: 0;
	transition: .5s ease;
	transform: translate(0, 15px);
}
.fade-left {
	opacity: 0;
	transition: .5s ease;
	transform: translate(-15px, 0px);
}
.fade-right {
	opacity: 0;
	transition: .5s ease;
	transform: translate(15px, 0px);
}
.fadein.sc { opacity: 1; }
.fadein {
	opacity: 0;
	transition: .5s ease;
}

/* =========================================================
  ヘッダー（site-header）
========================================================= */
.site-header {
	top: 0;
	z-index: 1000;
	width: 100%;
	font-size: var(--font-size1);
	line-height: var(--line-height);
	letter-spacing: var(--letter-spacing);
}

/*ヘッダー通常*/
.site-header {
	position: sticky;
	background: #fff;
	box-shadow: 0px 0px 2px 1px rgba(66, 66, 66, 0.3);
}

.site-header .site-menu__label-jp {
	color: var(--text1);
}

/*ヘッダーfixed*/
/*
header.site-header {
	position: fixed;
}
header.site-header.is-scrolled {
	background: #ffffffe6;
	box-shadow: 0px 0px 2px 1px rgba(66, 66, 66, 0.3);
}
.site-menu__label-jp {
	color: #fff;
}
.site-header.is-scrolled .site-menu__label-jp {
	color: var(--text1);
}
*/



.site-header a { text-decoration: none; }

.site-header a:focus-visible,
.site-header button:focus-visible {
	outline: 2px solid var(--main2);
	outline-offset: 3px;
}

/* ロゴ */
.site-header__logo { font-size: 0; }

.site-header__logo-link {
	display: inline-flex;
	align-items: center;
}
.site-header__logo-img {
	display: block;
	width: auto;
	height: 36px;
}
.site-header__logo-text {
	font-family: var(--font2);
	color: var(--text1);
	font-weight: 700;
}

/* メニューラベル */
.site-header .site-menu__label-jp {
    line-height: 1;
	font-family: var(--font1);
	font-size: 14px;
	font-weight:var(--font-weight);
}
.site-header .site-menu__label {
	display: inline-flex;
	flex-direction: column;
    gap: 4px;
	line-height: 1.2;
}
.site-header .site-menu__label-en {
	    line-height: 1;
	font-family: var(--font2);
	color: var(--main1);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
		font-weight:var(--font-weight);
}

/* コンテナ */
.site-header__container {
	margin: 0 auto;
}
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(12px, 2vw, 24px);
	min-height: 50px;
}

/* Desktop nav */
.site-header__nav--desktop { display: none; }

.site-header__menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-header__item { position: relative;     text-align: center;}

.site-header__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 2px;
	color: var(--text1);
}

/* 下線 hover */
.site-header__item > .site-header__link { position: relative; }
.site-header__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -12px;
	height: 2px;
	background: transparent;
	transition: background 0.15s ease;
}
.site-header__item > .site-header__link:hover::after,
.site-header__item > .site-header__link:focus-visible::after {
	background: var(--main1);
}
.site-header__link--current::after {
	background: var(--main1);
}

/* ドロップダウン */
.site-header__dropdown {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
min-width: 120px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.site-header__item--has-children:hover > .site-header__dropdown,
.site-header__item--has-children:focus-within > .site-header__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-header__dropdown-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}
.site-header__dropdown-link {
	display: block;
padding: 0;
	border-radius: 10px;
	color: var(--text1);
}
.site-header__dropdown-link:hover,
.site-header__dropdown-link:focus-visible {
	background: var(--scbg1);
}

/* CTA（ヘッダー） */
.site-header__link.cta {
	background: var(--main1);
	padding: 29px 16px;
	color: #fff;
}
.site-header .cta .site-menu__label { display: block; }

a.site-header__link.cta span:after {
	content: "\f0e0";
	font-family: "font awesome 7 pro";
	display: inline-block;
	font-weight: 500;
	margin-left: 7px;
}

.site-header__link.cta .site-menu__label-en,
.site-header__link.cta .site-menu__label-jp {
	color: #fff;
}
.site-header__link.cta::after { display: none; }
.site-header__link.cta:hover,
.site-header__link.cta:focus-visible {
	filter: brightness(0.95);
}

/* モバイル：トグル */
.site-header__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--text1);
	    border: 0;
    background: none;
	    padding: 0;
}
svg.site-header__icon.site-header__icon--menu {
    width: 38px;
    height: 38px;
}
.site-header__toggle:hover {
	border-color: rgba(0, 0, 0, 0.2);
}

/* モバイル：メニュー */
.site-header__mobile {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
	padding: 14px clamp(16px, 4vw, var(--smb));
}
.site-header__nav--mobile {
	max-width: var(--sec-width);
	margin: 0 auto;
}
.site-header__mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.site-header__mobile-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 10px;
	border-radius: 12px;
	color: var(--text1);
	background: transparent;
}
.site-header__mobile-link:hover,
.site-header__mobile-link:focus-visible {
	background: var(--scbg1);
}

/* モバイル CTA */
.site-header__mobile-link.cta { background: var(--main1); }
.site-header__mobile-link.cta .site-menu__label-en,
.site-header__mobile-link.cta .site-menu__label-jp { color: #fff; }

/* モバイル：サブメニュー */
.site-header__mobile-subtoggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	color: var(--text1);
}
.site-header__mobile-subtoggle:hover {
	border-color: rgba(0, 0, 0, 0.2);
}

.site-header__mobile-sub {
	margin-top: 6px;
	padding: 8px 0 0 14px;
	border-left: 2px solid rgba(0, 0, 0, 0.08);
}
.site-header__mobile-submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

/* NOTE: child links are output as .site-header__dropdown-link in mobile too */
.site-header__mobile-submenu a {
	display: block;
	padding: 10px 10px;
	border-radius: 12px;
	color: var(--text1);
}
.site-header__mobile-submenu a:hover,
.site-header__mobile-submenu a:focus-visible {
	background: var(--scbg1);
}

/* PC/スマホ切替 */
@media (min-width: 1280px) {
	.site-header__nav--desktop { display: block; }
	.site-header__toggle { display: none; }
	.site-header__mobile { display: none; }
}

/* 管理バー（WP）オフセット */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* =========================================================
  フッター（site-footer）
========================================================= */
.site-footer {
	width: 100%;
    background: #c8eea5;
	color: var(--footer-text);
	padding: 50px 0 0;

	font-size: var(--font-size1);
	line-height: var(--line-height);
	letter-spacing: var(--letter-spacing);
}
.site-footer a { text-decoration: none; }

.site-footer a:focus-visible {
	outline: 2px solid var(--main2);
	outline-offset: 3px;
}

.site-footer__container {
	max-width: var(--sec-width);
	margin: 0 auto;
}

/* フッター分割（任意パーツ） */
.foot-split {
	display: flex;
	width: 100%;
	justify-content: space-between;
	margin-bottom: 40px;
}

/* ロゴ */
.site-footer__top {
	display: flex;
	justify-content: center;
	padding-bottom: 16px;
}
.site-footer__logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.site-footer__logo-img {
	display: block;
	width: auto;
	height: 51px;
}
.site-footer__logo-text {
	font-family: var(--font2);
	color: var(--footer-text);
	font-weight: 700;
}

/* ナビ */
.site-footer__nav {
	display: flex;
	justify-content: center;
}
.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 22px;
	width: 100%;
}

.site-footer__link {
	display: inline-flex;
	align-items: center;
	padding: 8px 10px;
	border-radius: 999px;
	color: var(--footer-text);
}
.site-footer__link:hover,
.site-footer__link:focus-visible {
	color: var(--footer-text-hover);
	background: rgba(255, 255, 255, 0.14);
}

/* フッターはENラベル非表示 */
.site-footer .site-menu__label-en { display: none; }

/* JPラベル */
.site-footer .site-menu__label-jp,
.site-footer .site-menu__label {
	font-family: var(--font1);
	color: var(--footer-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

/* 子リンク */
.site-footer__link--child { opacity: 0.85; }

/* CTA hover（必要なら） */
.site-footer__link.cta:hover,
.site-footer__link.cta:focus-visible {
	filter: brightness(0.95);
}

/* コピーライト */
.site-footer__bottom {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	background: #fff;
	padding: 10px 0;
}
.site-footer__copy {
	color: var(--text1);
	opacity: 0.9;
}

/* =========================================================
  ページヒーロー（タイトルセクション）
========================================================= */
.page-hero {
	position: relative;
	width: 100%;
	background-color: var(--light);
	background-size: cover;
	background-position: center;
	padding: clamp(44px, 7vw, 92px) 0;

	background-image: url('https://georgekrnir.mixh.jp/ai-test2/wp-content/uploads/2025/12/24633339_m.jpg');
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0.10),
		rgba(0,0,0,0.22)
	);
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--sec-width);
	margin: 0 auto;
	padding-inline: clamp(16px, 4vw, var(--smb));
	display: flex;
	justify-content: center;
}

.page-hero__box {
	background: rgba(255,255,255,0.78);
	border: 1px solid rgba(0,0,0,0.10);
	border-radius: 14px;
	padding: clamp(14px, 2.2vw, 22px) clamp(18px, 3vw, 28px);
	text-align: center;
	max-width: min(760px, 100%);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.page-hero__title-en {
	margin: 0 0 6px;
	font-family: var(--font2);
	color: var(--main1);
	letter-spacing: 0.10em;
	text-transform: uppercase;
	font-size: 12px;
}

.page-hero__title-jp {
	margin: 0;
	font-family: var(--font1);
	color: var(--text1);
	font-weight: 700;
	line-height: 1.25;
	font-size: clamp(20px, 3.2vw, 34px);
}

/* =========================================================
  お問い合わせ（Contact Form 7 UI）
========================================================= */
.cf7-form {
	max-width: var(--sec-narrow-width);
	margin: 0 auto;
	font-family: var(--font1);
	color: var(--text1);
}

.cf7-lead { margin-bottom: 16px; }
.cf7-note { margin: 0; font-size: 14px; }

.cf7-required {
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--main2);
	color: #fff;
	vertical-align: middle;
	margin-left: 6px;
}

.cf7-field { margin: 14px 0; }

.cf7-label {
	display: inline-block;
	font-weight: 700;
	margin-bottom: 8px;
}

.cf7-help {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--dark);
	opacity: 0.85;
}

.cf7-link {
	color: var(--main1);
	text-decoration: underline;
}
.cf7-link:hover { opacity: 0.85; }

/* グリッド */
.cf7-grid {
	display: grid;
	gap: 12px;
}
.cf7-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cf7-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
	.cf7-grid--2, .cf7-grid--3 { grid-template-columns: 1fr; }
}

/* 入力 */
.cf7-input,
.cf7-form input[type="text"],
.cf7-form input[type="email"],
.cf7-form input[type="tel"],
.cf7-form input[type="url"],
.cf7-form input[type="date"],
.cf7-form input[type="time"],
.cf7-form select,
.cf7-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,0.14);
	border-radius: 12px;
	padding: 12px 12px;
	background: #fff;
	color: var(--text1);
	font-size: var(--font-size1);
	line-height: var(--line-height);
}
.cf7-form textarea { min-height: 160px; resize: vertical; }

.cf7-form input:focus,
.cf7-form select:focus,
.cf7-form textarea:focus {
	outline: 2px solid var(--light);
	border-color: var(--main1);
}

/* ラジオ・チェック */
.cf7-choice .wpcf7-list-item,
.cf7-accept .wpcf7-list-item {
	margin: 0 14px 8px 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.cf7-accept-text { margin-left: 6px; }

/* 希望日時（スケジュール） */
.cf7-schedule {
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 16px;
	padding: 14px;
	background: rgba(255,255,255,0.60);
}
.cf7-schedule__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.10);
}
.cf7-schedule__row + .cf7-schedule__row { margin-top: 10px; }
.cf7-schedule__row:focus-within {
	border-color: var(--main1);
	box-shadow: 0 0 0 3px rgba(52,152,219,0.18);
}
.cf7-schedule__label {
	flex: 0 0 92px;
	font-family: var(--font1);
	font-weight: 700;
	color: var(--dark);
	line-height: 1.2;
}
.cf7-schedule__row .wpcf7-form-control-wrap {
	flex: 1 1 220px;
	min-width: 180px;
}
.cf7-schedule__row .cf7-input,
.cf7-schedule__row input[type="date"],
.cf7-schedule__row select {
	width: 100%;
}
.cf7-schedule__row select {
	appearance: none;
	-webkit-appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.55) 50%),
		linear-gradient(135deg, rgba(0,0,0,0.55) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 50%,
		calc(100% - 12px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 36px;
}
@media (max-width: 560px) {
	.cf7-schedule__label {
		flex: 0 0 100%;
		margin-bottom: 4px;
	}
	.cf7-schedule__row .wpcf7-form-control-wrap {
		flex: 1 1 100%;
		min-width: 0;
	}
}

/* 送信 */
.cf7-actions { margin-top: 18px; }
.cf7-submit,
.cf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: none;
	border-radius: 14px;
	padding: 14px 16px;
	background: var(--main1);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
.cf7-submit:hover { filter: brightness(0.95); }
.cf7-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* メッセージ */
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	border-radius: 14px;
	padding: 14px;
	border: 1px solid rgba(0,0,0,0.12);
	background: rgba(255,255,255,0.65);
}
.wpcf7-not-valid-tip {
	color: var(--main2);
	font-size: 13px;
	margin-top: 6px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: rgba(230,126,34,0.5);
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(52,152,219,0.5);
}

/* =========================================================
  投稿リスト（aic_posts）
========================================================= */
.aic-posts {
	color: var(--text1);
	font-family: var(--font1);
	line-height: var(--line-height);
	letter-spacing: var(--letter-spacing);
}

.aic-posts__inner {
	max-width: var(--sec-width);
	margin: 0 auto;
	padding-inline: var(--smb);
}

.aic-posts__items {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	    z-index: 5;
    position: relative;
}

.aic-posts--grid .aic-posts__items {
	grid-template-columns: repeat(var(--aic-cols, 3), minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 860px) {
	.aic-posts--grid .aic-posts__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.aic-posts__inner { padding-inline: 16px; }
	.aic-posts--grid .aic-posts__items { grid-template-columns: 1fr; }
}

/* card/link */
.aic-posts__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.aic-posts__link:focus-visible {
	outline: 2px solid var(--main2);
	outline-offset: 3px;
}

/* thumb */
.aic-posts__thumb {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: var(--scbg1);
}
.aic-posts__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* body */
.aic-posts__body {
	display: grid;
	gap: 6px;
}
.aic-posts__title,
.aic-posts__excerpt { margin: 0; }
.aic-posts__title { font-weight: 700; }
.aic-posts__excerpt { opacity: 0.85; }
.aic-posts__date {
	font-size: 13px;
	color: var(--dark);
	opacity: 0.85;
}

/* preset: simple */
.aic-posts--simple .aic-posts__item {
	border-bottom: 1px solid rgba(0,0,0,0.10);
}
.aic-posts--simple .aic-posts__link {
	padding: 12px 2px;
}
.aic-posts--simple .aic-posts__thumb { display: none; }
.aic-posts--simple .aic-posts__excerpt { display: none; }
.aic-posts--simple .aic-posts__body {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.aic-posts--simple .aic-posts__title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 16px;
	line-height: 1.35;
}
.aic-posts--simple .aic-posts__date {
	flex: 0 0 auto;
	white-space: nowrap;
	width: 8em;
}
.aic-posts--simple .aic-posts__link:hover .aic-posts__title {
	color: var(--main1);
}

/* preset: media */
.aic-posts--media .aic-posts__item {
	border: 1px solid rgba(0,0,0,0.10);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}
.aic-posts--media .aic-posts__link {
	display: flex;
	gap: 14px;
	padding: 12px;
}
.aic-posts--media .aic-posts__thumb {
	flex: 0 0 160px;
	height: 110px;
	border-radius: 12px;
}
.aic-posts--media .aic-posts__body {
	flex: 1 1 auto;
	min-width: 0;
	align-content: start;
}
.aic-posts--media .aic-posts__title {
	font-size: 16px;
	line-height: 1.35;
}
.aic-posts--media .aic-posts__excerpt { font-size: 14px; }
.aic-posts--media .aic-posts__link:hover .aic-posts__title {
	color: var(--main1);
}
@media (max-width: 680px) {
	.aic-posts--media .aic-posts__link { flex-direction: column; }
	.aic-posts--media .aic-posts__thumb {
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* utility */
.aic-posts--no-excerpt .aic-posts__excerpt { display: none; }
.aic-posts--no-thumb .aic-posts__thumb { display: none; }

/* pagination */
.aic-posts__pagination {
	margin-top: 18px;
	display: flex;
	justify-content: center;
}
.aic-posts__pagination .page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.aic-posts__pagination .page-numbers li { margin: 0; padding: 0; }

.aic-posts__pagination .page-numbers a,
.aic-posts__pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,0.12);
	background: #fff;
	color: var(--text1);
	text-decoration: none;
}
.aic-posts__pagination .page-numbers a:hover {
	border-color: rgba(0,0,0,0.18);
	color: var(--main1);
}
.aic-posts__pagination .page-numbers .current {
	background: var(--main1);
	border-color: var(--main1);
	color: #fff;
}

/* prev/next */
.aic-posts__pager {
	display: inline-flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.aic-posts__pager a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,0.12);
	background: #fff;
	color: var(--text1);
	text-decoration: none;
}
.aic-posts__pager a:hover { color: var(--main1); }

/* =========================================================
  スライダー（oai-slider）
========================================================= */
.oai-slider {
	--oai-h: 420px;
	--oai-overlay: 0;          /* 0〜1 */
	--kb-duration: 9000ms;
	--kb-from-scale: 1.08;
	--kb-to-scale: 1.25;
	--kb-x: -2%;
	--kb-y: -2%;

	position: relative;
	height: var(--oai-h);
	overflow: hidden;
		padding:0;
}

.oai-slider .swiper { height: 100%; }
.oai-slider .swiper-slide { position: relative; }

.oai-slider .oai-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
	will-change: transform;
}

/* 背景スライダーとして上に置く */
.oai-slider[data-layer="bg"] .swiper {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.oai-slider[data-layer="bg"] > :not(.swiper) {
	position: relative;
	z-index: 2;
}

/* オーバーレイ */
.oai-slider::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0,0,0,var(--oai-overlay));
	pointer-events: none;
}

/* Ken Burns */
.oai-slider.is-kenburns .swiper-slide-active .oai-slide-bg {
	animation: oaiKenBurns var(--kb-duration) linear both;
}
@keyframes oaiKenBurns {
	from { transform: scale(var(--kb-from-scale)) translate(0,0); }
	to   { transform: scale(var(--kb-to-scale)) translate(var(--kb-x), var(--kb-y)); }
}

*{
    line-height: var(--line-height);
    font-weight: var(--font-weight);
	font-size:var(--font-size1);
}


/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}



/* =========================================================
  固定お問い合わせ欄（一番下に固定）
========================================================= */
section#contact-parts:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: #ffffff66;
	z-index: -1;
	top: 0;
}

section#contact-parts {
	background: url(https://georgekrnir.mixh.jp/ai-test2/wp-content/uploads/2025/12/24633339_m.jpg);
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 2;
}
