@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;
}


@media (min-width: 681px) and (max-width: 1450px) {
    .text-container.cenr {
        padding-right: 5%;
    }
    .text-container.cenl {
        padding-left: 5%;
    }
}

article.border-b.border-gray-100.pb-8.flex.flex-col.md\:flex-row.gap-6.items-start {
    border-bottom: 1px solid #999;
}
.archive main.w-full ,.single main.w-full{
	background: url(https://itosoken.info/wp-content/uploads/2026/03/bg-ivory.jpg);
}
.inner.split2.max90 {
    max-width: 90%;
}
.inner.split2.mg30 {
    margin-bottom: 21px;
}
/* =========================================================
  個別投稿（single-post）
========================================================= */
article.single-post {
	padding: var(--sec-pad) 0;
	background: url(https://itosoken.info/wp-content/uploads/2026/03/bg-ivory.jpg);
	background-size: 512px;
}
.single-post__inner {
width: 800px;
	margin: 0 auto;
	max-width: 90%;
}
.single-post__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
.single-post__date {
	font-size: 14px;
	color: #888;
}
.single-post__cats {
	display: flex;
	gap: 6px;
}
.single-post__cat {
	display: inline-block;
	font-size: 12px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--scbg1);
	color: var(--main1);
	font-weight: 600;
}
.single-post__title {
	font-family: var(--font2);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 24px;
}
.single-post__thumb {
	margin: 0 0 32px;
}
.single-post__thumb-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.single-post__content {
	line-height: var(--line-height);
}
.single-post__content h2 {
	font-family: var(--font2);
	font-size: 22px;
	font-weight: 600;
	margin: 40px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--main1);
}
.single-post__content h3 {
	font-family: var(--font2);
	font-size: 18px;
	font-weight: 600;
	margin: 32px 0 12px;
	padding-left: 12px;
	border-left: 3px solid var(--main1);
}
.single-post__content p {
	margin: 0 0 16px;
}
.single-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.single-post__content ul,
.single-post__content ol {
	margin: 0 0 16px;
	padding-left: 1.5em;
}
.single-post__content blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	border-left: 4px solid var(--main1);
	background: var(--scbg1);
	border-radius: 0 8px 8px 0;
}

/* 前後ナビ */
.single-post__nav {
	background: var(--scbg1);
	padding: 32px 0;
}
.single-post__nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}
.single-post__nav-link {
	display: block;
	text-decoration: none;
	color: var(--text1);
	max-width: 48%;
}
.single-post__nav-link:hover .single-post__nav-title {
	color: var(--main1);
}
.single-post__nav-link--next {
	margin-left: auto;
	text-align: right;
}
.single-post__nav-label {
	display: block;
	font-size: 13px;
	color: #888;
	margin-bottom: 4px;
}
.single-post__nav-title {
	font-size: 15px;
	line-height: 1.5;
	transition: color 0.15s ease;
}

@media (max-width: 680px) {
	.single-post__title {
		font-size: 22px;
	}

	.single-post__nav-link {
		max-width: 100%;
	}
	.single-post__nav-link--next {
		text-align: left;
	}
}


.cpc p {
    margin: 0;
}
a.phone.foot-p {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1;
    color: #111;
}
.cpc {
    width: 500px;
    margin: 0 auto;
    background: #fafafa;
    padding: 10px 0;
    max-width: 100%;
    margin-bottom: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ddd;
}
/* ========== 採用フォーム ========== */
.inner.narrow {
    width: 750px;
}

.recruit-form__group br {
    display: none;
}
.recruit-form {
  max-width: var(--sec-narrow-width, 800px);
  margin: 0 auto;
}
 
.recruit-form__group {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #a1a1a1;
  padding: 20px 0;
}
 
.recruit-form__group:first-child {
    border-top: 1px solid #a1a1a1;
}
 
.recruit-form__label {
  font-family: var(--font1, "noto sans jp");
  font-size: 14px;
  font-weight: 700;
  color: var(--text1, #000);
  min-width: 200px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
 
.recruit-form__required {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--main1, #70ba2d);
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.4;
}
 
.recruit-form__input {
  flex: 1;
}
 
/* テキスト・メール・電話・数値 */
.recruit-form__input input[type="text"],
.recruit-form__input input[type="email"],
.recruit-form__input input[type="tel"],
.recruit-form__input input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font1, "noto sans jp");
  font-size: var(--font-size1, 16px);
  color: var(--text1, #000);
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
 
.recruit-form__input input:focus,
.recruit-form__input textarea:focus {
  outline: none;
  border-color: var(--main1, #70ba2d);
  box-shadow: 0 0 0 3px rgba(112, 186, 45, 0.12);
}
 
.recruit-form__input input[type="number"] {
  max-width: 120px;
}
 
/* テキストエリア */
.recruit-form__input textarea {
  width: 100%;
  min-height: 160px;
  padding: 12px 14px;
  font-family: var(--font1, "noto sans jp");
  font-size: var(--font-size1, 16px);
  color: var(--text1, #000);
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  resize: vertical;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
 
/* ラジオボタン */
.recruit-form__input .wpcf7-radio {
  display: flex;
  gap: 24px;
  padding-top: 10px;
}
 
.recruit-form__input .wpcf7-list-item {
  margin: 0;
}
 
.recruit-form__input .wpcf7-list-item label {
  font-family: var(--font1, "noto sans jp");
  font-size: var(--font-size1, 16px);
  color: var(--text1, #000);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
 
/* 送信ボタン */
.recruit-form__submit {
  text-align: center;
  margin-top: 40px;
}
 
.recruit-form__btn {
  display: inline-block;
  font-family: var(--font1, "noto sans jp");
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--main1, #70ba2d);
  border: 2px solid var(--main1, #70ba2d);
  padding: 16px 60px;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, color 0.3s ease;
}
 
.recruit-form__btn:hover {
  background: #fff;
  color: var(--main1, #70ba2d);
}
 
/* バリデーションエラー */
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 6px;
}
 
/* レスポンシブ */
@media (max-width: 600px) {
  .recruit-form__group {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }
 
  .recruit-form__label {
    min-width: auto;
    padding-top: 0;
  }
 
  .recruit-form__input {
    width: 100%;
  }
 
  .recruit-form__btn {
    width: 100%;
    padding: 16px 20px;
  }
}



h4.kmds:before {
    content: "■";
    color: var(--main1);
    margin-right: 5px;
}
h4.kmds {
    margin: 0 0 20px;
    text-align: left;
    font-size: 21px;
}

/* ========== 1日のスケジュール ========== */
.schedule-section {
  max-width: var(--sec-narrow-width, 800px);
  margin: 0 auto;
  padding: var(--sec-pad, 60px) 20px;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-item {
  display: flex;
  align-items: baseline;
  gap: 20px;

  border-bottom: 1px solid #eee;
}

.schedule-item:first-child {
  border-top: 1px solid #eee;
}

.schedule-item__time {
  font-family: var(--font2, "Roboto", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--main1, #70ba2d);
  min-width: 70px;
  flex-shrink: 0;
}

.schedule-item__text {
  font-family: var(--font1, "noto sans jp");
  font-size: var(--font-size1, 16px);

  color: var(--text1, #000);
  line-height: 1.8;
}

.schedule-note {
  margin-top: 24px;
  font-family: var(--font1, "noto sans jp");
  font-size: 13px;
  color: #777;
  line-height: 2;
}

.schedule-note p {
  margin: 0 0 4px;
}
/* ========== 会社概要セクション ========== */
.company-section {
  max-width: var(--sec-width, 1100px);
  margin: 0 auto;
  padding: var(--sec-pad, 60px) 20px;
}
 
.company-section__title {
  text-align: center;
  font-family: var(--font1, "noto sans jp");
  font-size: 28px;
  font-weight: 700;
  color: var(--text1, #000);
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}
 
.company-section__title span {
  display: block;
  font-family: var(--font2, "Roboto", sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--main1, #70ba2d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
 
/* ----- テーブル ----- */
.company-table {
	background: #fff;
    width: 800px;
    max-width: 90vw;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: var(--font1, "noto sans jp");
  font-size: var(--font-size1, 16px);
  color: var(--text1, #000);
  line-height: var(--line-height, 2);
}
 
.company-table tr {
  border-bottom: 1px solid #e5e5e5;
}
 
.company-table tr:first-child {
  border-top: 1px solid #e5e5e5;
}
 
.company-table th,
.company-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}
 
.company-table th {
  width: 160px;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark, #377003);
  background: var(--light, #dcf0ca);
  white-space: nowrap;
}
 
.company-table td {
  font-weight: 400;
}
 
/* ----- レスポンシブ ----- */
@media (max-width: 600px) {
  .company-section__title {
    font-size: 22px;
    margin-bottom: 36px;
  }
 
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }
 
  .company-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }
 
  .company-table td {
    padding-top: 0;
  }
 
  .company-table tr {
    border-bottom: 1px solid #e5e5e5;
  }
}

/* ========== 配慮事項セクション ========== */
.consideration-section {
  max-width: var(--sec-width, 1100px);
  margin: 0 auto;
  padding: var(--sec-pad, 60px) 20px;
}
 
.consideration-section__title {
  text-align: center;
  font-family: var(--font1, "noto sans jp");
  font-size: 28px;
  font-weight: 700;
  color: var(--text1, #000);
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}
 
.consideration-section__title span {
  display: block;
  font-family: var(--font2, "Roboto", sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--main1, #70ba2d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
 
/* ----- 4カラムグリッド ----- */
.consideration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
gap: 15px;
}
 
/* ----- 各カード ----- */
.consideration-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--scbg1, #fafafa);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}
 
.consideration-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
 
.consideration-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light, #dcf0ca);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark, #377003);
  font-size: 24px;
  margin-bottom: 20px;
}
 .consideration-card__icon i {
    font-size: 20px;
}
.consideration-card__heading {
    font-family: var(--font1, "noto sans jp");
    font-size: 16px;
    font-weight: 700;
    color: #529e0d;
    margin: 0 0 12px;
    line-height: 1.5;
}
.consideration-card__desc {
  font-family: var(--font1, "noto sans jp");
  font-size: 14px;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
  margin: 0;
	    text-align: left;
}
 .consideration-card__heading br {
    display: none;
}
/* ----- レスポンシブ ----- */
@media (max-width: 960px) {
  .consideration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
 
@media (max-width: 520px) {
  .consideration-section__title {
    font-size: 22px;
    margin-bottom: 36px;
  }
 
  .consideration-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
 
  .consideration-card {
    padding: 24px 16px;
  }
}


.request-list.scroll.fade-bottom.eigyo {
    width: 700px;
    margin: 0 auto;
	    max-width: 100%;
}
/* ========== 施工の流れ セクション ========== */


.flow-inner {
    display: flex;
    justify-content: center;
}
.flow-section {
  max-width: var(--sec-width, 1100px);
  margin: 0 auto;
  padding: var(--sec-pad, 60px) 20px;
}

.flow-section__title {
  text-align: center;
  font-family: var(--font1, "noto sans jp");
  font-size: 28px;
  font-weight: 700;
  color: var(--text1, #000);
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.flow-section__title span {
  display: block;
  font-family: var(--font2, "Roboto", sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--main1, #70ba2d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ----- フローリスト ----- */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* ----- 各ステップ ----- */
.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    padding-bottom: 25px;
    border-bottom: 1px solid #cacaca;
    margin-bottom: 25px;
}

.flow-item:last-child {
  margin-bottom: 0;
}

/* 左カラム：アイコン＋縦線 */
.flow-item__icon-col {
	    top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.flow-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--main1, #70ba2d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* 縦のコネクタライン */
.flow-item__line {
  width: 2px;
  flex-grow: 1;
  background: var(--light, #dcf0ca);
  min-height: 40px;
}

.flow-item:last-child .flow-item__line {
  display: none;
}

/* 右カラム：テキスト */
.flow-item__body {
  padding-top: 4px;
  flex: 1;
}

.flow-item__number {
	    margin-top: 0;
  font-family: var(--font2, "Roboto", sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--main1, #70ba2d);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.flow-item__heading {
  font-family: var(--font1, "noto sans jp");
  font-size: 18px;
  font-weight: 700;
  color: var(--text1, #000);
  margin: 0 0 6px;
  line-height: 1.5;
}

.flow-item__desc {
  font-family: var(--font1, "noto sans jp");
  font-size: 14px;

  line-height: 1.8;
  margin: 0;
}

/* ----- レスポンシブ ----- */
@media (max-width: 768px) {
  .flow-section__title {
    font-size: 22px;
    margin-bottom: 36px;
  }

  .flow-item {
    gap: 16px;
    padding-bottom: 28px;
  }

  .flow-item__icon {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }

  .flow-item__heading {
    font-size: 16px;
  }

  .flow-item__desc {
    font-size: 13px;
  }
}




.gyomu {
    width: 700px;
    margin: 0 auto 40px;
	    max-width: 100%;
}

.ab-slider * {
    font-size: 0;
    margin: 0;
}
.handle::before {
    left: -20px;
    border-right: 12px solid #ffffff;
}

.handle::before, .handle::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    filter: drop-shadow(0px 0px 4px #00000075);
}



.handle::after {
  right: -20px;
  border-left: 12px solid #ffffff;
}

.ab-slider {
	    max-width: 700px;
    margin: 0 auto;
  position: relative;
  width: 100%;

  overflow: hidden;
  user-select: none;
}

.ab-slider img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.before {
  position: relative;
  z-index: 1;
}

.after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

/* ハンドル */
.handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  z-index: 3;
}
.handle:hover {
  cursor: ew-resize;
}

/* ハンドル */
.handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #fff;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
  z-index: 3;
}

.handle:hover {
  cursor: ew-resize;
}

/* ラベル */
.ab-slider .label {
    position: absolute;
    top: 10px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    z-index: 4;
    pointer-events: none;
    font-size: 17px;
}
.before-label {
  right: 10px;
}

.after-label {
  left: 10px;
}






section.gyomu-ichiran .wide-flex {
    margin-bottom: 70px;
}
.request-list {
    margin-top: 28px;
}
ul.request-list__items {
	    list-style: disc;
    padding: 10px 15px 10px 40px;
    background: #ffffffd9;
}
h3.request-list__title {
    text-align: center;
    color: #fff;
    background: var(--main1);
    padding: 7px;
}
.request-list * {
    margin: 0;
}


p.rect {
	max-width: 100%;
    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 {
	    left: 0;
    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;
    color: #fff;
    text-shadow: 0 0 15px #000;
}

.hero-content .eng {
    font-size: 5vw;
    font-family: 'Roboto';
    text-transform: uppercase;
    color: var(--main1);
    line-height: 1;
    margin: 0;
	    text-shadow: 0 0 15px #000;
}
.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: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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;
}
.flow-list {
    max-width: 90%;
}


/* =========================================================
  見出しデザイン（バリエーション）
========================================================= */
/* 共通（kmdsr / kmdsl） */
.kmdsr,
.kmdsl {
	    font-weight: 750;
	    z-index: 1;
	    position: relative;
    font-size: 32px;

	    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: 54px;
}
.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__menu > li { position: relative;     text-align: center;}

.site-header__menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 2px;
	color: var(--text1);
	position: relative;
}

/* 下線 hover */
.site-header__menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -12px;
	height: 2px;
	background: transparent;
	transition: background 0.15s ease;
}
.site-header__menu > li > a:hover::after,
.site-header__menu > li > a:focus-visible::after {
	background: var(--main1);
}
.site-header__menu > .current-menu-item > a::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__menu > li.cta > a {
	background: var(--main1);
	padding: 29px 16px;
	color: #fff;
}
.site-header .cta .site-menu__label { display: block; }

.site-header__menu > li.cta > a span:after {
	content: "\f0e0";
	font-family: "font awesome 7 pro";
	display: inline-block;
	font-weight: 500;
	margin-left: 7px;
}

.site-header__menu > li.cta > a .site-menu__label-en,
.site-header__menu > li.cta > a .site-menu__label-jp {
	color: #fff;
}
.site-header__menu > li.cta > a::after { display: none; }
.site-header__menu > li.cta > a:hover,
.site-header__menu > li.cta > a: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-menu > li > a {
	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-menu > li > a:hover,
.site-header__mobile-menu > li > a:focus-visible {
	background: var(--scbg1);
}

/* モバイル CTA */
.site-header__mobile-menu > li.cta > a { background: var(--main1); }
.site-header__mobile-menu > li.cta > a .site-menu__label-en,
.site-header__mobile-menu > li.cta > a .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__menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 8px 10px;
	border-radius: 999px;
	color: var(--footer-text);
}
.site-footer__menu > li > a:hover,
.site-footer__menu > li > a: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;
}

/* CTA hover（必要なら） */
.site-footer__menu > li.cta > a:hover,
.site-footer__menu > li.cta > a:focus-visible {
	filter: brightness(0.95);
}

/* コピーライト */
.site-footer__bottom {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	background: #fff;
	padding: 8px 0;
	width: 100%;
}
.site-footer__copy {
	color: var(--text1);
	opacity: 0.9;
	font-size: 11px;
}

/* =========================================================
  ページヒーロー（タイトルセクション）
========================================================= */
.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;
}




/* =========================================================
  新テーマ標準テンプレ用（archive / 404 / search / page-content）
  旧 ai-container は home/archive/single を Tailwind で組んでいたため
  これらクラスの CSS が無く崩れていた。defaults を移植して補う。
  (single-post 系は既存定義があるので追加しない)
========================================================= */

/* ---- カテゴリ/タグ/CPT アーカイブ ---- */
.archive-page {
	background: url(https://itosoken.info/wp-content/uploads/2026/03/bg-ivory.jpg);
	background-size: 512px;
	padding: 60px var(--smb) 80px;
}

.archive-page__header,
.archive-page__list,
.archive-page__pagination {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.archive-page__header {
	margin-bottom: 40px;
	text-align: center;
}

.archive-page__title {
	font-family: var(--font2);
	font-size: 28px;
	font-weight: 600;
	color: var(--text1);
}

.archive-page__desc,
.archive-page__description {
	margin-top: 12px;
	color: #666;
}

.archive-page__list {
	display: grid;
	gap: 24px;
}

.archive-page__item {
	border-bottom: 1px solid #eee;
	padding-bottom: 24px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.archive-page__thumb {
	flex: 0 0 180px;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--scbg1);
}

.archive-page__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.archive-page__thumb:hover img {
	transform: scale(1.05);
}

.archive-page__body {
	flex: 1;
	min-width: 0;
}

.archive-page__date {
	font-size: 13px;
	color: #999;
	margin-bottom: 8px;
}

.archive-page__cats {
	display: flex;
	gap: 6px;
	margin-bottom: 4px;
}

.archive-page__cat {
	display: inline-block;
	font-size: 11px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--scbg1);
	color: var(--main1);
	font-weight: 600;
}

.archive-page__item-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text1);
	line-height: 1.4;
	margin-bottom: 8px;
}

.archive-page__item-title a {
	color: inherit;
	text-decoration: none;
}

.archive-page__item-title a:hover {
	color: var(--main1);
}

.archive-page__excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

.archive-page__pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.archive-page__pagination .page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 8px;
}

.archive-page__pagination .page-numbers a,
.archive-page__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;
}

.archive-page__pagination .page-numbers a:hover {
	border-color: rgba(0,0,0,0.18);
	color: var(--main1);
}

.archive-page__pagination .page-numbers .current {
	background: var(--main1);
	border-color: var(--main1);
	color: #fff;
}

.archive-page__empty {
	text-align: center;
	color: #999;
	padding: 40px 0;
}

@media (max-width: 680px) {
	.archive-page__item {
		flex-direction: column;
	}
	.archive-page__thumb {
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* ---- 404 ページ ---- */
.error-404 {
	padding: var(--sec-pad) 0;
	text-align: center;
}
.error-404__inner {
	width: var(--sec-width);
	max-width: 90%;
	margin: 0 auto;
}
.error-404__code {
	font-family: var(--font3);
	font-size: 120px;
	font-weight: 700;
	line-height: 1;
	color: var(--main1);
	opacity: 0.2;
	margin: 0 0 8px;
}
.error-404__heading {
	font-family: var(--font2);
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 20px;
}
.error-404__text {
	line-height: var(--line-height);
	color: #666;
	margin: 0 0 32px;
}
.error-404__btn {
	display: inline-block;
}

@media (max-width: 680px) {
	.error-404__code {
		font-size: 80px;
	}
	.error-404__heading {
		font-size: 18px;
	}
}

/* ---- 検索結果ページ ---- */
.search-results {
	padding: var(--sec-pad) 0;
}
.search-results__inner {
	width: var(--sec-width);
	max-width: 90%;
	margin: 0 auto;
}
.search-results__header {
	margin-bottom: 32px;
}
.search-results__query {
	font-family: var(--font2);
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}
.search-results__count {
	font-size: 14px;
	font-weight: 400;
	color: #888;
}
.search-results__list {
	margin-bottom: 40px;
}
.search-results__empty {
	text-align: center;
	padding: 40px 0;
}
.search-results__empty-text {
	font-size: 16px;
	margin: 0 0 12px;
}
.search-results__empty-hint {
	color: #888;
	margin: 0 0 32px;
}
.search-results__btn {
	display: inline-block;
}

/* ---- 固定ページ本文（WPエディタ用） ---- */
.page-content {
	padding: var(--sec-pad) 0;
}
.page-content__inner {
	width: var(--sec-width);
	max-width: 90%;
	margin: 0 auto;
}
.page-content__body {
	line-height: var(--line-height);
}
.page-content__body h2 {
	font-family: var(--font2);
	font-size: 22px;
	font-weight: 600;
	margin: 40px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--main1);
}
.page-content__body h3 {
	font-family: var(--font2);
	font-size: 18px;
	font-weight: 600;
	margin: 32px 0 12px;
	padding-left: 12px;
	border-left: 3px solid var(--main1);
}
.page-content__body p {
	margin: 0 0 16px;
}
.page-content__body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.page-content__body ul,
.page-content__body ol {
	margin: 0 0 16px;
	padding-left: 1.5em;
}
.page-content__body blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	border-left: 4px solid var(--main1);
	background: var(--scbg1);
	border-radius: 0 8px 8px 0;
}
