@charset "UTF-8";
/*!
Theme Name: hausing-station
Version: 1.0
*/
/* ブレイクポイント -------------------- */
/* カラー -------------------- */
/* メインカラー・サブカラー */
/* 背景色 */
/* 文字色 */
/* 余白 -------------------- */
/* 余白大 */
/* 余白中 */
/* 余白小 */
/* 影 -------------------- */
/* 背景 -------------------- */
/* 写真ノイズ -------------------- */
/* 明るいノイズ：ソフトライト / 暗いノイズ：乗算（どちらも不透明度50%・ガウス分布5%）
   ::before / ::after を使うため img には直接付けられない。img を囲む要素に付ける。 */
/* ボタン（共通mixin） -------------------------------- */
/* .fp-btn__link（parts）や .wpcf7cp-btns button（confirmplus）など、
   サイト内の「ボタン」に見える要素はすべてこのmixinを@includeして使う。 */
/* 矢印ボタン -------------------------------- */
/* テキストの右に矢印。ホバーで矢印の後ろに円が広がる。
   .fp-btn__link（parts）や .btn a などリンク型のボタンで使う。
   ※::before / ::after を使うため input 要素には使えない（フォームは上の btn を使う）
   使い方：@include btn-arrow;（通常：黒矢印 → ホバー：白矢印）
           @include btn-arrow($arrow: 'ya_w');（暗い背景用：常に白矢印） */
/* ホバー中の矢印の動き（横に往復） */
@keyframes btn-arrow-move {
  0%, 100% {
    transform: translate(0, -50%);
  }
  50% {
    transform: translate(0.35em, -50%);
  }
}
/* 矢印ボタンのホバー状態
   親要素のホバーで反応させたいときに使う。
   例）.card:hover .card__btn { @include btn-arrow-hover; } */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

input[type=submit],
button {
  font: inherit;
  font-size: 1em;
  color: inherit;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

table {
  display: inline-table;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
}

thead,
tbody {
  display: block;
  width: 100%;
}

tr,
th,
td {
  padding: 0;
  text-align: left;
  font-weight: normal;
  border: none;
}

label {
  cursor: pointer;
}

/* 全体 (body) -------------------------------- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  font-size: 1vw;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  body {
    font-size: 2vw;
  }
}
body {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  body {
    font-size: 4vw;
  }
}
body {
  line-height: 2em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2;
  background: #d6dcca;
  color: #000000;
}

/* レイアウト -------------------------------- */
.sec {
  width: auto;
  position: relative;
  box-sizing: border-box;
  padding: 10em 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .sec {
    padding: 5em 0;
  }
}

/* ページ最後のセクションは下余白を2倍 */
.wrapper > .sec:last-child,
.partspage-ctt > .sec:last-child,
.contactpage-ctt > .sec:last-child {
  padding-bottom: 20em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wrapper > .sec:last-child,
  .partspage-ctt > .sec:last-child,
  .contactpage-ctt > .sec:last-child {
    padding-bottom: 10em;
  }
}

.innerbox {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 0 10em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .innerbox {
    padding: 0 5em;
  }
}
.innerbox {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .innerbox {
    padding: 0 1.5em;
  }
}

.header {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  flex: 1;
  overflow-x: clip;
  position: relative;
}

.footer {
  width: 100%;
  height: auto;
  position: relative;
}

/* グローバルナビ（共通） -------------------------------- */
.gnav ul {
  width: auto;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
}
.gnav ul li {
  width: auto;
  position: relative;
  box-sizing: border-box;
}
.gnav ul li a:hover {
  text-decoration: none;
}

/* ヘッダー -------------------------------- */
.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
  backface-visibility: hidden;
  transition: 1s ease;
  backface-visibility: hidden;
  padding: 0 2em;
  margin-top: 1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .header {
    padding: 0 1em;
  }
}
.header {
  /* ロゴマーク */
}
.header_logo {
  width: auto;
  position: relative;
  box-sizing: border-box;
  width: 12em;
  font-size: 1em;
}
.header_logo a {
  display: inline-block;
}
.header_logo a:hover {
  text-decoration: none;
  transform: scale(1.1);
}
.header_logo a img {
  width: 100%;
  height: auto;
  transition: 1s ease;
  backface-visibility: hidden;
}
.header {
  /* グローバルナビ */
}
.header .gnav {
  display: flex;
  align-items: center;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .header .gnav {
    display: none;
  }
}
.header .gnav ul {
  display: flex;
  gap: 0 2.25em;
  align-items: center;
}
.header .gnav ul li {
  line-height: 1em;
}
.header .gnav ul li a {
  width: auto;
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  color: #000000;
  padding: 0.4em 0;
  transition: 1s ease;
  backface-visibility: hidden;
}
.header .gnav ul li a .sp {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .header .gnav ul li a .sp {
    display: none;
  }
}
.header .gnav ul li.btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 10em;
  padding: 1em 2em;
  border-radius: 5em;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
  backface-visibility: hidden;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .header .gnav ul li.btn a {
    min-width: 10em;
  }
}
.header .gnav ul li.btn a::before, .header .gnav ul li.btn a::after {
  display: none;
}
.header .gnav ul li.btn a:hover {
  background: #ffffff;
  color: #000000;
}

/* フッター -------------------------------- */
/* 上段・下段の上側の角丸 */
.footer {
  color: #ffffff;
}
.footer a {
  text-decoration: none;
  transition: 0.3s ease;
  backface-visibility: hidden;
  color: inherit;
}
.footer p {
  padding-bottom: 0;
}
.footer {
  /* 上段：コンバージョンエリア ---------- */
}
.footer__top {
  background-color: #d6dcca;
  border-radius: 5em 5em 0 0;
  margin-top: -10em;
  padding-bottom: 5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer__top {
    margin-top: -5em;
  }
}
.footer__top {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__top {
    border-radius: 2.5em 2.5em 0 0;
    padding-bottom: 2.5em;
  }
}
.footer__top {
  /* 下層ページ：最後のセクションが上段と同じ背景色（背景1、または背景の指定なし＝ body の背景1）のときは、
     上段を濃い緑（背景3）にして境目を分かるようにする
     （:has() の中に :has() は書けないので、施工事例詳細（記事の後ろが前後ナビだけ）は記事が後ろから 2 番目かどうかで判定） */
}
body:has(.wrapper > .sec-bg1:last-child,
.wrapper > .sec:not([class*=sec-bg], .footer-post, .nav_sec):last-child,
.wrapper > article:last-child > .partspage-ctt:last-child > .sec-bg1:last-child,
.wrapper > article:last-child > .contactpage-ctt:last-child > .sec-bg1:last-child,
.wrapper > article:nth-last-child(2) > .sec-bg1:last-child,
.wrapper > article:nth-last-child(2) > .sec:not([class*=sec-bg]):last-child,
.wrapper > article:nth-last-child(2) > .partspage-ctt:last-child > .sec-bg1:last-child) .footer__top {
  background-color: #a5b28b;
}
.footer__cta.sec {
  padding: 5em 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta.sec {
    padding: 2.5em 0;
  }
}
.footer__cta-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6em;
  z-index: 10;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer__cta-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.footer__cta-item {
  position: relative;
  display: block;
  height: 21.7em;
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-item {
    border-radius: 1em;
  }
}
.footer__cta-item {
  color: #000000;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-item {
    height: auto;
  }
}
.footer__cta-item--tel {
  background-color: #ffffff;
}
.footer__cta-item--tel .footer__cta-btn span {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-item--tel .footer__cta-btn span {
    --btn-arrow-size: 1.75em;
  }
}
.footer__cta-item--tel .footer__cta-btn span {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.footer__cta-item--tel .footer__cta-btn span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__cta-item--tel .footer__cta-btn span {
  /* 矢印 */
}
.footer__cta-item--tel .footer__cta-btn span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__cta-item--tel .footer__cta-btn span:hover {
  text-decoration: none;
}
.footer__cta-item--tel .footer__cta-btn span:hover::before {
  transform: translateY(-50%) scale(1);
}
.footer__cta-item--tel .footer__cta-btn span:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.footer__cta-item--tel {
  /* カード全体のホバーでボタンを反応させる */
}
.footer__cta-item--tel:hover .footer__cta-btn span {
  text-decoration: none;
}
.footer__cta-item--tel:hover .footer__cta-btn span::before {
  transform: translateY(-50%) scale(1);
}
.footer__cta-item--tel:hover .footer__cta-btn span::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.footer__cta-item--line {
  background-color: #06c755;
  color: #ffffff;
  /* 円は濃い色（白い文字が円に重なっても読めるように）、ホバーの矢印は白 */
}
.footer__cta-item--line .footer__cta-btn span {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-item--line .footer__cta-btn span {
    --btn-arrow-size: 1.75em;
  }
}
.footer__cta-item--line .footer__cta-btn span {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.footer__cta-item--line .footer__cta-btn span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #292e20;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__cta-item--line .footer__cta-btn span {
  /* 矢印 */
}
.footer__cta-item--line .footer__cta-btn span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya_w.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__cta-item--line .footer__cta-btn span:hover {
  text-decoration: none;
}
.footer__cta-item--line .footer__cta-btn span:hover::before {
  transform: translateY(-50%) scale(1);
}
.footer__cta-item--line .footer__cta-btn span:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.footer__cta-item--line {
  /* カード全体のホバーでボタンを反応させる */
}
.footer__cta-item--line:hover .footer__cta-btn span {
  text-decoration: none;
}
.footer__cta-item--line:hover .footer__cta-btn span::before {
  transform: translateY(-50%) scale(1);
}
.footer__cta-item--line:hover .footer__cta-btn span::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.footer__cta-item--form {
  background-color: #a7d64d;
}
.footer__cta-item--form .footer__cta-btn span {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-item--form .footer__cta-btn span {
    --btn-arrow-size: 1.75em;
  }
}
.footer__cta-item--form .footer__cta-btn span {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.footer__cta-item--form .footer__cta-btn span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__cta-item--form .footer__cta-btn span {
  /* 矢印 */
}
.footer__cta-item--form .footer__cta-btn span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__cta-item--form .footer__cta-btn span:hover {
  text-decoration: none;
}
.footer__cta-item--form .footer__cta-btn span:hover::before {
  transform: translateY(-50%) scale(1);
}
.footer__cta-item--form .footer__cta-btn span:hover::after {
  background-image: url("../../../images/ya.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.footer__cta-item--form {
  /* カード全体のホバーでボタンを反応させる */
}
.footer__cta-item--form:hover .footer__cta-btn span {
  text-decoration: none;
}
.footer__cta-item--form:hover .footer__cta-btn span::before {
  transform: translateY(-50%) scale(1);
}
.footer__cta-item--form:hover .footer__cta-btn span::after {
  background-image: url("../../../images/ya.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.footer__cta-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 2.5em;
  color: inherit;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-link {
    padding: 1.75em 1.5em 5em;
  }
}
.footer__cta-link:hover {
  opacity: 1;
  /* 共通のリンクの指定（a:hover img で画像を薄くする）を打ち消し、ボタンの変化だけにする */
}
.footer__cta-link:hover img {
  opacity: 1;
  filter: none;
}
.footer__cta-title {
  font-size: 1.8em;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 1em;
  white-space: nowrap;
}
.footer__cta-title:last-of-type {
  letter-spacing: 0.025em;
}
.footer__cta-title {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-title {
    font-size: 1.4em;
  }
}
.footer__cta-btn {
  position: absolute;
  right: 1.5em;
  bottom: 1.5em;
}
.footer__cta {
  /* WEBフォーム：カードの左下にイラスト */
}
.footer__cta-illust {
  position: absolute;
  left: 2em;
  bottom: 2.5em;
  width: 12em;
  height: auto;
  pointer-events: none;
  /* スマホ：右下のボタンと重なるので、本文の下に普通に並べる */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-illust {
    position: static;
    display: block;
    width: 9em;
    margin-top: 1em;
  }
}
.footer__cta {
  /* LINE：QRコードとテキストを横並び */
}
.footer__cta-line {
  display: flex;
  align-items: center;
  gap: 2em;
}
.footer__cta-line .footer__cta-text {
  flex: 1;
}
.footer__cta-qr {
  flex-shrink: 0;
  width: 8em;
  height: 8em;
  padding: 0.4em;
  border-radius: 1.25em;
  background: #ffffff;
  -o-object-fit: contain;
     object-fit: contain;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-qr {
    border-radius: 1em;
  }
}
.footer__cta {
  /* 電話番号：アイコンと番号を横並び、その下に受付時間 */
}
.footer__cta-tel {
  padding-top: 1.5em;
}
.footer__cta-tel-num {
  display: flex;
  align-items: center;
  gap: 0.2em;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 0.3em;
  white-space: nowrap;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-tel-num {
    font-size: 1.9em;
  }
}
.footer__cta-tel-icon {
  width: auto;
  height: 0.8em;
}
.footer__cta-tel-time {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0;
}
.footer__cta-tel-time .eg {
  font-size: 1.2em;
}
.footer__cta-tel-time {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__cta-tel-time {
    font-size: 0.85em;
  }
}
.footer {
  /* 下段 ---------- */
}
.footer__bottom {
  position: relative;
  background: #292e20;
  border-radius: 5em 5em 0 0;
  margin-top: -5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__bottom {
    border-radius: 2.5em 2.5em 0 0;
    margin-top: -2.5em;
  }
}
.footer {
  /* 下段：メイン（サイトマップ・ロゴ・会社情報） ---------- */
}
.footer__main {
  padding: 5em 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__main {
    padding: 2.5em 0;
  }
}
.footer__main .innerbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__main .innerbox {
    padding: 0 2.5em;
    flex-direction: column-reverse;
  }
}
.footer__main a:hover {
  opacity: 0.6;
}
.footer {
  /* サイトマップ */
}
.footer__sitemap {
  flex: 1;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__sitemap {
    display: flex;
    justify-content: flex-start;
  }
}
.footer__sitemap-list {
  list-style: none inside;
  display: grid;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 1em 4em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer__sitemap-list {
    gap: 1em 2em;
  }
}
.footer__sitemap-list {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__sitemap-list {
    gap: 1em 2em;
  }
}
.footer__sitemap-item {
  line-height: 1.5em;
  font-size: 0.9em;
  white-space: nowrap;
  /* ホバー：メインカラーに（フッター共通の「薄くする」は使わない） */
}
.footer__sitemap-item a {
  transition: color 0.3s ease;
}
.footer__sitemap-item a:hover {
  opacity: 1;
  color: #a7d64d;
}
.footer {
  /* ロゴ・会社情報 */
}
.footer__info {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__info {
    width: 100%;
  }
}
.footer__logo {
  width: 21em;
  margin-bottom: 1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer__logo {
    width: 15em;
  }
}
.footer__logo img {
  width: 100%;
  height: auto;
}
.footer__address {
  font-style: normal;
  font-size: 0.85em;
}
.footer__company {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0.5em;
}
.footer__address-details, .footer__tel {
  font-family: greycliff-cf, "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5em;
}
.footer {
  /* 下段：サブ（個人情報・SNS・コピーライト） ---------- */
}
.footer__sub {
  padding: 3.5em 0;
  border-top: solid 0.05em rgba(255, 255, 255, 0.2);
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__sub {
    padding: 2em 0;
  }
}
.footer__sub .innerbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  align-items: center;
  gap: 1em;
  /* スマホ：個人情報と LINE のアイコンを 1 行に、その下にコピーライト */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__sub .innerbox {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
  }
}
.footer__sub a:hover {
  opacity: 1;
}
.footer__sub-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 2em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__sub-right {
    display: contents;
  }
}
.footer__privacy {
  display: block;
  font-size: 0.8em;
  font-weight: 400;
}
.footer__privacy a {
  display: block;
  opacity: 0.45;
}
.footer {
  /* SNS */
}
.footer__sns {
  list-style: none inside;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.footer__sns-item {
  font-size: 1.5em;
  line-height: 1em;
}
.footer__sns-item a {
  opacity: 0.3;
}
.footer__copyright {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 0.8em;
  line-height: 1em;
  opacity: 0.3;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer__copyright {
    grid-column: 1/-1;
    text-align: center;
  }
}

/* 格納ナビゲーション -------------------------------- */
.hm_btn,
.hm_menu_wrap {
  display: none;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .hm_btn,
  .hm_menu_wrap {
    display: block;
  }
}

.hm_menu_check {
  display: none;
}

/* メニューボタン -------------------------------- */
.hm_btn {
  width: 4em;
  height: 4em;
  cursor: pointer;
  position: fixed;
  inset: 0 1em auto auto;
  border-radius: 3em;
  cursor: pointer;
  z-index: 99999;
}
.hm_btn::before, .hm_btn::after {
  width: 2.5em;
  height: 0.125em;
  background-color: #000000;
  display: block;
  content: "";
  position: absolute;
  transition: background-color 0.2s linear, box-shadow 0.2s linear, transform 0.2s 0.2s, rotate 0.2s 0.2s;
}
.hm_btn::before {
  top: calc(50% - 0.6em);
  left: 50%;
  translate: -50% -50%;
  box-shadow: #000000 0 1.2em 0;
}
.hm_btn::after {
  top: 50%;
  left: 50%;
  transform-origin: center;
  translate: -50% -50%;
}

/* 開閉時のアニメーション */
.hm_menu_check:checked ~ .hm_btn::before {
  box-shadow: none;
  top: 50%;
  rotate: 30deg;
}
.hm_menu_check:checked ~ .hm_btn::after {
  rotate: -30deg;
}

/* 格納領域 -------------------------------- */
.hm_menu_wrap {
  width: 100%;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.7s;
  box-sizing: border-box;
  overflow: hidden;
  visibility: hidden;
  z-index: 9998;
}
.hm_menu_wrap .hm_inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  margin-right: -0.1em;
}
.hm_menu_wrap .hm_inner::-webkit-scrollbar {
  width: 0.1em;
}
.hm_menu_wrap .hm_inner .menucontent {
  box-sizing: border-box;
  padding: 6em 2.5em 4em;
  width: 100%;
  position: absolute;
  top: -100%;
  left: auto;
  right: 0;
  bottom: auto;
  transition: top 1s;
  border: none;
  background-color: #a7d64d;
  border-radius: 0 0 2.5em 2.5em;
  /* 中身デザイン：横線で区切り、右端に矢印（お知らせの一覧と同じ見せ方） */
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul {
  list-style: none inside;
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li {
  border-bottom: solid 0.05em rgba(0, 0, 0, 0.2);
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li:first-child {
  border-top: solid 0.05em rgba(0, 0, 0, 0.2);
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  -moz-column-gap: 1em;
       column-gap: 1em;
  position: relative;
  min-height: 0;
  padding: 1.25em 0;
  font-weight: 700;
  line-height: 1;
  color: #000000;
  text-decoration: none;
  /* 英字の見出し（data-eg） */
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a::before {
  content: attr(data-eg);
  grid-column: 1;
  grid-row: 1;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 2.5em;
  line-height: 1.2;
  font-weight: 700;
  display: block;
  margin-bottom: 0.1em;
  /* 共通の矢印ボタン（.btn a）の円の指定を打ち消す */
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  transform: none;
  transition: none;
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a {
  /* 矢印：右端 */
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a::after {
  content: "";
  grid-column: 2;
  grid-row: 1/3;
  width: 2em;
  aspect-ratio: 57.62/52.24;
  background: url("../../../images/ya.svg") center/contain no-repeat;
  transition: transform 0.3s ease;
  /* 共通の矢印ボタン（.btn a）の指定を打ち消す */
  position: static;
  height: auto;
  transform: none;
  animation: none;
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a:hover {
  text-decoration: none;
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a:hover::after {
  background-image: url("../../../images/ya.svg");
  transform: translateX(0.5em);
  animation: none;
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li a .pc {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .hm_menu_wrap .hm_inner .menucontent .gnav ul li a .pc {
    display: none;
  }
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li {
  /* お問い合わせ（li.btn）も同じ見せ方に */
}
.hm_menu_wrap .hm_inner .menucontent .gnav ul li.btn a {
  padding-right: 0;
}

/* 開閉時のアニメーション */
.hm_menu_check:checked ~ .hm_menu_wrap {
  visibility: visible;
}
.hm_menu_check:checked ~ .hm_menu_wrap .hm_inner {
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.6);
}
.hm_menu_check:checked ~ .hm_menu_wrap .menucontent {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 0;
  height: auto;
}

/* トップページ -------------------------------- */
/* ファーストビュー (.top__hero) -------------------------------- */
/* 家の形の枠の中で、円が通過したところだけ完成前の写真が見える
   円（.top__hero-lens）を動かし、中の写真は逆向きに動かして枠に対して止まって見せる */
/* 円の中心が通る点（枠の幅に対する割合）：N の字（右上 → 右下 → 左上 → 左下）
   この点をなめらかな曲線でつなぎ、片道ごとに往復する */
/* 通る点を i 番目で取り出す（範囲外は端の点） */
/* 曲線上の位置（$u: 0〜1）を返す：Catmull-Rom スプラインで点を丸くつなぐ */
/* スクロールダウンの矢印 */
@keyframes hero-scroll-arrow {
  0%, 100% {
    transform: rotate(90deg) translateX(0);
  }
  50% {
    transform: rotate(90deg) translateX(0.5em);
  }
}
/* 円の周りの文字の回転 */
@keyframes hero-text-rotate {
  to {
    transform: rotate(-360deg);
  }
}
/* 円の周りで回転する文字（::after に使う） */
/* 曲線上の位置（$u: 0〜1）ごとの速さ
   両端（折り返し）と減速する点の前後で遅くなる */
/* 円の移動（$sign: 1 で円、-1 で中の写真＝逆向き）
   曲線を細かく区切り、速さに応じた時刻にキーフレームを置く */
@keyframes hero-lens-move {
  0% {
    transform: translate(calc((68cqw - var(--hero-r)) * 1), calc((11cqw - var(--hero-r)) * 1));
  }
  4.677484049% {
    transform: translate(calc((67.499cqw - var(--hero-r)) * 1), calc((11.477cqw - var(--hero-r)) * 1));
  }
  8.3957963697% {
    transform: translate(calc((66.902cqw - var(--hero-r)) * 1), calc((12.096cqw - var(--hero-r)) * 1));
  }
  11.4837142169% {
    transform: translate(calc((66.218cqw - var(--hero-r)) * 1), calc((12.839cqw - var(--hero-r)) * 1));
  }
  14.1269964359% {
    transform: translate(calc((65.456cqw - var(--hero-r)) * 1), calc((13.688cqw - var(--hero-r)) * 1));
  }
  16.4410932925% {
    transform: translate(calc((64.625cqw - var(--hero-r)) * 1), calc((14.625cqw - var(--hero-r)) * 1));
  }
  18.5030947279% {
    transform: translate(calc((63.734cqw - var(--hero-r)) * 1), calc((15.632cqw - var(--hero-r)) * 1));
  }
  20.3677263496% {
    transform: translate(calc((62.792cqw - var(--hero-r)) * 1), calc((16.691cqw - var(--hero-r)) * 1));
  }
  22.0762652478% {
    transform: translate(calc((61.808cqw - var(--hero-r)) * 1), calc((17.784cqw - var(--hero-r)) * 1));
  }
  23.6620230304% {
    transform: translate(calc((60.791cqw - var(--hero-r)) * 1), calc((18.893cqw - var(--hero-r)) * 1));
  }
  25.1540509973% {
    transform: translate(calc((59.75cqw - var(--hero-r)) * 1), calc((20cqw - var(--hero-r)) * 1));
  }
  26.5798796981% {
    transform: translate(calc((58.694cqw - var(--hero-r)) * 1), calc((21.087cqw - var(--hero-r)) * 1));
  }
  27.9677347899% {
    transform: translate(calc((57.632cqw - var(--hero-r)) * 1), calc((22.136cqw - var(--hero-r)) * 1));
  }
  29.3485056866% {
    transform: translate(calc((56.573cqw - var(--hero-r)) * 1), calc((23.129cqw - var(--hero-r)) * 1));
  }
  30.757614825% {
    transform: translate(calc((55.526cqw - var(--hero-r)) * 1), calc((24.048cqw - var(--hero-r)) * 1));
  }
  32.2366334264% {
    transform: translate(calc((54.5cqw - var(--hero-r)) * 1), calc((24.875cqw - var(--hero-r)) * 1));
  }
  33.8336268642% {
    transform: translate(calc((53.504cqw - var(--hero-r)) * 1), calc((25.592cqw - var(--hero-r)) * 1));
  }
  35.5991245461% {
    transform: translate(calc((52.547cqw - var(--hero-r)) * 1), calc((26.181cqw - var(--hero-r)) * 1));
  }
  37.5710938144% {
    transform: translate(calc((51.638cqw - var(--hero-r)) * 1), calc((26.624cqw - var(--hero-r)) * 1));
  }
  39.7420480632% {
    transform: translate(calc((50.786cqw - var(--hero-r)) * 1), calc((26.903cqw - var(--hero-r)) * 1));
  }
  42.0210243437% {
    transform: translate(calc((50cqw - var(--hero-r)) * 1), calc((27cqw - var(--hero-r)) * 1));
  }
  44.2434694581% {
    transform: translate(calc((49.274125cqw - var(--hero-r)) * 1), calc((26.8875625cqw - var(--hero-r)) * 1));
  }
  46.2565717258% {
    transform: translate(calc((48.593cqw - var(--hero-r)) * 1), calc((26.5655cqw - var(--hero-r)) * 1));
  }
  47.9946212309% {
    transform: translate(calc((47.951375cqw - var(--hero-r)) * 1), calc((26.0566875cqw - var(--hero-r)) * 1));
  }
  49.4726263517% {
    transform: translate(calc((47.344cqw - var(--hero-r)) * 1), calc((25.384cqw - var(--hero-r)) * 1));
  }
  50.7412361976% {
    transform: translate(calc((46.765625cqw - var(--hero-r)) * 1), calc((24.5703125cqw - var(--hero-r)) * 1));
  }
  51.8546131152% {
    transform: translate(calc((46.211cqw - var(--hero-r)) * 1), calc((23.6385cqw - var(--hero-r)) * 1));
  }
  52.8581346405% {
    transform: translate(calc((45.674875cqw - var(--hero-r)) * 1), calc((22.6114375cqw - var(--hero-r)) * 1));
  }
  53.7864771133% {
    transform: translate(calc((45.152cqw - var(--hero-r)) * 1), calc((21.512cqw - var(--hero-r)) * 1));
  }
  54.6651340051% {
    transform: translate(calc((44.637125cqw - var(--hero-r)) * 1), calc((20.3630625cqw - var(--hero-r)) * 1));
  }
  55.5124995578% {
    transform: translate(calc((44.125cqw - var(--hero-r)) * 1), calc((19.1875cqw - var(--hero-r)) * 1));
  }
  56.3416893568% {
    transform: translate(calc((43.610375cqw - var(--hero-r)) * 1), calc((18.0081875cqw - var(--hero-r)) * 1));
  }
  57.1619857932% {
    transform: translate(calc((43.088cqw - var(--hero-r)) * 1), calc((16.848cqw - var(--hero-r)) * 1));
  }
  57.9799700014% {
    transform: translate(calc((42.552625cqw - var(--hero-r)) * 1), calc((15.7298125cqw - var(--hero-r)) * 1));
  }
  58.800405068% {
    transform: translate(calc((41.999cqw - var(--hero-r)) * 1), calc((14.6765cqw - var(--hero-r)) * 1));
  }
  59.6269102683% {
    transform: translate(calc((41.421875cqw - var(--hero-r)) * 1), calc((13.7109375cqw - var(--hero-r)) * 1));
  }
  60.4624544432% {
    transform: translate(calc((40.816cqw - var(--hero-r)) * 1), calc((12.856cqw - var(--hero-r)) * 1));
  }
  61.3096988879% {
    transform: translate(calc((40.176125cqw - var(--hero-r)) * 1), calc((12.1345625cqw - var(--hero-r)) * 1));
  }
  62.1712254325% {
    transform: translate(calc((39.497cqw - var(--hero-r)) * 1), calc((11.5695cqw - var(--hero-r)) * 1));
  }
  63.0496861396% {
    transform: translate(calc((38.773375cqw - var(--hero-r)) * 1), calc((11.1836875cqw - var(--hero-r)) * 1));
  }
  63.9479062354% {
    transform: translate(calc((38cqw - var(--hero-r)) * 1), calc((11cqw - var(--hero-r)) * 1));
  }
  64.868964293% {
    transform: translate(calc((37.15675cqw - var(--hero-r)) * 1), calc((11.011125cqw - var(--hero-r)) * 1));
  }
  65.8162663809% {
    transform: translate(calc((36.234cqw - var(--hero-r)) * 1), calc((11.184cqw - var(--hero-r)) * 1));
  }
  66.7936255945% {
    transform: translate(calc((35.24225cqw - var(--hero-r)) * 1), calc((11.502875cqw - var(--hero-r)) * 1));
  }
  67.8053555046% {
    transform: translate(calc((34.192cqw - var(--hero-r)) * 1), calc((11.952cqw - var(--hero-r)) * 1));
  }
  68.8563853194% {
    transform: translate(calc((33.09375cqw - var(--hero-r)) * 1), calc((12.515625cqw - var(--hero-r)) * 1));
  }
  69.9524055967% {
    transform: translate(calc((31.958cqw - var(--hero-r)) * 1), calc((13.178cqw - var(--hero-r)) * 1));
  }
  71.1000560646% {
    transform: translate(calc((30.79525cqw - var(--hero-r)) * 1), calc((13.923375cqw - var(--hero-r)) * 1));
  }
  72.30717178% {
    transform: translate(calc((29.616cqw - var(--hero-r)) * 1), calc((14.736cqw - var(--hero-r)) * 1));
  }
  73.583111311% {
    transform: translate(calc((28.43075cqw - var(--hero-r)) * 1), calc((15.600125cqw - var(--hero-r)) * 1));
  }
  74.9392024974% {
    transform: translate(calc((27.25cqw - var(--hero-r)) * 1), calc((16.5cqw - var(--hero-r)) * 1));
  }
  76.3893606183% {
    transform: translate(calc((26.08425cqw - var(--hero-r)) * 1), calc((17.419875cqw - var(--hero-r)) * 1));
  }
  77.950966069% {
    transform: translate(calc((24.944cqw - var(--hero-r)) * 1), calc((18.344cqw - var(--hero-r)) * 1));
  }
  79.6461446297% {
    transform: translate(calc((23.83975cqw - var(--hero-r)) * 1), calc((19.256625cqw - var(--hero-r)) * 1));
  }
  81.5036946988% {
    transform: translate(calc((22.782cqw - var(--hero-r)) * 1), calc((20.142cqw - var(--hero-r)) * 1));
  }
  83.5620983112% {
    transform: translate(calc((21.78125cqw - var(--hero-r)) * 1), calc((20.984375cqw - var(--hero-r)) * 1));
  }
  85.8744403974% {
    transform: translate(calc((20.848cqw - var(--hero-r)) * 1), calc((21.768cqw - var(--hero-r)) * 1));
  }
  88.5168985868% {
    transform: translate(calc((19.99275cqw - var(--hero-r)) * 1), calc((22.477125cqw - var(--hero-r)) * 1));
  }
  91.6044420667% {
    transform: translate(calc((19.226cqw - var(--hero-r)) * 1), calc((23.096cqw - var(--hero-r)) * 1));
  }
  95.3225885496% {
    transform: translate(calc((18.55825cqw - var(--hero-r)) * 1), calc((23.608875cqw - var(--hero-r)) * 1));
  }
  100% {
    transform: translate(calc((18cqw - var(--hero-r)) * 1), calc((24cqw - var(--hero-r)) * 1));
  }
}
/* 円の中の写真は逆向きに移動 */
@keyframes hero-lens-img-move {
  0% {
    transform: translate(calc((68cqw - var(--hero-r)) * -1), calc((11cqw - var(--hero-r)) * -1));
  }
  4.677484049% {
    transform: translate(calc((67.499cqw - var(--hero-r)) * -1), calc((11.477cqw - var(--hero-r)) * -1));
  }
  8.3957963697% {
    transform: translate(calc((66.902cqw - var(--hero-r)) * -1), calc((12.096cqw - var(--hero-r)) * -1));
  }
  11.4837142169% {
    transform: translate(calc((66.218cqw - var(--hero-r)) * -1), calc((12.839cqw - var(--hero-r)) * -1));
  }
  14.1269964359% {
    transform: translate(calc((65.456cqw - var(--hero-r)) * -1), calc((13.688cqw - var(--hero-r)) * -1));
  }
  16.4410932925% {
    transform: translate(calc((64.625cqw - var(--hero-r)) * -1), calc((14.625cqw - var(--hero-r)) * -1));
  }
  18.5030947279% {
    transform: translate(calc((63.734cqw - var(--hero-r)) * -1), calc((15.632cqw - var(--hero-r)) * -1));
  }
  20.3677263496% {
    transform: translate(calc((62.792cqw - var(--hero-r)) * -1), calc((16.691cqw - var(--hero-r)) * -1));
  }
  22.0762652478% {
    transform: translate(calc((61.808cqw - var(--hero-r)) * -1), calc((17.784cqw - var(--hero-r)) * -1));
  }
  23.6620230304% {
    transform: translate(calc((60.791cqw - var(--hero-r)) * -1), calc((18.893cqw - var(--hero-r)) * -1));
  }
  25.1540509973% {
    transform: translate(calc((59.75cqw - var(--hero-r)) * -1), calc((20cqw - var(--hero-r)) * -1));
  }
  26.5798796981% {
    transform: translate(calc((58.694cqw - var(--hero-r)) * -1), calc((21.087cqw - var(--hero-r)) * -1));
  }
  27.9677347899% {
    transform: translate(calc((57.632cqw - var(--hero-r)) * -1), calc((22.136cqw - var(--hero-r)) * -1));
  }
  29.3485056866% {
    transform: translate(calc((56.573cqw - var(--hero-r)) * -1), calc((23.129cqw - var(--hero-r)) * -1));
  }
  30.757614825% {
    transform: translate(calc((55.526cqw - var(--hero-r)) * -1), calc((24.048cqw - var(--hero-r)) * -1));
  }
  32.2366334264% {
    transform: translate(calc((54.5cqw - var(--hero-r)) * -1), calc((24.875cqw - var(--hero-r)) * -1));
  }
  33.8336268642% {
    transform: translate(calc((53.504cqw - var(--hero-r)) * -1), calc((25.592cqw - var(--hero-r)) * -1));
  }
  35.5991245461% {
    transform: translate(calc((52.547cqw - var(--hero-r)) * -1), calc((26.181cqw - var(--hero-r)) * -1));
  }
  37.5710938144% {
    transform: translate(calc((51.638cqw - var(--hero-r)) * -1), calc((26.624cqw - var(--hero-r)) * -1));
  }
  39.7420480632% {
    transform: translate(calc((50.786cqw - var(--hero-r)) * -1), calc((26.903cqw - var(--hero-r)) * -1));
  }
  42.0210243437% {
    transform: translate(calc((50cqw - var(--hero-r)) * -1), calc((27cqw - var(--hero-r)) * -1));
  }
  44.2434694581% {
    transform: translate(calc((49.274125cqw - var(--hero-r)) * -1), calc((26.8875625cqw - var(--hero-r)) * -1));
  }
  46.2565717258% {
    transform: translate(calc((48.593cqw - var(--hero-r)) * -1), calc((26.5655cqw - var(--hero-r)) * -1));
  }
  47.9946212309% {
    transform: translate(calc((47.951375cqw - var(--hero-r)) * -1), calc((26.0566875cqw - var(--hero-r)) * -1));
  }
  49.4726263517% {
    transform: translate(calc((47.344cqw - var(--hero-r)) * -1), calc((25.384cqw - var(--hero-r)) * -1));
  }
  50.7412361976% {
    transform: translate(calc((46.765625cqw - var(--hero-r)) * -1), calc((24.5703125cqw - var(--hero-r)) * -1));
  }
  51.8546131152% {
    transform: translate(calc((46.211cqw - var(--hero-r)) * -1), calc((23.6385cqw - var(--hero-r)) * -1));
  }
  52.8581346405% {
    transform: translate(calc((45.674875cqw - var(--hero-r)) * -1), calc((22.6114375cqw - var(--hero-r)) * -1));
  }
  53.7864771133% {
    transform: translate(calc((45.152cqw - var(--hero-r)) * -1), calc((21.512cqw - var(--hero-r)) * -1));
  }
  54.6651340051% {
    transform: translate(calc((44.637125cqw - var(--hero-r)) * -1), calc((20.3630625cqw - var(--hero-r)) * -1));
  }
  55.5124995578% {
    transform: translate(calc((44.125cqw - var(--hero-r)) * -1), calc((19.1875cqw - var(--hero-r)) * -1));
  }
  56.3416893568% {
    transform: translate(calc((43.610375cqw - var(--hero-r)) * -1), calc((18.0081875cqw - var(--hero-r)) * -1));
  }
  57.1619857932% {
    transform: translate(calc((43.088cqw - var(--hero-r)) * -1), calc((16.848cqw - var(--hero-r)) * -1));
  }
  57.9799700014% {
    transform: translate(calc((42.552625cqw - var(--hero-r)) * -1), calc((15.7298125cqw - var(--hero-r)) * -1));
  }
  58.800405068% {
    transform: translate(calc((41.999cqw - var(--hero-r)) * -1), calc((14.6765cqw - var(--hero-r)) * -1));
  }
  59.6269102683% {
    transform: translate(calc((41.421875cqw - var(--hero-r)) * -1), calc((13.7109375cqw - var(--hero-r)) * -1));
  }
  60.4624544432% {
    transform: translate(calc((40.816cqw - var(--hero-r)) * -1), calc((12.856cqw - var(--hero-r)) * -1));
  }
  61.3096988879% {
    transform: translate(calc((40.176125cqw - var(--hero-r)) * -1), calc((12.1345625cqw - var(--hero-r)) * -1));
  }
  62.1712254325% {
    transform: translate(calc((39.497cqw - var(--hero-r)) * -1), calc((11.5695cqw - var(--hero-r)) * -1));
  }
  63.0496861396% {
    transform: translate(calc((38.773375cqw - var(--hero-r)) * -1), calc((11.1836875cqw - var(--hero-r)) * -1));
  }
  63.9479062354% {
    transform: translate(calc((38cqw - var(--hero-r)) * -1), calc((11cqw - var(--hero-r)) * -1));
  }
  64.868964293% {
    transform: translate(calc((37.15675cqw - var(--hero-r)) * -1), calc((11.011125cqw - var(--hero-r)) * -1));
  }
  65.8162663809% {
    transform: translate(calc((36.234cqw - var(--hero-r)) * -1), calc((11.184cqw - var(--hero-r)) * -1));
  }
  66.7936255945% {
    transform: translate(calc((35.24225cqw - var(--hero-r)) * -1), calc((11.502875cqw - var(--hero-r)) * -1));
  }
  67.8053555046% {
    transform: translate(calc((34.192cqw - var(--hero-r)) * -1), calc((11.952cqw - var(--hero-r)) * -1));
  }
  68.8563853194% {
    transform: translate(calc((33.09375cqw - var(--hero-r)) * -1), calc((12.515625cqw - var(--hero-r)) * -1));
  }
  69.9524055967% {
    transform: translate(calc((31.958cqw - var(--hero-r)) * -1), calc((13.178cqw - var(--hero-r)) * -1));
  }
  71.1000560646% {
    transform: translate(calc((30.79525cqw - var(--hero-r)) * -1), calc((13.923375cqw - var(--hero-r)) * -1));
  }
  72.30717178% {
    transform: translate(calc((29.616cqw - var(--hero-r)) * -1), calc((14.736cqw - var(--hero-r)) * -1));
  }
  73.583111311% {
    transform: translate(calc((28.43075cqw - var(--hero-r)) * -1), calc((15.600125cqw - var(--hero-r)) * -1));
  }
  74.9392024974% {
    transform: translate(calc((27.25cqw - var(--hero-r)) * -1), calc((16.5cqw - var(--hero-r)) * -1));
  }
  76.3893606183% {
    transform: translate(calc((26.08425cqw - var(--hero-r)) * -1), calc((17.419875cqw - var(--hero-r)) * -1));
  }
  77.950966069% {
    transform: translate(calc((24.944cqw - var(--hero-r)) * -1), calc((18.344cqw - var(--hero-r)) * -1));
  }
  79.6461446297% {
    transform: translate(calc((23.83975cqw - var(--hero-r)) * -1), calc((19.256625cqw - var(--hero-r)) * -1));
  }
  81.5036946988% {
    transform: translate(calc((22.782cqw - var(--hero-r)) * -1), calc((20.142cqw - var(--hero-r)) * -1));
  }
  83.5620983112% {
    transform: translate(calc((21.78125cqw - var(--hero-r)) * -1), calc((20.984375cqw - var(--hero-r)) * -1));
  }
  85.8744403974% {
    transform: translate(calc((20.848cqw - var(--hero-r)) * -1), calc((21.768cqw - var(--hero-r)) * -1));
  }
  88.5168985868% {
    transform: translate(calc((19.99275cqw - var(--hero-r)) * -1), calc((22.477125cqw - var(--hero-r)) * -1));
  }
  91.6044420667% {
    transform: translate(calc((19.226cqw - var(--hero-r)) * -1), calc((23.096cqw - var(--hero-r)) * -1));
  }
  95.3225885496% {
    transform: translate(calc((18.55825cqw - var(--hero-r)) * -1), calc((23.608875cqw - var(--hero-r)) * -1));
  }
  100% {
    transform: translate(calc((18cqw - var(--hero-r)) * -1), calc((24cqw - var(--hero-r)) * -1));
  }
}
/* AWARD：賞状とテキストが横に収まらない幅（1100px 以下）で上下組みにする */
.top {
  /* ファーストビュー */
}
.top__hero {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  position: relative;
  padding: 5em 12.5em 0;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero {
    padding: 7.5em 2.5em 0;
  }
}
.top__hero {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__hero {
    padding: 10em 1.5em 0;
  }
}
.top {
  /* スクロールダウン：右端の余白に縦書きの文字と下向きの矢印 */
}
.top__hero-scroll {
  position: absolute;
  right: 0;
  bottom: calc(max(0em, 100% - 100svh) + 1.5em);
  width: 5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
  color: #ffffff;
  z-index: 2;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero-scroll {
    right: 0em;
    width: 2.5em;
  }
}
.top__hero-scroll {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__hero-scroll {
    display: none;
  }
}
.top__hero-scroll-text {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  writing-mode: vertical-rl;
  font-size: 1.5em;
  line-height: 1;
  padding-left: 0.2em;
}
.top__hero-scroll-arrow {
  width: 2.3em;
  height: 2.5em;
  background: url("../../../images/ya_w.svg") center/contain no-repeat;
  transform: rotate(90deg);
  animation: hero-scroll-arrow 1.2s ease-in-out infinite;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero-scroll-arrow {
    width: 1.3em;
    height: 1.5em;
  }
}
.top {
  /* 家の枠と円をまとめる外枠（円の位置の基準） */
}
.top__hero-frame {
  position: relative;
  container-type: inline-size;
  width: 100%;
  /* 円の半径と、周りの文字の輪の直径（円の位置・大きさの計算に使う） */
  --hero-r: 7.35em;
  --hero-text-size: calc(
    (var(--hero-r) + 0.25em) / 0.452
  );
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero-frame {
    --hero-r: 14cqw;
    /* タブレット以下：コピーを上、家の枠を下に（上下組み）
       円・流れる文字（絶対配置）は家と同じ行に置き、位置の基準を家の枠にそろえる */
    display: grid;
    grid-template-columns: 100%;
  }
  .top__hero-frame .top__hero-content {
    grid-row: 1;
  }
  .top__hero-frame .top__hero-house,
  .top__hero-frame .top__hero-lens--fill,
  .top__hero-frame .top__hero-marquee {
    grid-row: 2;
    grid-column: 1;
  }
}
.top {
  /* 流れる文字：家の後ろ（家の高さの真ん中あたり）を画面の端から端まで */
}
.top__hero-marquee {
  position: absolute;
  top: 24cqw;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  translate: 0 -50%;
  overflow: hidden;
  pointer-events: none;
}
.top__hero-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: contact-marquee 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .top__hero-track {
    animation: none;
  }
}
.top__hero-loop {
  display: flex;
  flex-shrink: 0;
  padding-bottom: 0;
}
.top__hero-loop span {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 11.5em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  padding-right: 0.5em;
  color: #ffffff;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero-loop span {
    font-size: 6em;
  }
}
.top__hero-loop span {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__hero-loop span {
    font-size: 4em;
  }
}
.top__hero-loop span {
  /* 「for」「to」：塗りなしの白線文字（.txt-outline） */
}
.top__hero-loop span em {
  font-style: normal;
}
.top {
  /* キャッチコピー：家の左上（屋根の横の空き）に重ねる */
}
.top__hero-content {
  position: absolute;
  top: 2em;
  left: -2.5em;
  z-index: 1;
  max-width: 30cqw;
  /* タブレット以下：家の枠の上に置く（上下組み） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero-content {
    position: static;
    max-width: none;
    padding-bottom: 5em;
  }
}
.top__hero-copy {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.75em;
  white-space: nowrap;
  padding-bottom: 0.2em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__hero-copy {
    font-size: 2em;
    padding-bottom: 0.5em;
  }
}
.top__hero-copy {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__hero-copy {
    font-size: 1.3em;
  }
}
.top {
  /* 家の形の枠 */
}
.top__hero-house {
  position: relative;
  width: 100%;
  aspect-ratio: 1500/1050;
  -webkit-mask: url("../../../images/house.svg") center/100% 100% no-repeat;
  mask: url("../../../images/house.svg") center/100% 100% no-repeat;
}
.top__hero-img {
  position: absolute;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.top {
  /* イラスト：写真と同じ大きさで重ねる（位置は画像側で合わせてある） */
}
.top__hero-illust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.top {
  /* 円（レンズ） */
}
.top__hero-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--hero-r) * 2);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  animation: hero-lens-move 10s linear infinite alternate;
  pointer-events: none;
  /* 家からはみ出た部分：メインカラーで塗りつぶし（家の後ろ） */
}
.top__hero-lens--fill {
  overflow: visible;
  border: 0.15em solid #000000;
  background: #a7d64d;
  /* 文字（黒）：家の後ろにあるので、家の外にはみ出た部分だけ見える */
}
.top__hero-lens--fill::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--hero-text-size);
  height: var(--hero-text-size);
  margin: calc(var(--hero-text-size) * -0.5) 0 0 calc(var(--hero-text-size) * -0.5);
  background: url("../../../images/rotatetxt_b.svg") center/contain no-repeat;
  animation: hero-text-rotate 30s linear infinite;
}
.top__hero-lens {
  /* 文字（白）：家の枠の中にあるので、家の中の部分だけ見える */
}
.top__hero-lens--text {
  overflow: visible;
  border: 0.15em solid #ffffff;
}
.top__hero-lens--text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--hero-text-size);
  height: var(--hero-text-size);
  margin: calc(var(--hero-text-size) * -0.5) 0 0 calc(var(--hero-text-size) * -0.5);
  background: url("../../../images/rotatetxt_w.svg") center/contain no-repeat;
  animation: hero-text-rotate 30s linear infinite;
}
.top__hero-lens {
  /* 完成前の写真：枠と同じ大きさで、円と逆に動かす */
}
.top__hero-lens .top__hero-img--before {
  inset: auto;
  top: 0;
  left: 0;
  width: 100cqw;
  height: calc(100cqw * 0.7);
  max-width: none;
  animation: hero-lens-img-move 10s linear infinite alternate;
}
.top {
  /* 動きを減らす設定の環境では屋根の中央で止める */
}
@media (prefers-reduced-motion: reduce) {
  .top__hero-lens, .top__hero-lens .top__hero-img--before, .top__hero-lens--fill::after, .top__hero-lens--text::after {
    animation-play-state: paused;
    animation-delay: -5s;
  }
  .top__hero-scroll-arrow {
    animation: none;
  }
}
.top {
  /* AWARD：左に賞の画像2枚、右にテキスト ---------- */
}
.top__award {
  position: relative;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__award {
    display: flex;
    flex-direction: column;
  }
}
.top__award {
  z-index: 2;
}
.top__award.sec {
  padding-bottom: 5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__award.sec {
    padding-bottom: 0;
  }
}
.top__award {
  /* イラスト：セクションの左下 */
}
.top__award-illust {
  position: absolute;
  left: 10em;
  bottom: -2.25em;
  width: 15em;
  height: auto;
  pointer-events: none;
  /* タブレット以下：賞状の下に置く（セクションを縦並びにして、内容の後ろへ） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__award-illust {
    position: static;
    order: 1;
    align-self: flex-start;
    width: 15em;
    margin-left: 5em;
    margin-top: 1.5em;
  }
}
.top__award-illust {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__award-illust {
    width: 10em;
    margin-left: 2.5em;
  }
}
.top__award {
  /* 賞状の高さはテキストエリアの高さに合わせる */
}
.top__award-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5em 5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__award-inner {
    grid-template-columns: 1fr;
  }
}
.top__award-list {
  list-style: none inside;
  display: flex;
  justify-content: flex-end;
  gap: 2.5em;
  height: 0;
  min-height: 100%;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__award-list {
    width: 100%;
    order: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    min-height: 0;
    margin-left: auto;
  }
}
.top__award-list {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__award-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
  }
}
.top__award-item img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.08);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__award-item img {
    width: 100%;
    height: auto;
  }
}
.top__award-body .secttl {
  padding-bottom: 0;
}
.top__award-body .secttl .eg {
  font-size: 7.5em;
  font-weight: 700;
  margin-top: -0.15em;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .top__award-body .secttl .eg {
    font-size: 6em;
  }
}
.top__award-body .secttl .eg {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__award-body .secttl .eg {
    font-size: 4em;
  }
}
.top__award-body .secttl .jp {
  font-size: 1.8em;
  letter-spacing: 0.05em;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .top__award-body .secttl .jp {
    font-size: 1.5em;
  }
}
.top__award-body .secttl .jp {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__award-body .secttl .jp {
    font-size: 1.2em;
  }
}
.top__award-text {
  padding-bottom: 0;
}
.top {
  /* COMMITMENT：左にカード2枚、右端に縦書きのセクションタイトル ---------- */
}
.top__commitment {
  z-index: 1;
  /* PC：下の余白は PICK UP の 1 つ目の上余白（10em）にまかせる */
}
.top__commitment.sec {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__commitment.sec {
    padding-bottom: 0;
  }
}
.top__commitment-inner {
  padding-left: 0;
  /* タブレット以下：タイトルを上、カードを下に縦並び */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-inner {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
}
.top__commitment {
  /* セクションタイトル：縦書き */
}
.top__commitment .secttl {
  writing-mode: vertical-rl;
  padding-bottom: 0;
  position: absolute;
  right: 5em;
  padding-top: 2.5em;
  /* タブレット以下：カードの上に横書き（外側の左の余白がないので、ここで余白を付ける） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment .secttl {
    position: static;
    order: -1;
    writing-mode: horizontal-tb;
    padding-bottom: 2.5em;
    padding-left: 5em;
  }
}
.top__commitment .secttl {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment .secttl {
    padding-left: 1.5em;
  }
}
.top__commitment .secttl .eg {
  display: inline-block;
  font-size: 1em;
  padding-top: 0.5em;
  color: #000000;
}
.top__commitment .secttl .jp {
  font-size: 1.8em;
  letter-spacing: -0.4em;
  line-height: 1;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment .secttl .jp {
    letter-spacing: 0.05em;
  }
}
.top__commitment {
  /* カード */
}
.top__commitment-list {
  list-style: none inside;
  display: flex;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5em;
    width: 100%;
  }
}
.top__commitment-list {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-list {
    gap: 1.5em;
  }
}
.top__commitment-card {
  position: relative;
  width: 45em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card {
    width: auto;
  }
}
.top__commitment-card {
  /* スマホだけカードで切り抜く（PC・タブレットはボタンの円をカードの外にはみ出させたいので、写真のほうで角丸に切り抜く） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-card {
    overflow: hidden;
  }
}
.top__commitment-card {
  /* テキストエリアの背景色（スマホでテキストの下に置くボタンの部分も同じ色に） */
}
.top__commitment-card--01 {
  z-index: 1;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--01 {
    margin-right: 5em;
  }
}
.top__commitment-card--01 {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-card--01 {
    margin-right: 1.5em;
  }
}
.top__commitment-card--01 a {
  background: #a5b28b;
}
.top__commitment-card--02 {
  width: 50em;
  margin-left: -5em;
  /* タブレット以下：画面の右端から左に出す（1枚目と左右を入れ替えて交差させる） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--02 {
    width: auto;
    margin-left: 5em;
  }
}
.top__commitment-card--02 {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-card--02 {
    margin-left: 1.5em;
    border-radius: 1em 0 0 1em;
  }
}
.top__commitment-card--02 a {
  background: #f3fae6;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--02 a {
    border-radius: 2.5em 0 0 2.5em;
  }
}
.top__commitment-card--02 .top__commitment-body {
  padding-left: calc(2.5em + 5em);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--02 .top__commitment-body {
    padding-left: 2.5em;
  }
}
.top__commitment-card--02 .top__commitment-body {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-card--02 .top__commitment-body {
    padding-left: 1.5em;
  }
}
.top__commitment-card--02 .top__commitment-photo {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--02 .top__commitment-photo {
    order: -1;
  }
}
.top__commitment-body {
  padding: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-body {
    padding: 1.5em;
  }
}
.top__commitment-ttl {
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  padding-bottom: 1.2em;
}
.top__commitment {
  /* イラスト（01）：テキストの下 */
}
.top__commitment-illust {
  display: block;
  width: 12.5em;
  height: auto;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-illust {
    width: 7em;
  }
}
.top__commitment-text {
  font-size: 0.9em;
  line-height: 2em;
  padding-bottom: 2em;
  letter-spacing: 0;
}
.top__commitment-text:last-child {
  padding-bottom: 0;
}
.top__commitment {
  /* 写真：領域いっぱいに充填 */
}
.top__commitment-photo {
  position: relative;
  min-height: 32.5em;
  overflow: hidden;
  border-radius: 0 2.5em 2.5em 0;
  /* タブレット：2枚目は写真が左なので、左側を角丸に */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--02 .top__commitment-photo {
    border-radius: 2.5em 0 0 2.5em;
  }
}
.top__commitment-photo {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-photo {
    order: -1;
    aspect-ratio: 10/9;
    min-height: 0;
    /* スマホはカード側で切り抜くので、写真の角丸はなし */
  }
  .top__commitment-photo, .top__commitment-card--02 .top__commitment-photo {
    border-radius: 0;
  }
}
.top__commitment-photo img {
  position: absolute;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.top__commitment-photo {
  /* 2枚目は人物写真で顔が上にあるので、切り取りの基準を上寄りに（スマホの横長の枠でも顔が見切れないように） */
}
.top__commitment-card--02 .top__commitment-photo img {
  -o-object-position: 50% 5%;
     object-position: 50% 5%;
}
.top__commitment {
  /* 番号：写真の右上に大きく白文字 */
}
.top__commitment-num {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  z-index: 2;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 5em;
  font-weight: 700;
  line-height: 0.6;
  color: #ffffff;
  pointer-events: none;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-num {
    font-size: 3.5em;
  }
}
.top__commitment-num {
  /* 飾り文字（COMMITMENT の弧）：番号の右上から包むように配置 */
}
.top__commitment-num::after {
  content: "";
  position: absolute;
  top: -0.3em;
  right: -0.3em;
  width: 0.6em;
  aspect-ratio: 87.37/101.59;
  background: url("../../../images/commitment.svg") center/contain no-repeat;
}
.top__commitment {
  /* ボタン：写真の右下 */
  /* リンク：カード全体（左：テキスト / 右：写真） */
}
.top__commitment-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 0 2.5em 2.5em 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-link {
    border-radius: 0 1em 1em 0;
    overflow: hidden;
  }
}
.top__commitment-link {
  /* PC：写真の幅は 22.5em、テキストは残りの幅 */
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__commitment-link {
    grid-template-columns: 1fr 22.5em;
  }
}
.top__commitment-link {
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.top__commitment-link:hover {
  text-decoration: none;
  /* 共通のリンクの指定（a:hover img で画像を薄くする）を打ち消し、ボタンの変化だけにする */
}
.top__commitment-link:hover img {
  opacity: 1;
  filter: none;
}
.top__commitment-link {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-link {
    grid-template-columns: 1fr;
  }
}
.top__commitment-link {
  /* カード全体のホバーでボタンを反応させる */
}
.top__commitment-link:hover .top__commitment-btn {
  text-decoration: none;
}
.top__commitment-link:hover .top__commitment-btn::before {
  transform: translateY(-50%) scale(1);
}
.top__commitment-link:hover .top__commitment-btn::after {
  background-image: url("../../../images/ya.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.top__commitment-btn {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-btn {
    --btn-arrow-size: 1.75em;
  }
}
.top__commitment-btn {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.top__commitment-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.top__commitment-btn {
  /* 矢印 */
}
.top__commitment-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya_w.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.top__commitment-btn:hover {
  text-decoration: none;
}
.top__commitment-btn:hover::before {
  transform: translateY(-50%) scale(1);
}
.top__commitment-btn:hover::after {
  background-image: url("../../../images/ya.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.top__commitment-btn {
  position: absolute;
  right: 1.25em;
  bottom: 1em;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.4);
  /* タブレット：2枚目は写真が左なので、写真の右下＝カードの左半分の右下に */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__commitment-card--02 .top__commitment-btn {
    right: calc(50% + 1.25em);
  }
}
.top__commitment-btn {
  /* スマホ：写真の上ではなく、カードのテキストの下に置く */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__commitment-btn {
    position: relative;
    justify-self: end;
    right: auto;
    bottom: auto;
    margin: 0 1.5em 1.5em;
    color: #000000;
    text-shadow: none;
  }
  .top__commitment-card--02 .top__commitment-btn {
    right: auto;
  }
  .top__commitment-btn::after {
    background-image: url("../../../images/ya.svg");
  }
}
.top {
  /* PICK UP：左にテキスト、右に固定した画像（ルーレットのように切り替え） ---------- */
}
.top__pickup {
  overflow: clip;
  /* 写真の高さ（PC）：画面の上下中央に固定する位置の計算に使う
     （45em × 0.889 ＝ 40em ＝ テキストのブロックの高さと同じ） */
  --pickup-img-h: calc(45em * 0.889);
}
.top__pickup.sec {
  padding: 0;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup.sec {
    padding: 5em 0;
  }
}
.top__pickup .innerbox {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__pickup .innerbox {
    padding-right: 5em;
  }
}
.top__pickup-inner {
  display: grid;
  grid-template-columns: 1fr 45em;
  gap: 5em;
  /* PC：上下の余白 10em（COMMITMENT・OTHER との間）。同じ背景色のセクションが続くと .sec の上余白が 0 になるので、ここで付ける */
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__pickup-inner {
    padding: 10em 0;
  }
}
.top__pickup-inner {
  /* タブレット以下：回転の切り替えはやめて「見出し → 写真 → 本文 → ボタン」を3組、縦に並べる
     写真・テキストの入れ物を display: contents にして同じ1列の grid に並べ、order で順番を決める */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .top__pickup-inner .top__pickup-block:nth-child(1) > .top__pickup-head {
    order: 1;
  }
  .top__pickup-inner .top__pickup-slide:nth-child(1) {
    order: 2;
  }
  .top__pickup-inner .top__pickup-block:nth-child(1) > .top__pickup-text {
    order: 3;
  }
  .top__pickup-inner .top__pickup-block:nth-child(1) > .top__pickup-btns {
    order: 4;
  }
  .top__pickup-inner .top__pickup-block:nth-child(2) > .top__pickup-head {
    order: 5;
  }
  .top__pickup-inner .top__pickup-slide:nth-child(2) {
    order: 6;
  }
  .top__pickup-inner .top__pickup-block:nth-child(2) > .top__pickup-text {
    order: 7;
  }
  .top__pickup-inner .top__pickup-block:nth-child(2) > .top__pickup-btns {
    order: 8;
  }
  .top__pickup-inner .top__pickup-block:nth-child(3) > .top__pickup-head {
    order: 9;
  }
  .top__pickup-inner .top__pickup-slide:nth-child(3) {
    order: 10;
  }
  .top__pickup-inner .top__pickup-block:nth-child(3) > .top__pickup-text {
    order: 11;
  }
  .top__pickup-inner .top__pickup-block:nth-child(3) > .top__pickup-btns {
    order: 12;
  }
}
.top__pickup {
  /* テキスト：ブロックの間は 10em */
}
.top__pickup-list {
  display: flex;
  flex-direction: column;
  gap: 10em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-list {
    display: contents;
  }
}
.top__pickup-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 40em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-block {
    display: contents;
  }
}
.top__pickup {
  /* 見出し：左に PICK UP・ラベル・見出し、右に大きな番号 */
}
.top__pickup-head {
  position: relative;
  padding-bottom: 1.5em;
}
.top__pickup-label {
  position: relative;
  z-index: 1;
}
.top__pickup-en {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 5em;
  font-weight: 800;
  line-height: 1;
  text-box: trim-both cap alphabetic;
  color: #ffffff;
  padding-bottom: 0.2em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-en {
    font-size: 3em;
  }
}
.top__pickup-cat {
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  color: #8ab931;
  padding-bottom: 1em;
}
.top__pickup-ttl {
  font-size: 1.8em;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  padding-bottom: 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-ttl {
    font-size: 1.25em;
  }
}
.top__pickup {
  /* 番号：見出しの右に重ねる（横並びだと見出しが改行されるため absolute） */
}
.top__pickup-num {
  position: absolute;
  top: 0;
  right: -0.15em;
  /* 01 だけは right: 0 */
}
.top__pickup-block:first-child .top__pickup-num {
  right: 0;
}
.top__pickup-num {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 15em;
  font-weight: 900;
  line-height: 1;
  text-box: trim-both cap alphabetic;
  /* 輪郭線だけ：線を太めに引き、内側半分を背景色の塗りで隠して、外側半分だけの線にする
     （文字の形が重なる部分の線や、線の太さのむらが出てガタついて見えるのを防ぐ） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-num {
    font-size: 14em;
    top: 0.02em;
    right: 0;
  }
}
.top__pickup-num {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-num {
    font-size: 8em;
  }
}
.top__pickup-text {
  padding-bottom: 4em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-text {
    padding-bottom: 2.5em;
  }
}
.top__pickup-text {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-text {
    padding-bottom: 2em;
  }
}
.top__pickup {
  /* ボタン2つ：下層ページ / 施工事例 */
}
.top__pickup-btns {
  list-style: none inside;
  display: flex;
  flex-wrap: wrap;
  gap: 1em 4em;
  /* タブレット以下：ブロックの区切りの余白（最後のブロックは不要） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-btns {
    margin-bottom: 5em;
  }
  .top__pickup-block:last-child > .top__pickup-btns {
    margin-bottom: 0;
  }
}
.top__pickup-btns {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-btns {
    margin-bottom: 3em;
  }
}
.top__pickup-btn {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-btn {
    --btn-arrow-size: 1.75em;
  }
}
.top__pickup-btn {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.top__pickup-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.top__pickup-btn {
  /* 矢印 */
}
.top__pickup-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.top__pickup-btn:hover {
  text-decoration: none;
}
.top__pickup-btn:hover::before {
  transform: translateY(-50%) scale(1);
}
.top__pickup-btn:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.top__pickup {
  /* 画像：右の列の中で画面に固定 */
}
.top__pickup-visual {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-visual {
    display: contents;
  }
}
.top__pickup {
  /* 写真：画面の上下中央に固定。ブロックが画面の真ん中に来たとき、写真とテキストが同じ高さでそろう
     （最初は 1 つ目のブロックと同じ高さから始まり、最後は最後のブロックと同じ高さで終わる） */
}
.top__pickup-stage {
  position: sticky;
  top: max(0em, (100vh - var(--pickup-img-h)) / 2);
  height: var(--pickup-img-h);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-stage {
    display: contents;
  }
}
.top__pickup {
  /* 写真＋イラストの1セット */
}
.top__pickup-slide, .top__pickup-slide.noise {
  position: absolute;
}
.top__pickup-slide {
  left: 0;
  width: 100%;
  aspect-ratio: 1/0.889;
  margin: 0;
  border-radius: 2em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__pickup-slide {
    border-radius: 1em;
  }
}
.top__pickup-slide {
  transform-origin: 160% 50%;
  transform: rotate(-55deg) scale(0.6);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1), opacity 1s ease;
  /* 表示中 */
}
.top__pickup-slide.is-active {
  transform: none;
  opacity: 1;
}
.top__pickup-slide {
  /* 通り過ぎた：右上の画面外 */
}
.top__pickup-slide.is-past {
  transform: rotate(55deg) scale(0.6);
}
.top__pickup-slide {
  /* タブレット以下：普通の画像として表示（JS が付けるクラスも無効に） */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-slide, .top__pickup-slide.noise, .top__pickup-slide.is-active, .top__pickup-slide.is-past {
    position: relative;
    transform: none;
    opacity: 1;
    transition: none;
  }
  .top__pickup-slide {
    aspect-ratio: 5/4;
    margin-bottom: 2em;
  }
}
.top__pickup {
  /* 画像の左下のテキスト（クレジット表記）：タブレット以下は右上 */
}
.top__pickup-caption {
  position: absolute;
  left: 1.875em;
  bottom: 1.25em;
  z-index: 2;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__pickup-caption {
    left: auto;
    right: 1.875em;
    bottom: auto;
    top: 1.25em;
  }
}
.top__pickup-img, .top__pickup-illust {
  position: absolute;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .top__pickup-slide {
    transition: opacity 0.3s ease;
    transform: none !important;
  }
}
.top {
  /* OTHER：その他のサービス。写真を背景にしたカードを中央寄せで3つ横並び ---------- */
}
.top__other {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__other {
    padding-bottom: 10em !important;
  }
}
.top__other {
  /* innerbox の左右の余白は 5em に固定（広がる分は ul の余白で調整） */
}
.top__other-inner {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__other-inner {
    padding-right: 5em;
    padding-left: 5em;
  }
}
.top__other {
  /* 通常は左右 5em の余白 → カードにホバーしたら 0 にして、空いた分ホバーしたカードを広げる */
}
.top__other-list {
  list-style: none inside;
  display: flex;
  justify-content: center;
  gap: 2em;
  transition: padding 0.5s ease;
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__other-list {
    padding-right: 5em;
    padding-left: 5em;
  }
}
@media screen and (min-width: 769px) and (hover: hover) {
  .top__other-list:has(.top__other-item:hover) {
    padding-right: 0;
    padding-left: 0;
  }
}
.top__other-list {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__other-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
}
.top__other-item {
  position: relative;
  flex: 0 1 28em;
  height: 40em;
  transition: flex-basis 0.5s ease;
  /* タブレット以上 */
}
@media screen and (min-width: 769px) and (hover: hover) {
  .top__other-item:hover {
    flex-basis: 38em;
  }
}
.top__other-item {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__other-item {
    flex: none;
    width: 100%;
    max-width: 40em;
    height: 24em;
  }
}
.top__other-item {
  /* スマホ：PICK UP の画像より小さく見えるように、横長で低く */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-item {
    height: auto;
    aspect-ratio: 16/9;
  }
}
.top__other {
  /* リンク：カード全体 */
}
.top__other-link {
  position: absolute;
  inset: 0;
  border-radius: 2em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-link {
    border-radius: 1em;
  }
}
.top__other-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  /* ホバー：写真をくっきり（共通のリンクの a:hover img で薄くなるのを打ち消す）、日本語見出しも白に */
}
.top__other-link:hover img, .top__other-link:focus-visible img {
  opacity: 1;
  filter: none;
}
.top__other-link:hover .top__other-ja, .top__other-link:focus-visible .top__other-ja {
  color: #ffffff;
}
.top__other-link:hover {
  text-decoration: none;
}
.top__other-link {
  /* 暗幕：写真の上に黒を 20% で重ね、ホバーで 0 に（文字を読みやすくするため） */
}
.top__other-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000;
  opacity: 0.2;
  transition: opacity 0.3s ease-out;
}
.top__other-link:hover::before, .top__other-link:focus-visible::before {
  opacity: 0;
}
.top__other-link {
  /* 矢印：ホバー時に右下に表示 */
}
.top__other-link::after {
  content: "";
  position: absolute;
  right: 1.5em;
  bottom: 1.5em;
  z-index: 2;
  width: 2.5em;
  aspect-ratio: 57.62/52.24;
  background: url("../../../images/ya_w.svg") center/contain no-repeat;
  opacity: 0;
  transform: translateX(-0.4em);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  /* マウスが使えない端末では最初から表示 */
}
@media (hover: none) {
  .top__other-link::after {
    opacity: 1;
    transform: none;
  }
}
.top__other-link:hover::after, .top__other-link:focus-visible::after {
  opacity: 1;
  transform: none;
}
.top__other {
  /* 写真：カードいっぱいに敷く */
  /* 写真（ノイズ付き） */
}
.top__other-photo, .top__other-photo.noise {
  position: absolute;
}
.top__other-photo {
  inset: 0;
}
.top__other-img {
  position: absolute;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.top__other {
  /* イラスト：カードからはみ出して重ねる */
}
.top__other-illust {
  position: absolute;
  z-index: 3;
  height: auto;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  /* ホバーしたカードに対応するイラストは消す（画面幅に関係なく、マウスが使える環境で）
     1枚目 → ソファ / 3枚目 → 家族（自分のカードの中）、2枚目 → 家族（次のカードの中） */
}
@media (hover: hover) {
  .top__other-item:hover .top__other-illust, .top__other-item:nth-child(2):hover + .top__other-item .top__other-illust--family {
    opacity: 0;
  }
}
.top__other-illust {
  /* ソファ：左のカードの左下（縦並びでも1枚目の左下） */
}
.top__other-illust--sofa {
  left: -2.5em;
  bottom: -3em;
  width: 22.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__other-illust--sofa {
    left: -0.5em;
    bottom: -1.5em;
    width: 14em;
  }
}
.top__other-illust--sofa {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-illust--sofa {
    width: 8em;
  }
}
.top__other-illust {
  /* 家族：真ん中と右のカードの間（右のカードの左端からカードの間隔の半分だけ左）の下部 */
}
.top__other-illust--family {
  left: -1.2em;
  bottom: -3em;
  width: 18em;
  transform: translateX(-50%);
  /* 縦並び：2枚目と3枚目の間にまたがるように、3枚目の上端・右寄りに重ねる */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__other-illust--family {
    left: auto;
    right: 1em;
    top: 0;
    bottom: auto;
    width: 13em;
    transform: translateY(-60%);
  }
}
.top__other-illust--family {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-illust--family {
    top: -0.5em;
    width: 7em;
  }
}
.top__other {
  /* クレジット表記：カードの右上（入れたカードだけ表示）
     タブレット以下の 3枚目だけ左下（右上は家族のイラストが重なるため） */
}
.top__other-caption {
  position: absolute;
  top: 1.25em;
  right: 1.875em;
  z-index: 2;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-caption {
    top: 1em;
    right: 1.25em;
  }
}
.top__other-caption {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__other-item:nth-child(3) .top__other-caption {
    top: auto;
    right: auto;
    bottom: 1em;
    left: 1.5em;
  }
}
.top__other-caption {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-item:nth-child(3) .top__other-caption {
    bottom: 0.75em;
    left: 1.25em;
  }
}
.top__other {
  /* 見出し：中央に英語・日本語 */
}
.top__other-ttl {
  position: relative;
  z-index: 2;
}
.top__other-en {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  display: block;
  font-size: 3.6em;
  font-weight: 800;
  line-height: 1;
  padding-bottom: 0.25em;
  color: #ffffff;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-en {
    font-size: 1.8em;
  }
}
.top__other-ja {
  display: block;
  font-size: 1.2em;
  line-height: 1.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8ab931;
  transition: color 0.3s ease-out;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__other-ja {
    font-size: 1em;
  }
}
.top {
  /* WORKS & REVIEW：施工事例のカルーセル ---------- */
  /* 真ん中の幅 48vw、左右は 0.7 倍に縮小し、間隔 3.6% で3分の1が画面外に出る */
}
.top__works {
  overflow: clip;
  /* セクション見出し：右寄せ、日本語も白 */
}
.top__works-title {
  text-align: right;
}
.top__works-title.secttl {
  padding-bottom: 5em;
}
.top__works-title {
  /* h2.secttl .jp（color: currentColor）より優先させる */
}
.top__works-title.secttl .jp {
  color: #ffffff;
}
.top__works-swiper {
  /* ナビゲーションの位置と色（Swiper の CSS 変数で指定）
     位置：アクティブなスライドの画像の下端（スライド幅 × 0.7）から少し上 */
  --swiper-pagination-top: calc(50em * 0.7 - 2.5em);
  --swiper-pagination-bottom: auto;
  --swiper-pagination-bullet-size: 0.6em;
  --swiper-pagination-bullet-horizontal-gap: 0.4em;
  --swiper-pagination-color: #ffffff;
  --swiper-pagination-bullet-inactive-color: transparent;
  --swiper-pagination-bullet-inactive-opacity: 1;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__works-swiper {
    --swiper-pagination-top: calc(
      70vw * 0.7 - 2em
    );
  }
}
.top__works-swiper {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-swiper {
    --swiper-pagination-top: calc(
      80vw * 1.1 - 1.75em
    );
  }
}
.top__works-swiper {
  /* Swiper の CSS（.swiper { overflow: hidden }）より優先させる。スライドの上のエリアを切らないように */
}
.top__works-swiper.swiper {
  overflow: visible;
}
.top__works {
  /* ナビゲーション：白枠の丸、アクティブだけ塗り */
  /* 丸は JS で事例の数だけ描くので（Swiper の custom）、間隔もここで付ける */
}
.top__works-pagination {
  display: flex;
  justify-content: center;
  gap: 0.8em;
}
.top__works-pagination .swiper-pagination-bullet {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: solid 0.05em #ffffff;
  cursor: pointer;
}
.top__works-slide {
  scale: 0.7;
  transition: scale 0.8s ease;
  /* Swiper の CSS（.swiper-slide { width: 100% }）より優先させる */
}
.top__works-slide.swiper-slide {
  width: 50em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__works-slide.swiper-slide {
    width: 70vw;
  }
}
.top__works-slide.swiper-slide {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-slide.swiper-slide {
    width: 80vw;
  }
}
.top__works-slide {
  /* 左右のスライドは真ん中側を基準に縮小（間隔を保つ） */
}
.top__works-slide.swiper-slide-prev {
  transform-origin: right center;
}
.top__works-slide.swiper-slide-next {
  transform-origin: left center;
}
.top__works-slide.swiper-slide-active {
  scale: 1;
}
.top__works-link {
  display: block;
  color: #000000;
  text-decoration: none;
}
.top__works-link:hover {
  text-decoration: none;
}
.top__works-link {
  /* 真ん中以外はリンクを無効にし、押したら真ん中へ移動させる */
}
.top__works-slide:not(.swiper-slide-active, .top__works-slide--static) .top__works-link {
  pointer-events: none;
}
.top__works-media {
  position: relative;
  /* 白矢印：画像の右下（アクティブのみ表示。figure の疑似要素はノイズで使用中） */
}
.top__works-media::after {
  content: "";
  position: absolute;
  right: 1.5em;
  bottom: 1.5em;
  z-index: 2;
  width: 2.5em;
  aspect-ratio: 57.62/52.24;
  background: url("../../../images/ya_w.svg") center/contain no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-media::after {
    width: 2em;
    right: 1em;
    bottom: 1em;
  }
}
:is(.swiper-slide-active, .top__works-slide--static) .top__works-media::after {
  opacity: 1;
}
.top__works {
  /* 背景色は付けない（縮小したスライドの端に背景が細い線のように見えるため。画像がないときだけ &-noimg で色を付ける） */
}
.top__works-img {
  border-radius: 2em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-img {
    border-radius: 1em;
  }
}
.top__works-img {
  aspect-ratio: 1/0.7;
  margin: 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-img {
    aspect-ratio: 1/1.1;
  }
}
.top__works-img img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.top__works-noimg {
  background: #f3fae6;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #8ab931;
}
.top__works {
  /* 真ん中のスライドだけ表示するもの */
}
.top__works-num, .top__works-area, .top__works-info {
  opacity: 0;
  transition: opacity 0.8s ease;
}
:is(.swiper-slide-active, .top__works-slide--static) .top__works-num, :is(.swiper-slide-active, .top__works-slide--static) .top__works-area, :is(.swiper-slide-active, .top__works-slide--static) .top__works-info {
  opacity: 1;
}
.top__works {
  /* 番号：画像の左上 */
}
.top__works-num {
  position: absolute;
  top: -0.5em;
  left: 0.1em;
  z-index: 2;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 7.5em;
  font-weight: 900;
  line-height: 1;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__works-num {
    font-size: 5em;
  }
}
.top__works-num {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-num {
    font-size: 4em;
  }
}
.top__works {
  /* エリア：画像の外の右上 */
}
.top__works-area {
  position: absolute;
  right: 0.5em;
  bottom: 100%;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1;
  padding-bottom: 0.75em;
}
.top__works {
  /* 画像の下：タイトル・お客様の声・カテゴリー */
}
.top__works-info {
  padding: 1.5em 1.5em 0;
}
.top__works-ttl {
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.5em;
  /* スマホ：最大 2 行 */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-ttl {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}
.top__works {
  /* お客様の声：「お客様の声：ハガキ文章の最初の1行」。長いときは1行で省略 */
}
.top__works-voice {
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5em;
  padding-bottom: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top__works-voice-label {
  font-size: 0.9em;
  font-weight: 700;
}
.top__works-voice {
  /* スマホ：「お客様の声：」で改行し、文章は最大 2 行 */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-voice {
    white-space: normal;
    font-size: 0.9em;
  }
  .top__works-voice-label {
    display: block;
  }
  .top__works-voice-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}
.top__works-cats {
  list-style: none inside;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.top__works {
  /* カテゴリー：角丸の線で囲む */
}
.top__works-cat {
  font-size: 0.8em;
  line-height: 1;
  padding: 0.5em 1em;
  border: solid 0.0625em currentColor;
  border-radius: 2em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-cat {
    font-size: 0.6em;
  }
}
.top__works-btn {
  text-align: right;
  padding-right: 10em;
  /* ほかの要素と同じ左右の余白にそろえる */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__works-btn {
    padding-top: 2.5em;
    padding-right: 5em;
  }
}
.top__works-btn {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__works-btn {
    padding-top: 1.5em;
    padding-right: 1.5em;
  }
}
.top {
  /* NEWS：白背景の角丸の箱に、左の見出し＋ボタンと右のお知らせ3件を横並び ---------- */
}
.top__news .innerbox {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__news .innerbox {
    padding: 0 2.5em;
  }
}
.top__news .innerbox {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__news .innerbox {
    padding: 0 1.5em;
  }
}
.top__news-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5em 5em;
  padding: 5em;
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__news-box {
    border-radius: 1em;
  }
}
.top__news-box {
  background: #ffffff;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__news-box {
    grid-template-columns: 1fr;
    row-gap: 1.25em;
    padding: 2.5em;
  }
}
.top__news-box {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__news-box {
    padding: 2em 1.5em;
  }
}
.top__news-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2em;
  /* タブレット以下：見出し → お知らせ → 一覧を見る（右寄せ）の順に並べ替える */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__news-head {
    display: contents;
  }
}
.top__news {
  /* 見出し：白い箱の上なので英字に色を付ける（h2.secttl .eg の白より優先） */
}
.top__news-title.secttl {
  padding-bottom: 0;
}
.top__news-title.secttl .eg {
  color: #000000;
}
.top__news-title.secttl {
  /* タブレット以下：英字と日本語を 1 行に */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__news-title.secttl {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 0.75em;
  }
  .top__news-title.secttl .eg {
    padding-bottom: 0;
  }
}
.top__news-more {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__news-more {
    --btn-arrow-size: 1.75em;
  }
}
.top__news-more {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.top__news-more::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.top__news-more {
  /* 矢印 */
}
.top__news-more::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.top__news-more:hover {
  text-decoration: none;
}
.top__news-more:hover::before {
  transform: translateY(-50%) scale(1);
}
.top__news-more:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}
.top__news-more {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__news-more {
    order: 1;
    justify-self: end;
  }
}
.top {
  /* CONTACT US：流れる文字、右側に文章、左にフッターに重なるイラスト ---------- */
}
.top__contact {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .top__contact {
    padding-bottom: 15em !important;
  }
}
.top__contact {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__contact {
    padding-bottom: 20em !important;
  }
}
.top__contact {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__contact {
    padding-bottom: 15em !important;
  }
}
.top__contact {
  /* 見出し：画面には表示しない（読み上げ用） */
}
.top__contact-ttl {
  position: absolute;
  width: 0.05em;
  height: 0.05em;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.top__contact {
  /* 流れる文字 */
}
.top__contact-marquee {
  overflow: hidden;
  padding-bottom: 5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__contact-marquee {
    padding-bottom: 2.5em;
  }
}
.top__contact-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: contact-marquee 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .top__contact-track {
    animation: none;
  }
}
.top__contact-loop {
  display: flex;
  flex-shrink: 0;
  padding-bottom: 0;
}
.top__contact-loop span {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 17em;
  font-weight: 800;
  line-height: 0.7;
  white-space: nowrap;
  padding-right: 0.4em;
  color: #d6dcca;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__contact-loop span {
    font-size: 8em;
  }
}
.top__contact-loop span {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__contact-loop span {
    font-size: 4em;
  }
}
.top__contact {
  /* 文章：右側に置く（文字は左揃え、幅は各行が改行されない幅） */
}
.top__contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__contact-inner {
    grid-template-columns: 1fr;
  }
}
.top__contact-body {
  grid-column: 2;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__contact-body {
    grid-column: 1;
  }
}
.top__contact-text {
  font-size: 1.05em;
  line-height: 2.2;
  padding-bottom: 2em;
}
.top__contact-text:last-of-type {
  padding-bottom: 0;
}
.top__contact {
  /* イラスト：左の空いたスペース。下部をフッター（薄い緑の部分）に重ねる
     フッターはこのセクションの下 10em に食い込み、白いカードはその 5em 下から始まるので、
     下端をセクションの下端から 6em 上に置いて、白いカードにはかからないようにする（白い線が見えなくなるため） */
}
.top__contact-illust {
  position: absolute;
  left: 10em;
  bottom: -1.5em;
  z-index: 5;
  width: 29.5em;
  height: auto;
  pointer-events: none;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .top__contact-illust {
    left: 5em;
    bottom: -4em;
    width: 22em;
  }
}
.top__contact-illust {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .top__contact-illust {
    left: 1.5em;
    bottom: -1em;
    width: 15em;
  }
}

/* CONTACT US の流れる文字：同じ並びを2つつなげているので、半分（1つ分）動かすと元の位置に戻る */
@keyframes contact-marquee {
  to {
    transform: translateX(-50%);
  }
}
/* 欧文フォント */
.eg {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
}

/* 日本語フォント */
.jp {
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
}

.deco {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
}

/* 文字寄せ */
.center {
  text-align: center;
}

.right {
  text-align: right;
}

/* パソコン改行 */
.pcbr {
  display: block;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .pcbr {
    display: none;
  }
}

/* ノートパソコン改行 */
.npbr {
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .npbr {
    display: block;
  }
}

/* タブレット改行 */
.tbbr {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .tbbr {
    display: block;
  }
}

/* スマホ改行 */
.spbr {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .spbr {
    display: block;
  }
}

.pcnone {
  display: none;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .pcnone {
    display: block;
  }
}

.npnone {
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .npnone {
    display: none;
  }
}

.tbnone {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .tbnone {
    display: none;
  }
}

/* スマホ非表示 */
.spnone {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .spnone {
    display: none;
  }
}

/* セクションタイトル */
h2.secttl {
  display: block;
  padding-bottom: 3.25em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  h2.secttl {
    padding-bottom: 1.5em;
  }
}
h2.secttl .eg {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  display: block;
  color: currentColor;
  font-size: 5em;
  font-weight: 800;
  line-height: 1em;
  padding-bottom: 0.25em;
  color: #ffffff;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  h2.secttl .eg {
    font-size: 3em;
  }
}
h2.secttl .eg .egsub {
  display: block;
  font-size: 0.16em;
  font-weight: 600;
  line-height: 2em;
}
h2.secttl .jp {
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  display: block;
  color: currentColor;
  font-size: 1.8em;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 2em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  h2.secttl .jp {
    font-size: 1.25em;
  }
}

/* 段落 */
p {
  /* 余白小さめ */
}
p.btmmin {
  padding-bottom: 2em;
}

/* 注釈 */
.note {
  padding-left: 1em;
  text-indent: -1em;
  color: currentColor;
  font-size: 0.85em;
  line-height: 1.25em;
}
.note::before {
  content: "※";
}

/* 大文字 */
.omoji {
  text-transform: uppercase;
}

/* 縦書き */
.tate {
  writing-mode: vertical-rl;
}

/* やや小さめ強調 */
.strong {
  font-size: 1.2em;
  font-weight: normal;
  font-weight: 700;
  line-height: 2em;
}

/* 塗りなしの線の文字：クラス .txt-outline を付けると、文字の中を塗らずに線だけで表示する -------------------------------- */
/* 線の太さは、ページの基本の文字の大きさに対して決める（文字自体が大きくても小さくても同じ太さ）
   @property で登録すると、body で em から実際の太さに計算された値が子の要素に引き継がれる */
@property --outline-w {
  syntax: "<length>";
  inherits: true;
  initial-value: 0;
}
body {
  --outline-w: 0.1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  body {
    --outline-w: 0.075em;
  }
}
body {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  body {
    --outline-w: 0.05em;
  }
}

.txt-outline {
  color: transparent;
  -webkit-text-stroke: var(--outline-w) var(--outline-color, #ffffff);
}

/* リンク */
a {
  color: currentColor;
  cursor: pointer;
  transition: 0.5s ease;
  backface-visibility: hidden;
}
a img {
  transition: 0.5s ease;
  backface-visibility: hidden;
}
a:hover {
  color: currentColor;
}
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.btn__link {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .btn__link {
    --btn-arrow-size: 1.75em;
  }
}
.btn__link {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.btn__link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn__link {
  /* 矢印 */
}
.btn__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn__link:hover {
  text-decoration: none;
}
.btn__link:hover::before {
  transform: translateY(-50%) scale(1);
}
.btn__link:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}

/* お知らせ一覧（.newslist）：トップの NEWS・お知らせ一覧・お知らせ詳細の「最新のお知らせ」で共通
   1件分の HTML は template-parts/content/content-excerpt.php */
.newslist {
  list-style: none inside;
  /* 横線で区切る */
}
.newslist__item {
  border-top: solid 0.1em #000000;
}
.newslist__item:last-of-type {
  border-bottom: solid 0.1em #000000;
}
.newslist {
  /* リンク：左にサムネイル、右に日付とタイトル、右端に矢印 */
}
.newslist__link {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 2.5em;
  padding: 0.5em 0;
  color: #000000;
  text-decoration: none;
  /* 矢印の大きさ（円の大きさ・位置もここから計算） */
  --news-arrow: 2em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newslist__link {
    --news-arrow: 1.5em;
  }
}
.newslist__link:hover {
  text-decoration: none;
}
.newslist__link {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newslist__link {
    gap: 1em;
    padding: 1em 0;
  }
}
.newslist__link {
  /* ホバー：ボタン（btn-arrow）と同じく、矢印の後ろに円が広がり、矢印が横に往復する */
  /* 円 */
}
.newslist__link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--news-arrow) * -0.6);
  z-index: -1;
  width: calc(var(--news-arrow) * 2.2);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.newslist__link {
  /* 矢印 */
}
.newslist__link::after {
  content: "";
  flex-shrink: 0;
  width: var(--news-arrow);
  aspect-ratio: 57.62/52.24;
  margin-left: auto;
  background: url("../../../images/ya.svg") center/contain no-repeat;
}
.newslist__link:hover::before {
  transform: translateY(-50%) scale(1);
}
.newslist__link:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: newslist-arrow-move 0.8s ease-in-out infinite;
}
.newslist__thumb {
  flex-shrink: 0;
  width: 12em;
  aspect-ratio: 8/5;
  margin: 0;
  border-radius: 1em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  background: #f3fae6;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .newslist__thumb {
    width: 10em;
    aspect-ratio: 4/3;
  }
}
.newslist__thumb {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newslist__thumb {
    width: 5em;
    aspect-ratio: 1/1;
  }
}
.newslist__thumb img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
  transition: scale 0.4s ease;
}
.newslist__thumb {
  /* ホバーで中の画像を少し大きく（枠は角丸で切り落とすので大きさは変わらない） */
}
.newslist__link:hover .newslist__thumb img {
  scale: 1.08;
}
.newslist__thumb {
  /* アイキャッチ未設定：緑背景の中央にロゴ */
}
.newslist__thumb--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #a7d64d;
}
.newslist__thumb--noimg img {
  width: 70%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.newslist__body {
  min-width: 0;
}
.newslist__date {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  display: block;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 1em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newslist__date {
    padding-bottom: 0.5em;
  }
}
.newslist__ttl {
  font-weight: 500;
  line-height: 1.6;
  padding-bottom: 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newslist__ttl {
    font-size: 0.8em;
  }
}

/* お知らせの矢印：ホバー中に横に往復 */
@keyframes newslist-arrow-move {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(0.35em);
  }
}
/* 画像 */
img {
  vertical-align: bottom;
}
img.img100 {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  width: 100%;
  height: 100%;
}

.imgbox {
  line-height: 0;
}

/* 角丸 */
.rd {
  border-radius: 0.5em;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* 円形 */
.cir {
  border-radius: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1 !important;
}

/* 写真ノイズ（img を囲む要素に付ける） */
.noise {
  position: relative;
  isolation: isolate;
}
.noise::before, .noise::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background-repeat: repeat;
  background-size: 256px;
  opacity: 0.5;
  pointer-events: none;
  /* 高解像度画面ではノイズの粒を画面の1ピクセルに合わせる */
}
@media (min-resolution: 2dppx) {
  .noise::before, .noise::after {
    background-size: 128px;
  }
}
.noise {
  /* 明るいノイズ */
}
.noise::before {
  background-image: url("../../../images/noise_light.png");
  mix-blend-mode: soft-light;
}
.noise {
  /* 暗いノイズ */
}
.noise::after {
  background-image: url("../../../images/noise_dark.png");
  mix-blend-mode: multiply;
}

/* 読み込み遅延 */
img {
  transition: 1s ease;
  backface-visibility: hidden;
}
img.lazyload {
  opacity: 0;
  filter: alpha(opacity=0);
}
img.lazyloaded {
  opacity: 1;
  filter: alpha(opacity=100);
}

/* 読み込み遅延 */
.lazyload0,
.lazyload1,
.lazyload2,
.lazyload3,
.lazyload4 {
  transition: 1s ease;
  backface-visibility: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
}
.lazyload0.lazyload,
.lazyload1.lazyload,
.lazyload2.lazyload,
.lazyload3.lazyload,
.lazyload4.lazyload {
  opacity: 0;
  filter: alpha(opacity=0);
}
.lazyload0.lazyloaded,
.lazyload1.lazyloaded,
.lazyload2.lazyloaded,
.lazyload3.lazyloaded,
.lazyload4.lazyloaded {
  transition: 1s ease;
  backface-visibility: hidden;
  opacity: 1;
  filter: alpha(opacity=100);
}

.lazyload1 {
  transform: translate(0, 2.5em);
}
.lazyload1.lazyloaded {
  transform: translate(0, 0);
}

.lazyload2 {
  transform: translate(-2.5em, 0);
}
.lazyload2.lazyloaded {
  transform: translate(0, 0);
}

.lazyload3 {
  transform: translate(2.5em, 0);
}
.lazyload3.lazyloaded {
  transform: translate(0, 0);
}

.lazyload4 {
  transform: translate(0, -2.5em);
}
.lazyload4.lazyloaded {
  transform: translate(0, 0);
}

/* トップページ内コンテンツの場合 */
.front-page .wrapper .lazyload0.lazyload, .front-page .wrapper .lazyload0.lazyloaded,
.front-page .wrapper .lazyload1.lazyload,
.front-page .wrapper .lazyload1.lazyloaded,
.front-page .wrapper .lazyload2.lazyload,
.front-page .wrapper .lazyload2.lazyloaded,
.front-page .wrapper .lazyload3.lazyload,
.front-page .wrapper .lazyload3.lazyloaded,
.front-page .wrapper .lazyload4.lazyload,
.front-page .wrapper .lazyload4.lazyloaded {
  opacity: 0;
  filter: alpha(opacity=0);
}
.front-page .wrapper .lazyload1.lazyload, .front-page .wrapper .lazyload1.lazyloaded {
  transform: translate(0, 2.5em);
}
.front-page .wrapper .lazyload2.lazyload, .front-page .wrapper .lazyload2.lazyloaded {
  transform: translate(-2.5em, 0);
}
.front-page .wrapper .lazyload3.lazyload, .front-page .wrapper .lazyload3.lazyloaded {
  transform: translate(2.5em, 0);
}
.front-page .wrapper .lazyload4.lazyload, .front-page .wrapper .lazyload4.lazyloaded {
  transform: translate(0, -2.5em);
}
.front-page .wrapper .on .lazyload0.lazyloaded,
.front-page .wrapper .on .lazyload1.lazyloaded,
.front-page .wrapper .on .lazyload2.lazyloaded,
.front-page .wrapper .on .lazyload3.lazyloaded,
.front-page .wrapper .on .lazyload4.lazyloaded {
  opacity: 1;
  filter: alpha(opacity=100);
}
.front-page .wrapper .on .lazyload1.lazyloaded {
  transform: translate(0, 0);
}
.front-page .wrapper .on .lazyload2.lazyloaded {
  transform: translate(0, 0);
}
.front-page .wrapper .on .lazyload3.lazyloaded {
  transform: translate(0, 0);
}
.front-page .wrapper .on .lazyload4.lazyloaded {
  transform: translate(0, 0);
}
.front-page .wrapper .onpc {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .front-page .wrapper .onpc .lazyload0.lazyloaded,
  .front-page .wrapper .onpc .lazyload1.lazyloaded,
  .front-page .wrapper .onpc .lazyload2.lazyloaded,
  .front-page .wrapper .onpc .lazyload3.lazyloaded,
  .front-page .wrapper .onpc .lazyload4.lazyloaded {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  .front-page .wrapper .onpc .lazyload1.lazyloaded {
    transform: translate(0, 0);
  }
  .front-page .wrapper .onpc .lazyload2.lazyloaded {
    transform: translate(0, 0);
  }
  .front-page .wrapper .onpc .lazyload3.lazyloaded {
    transform: translate(0, 0);
  }
  .front-page .wrapper .onpc .lazyload4.lazyloaded {
    transform: translate(0, 0);
  }
}
.front-page .wrapper .ontb {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .front-page .wrapper .ontb .lazyload0.lazyloaded,
  .front-page .wrapper .ontb .lazyload1.lazyloaded,
  .front-page .wrapper .ontb .lazyload2.lazyloaded,
  .front-page .wrapper .ontb .lazyload3.lazyloaded,
  .front-page .wrapper .ontb .lazyload4.lazyloaded {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  .front-page .wrapper .ontb .lazyload1.lazyloaded {
    transform: translate(0, 0);
  }
  .front-page .wrapper .ontb .lazyload2.lazyloaded {
    transform: translate(0, 0);
  }
  .front-page .wrapper .ontb .lazyload3.lazyloaded {
    transform: translate(0, 0);
  }
  .front-page .wrapper .ontb .lazyload4.lazyloaded {
    transform: translate(0, 0);
  }
}

/* コンタクトフォーム（全ページ共通） (.formbox) -------------------------------- */
.formbox {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
.formbox h3 {
  font-size: 2em;
  line-height: 1.7em;
  padding-bottom: 0.5em;
}

/* Contact Form 7 (.wpcf7-form) -------------------------------- */
.wpcf7-form {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  background: #ffffff;
  padding: 5em;
  margin: 0 auto;
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wpcf7-form {
    border-radius: 1em;
  }
}
.wpcf7-form {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .wpcf7-form {
    padding: 3em 2.5em;
  }
}
.wpcf7-form {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wpcf7-form {
    padding: 2em 1.5em;
  }
}
.wpcf7-form .formctt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.wpcf7-form {
  /* 項目名 */
}
.wpcf7-form .formname {
  width: 15em;
  font-weight: 700;
  padding: 1em 0.5em 0 0;
  line-height: 1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .wpcf7-form .formname {
    width: 100%;
    text-align: left;
    padding: 0.5em 0;
  }
}
.wpcf7-form {
  /* 必須項目 */
}
.wpcf7-form .required {
  width: auto;
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  font-size: 0.6em;
  font-weight: 500;
  line-height: 1em;
  padding: 0.35em 0.8em;
  margin-left: 0.5em;
  background: #000000;
  color: #ffffff;
  border-radius: 2em;
  top: -0.2em;
}
.wpcf7-form-control-wrap {
  flex: 1;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wpcf7-form-control-wrap {
    width: 100%;
    flex: none;
  }
}
.wpcf7-form {
  /* 入力欄 */
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=date],
.wpcf7-form textarea {
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  font-size: 1em;
  line-height: 1.7em;
  box-sizing: border-box;
  background: #d6dcca;
  padding: 0.75em 1.5em;
  border-radius: 2.5em;
  border: none;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
  width: 100% !important;
}
.wpcf7-form {
  /* 複数行の入力欄は角丸を小さく */
}
.wpcf7-form textarea {
  border-radius: 1em;
}
.wpcf7-form {
  /* 郵便番号入力欄 */
}
.wpcf7-form .yubin input[type=text] {
  max-width: 9em;
}
.wpcf7-form {
  /* プライバシーポリシー */
}
.wpcf7-form .privacy__link {
  padding-top: 2.5em;
  /* リンクだとわかるように：太字＋下線（ホバーで下線は残したまま、濃い緑に） */
}
.wpcf7-form .privacy__link a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  transition: 0.3s ease;
  backface-visibility: hidden;
}
.wpcf7-form .privacy__link a:hover {
  text-decoration: underline;
  color: #8ab931;
}
.wpcf7-form .wpcf7-acceptance {
  font-weight: 700;
}
.wpcf7-form {
  /* 確認ボタンエリア */
}
.wpcf7-form .btn {
  margin-top: 2.5em;
  text-align: center;
}
.wpcf7-form .btn .wpcf7-spinner {
  display: none;
}
.wpcf7-form input[type=submit] {
  width: 100%;
  height: 100%;
}
.wpcf7-form {
  /* 確認ボタン */
}
.wpcf7-form .btn > p,
.wpcf7-form input[type=button],
.wpcf7-form .resetbtn,
.wpcf7-form .wpcf7c-btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 10em;
  padding: 1em 2em;
  border-radius: 5em;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
  backface-visibility: hidden;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wpcf7-form .btn > p,
  .wpcf7-form input[type=button],
  .wpcf7-form .resetbtn,
  .wpcf7-form .wpcf7c-btn-back {
    min-width: 10em;
  }
}
.wpcf7-form .btn > p::before, .wpcf7-form .btn > p::after,
.wpcf7-form input[type=button]::before,
.wpcf7-form input[type=button]::after,
.wpcf7-form .resetbtn::before,
.wpcf7-form .resetbtn::after,
.wpcf7-form .wpcf7c-btn-back::before,
.wpcf7-form .wpcf7c-btn-back::after {
  display: none;
}
.wpcf7-form .btn > p:hover,
.wpcf7-form input[type=button]:hover,
.wpcf7-form .resetbtn:hover,
.wpcf7-form .wpcf7c-btn-back:hover {
  background: #ffffff;
  color: #000000;
}
.wpcf7-form .btn > p,
.wpcf7-form input[type=button],
.wpcf7-form .resetbtn,
.wpcf7-form .wpcf7c-btn-back {
  /* 白いボックスの上なので、ホバーは白ではなくブランドの鮮やかな緑に */
}
.wpcf7-form .btn > p:hover,
.wpcf7-form input[type=button]:hover,
.wpcf7-form .resetbtn:hover,
.wpcf7-form .wpcf7c-btn-back:hover {
  background: #a7d64d;
  color: #000000;
}
.wpcf7-form {
  /* 確認ボタン（無効時：同意のチェック前）
     文字だけ半透明にすると黒地の上で暗く読みにくいので、ボタン全体を明るいグレー＋黒文字にする */
}
.wpcf7-form input[type=submit]:disabled,
.wpcf7-form input[type=submit]:disabled:hover {
  background: transparent;
  cursor: not-allowed;
}
.wpcf7-form .btn > p:has(input[type=submit]:disabled) {
  background: #cccccc;
  color: #000000;
  cursor: not-allowed;
}
.wpcf7-form .resetbtn,
.wpcf7-form .wpcf7c-btn-back {
  background: #ffffff;
  border-color: #ffffff;
}
.wpcf7-form .resetbtn:hover,
.wpcf7-form .wpcf7c-btn-back:hover {
  background: #a7d64d;
  color: #000000;
}

/* コンタクトフォームエリア (.contactformarea) -------------------------------- */
.contactformarea .form {
  width: 100%;
  margin: 0 auto 0 auto;
}

/* ボタンリスト (.btnlist) -------------------------------- */
.btnlist {
  list-style: none inside;
  text-align: center;
}
.btnlist li {
  display: inline-block;
}

/* チェックボックス・ラジオボタン (.wpcf7-list-item) -------------------------------- */
span.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 0;
  padding: 2em 0.75em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  span.wpcf7-list-item {
    padding: 0.5em;
  }
}
span.wpcf7-list-item input[type=radio] + span,
span.wpcf7-list-item input[type=checkbox] + span {
  padding-right: 1em;
  font-size: 1em;
}
span.wpcf7-list-item:last-child input[type=radio] + span,
span.wpcf7-list-item:last-child input[type=checkbox] + span {
  padding-right: 0;
}

input[type=radio],
input[type=checkbox] {
  position: relative;
  cursor: pointer;
  line-height: 1em;
}
input[type=radio].wpcf7c-conf,
input[type=checkbox].wpcf7c-conf {
  display: none;
}
input[type=radio].wpcf7c-conf + span,
input[type=checkbox].wpcf7c-conf + span {
  display: none;
}

.wpcf7-list-item-label {
  cursor: pointer;
  line-height: 1em;
}

.wpcf7c-elm-step2.bdstep2 {
  display: block;
  width: 100%;
  border-bottom: #a7d64d solid 0.05em;
}

/* エラーメッセージ (.wpcf7-not-valid-tip) -------------------------------- */
.wpcf7-not-valid-tip {
  color: #000000;
  font-weight: 700;
}
.wpcf7-not-valid-tip::before {
  content: "\f071";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  padding-right: 0.25em;
  color: #000000;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
}
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before {
  content: "\f071";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  padding-right: 0.25em;
  color: #000000;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wpcf7 form.invalid .wpcf7-response-output,
  .wpcf7 form.unaccepted .wpcf7-response-output {
    text-align: left;
  }
}

/* 送信済メッセージ (.wpcf7-mail-sent-ok) -------------------------------- */
div.wpcf7-mail-sent-ok {
  border: 0.1em solid #a7d64d;
}

/* fieldsetで挟まれた項目 (fieldset.formctt) -------------------------------- */
fieldset.formctt {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  border: none;
  padding-left: 15em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  fieldset.formctt {
    padding-left: 0;
  }
}
fieldset.formctt {
  /* 項目名 */
}
fieldset.formctt .formname {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  padding-top: 2.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  fieldset.formctt .formname {
    position: relative;
  }
}
fieldset.formctt {
  /* フォーム内容 */
}
fieldset.formctt .wpcf7-form-control-wrap {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
fieldset.formctt {
  /* 改行 */
}
fieldset.formctt br {
  display: none;
}

/* フォーム確認画面 (#wpcf7cpcnf) -------------------------------- */
div#wpcf7cpcnf {
  box-sizing: border-box;
  padding: 5em;
  background-color: #ffffff;
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  div#wpcf7cpcnf {
    border-radius: 1em;
  }
}
div#wpcf7cpcnf {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  div#wpcf7cpcnf {
    padding: 3em 2.5em;
  }
}
div#wpcf7cpcnf {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  div#wpcf7cpcnf {
    padding: 2em 1.5em;
  }
}
div#wpcf7cpcnf {
  /* 入力内容 */
}
div#wpcf7cpcnf table {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
div#wpcf7cpcnf table tr th,
div#wpcf7cpcnf table tr td {
  border-bottom: solid 0.05em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  div#wpcf7cpcnf table tr th,
  div#wpcf7cpcnf table tr td {
    display: block;
  }
}
.contactpage-ctt .sec div#wpcf7cpcnf table tr th p,
.contactpage-ctt .sec div#wpcf7cpcnf table tr td p {
  padding-top: 1em;
  padding-bottom: 1em;
}
div#wpcf7cpcnf table tr th {
  width: 15em;
  font-weight: 700 !important;
  text-align: left;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  div#wpcf7cpcnf table tr th {
    width: 100%;
    border-bottom: none;
  }
}
div#wpcf7cpcnf table tr th p {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .contactpage-ctt .sec div#wpcf7cpcnf table tr th p {
    border-bottom: #a5b28b dotted 0.05em;
  }
}
div#wpcf7cpcnf table tr th p::after {
  content: "：";
}
div#wpcf7cpcnf {
  /* ボタンラップ */
}
div#wpcf7cpcnf .wpcf7cp-btns {
  justify-content: center;
}
div#wpcf7cpcnf {
  /* 修正・送信ボタン共通 */
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 10em;
  padding: 1em 2em;
  border-radius: 5em;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
  backface-visibility: hidden;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
  div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
    min-width: 10em;
  }
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn::before, div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn::after,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn::before,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn::after {
  display: none;
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn:hover,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn:hover {
  background: #ffffff;
  color: #000000;
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
  width: 15em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
  div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
    width: 100%;
    margin: 0 0 1em;
  }
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
  /* ホバー：入力画面と同じブランドの鮮やかな緑 */
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn:hover,
div#wpcf7cpcnf .wpcf7cp-cfm-submit-btn:hover {
  background-color: #a7d64d;
  color: #000000;
}
div#wpcf7cpcnf {
  /* 修正ボタン：白いボックスの上でも見えるように */
}
div#wpcf7cpcnf .wpcf7cp-cfm-edit-btn {
  border-color: #a5b28b;
  background-color: #a5b28b;
  color: #ffffff;
}

span.wpcf7-spinner {
  margin: 0;
}

/* 下層ページ（共通） -------------------------------- */
/* ページヘッダー (.page-header) -------------------------------- */
.page-header {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 10em 0 7.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header {
    padding: 7.5em 0 5em;
  }
}
.page-header {
  /* 英語タイトル */
}
.page-header .eg_ttl {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 5em;
  line-height: 1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header .eg_ttl {
    font-size: 3.5em;
  }
}
.page-header .eg_ttl {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .page-header .eg_ttl {
    font-size: 3em;
  }
}
.page-header {
  /* 日本語タイトル */
}
.page-header .page_ttl {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-size: 2em;
  font-weight: 900;
  line-height: 1em;
  padding-top: 0.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header .page_ttl {
    font-size: 1.5em;
  }
}

/* Not Found (.not-found) -------------------------------- */
.not-found {
  z-index: 5;
}

/* 固定ページ：最後のセクションがフッター上段と同じ背景色（背景1）のときは、フッター上段を濃い緑にする（sass/_footer.scss） */
/* お問い合わせ (.contactpage-ctt) -------------------------------- */
.contactpage-ctt {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  /* 共通 */
}
.contactpage-ctt .fp-subheading {
  padding-bottom: 2.5em;
}
.contactpage-ctt .ct_info {
  padding-bottom: 5em;
}
.contactpage-ctt {
  /* 電話 ---------- */
}
.contactpage-ctt .contact_tel .contacttel_shop {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 0.25em;
}
.contactpage-ctt .contact_tel .contacttel_tel {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 3em;
  line-height: 1em;
  padding-top: 0.15em;
  padding-bottom: 0.1em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .contactpage-ctt .contact_tel .contacttel_tel {
    font-size: 2em;
  }
}
.contactpage-ctt .contact_tel .contacttel_tel a {
  text-decoration: none;
}
.contactpage-ctt .contact_tel .contacttel_tel {
  /* 電話のアイコン */
}
.contactpage-ctt .contact_tel .contacttel_tel .eg::before {
  position: relative;
  font-size: 0.7em;
  font-style: normal;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 1;
  content: "\f095";
  top: -0.1em;
  padding-right: 0.25em;
}
.contactpage-ctt .contact_tel .time_holiday {
  padding-bottom: 0;
}
.contactpage-ctt .contact_tel .contacttel_time {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-size: 1.5em;
  line-height: 1.3em;
  padding-bottom: 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .contactpage-ctt .contact_tel .contacttel_time {
    font-size: 1em;
  }
}
.contactpage-ctt .contact_tel ul.tel_list {
  display: flex;
  flex-wrap: wrap;
}
.contactpage-ctt .contact_tel ul.tel_list li {
  list-style: none;
  padding-right: 2.5em;
}
.contactpage-ctt {
  /* LINE：左に QR コード、右に説明とボタン（スマホは QR コードを読み取れないのでボタンだけ） ---------- */
}
.contactpage-ctt .contact_line__body {
  display: flex;
  align-items: center;
  gap: 2.5em;
}
.contactpage-ctt .contact_line__qr {
  flex-shrink: 0;
  width: 10em;
  height: auto;
  padding: 0.75em;
  border-radius: 1em;
  background: #ffffff;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .contactpage-ctt .contact_line__qr {
    display: none;
  }
}
.contactpage-ctt .contact_line__note {
  padding-bottom: 1.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .contactpage-ctt .contact_line__note {
    display: none;
  }
}
.contactpage-ctt {
  /* WEB ---------- */
}
.contactpage-ctt .webcontact.lazyloaded::before {
  opacity: 1;
  filter: alpha(opacity=100);
  transform: translate(0, 0);
}

/* 新着記事 -------------------------------- */
/* 共通パーツ (.postlist, .newspost) -------------------------------- */
.postlist,
.newspost {
  /* 月選択 */
}
.postlist select,
.newspost select {
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1em;
  width: auto;
  position: relative;
  box-sizing: border-box;
  padding: 0.25em 1em;
  background: inherit;
  padding: 1em 2em;
  border: solid 0.05em #000000;
  border-radius: 2em;
  color: #000000;
  cursor: pointer;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .postlist select,
  .newspost select {
    font-size: 0.9em;
  }
}
.postlist select,
.newspost select {
  /* 開いたときの選択肢：白背景に黒文字で読みやすく */
}
.postlist select option,
.newspost select option {
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  font-size: 0.8em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .postlist select option,
  .newspost select option {
    font-size: 1em;
  }
}

/* 投稿フッター (.footer-post) -------------------------------- */
/* 濃い緑の背景で、上を角丸にして記事の最後のセクションに重ねる（前後ナビはその中にはめ込む：sass/post/_single.scss） */
.footer-post {
  background: #a5b28b;
  padding: 5em 0;
  /* 下の余白：見た目を上（$sp3）と同じにする。フッターが食い込む分（PC：$sp、タブレット以下：$sp3）を足す
     （.wrapper > .sec:last-child の「ページ最後は 2 倍」より優先させる） */
}
.wrapper > .footer-post:last-child {
  padding-bottom: 15em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .wrapper > .footer-post:last-child {
    padding-bottom: 10em;
  }
}
.footer-post .innerbox {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  /* 見出し */
}
.footer-post .innerbox .pf_ttl {
  font-family: greycliff-cf, "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1em;
  padding-bottom: 2em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer-post .innerbox .pf_ttl {
    padding-bottom: 1em;
  }
}
.footer-post .innerbox {
  /* 最新のお知らせ ---------- */
}
.footer-post .innerbox .post_sec {
  width: 75%;
  width: auto;
  position: relative;
  box-sizing: border-box;
  padding-right: 5em;
  border-right: solid 0.05em;
  /* 高解像度モニターパソコン */
}
@media screen and (max-width: 1920px) {
  .footer-post .innerbox .post_sec {
    width: 70%;
    padding-right: 2.5em;
  }
}
.footer-post .innerbox .post_sec {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer-post .innerbox .post_sec {
    width: 100%;
    padding-right: 0;
    padding-bottom: 1.5em;
    border-right: none;
  }
}
.footer-post .innerbox .post_sec {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer-post .innerbox .post_sec {
    border-bottom: none;
  }
}
.footer-post .innerbox {
  /* 過去のお知らせ ---------- */
}
.footer-post .innerbox .archive_sec {
  width: 25%;
  width: auto;
  position: relative;
  box-sizing: border-box;
  padding-left: 5em;
  /* 高解像度モニターパソコン */
}
@media screen and (max-width: 1920px) {
  .footer-post .innerbox .archive_sec {
    width: 30%;
    padding-left: 2.5em;
  }
}
.footer-post .innerbox .archive_sec {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer-post .innerbox .archive_sec {
    width: 100%;
    padding-top: 2.5em;
    padding-left: 0;
  }
}
.footer-post .innerbox .archive_sec {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer-post .innerbox .archive_sec {
    padding-top: 0;
  }
}
.footer-post .innerbox .archive_sec {
  /* 月別アーカイブ */
}
.footer-post .innerbox .archive_sec .m_list {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
  font-family: greycliff-cf, "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer-post .innerbox .archive_sec .m_list {
    display: none;
  }
}
.footer-post .innerbox .archive_sec .m_list li {
  line-height: 1em;
  padding-bottom: 1em;
}
.footer-post .innerbox .archive_sec .m_list li a:hover {
  opacity: 0.5;
}
.footer-post .innerbox .archive_sec {
  /* 月選択 */
}
.footer-post .innerbox .archive_sec select {
  font-family: "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  margin-bottom: 2.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .footer-post .innerbox .archive_sec select {
    width: 100%;
  }
}
.footer-post .innerbox .archive_sec select {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .footer-post .innerbox .archive_sec select {
    margin-bottom: 1.5em;
  }
}
.footer-post .innerbox .archive_sec {
  /* ボタン */
}
.footer-post .innerbox .archive_sec .btn {
  width: 100%;
}

/* 一覧ページ (.post_archive) -------------------------------- */
.post_archive {
  flex: 1;
  padding: 0 0 5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .post_archive {
    padding: 0 0 2.5em;
  }
}

/* ページナビゲーション（物件共通） (.pager) -------------------------------- */
.pager {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5em 0;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .pager {
    padding: 2.5em 0;
  }
}
.pager a {
  text-decoration: none;
}
.pager p {
  padding-bottom: 0;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
.pager .no-link {
  opacity: 0.75;
  filter: alpha(opacity=75);
}
.pager .first,
.pager .last {
  transform: scale(0.6);
  transform-origin: 50% 50%;
}
.pager .prev,
.pager .next {
  transform: scale(0.7);
  transform-origin: 50% 50%;
}
.pager .nth-box {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 1.2em;
}
.pager .nth-box .current {
  font-size: 1.2em;
  display: inline-block;
  color: #000000;
  padding: 0 0.5em;
}
.pager .nth-box a {
  display: inline-block;
  padding: 0 0.5em;
}

/* 投稿ページ（共通） (.newspost) -------------------------------- */
.newspost .page-header {
  padding-bottom: 5em;
  /* ボタン配置 */
}
.newspost .page-header .btn {
  position: absolute;
  top: 0;
  right: 10em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .newspost .page-header .btn {
    right: 2.5em;
  }
}
.newspost .page-header .btn {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newspost .page-header .btn {
    right: 1.5em;
  }
}
.newspost {
  /* 投稿記事ヘッダー（お知らせ・施工事例ともページヘッダーの中） ---------- */
}
.newspost .entry-header {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding-top: 2.5em;
  /* 記事タイトル */
}
.newspost .entry-header .entry_ttl {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  width: auto;
  flex: 1;
  width: auto;
  position: relative;
  box-sizing: border-box;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.5em;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .newspost .entry-header .entry_ttl {
    font-size: 1.8em;
  }
}
.newspost .entry-header .entry_ttl {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .newspost .entry-header .entry_ttl {
    width: 100%;
    font-size: 1.6em;
  }
}
.newspost .entry-header .entry_ttl {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newspost .entry-header .entry_ttl {
    font-size: 1.4em;
  }
}
.newspost .entry-header {
  /* 日付 */
}
.newspost .entry-header .date {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1em;
  padding-bottom: 0.5em;
  border-bottom: 0.1em solid;
  margin-bottom: 0.5em;
  text-align: right;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .newspost .entry-header .date {
    font-size: 1em;
    width: 100%;
    padding: 0;
    padding-bottom: 0.5em;
    padding-left: 0;
  }
}
.newspost .entry-header .date .year {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
.newspost .entry-header .date .md {
  font-size: 1.5em;
  padding-left: 0.25em;
}
.newspost {
  /* ナビゲーション ---------- */
}
.newspost .nav_sec {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 2.5em 0;
}
.newspost .nav_sec .innerbox ul.post_nav {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.newspost .nav_sec .innerbox ul.post_nav li {
  line-height: 2em;
  max-width: 45%;
  width: auto;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  transition: 0.3s ease;
  backface-visibility: hidden;
}
.newspost .nav_sec .innerbox ul.post_nav li:hover {
  opacity: 0.8;
}
.newspost .nav_sec .innerbox ul.post_nav li a {
  flex: 1;
  width: auto;
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis; /* Opera9,10対応 */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .newspost .nav_sec .innerbox ul.post_nav li a {
    font-size: 0.8em;
  }
}
.newspost .nav_sec .innerbox ul.post_nav li a:hover {
  opacity: 0.8;
}
.newspost .nav_sec .innerbox ul.post_nav li.prev:hover {
  transform: translate(-0.2em, 0);
}
.newspost .nav_sec .innerbox ul.post_nav li.prev a {
  padding-left: 0.25em;
}
.newspost .nav_sec .innerbox ul.post_nav li.next {
  justify-content: flex-end;
}
.newspost .nav_sec .innerbox ul.post_nav li.next:hover {
  transform: translate(0.2em, 0);
}
.newspost .nav_sec .innerbox ul.post_nav li.next a {
  padding-right: 0.25em;
}

/* お知らせ詳細：本文（ページパーツ）の一番下のセクションが bg1 のとき、下の余白を小さくする
   （下に続く前後ナビも同じ色（body の背景色）なので、ページ最後用の 2 倍の余白だと間が空きすぎる） */
.single-post .partspage-ctt > .sec-bg1:last-child {
  padding-bottom: 7.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .single-post .partspage-ctt > .sec-bg1:last-child {
    padding-bottom: 2.5em;
  }
}

/* 前後の記事へのナビ（お知らせ・施工事例の詳細共通） -------------------------------- */
/* 記事の最後のセクションの下余白を大きくし、ナビ（背景なし）をマイナスのマージンでその中にはめ込む。
   ナビは背景なしなので、最後のセクションと同じ背景色になる。ナビの上（最後のセクションの内容とリンクテキストの間）に innerbox の幅で黒の区切り線を入れる。
   --nav-h：ナビの高さ / --nav-after：ナビの後ろの要素が上に食い込む分（フッター、お知らせは「最新のお知らせ」の箱） */
.wrapper:has(> .nav_sec) {
  --nav-h: 7em;
  --nav-after: 10em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .wrapper:has(> .nav_sec) {
    --nav-after: 5em;
  }
}

.wrapper:has(> .nav_sec + .footer-post) {
  --nav-after: 5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wrapper:has(> .nav_sec + .footer-post) {
    --nav-after: 2.5em;
  }
}

/* 記事の最後のセクション：通常の下余白＋ナビの高さ＋後ろの要素が食い込む分 */
.wrapper > article:has(+ .nav_sec) > .sec:last-child,
.wrapper > article:has(+ .nav_sec) > .partspage-ctt:last-child > .sec:last-child {
  padding-bottom: calc(10em + var(--nav-h) + var(--nav-after));
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wrapper > article:has(+ .nav_sec) > .sec:last-child,
  .wrapper > article:has(+ .nav_sec) > .partspage-ctt:last-child > .sec:last-child {
    padding-bottom: calc(5em + var(--nav-h) + var(--nav-after));
  }
}

/* ナビ：背景なしで、最後のセクションの下余白の中にはめ込む */
.wrapper > .nav_sec.sec {
  position: relative;
  z-index: 1;
  height: var(--nav-h);
  padding: 0;
  margin-top: calc((var(--nav-h) + var(--nav-after)) * -1);
  margin-bottom: var(--nav-after);
  background: none;
}
.wrapper > .nav_sec.sec ul.post_nav {
  height: 100%;
  align-items: center;
}

/* 黒の区切り線：最後のセクションの内容とナビ（リンクテキスト）のちょうど真ん中に引く
   線より上：最後のセクションの通常の下余白（PC・タブレット：$sp / スマホ：$sp3）
   線より下：ナビの中でリンク（行の高さ 2em）は上下中央なので (--nav-h - 2em) / 2
   → ナビの上端から (線より下 - 線より上) / 2 だけずらす（マイナスなので上に）
   最後のセクションの背景色に関係なく、いつも引く */
.wrapper > .nav_sec.sec ul.post_nav {
  --nav-line-above: 10em;
  position: relative;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .wrapper > .nav_sec.sec ul.post_nav {
    --nav-line-above: 5em;
  }
}
.wrapper > .nav_sec.sec ul.post_nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(((var(--nav-h) - 2em) / 2 - var(--nav-line-above)) / 2);
  border-top: solid 1px #000000;
}

/* 施工事例 (.works) -------------------------------- */
.works {
  /* カテゴリー・エリア・タグ（詳細：タイトルの下） ---------- */
}
.works .works_terms {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 1em 0 2em;
}
.works .works_terms__item {
  font-size: 0.8em;
  line-height: 1em;
  padding: 0.5em 1em;
  border-radius: 2em;
  border: solid 0.0625em #000000;
  background: inherit;
}
.works .works_terms__item--area {
  background: #ffffff;
  border: solid 0.0625em #cccccc;
}
.works .works_terms__item--tag {
  background: #a5b28b;
  color: #ffffff;
}
.works .works_terms__item a {
  text-decoration: none;
  color: inherit;
}
.works {
  /* 絞り込みナビ（ページヘッダーの中）：施工種類のボタン＋お客様の声のボタン ---------- */
}
.works .works_filter {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding-top: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .works .works_filter {
    padding-top: 1.5em;
  }
}
.works .works_filter {
  /* 施工種類のボタン */
}
.works .works_filter__group {
  padding-bottom: 1.25em;
}
.works .works_filter__list {
  list-style: none inside;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .works .works_filter__list {
    gap: 0.5em;
  }
}
.works .works_filter__item a {
  text-decoration: none;
  transition: 0.3s ease;
  backface-visibility: hidden;
  display: inline-block;
  font-size: 0.9em;
  line-height: 1;
  padding: 0.8em 1.4em;
  border-radius: 2em;
  border: solid 0.0556em #000000;
  background: inherit;
  color: #000000;
}
.works .works_filter__item a:hover {
  background: #000000;
  color: #ffffff;
}
.works .works_filter__item.is-current a {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}
.works .works_filter {
  /* お客様の声：施工種類のボタンと同じ見た目。押すとオン（施工種類の選択中と同じ色）、もう一度押すとオフ */
}
.works .works_filter__voice {
  text-decoration: none;
  transition: 0.3s ease;
  backface-visibility: hidden;
  display: inline-block;
  font-size: 0.9em;
  line-height: 1;
  padding: 0.8em 1.4em;
  border-radius: 2em;
  border: solid 0.0556em #000000;
  background: inherit;
  color: #000000;
  /* ホバー・選択中：メインカラーの背景に黒い文字と線 */
}
.works .works_filter__voice:hover, .works .works_filter__voice.is-on {
  text-decoration: none;
  background: #a7d64d;
  border-color: #000000;
  color: #000000;
}
.works .works_filter {
  /* チェックの四角は使わない（ボタンの色でオン・オフを表す） */
}
.works .works_filter__check {
  display: none;
}
.works {
  /* 一覧 ---------- */
  /* 背景色（sec-bg3）を付けたので、上にも余白を付ける（.post_archive は上余白 0） */
}
.works .works_archive {
  padding-top: 5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .works .works_archive {
    padding-top: 2.5em;
  }
}
.works .works_archive {
  /* 下の余白：ページ送り（.pager）に下余白があるので、フッターが食い込む分（PC：$sp、タブレット以下：$sp3）だけにする
     （.wrapper > .sec:last-child の「ページ最後は 2 倍」より優先させる） */
}
.works .works_archive:last-child {
  padding-bottom: 10em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .works .works_archive:last-child {
    padding-bottom: 5em;
  }
}
.works .works_list {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5em 3em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .works .works_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5em 1.5em;
  }
}
.works .works_list {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .works .works_list {
    grid-template-columns: 1fr;
  }
}
.works {
  /* 一覧のカード：トップの WORKS & REVIEW と同じ（template-parts/top/works-slide.php の static 版）
     スタイルは sass/_top.scss の .top__works-*。ここでは一覧用に大きさだけ調整する */
}
.works .top__works-slide--static {
  min-width: 0;
  scale: none;
  padding-top: 2em;
}
.works .top__works-slide--static .top__works-num {
  font-size: 4.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .works .top__works-slide--static .top__works-num {
    font-size: 3em;
  }
}
.works .top__works-slide--static {
  /* サムネイルの角丸：一覧は 1em（トップのスライダーは 2em） */
}
.works .top__works-slide--static .top__works-img {
  border-radius: 1em;
}
.works .top__works-slide--static .top__works-media::after {
  width: 2em;
  right: 1.25em;
  bottom: 1.25em;
}
.works .top__works-slide--static .top__works-info {
  padding: 1.25em 0.5em 0;
}
.works .top__works-slide--static .top__works-ttl {
  font-size: 1.1em;
}
.works .top__works-slide--static {
  /* お客様の声：「お客様の声：」の見出しで改行し、要約は最大 2 行 */
}
.works .top__works-slide--static .top__works-voice {
  white-space: normal;
}
.works .top__works-slide--static .top__works-voice-label {
  display: block;
}
.works .top__works-slide--static .top__works-voice-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.works .works_none {
  text-align: center;
}
.works {
  /* 詳細 ---------- */
}
.works .page-header .page_ttl .term {
  display: block;
  font-size: 0.6em;
}
.works {
  /* エリア：施工種類のタグの下（カードと同じピンのアイコン付き） */
}
.works .works_terms:has(+ .works_area) {
  padding-bottom: 1em;
}
.works .works_area {
  font-size: 0.9em;
  line-height: 1;
  padding-bottom: 2em;
}
.works .works_area i {
  padding-right: 0.4em;
}
.works {
  /* 一覧へ戻る：PC はページヘッダーの右上（お知らせと同じ位置）、タブレット以下は見出しの下 */
}
.works .page-header .works_back {
  position: absolute;
  top: 0;
  right: 10em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .works .page-header .works_back {
    position: static;
    padding-top: 1.5em;
  }
}
.works {
  /* お客様の声：ページパーツの後。左にハガキ画像、右にハガキ文章 ---------- */
  /* セクションのつなぎはトップページ・ページパーツと同じ：お客様の声の上を角丸にして、ページパーツの最後のセクションに重ねる
     （共通の %sec-overlap-* は隣り合う .sec 同士にしか効かないので、ここで当てる。最後のセクションが同じ背景色 bg3 のときは重ねない） */
}
.works .works_voice {
  /* お客様の声：ページパーツの「カード型レイアウト」2列（.fp-imgcard）と同じ見た目
     セクションの最後なので下の余白はなし */
}
.works .works_voice .fp-imgcard {
  padding-bottom: 0;
}
.works {
  /* 前後の事例へのナビ：sass/post/_single.scss（お知らせと共通） */
}

/* パーツ共通変数 -------------------------------- */
/* パーツ全体の余白 */
/* パーツ見出しのサイズ */
/* パーツ見出しの行間 */
/* パーツ見出しの余白 */
/* パーツの角丸 */
/* 背景色 -------------------------------- */
.partspage-ctt {
  padding-top: 0;
  padding-bottom: 0;
}

.sec-bg1 {
  background: #d6dcca;
}
.sec-bg1:first-child {
  padding-top: 0;
}

.sec-bg2 {
  background: #f3fae6;
}

.sec-bg3 {
  background: #a5b28b;
}

/* 同じ背景色のセクションが続いたときに余白をなくす */
.sec-bg1 + .sec-bg1,
.sec-bg2 + .sec-bg2,
.sec-bg3 + .sec-bg3,
.sec-bg4 + .sec-bg4,
.sec-bg5 + .sec-bg5 {
  padding-top: 0 !important;
}

/* 背景色が違うセクションが続いたとき：下のセクションの上を角丸にして上のセクションに重ねる */
.page-header + .sec-bg5,
.page-header + .partspage-ctt > .sec-bg5:first-child,
.page-header + .works_single > .partspage-ctt > .sec-bg5:first-child, .page-header + .sec-bg4,
.page-header + .partspage-ctt > .sec-bg4:first-child,
.page-header + .works_single > .partspage-ctt > .sec-bg4:first-child, .page-header + .sec-bg3,
.page-header + .partspage-ctt > .sec-bg3:first-child,
.page-header + .works_single > .partspage-ctt > .sec-bg3:first-child, .page-header + .sec-bg2,
.page-header + .partspage-ctt > .sec-bg2:first-child,
.page-header + .works_single > .partspage-ctt > .sec-bg2:first-child, .sec-bg5 + .sec:not(.sec-bg5), .sec-bg4 + .sec:not(.sec-bg4), .sec-bg3 + .sec:not(.sec-bg3), .sec-bg2 + .sec:not(.sec-bg2), .sec-bg1 + .sec:not(.sec-bg1), .footer-post, .works .partspage-ctt:has(> .sec:last-child:not(.sec-bg3)) + .works_voice {
  position: relative;
  border-radius: 5em 5em 0 0;
  margin-top: -5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .page-header + .sec-bg5,
  .page-header + .partspage-ctt > .sec-bg5:first-child,
  .page-header + .works_single > .partspage-ctt > .sec-bg5:first-child, .page-header + .sec-bg4,
  .page-header + .partspage-ctt > .sec-bg4:first-child,
  .page-header + .works_single > .partspage-ctt > .sec-bg4:first-child, .page-header + .sec-bg3,
  .page-header + .partspage-ctt > .sec-bg3:first-child,
  .page-header + .works_single > .partspage-ctt > .sec-bg3:first-child, .page-header + .sec-bg2,
  .page-header + .partspage-ctt > .sec-bg2:first-child,
  .page-header + .works_single > .partspage-ctt > .sec-bg2:first-child, .sec-bg5 + .sec:not(.sec-bg5), .sec-bg4 + .sec:not(.sec-bg4), .sec-bg3 + .sec:not(.sec-bg3), .sec-bg2 + .sec:not(.sec-bg2), .sec-bg1 + .sec:not(.sec-bg1), .footer-post, .works .partspage-ctt:has(> .sec:last-child:not(.sec-bg3)) + .works_voice {
    border-radius: 2.5em 2.5em 0 0;
    margin-top: -2.5em;
  }
}

/* 上のセクションは重なる分だけ下余白を足す */
.sec-bg5:has(+ .sec:not(.sec-bg5)), .sec-bg4:has(+ .sec:not(.sec-bg4)), .sec-bg3:has(+ .sec:not(.sec-bg3)), .sec-bg2:has(+ .sec:not(.sec-bg2)), .sec-bg1:has(+ .sec:not(.sec-bg1)), .works .partspage-ctt:has(+ .works_voice) > .sec:last-child:not(.sec-bg3) {
  padding-bottom: 15em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .sec-bg5:has(+ .sec:not(.sec-bg5)), .sec-bg4:has(+ .sec:not(.sec-bg4)), .sec-bg3:has(+ .sec:not(.sec-bg3)), .sec-bg2:has(+ .sec:not(.sec-bg2)), .sec-bg1:has(+ .sec:not(.sec-bg1)), .works .partspage-ctt:has(+ .works_voice) > .sec:last-child:not(.sec-bg3) {
    padding-bottom: 10em;
  }
}
.sec-bg5:has(+ .sec:not(.sec-bg5)), .sec-bg4:has(+ .sec:not(.sec-bg4)), .sec-bg3:has(+ .sec:not(.sec-bg3)), .sec-bg2:has(+ .sec:not(.sec-bg2)), .sec-bg1:has(+ .sec:not(.sec-bg1)), .works .partspage-ctt:has(+ .works_voice) > .sec:last-child:not(.sec-bg3) {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .sec-bg5:has(+ .sec:not(.sec-bg5)), .sec-bg4:has(+ .sec:not(.sec-bg4)), .sec-bg3:has(+ .sec:not(.sec-bg3)), .sec-bg2:has(+ .sec:not(.sec-bg2)), .sec-bg1:has(+ .sec:not(.sec-bg1)), .works .partspage-ctt:has(+ .works_voice) > .sec:last-child:not(.sec-bg3) {
    padding-bottom: 7.5em;
  }
}

/* ページヘッダーの次に背景色が違うセクションが来たとき：下のセクションの上を角丸にして、ページヘッダーに重ねる
   （セクション同士と同じ見せ方。重なる分だけページヘッダーの下余白を足すので、見出しとの間隔は変わらない） */
/* 下のセクション：角丸にして上にずらす */
/* ページヘッダー：重なる分だけ下余白を足す（通常の下余白は sass/page/_pages.scss） */
.page-header:has(+ .sec-bg2),
.page-header:has(+ .partspage-ctt > .sec-bg2:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg2:first-child) {
  padding-bottom: calc(7.5em + 5em);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header:has(+ .sec-bg2),
  .page-header:has(+ .partspage-ctt > .sec-bg2:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg2:first-child) {
    padding-bottom: calc(5em + 5em);
  }
}
.page-header:has(+ .sec-bg2),
.page-header:has(+ .partspage-ctt > .sec-bg2:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg2:first-child) {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .page-header:has(+ .sec-bg2),
  .page-header:has(+ .partspage-ctt > .sec-bg2:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg2:first-child) {
    padding-bottom: calc(5em + 2.5em);
  }
}

/* 下のセクション：角丸にして上にずらす */
/* ページヘッダー：重なる分だけ下余白を足す（通常の下余白は sass/page/_pages.scss） */
.page-header:has(+ .sec-bg3),
.page-header:has(+ .partspage-ctt > .sec-bg3:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg3:first-child) {
  padding-bottom: calc(7.5em + 5em);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header:has(+ .sec-bg3),
  .page-header:has(+ .partspage-ctt > .sec-bg3:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg3:first-child) {
    padding-bottom: calc(5em + 5em);
  }
}
.page-header:has(+ .sec-bg3),
.page-header:has(+ .partspage-ctt > .sec-bg3:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg3:first-child) {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .page-header:has(+ .sec-bg3),
  .page-header:has(+ .partspage-ctt > .sec-bg3:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg3:first-child) {
    padding-bottom: calc(5em + 2.5em);
  }
}

/* 下のセクション：角丸にして上にずらす */
/* ページヘッダー：重なる分だけ下余白を足す（通常の下余白は sass/page/_pages.scss） */
.page-header:has(+ .sec-bg4),
.page-header:has(+ .partspage-ctt > .sec-bg4:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg4:first-child) {
  padding-bottom: calc(7.5em + 5em);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header:has(+ .sec-bg4),
  .page-header:has(+ .partspage-ctt > .sec-bg4:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg4:first-child) {
    padding-bottom: calc(5em + 5em);
  }
}
.page-header:has(+ .sec-bg4),
.page-header:has(+ .partspage-ctt > .sec-bg4:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg4:first-child) {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .page-header:has(+ .sec-bg4),
  .page-header:has(+ .partspage-ctt > .sec-bg4:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg4:first-child) {
    padding-bottom: calc(5em + 2.5em);
  }
}

/* 下のセクション：角丸にして上にずらす */
/* ページヘッダー：重なる分だけ下余白を足す（通常の下余白は sass/page/_pages.scss） */
.page-header:has(+ .sec-bg5),
.page-header:has(+ .partspage-ctt > .sec-bg5:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg5:first-child) {
  padding-bottom: calc(7.5em + 5em);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .page-header:has(+ .sec-bg5),
  .page-header:has(+ .partspage-ctt > .sec-bg5:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg5:first-child) {
    padding-bottom: calc(5em + 5em);
  }
}
.page-header:has(+ .sec-bg5),
.page-header:has(+ .partspage-ctt > .sec-bg5:first-child),
.page-header:has(+ .works_single > .partspage-ctt > .sec-bg5:first-child) {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .page-header:has(+ .sec-bg5),
  .page-header:has(+ .partspage-ctt > .sec-bg5:first-child),
  .page-header:has(+ .works_single > .partspage-ctt > .sec-bg5:first-child) {
    padding-bottom: calc(5em + 2.5em);
  }
}

/* セクション最後のパーツの余白ゼロ -------------------------------- */
.partspage-ctt .sec .innerbox .fp-subheading:last-child,
.partspage-ctt .sec .innerbox p:last-child,
.partspage-ctt .sec .innerbox p.note:last-child,
.partspage-ctt .sec .innerbox .fp-heading:last-child,
.partspage-ctt .sec .innerbox .fp-text:last-child,
.partspage-ctt .sec .innerbox .fp-img:last-child,
.partspage-ctt .sec .innerbox .fp-imgtext:last-child,
.partspage-ctt .sec .innerbox .fp-yttext:last-child,
.partspage-ctt .sec .innerbox .fp-imgcard:last-child,
.partspage-ctt .sec .innerbox .fp-ytcard:last-child,
.partspage-ctt .sec .innerbox .fp-tl:last-child,
.partspage-ctt .sec .innerbox .fp-pdf:last-child,
.partspage-ctt .sec .innerbox .fp-qa:last-child {
  padding-bottom: 0;
}
.partspage-ctt .sec .innerbox .fp-textbox:last-child,
.partspage-ctt .sec .innerbox .fp-list:last-child,
.partspage-ctt .sec .innerbox .fp-table:last-child,
.partspage-ctt .sec .innerbox .fp-notelist:last-child,
.partspage-ctt .sec .innerbox .fp-map:last-child,
.partspage-ctt .sec .innerbox .fp-link:last-child,
.partspage-ctt .sec .innerbox .fp-btn:last-child {
  margin-bottom: 0;
}

.fp-imgcard--cols-2 img:last-child,
.fp-imgcard--cols-3 img:last-child,
.fp-imgcard--cols-4 img:last-child,
.fp-imgcard--cols-5 img:last-child,
.fp-imgcard--cols-6 img:last-child,
.fp-ytcard--cols-2 img:last-child,
.fp-ytcard--cols-3 img:last-child,
.fp-ytcard--cols-4 img:last-child,
.fp-ytcard--cols-5 img:last-child,
.fp-ytcard--cols-6 img:last-child {
  margin-bottom: 0;
}
.fp-imgcard--cols-2 a img:last-child,
.fp-imgcard--cols-3 a img:last-child,
.fp-imgcard--cols-4 a img:last-child,
.fp-imgcard--cols-5 a img:last-child,
.fp-imgcard--cols-6 a img:last-child,
.fp-ytcard--cols-2 a img:last-child,
.fp-ytcard--cols-3 a img:last-child,
.fp-ytcard--cols-4 a img:last-child,
.fp-ytcard--cols-5 a img:last-child,
.fp-ytcard--cols-6 a img:last-child {
  margin-bottom: 1em;
}
.fp-imgcard--cols-2 a:last-child img,
.fp-imgcard--cols-3 a:last-child img,
.fp-imgcard--cols-4 a:last-child img,
.fp-imgcard--cols-5 a:last-child img,
.fp-imgcard--cols-6 a:last-child img,
.fp-ytcard--cols-2 a:last-child img,
.fp-ytcard--cols-3 a:last-child img,
.fp-ytcard--cols-4 a:last-child img,
.fp-ytcard--cols-5 a:last-child img,
.fp-ytcard--cols-6 a:last-child img {
  margin-bottom: 0;
}
.fp-imgcard--cols-2 a:last-child img:last-child,
.fp-imgcard--cols-3 a:last-child img:last-child,
.fp-imgcard--cols-4 a:last-child img:last-child,
.fp-imgcard--cols-5 a:last-child img:last-child,
.fp-imgcard--cols-6 a:last-child img:last-child,
.fp-ytcard--cols-2 a:last-child img:last-child,
.fp-ytcard--cols-3 a:last-child img:last-child,
.fp-ytcard--cols-4 a:last-child img:last-child,
.fp-ytcard--cols-5 a:last-child img:last-child,
.fp-ytcard--cols-6 a:last-child img:last-child {
  margin-bottom: 0;
}

li .fp-youtube:last-child {
  margin-bottom: 0;
}

/* 共有アトム: パーツ小見出し -------------------------------- */
/* list / notelist / pdf / table / textbox / tl / imgtext / yttext で共用 */
.fp-subheading {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 1.75em;
  line-height: 1.5em;
  padding-bottom: 1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-subheading {
    font-size: 1.25em;
  }
}
.fp-subheading {
  /* 文字寄せ（管理画面の設定：left / center / right） */
}
.fp-subheading--left {
  text-align: left;
}
.fp-subheading--center {
  text-align: center;
}
.fp-subheading--right {
  text-align: right;
}

/* 共有アトム: YouTube埋め込み -------------------------------- */
/* ytcard / yttext で共用 */
.fp-youtube {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-youtube {
    border-radius: 1em;
  }
}
.fp-youtube {
  overflow: hidden;
}
.fp-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/* セクション見出し (.fp-heading) -------------------------------- */
.fp-heading {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-size: 1em;
  line-height: 1em;
  padding-bottom: 5em;
  color: currentColor;
  /* 文字寄せ（管理画面の設定：left / center / right） */
}
.fp-heading--left {
  text-align: left;
}
.fp-heading--center {
  text-align: center;
}
.fp-heading--right {
  text-align: right;
}
.fp-heading {
  /* 大きな数字 */
}
.fp-heading__en {
  display: block;
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 5em;
  font-weight: 800;
  line-height: 1.25em;
  margin-bottom: 0;
  color: #ffffff;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-heading__en {
    font-size: 4em;
  }
}
.fp-heading__en {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-heading__en {
    font-size: 3em;
  }
}
.fp-heading__en {
  /* 背景2のセクションでは黒 */
}
.sec-bg2 .fp-heading__en {
  color: #000000;
}
.fp-heading__ja {
  display: block;
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-heading__ja {
    font-size: 2em;
  }
}
.fp-heading:has(.fp-heading__en) .fp-heading__ja {
  font-size: 1.8em;
  padding-top: 0.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-heading:has(.fp-heading__en) .fp-heading__ja {
    font-size: 1.2em;
  }
}

/* テキスト段落 (.fp-text) -------------------------------- */
.fp-text {
  /* 文字寄せ（管理画面の設定：left / center / right） */
}
.fp-text--left {
  text-align: left;
}
.fp-text--center {
  text-align: center;
}
.fp-text--right {
  text-align: right;
}
.fp-text {
  /* 大テキスト */
}
.fp-text--size-lg {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 2em;
  line-height: 2em;
  padding-bottom: 1em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-text--size-lg {
    font-size: 1.5em;
    padding-bottom: 1.3333333333em;
  }
}
.fp-text--size-lg {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-text--size-lg {
    font-size: 1.25em;
    padding-bottom: 1.6em;
  }
}
.fp-text {
  /* 中テキスト */
}
.fp-text--size-md {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 1.5em;
  line-height: 2em;
  padding-bottom: 1.3333333333em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-text--size-md {
    font-size: 1.2em;
    padding-bottom: 1.6666666667em;
  }
}
.fp-text--size-md {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-text--size-md {
    font-size: 1.1em;
    padding-bottom: 1.8181818182em;
  }
}
.fp-text {
  /* 小テキスト */
}
.fp-text--size-sm {
  padding-bottom: 2em;
}
.fp-text {
  /* 幅小 */
}
.fp-text--width-sm {
  width: 50%;
  margin: 0 auto;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-text--width-sm {
    width: 100%;
  }
}
.fp-text {
  /* 幅中 */
}
.fp-text--width-md {
  width: 70%;
  margin: 0 auto;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-text--width-md {
    width: 100%;
  }
}
.fp-text {
  /* 幅大 */
}
.fp-text--width-lg {
  width: 100%;
}

/* 背景色つきテキストボックス (.fp-textbox) -------------------------------- */
.fp-textbox {
  width: 100%;
  box-sizing: border-box;
  padding: 5em;
  margin-bottom: 5em;
  background: #ffffff;
  color: #000000;
  border-radius: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-textbox {
    border-radius: 1em;
  }
}
.fp-textbox {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-textbox {
    padding: 2em;
  }
}
.fp-textbox {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-textbox {
    padding: 1.5em;
  }
}
.fp-textbox {
  /* --filled 時の見た目差分: 元 .bgcolor には既存スタイルなし */
}
.fp-textbox p {
  padding-bottom: 2em;
}
.fp-textbox p:last-child {
  padding-bottom: 0;
}

/* リンク (.fp-link) -------------------------------- */
.fp-link {
  margin-bottom: 5em;
}
.fp-link--left {
  text-align: left;
}
.fp-link--center {
  text-align: center;
}
.fp-link--right {
  text-align: right;
}
.fp-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: 0.3s ease;
  backface-visibility: hidden;
}
.fp-link a:hover {
  opacity: 0.3;
  filter: alpha(opacity=30);
}

/* ボタン (.fp-btn) -------------------------------- */
.fp-btn {
  margin-bottom: 5em;
}
.fp-btn--left {
  text-align: left;
}
.fp-btn--center {
  text-align: center;
}
.fp-btn--right {
  text-align: right;
}
.fp-btn__link {
  /* 矢印の大きさ（円・文字との間隔もここから計算） */
  --btn-arrow-size: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-btn__link {
    --btn-arrow-size: 1.75em;
  }
}
.fp-btn__link {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0cqb;
  min-height: var(--btn-arrow-size);
  padding-right: calc(var(--btn-arrow-size) + 1em);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  /* 円 */
}
.fp-btn__link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--btn-arrow-size) * -0.6);
  z-index: -1;
  width: calc(var(--btn-arrow-size) * 2.2);
  height: calc(var(--btn-arrow-size) * 2.2);
  border-radius: 50%;
  background: #a7d64d;
  transform: translateY(-50%) scale(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fp-btn__link {
  /* 矢印 */
}
.fp-btn__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  background: url("../../../images/ya.svg") center/100% auto no-repeat;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.fp-btn__link:hover {
  text-decoration: none;
}
.fp-btn__link:hover::before {
  transform: translateY(-50%) scale(1);
}
.fp-btn__link:hover::after {
  background-image: url("../../../images/ya_w.svg");
  animation: btn-arrow-move 0.8s ease-in-out infinite;
}

/* 画像（単体） (.fp-img) -------------------------------- */
.fp-img {
  width: 100%;
  position: relative;
  padding-bottom: 5em;
  text-align: center;
  /* 寄せ（管理画面の設定：left / center / right）
     画像は display: block で幅を % 指定しているので、画像の左右の margin で寄せる */
}
.fp-img--center .fp-img__pic {
  margin-left: auto;
  margin-right: auto;
}
.fp-img--left .fp-img__pic {
  margin-left: 0;
  margin-right: auto;
}
.fp-img--right .fp-img__pic {
  margin-left: auto;
  margin-right: 0;
}
.fp-img__pic {
  display: block;
  max-width: inherit;
  height: auto;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-img__pic {
    width: 100%;
  }
}
.fp-img__pic--round {
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-img__pic--round {
    border-radius: 1em;
  }
}
.fp-img__pic--circle {
  border-radius: 50%;
  aspect-ratio: 1/1;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 画像＋テキスト (.fp-imgtext) -------------------------------- */
.fp-imgtext {
  width: 100%;
  position: relative;
  overflow: hidden;
  zoom: 1;
  padding-bottom: 5em;
}
.fp-imgtext__media {
  width: 40%;
  position: relative;
  padding-bottom: 1em;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .fp-imgtext__media {
    width: 45%;
  }
}
.fp-imgtext__media {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-imgtext__media {
    width: 50%;
  }
}
.fp-imgtext__media {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-imgtext__media {
    width: 100%;
    float: none;
    padding-right: 0;
    padding-left: 0;
  }
}
.fp-imgtext__pic {
  width: 100%;
  height: auto;
  display: block;
}
.fp-imgtext__pic--round {
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-imgtext__pic--round {
    border-radius: 1em;
  }
}
.fp-imgtext__pic--circle {
  border-radius: 50%;
  aspect-ratio: 1/1;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
}
.fp-imgtext__body p {
  padding-bottom: 0;
}
.fp-imgtext {
  /* 画像左 */
}
.fp-imgtext--left .fp-imgtext__media {
  float: left;
  padding-right: 3%;
}
.fp-imgtext {
  /* 画像右 */
}
.fp-imgtext--right .fp-imgtext__media {
  float: right;
  padding-left: 3%;
}

/* カード型レイアウト（画像カード／YouTubeカード共通） -------------------------------- */
/* .fp-imgcard（imgcard.php）と .fp-ytcard（ytcard.php）は構造が同じなので、
   列数グリッドのロジックだけこのmixinで共有し、実装は各ブロックで個別に@includeする。 */
/* 画像カード (imgcard.php) -------------------------------- */
.fp-imgcard {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 5em;
}
.fp-imgcard__list {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: grid;
  row-gap: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-imgcard__list {
    row-gap: 1.5em;
  }
}
.fp-imgcard__list--center {
  justify-content: center;
}
.fp-imgcard__item {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1em;
  text-decoration: none;
}
.fp-imgcard__media {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
.fp-imgcard__pic {
  width: 100%;
  height: auto;
  display: block;
}
.fp-imgcard__pic--round {
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-imgcard__pic--round {
    border-radius: 1em;
  }
}
.fp-imgcard__pic--circle {
  border-radius: 50%;
  aspect-ratio: 1/1;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
}
.fp-imgcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 100%;
  z-index: 1;
  position: relative;
  box-sizing: border-box;
}
.fp-imgcard__title {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 1.25em;
  line-height: 2em;
  text-decoration: none;
}
.fp-imgcard__text {
  line-height: 2em;
  text-decoration: none;
  padding-bottom: 0;
}
.fp-imgcard {
  /* 見出し・本文の文字寄せ（管理画面の設定：left / center / right） */
}
.fp-imgcard__title--left, .fp-imgcard__text--left {
  text-align: left;
}
.fp-imgcard__title--center, .fp-imgcard__text--center {
  text-align: center;
}
.fp-imgcard__title--right, .fp-imgcard__text--right {
  text-align: right;
}
.fp-imgcard__btn {
  margin-bottom: 0;
}
.fp-imgcard__btn--center {
  text-align: center;
}
.fp-imgcard__btn--right {
  text-align: right;
}
.fp-imgcard--cols-1 .fp-imgcard__list {
  grid-template-columns: repeat(1, 1fr);
}
.fp-imgcard--cols-2 .fp-imgcard__list {
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 4em;
       column-gap: 4em;
}
.fp-imgcard--cols-3 .fp-imgcard__list {
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 3em;
       column-gap: 3em;
}
.fp-imgcard--cols-4 .fp-imgcard__list {
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 2em;
       column-gap: 2em;
}
.fp-imgcard--cols-5 .fp-imgcard__list {
  grid-template-columns: repeat(5, 1fr);
  -moz-column-gap: 1.5em;
       column-gap: 1.5em;
}
.fp-imgcard--cols-6 .fp-imgcard__list {
  grid-template-columns: repeat(6, 1fr);
  -moz-column-gap: 1em;
       column-gap: 1em;
}
.fp-imgcard {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-imgcard--cols-1-tb .fp-imgcard__list {
    grid-template-columns: repeat(1, 1fr);
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .fp-imgcard--cols-2-tb .fp-imgcard__list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 2.5em;
         column-gap: 2.5em;
  }
  .fp-imgcard--cols-3-tb .fp-imgcard__list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 1.5em;
         column-gap: 1.5em;
  }
  .fp-imgcard--cols-4-tb .fp-imgcard__list {
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-imgcard--cols-5-tb .fp-imgcard__list {
    grid-template-columns: repeat(5, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-imgcard--cols-6-tb .fp-imgcard__list {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
}
.fp-imgcard {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-imgcard--cols-1-sp .fp-imgcard__list {
    grid-template-columns: repeat(1, 1fr);
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .fp-imgcard--cols-2-sp .fp-imgcard__list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 1.5em;
         column-gap: 1.5em;
  }
  .fp-imgcard--cols-3-sp .fp-imgcard__list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-imgcard--cols-4-sp .fp-imgcard__list {
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-imgcard--cols-5-sp .fp-imgcard__list {
    grid-template-columns: repeat(5, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-imgcard--cols-6-sp .fp-imgcard__list {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
}
.fp-imgcard {
  /* 1つ並び・2つ並びは見出しを大きく */
}
.fp-imgcard--cols-1 .fp-imgcard__item .fp-imgcard__body, .fp-imgcard--cols-2 .fp-imgcard__item .fp-imgcard__body {
  gap: 1.5em;
}
.fp-imgcard--cols-1 .fp-imgcard__item .fp-imgcard__title, .fp-imgcard--cols-2 .fp-imgcard__item .fp-imgcard__title {
  font-size: 1.75em;
  line-height: 1.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-imgcard--cols-1 .fp-imgcard__item .fp-imgcard__title, .fp-imgcard--cols-2 .fp-imgcard__item .fp-imgcard__title {
    font-size: 1.25em;
  }
}
.fp-imgcard--cols-2 .fp-imgcard__item {
  gap: 1.5em;
}
.fp-imgcard {
  /* 末尾画像の余白調整 */
}
.fp-imgcard--cols-2 img:last-child, .fp-imgcard--cols-3 img:last-child, .fp-imgcard--cols-4 img:last-child {
  margin-bottom: 0;
}
.fp-imgcard--cols-2 a img:last-child, .fp-imgcard--cols-3 a img:last-child, .fp-imgcard--cols-4 a img:last-child {
  margin-bottom: 1em;
}
.fp-imgcard--cols-2 a:last-child img, .fp-imgcard--cols-3 a:last-child img, .fp-imgcard--cols-4 a:last-child img {
  margin-bottom: 0;
}
.fp-imgcard--cols-2 a:last-child img:last-child, .fp-imgcard--cols-3 a:last-child img:last-child, .fp-imgcard--cols-4 a:last-child img:last-child {
  margin-bottom: 0;
}
.fp-imgcard {
  /* フローレイアウト（矢印つき） */
}
.fp-imgcard--flow .fp-imgcard__item:last-child::after {
  display: none;
}
.fp-imgcard--flow .fp-imgcard__item::after {
  font: var(--fa-font-solid);
  content: "\f105";
  color: currentColor;
  font-size: 1em;
  width: 1em;
  height: 1em;
  text-align: center;
  position: absolute;
  top: 50%;
  left: auto;
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
}
.fp-imgcard--flow.fp-imgcard--cols-1 .fp-imgcard__item::after {
  font: var(--fa-font-solid);
  content: "\f107";
  font-size: 2em;
  text-align: center;
  position: absolute;
  top: auto;
  left: 50%;
  right: auto;
  bottom: -1.75em;
  transform: translateX(-50%);
}
.fp-imgcard--flow.fp-imgcard--cols-2 .fp-imgcard__item::after {
  right: -2.5em;
}
.fp-imgcard--flow.fp-imgcard--cols-2 .fp-imgcard__item:nth-child(2n)::after {
  display: none;
}
.fp-imgcard--flow.fp-imgcard--cols-3 .fp-imgcard__item::after {
  right: -2em;
}
.fp-imgcard--flow.fp-imgcard--cols-3 .fp-imgcard__item:nth-child(3n)::after {
  display: none;
}
.fp-imgcard--flow.fp-imgcard--cols-4 .fp-imgcard__item::after {
  right: -1.5em;
}
.fp-imgcard--flow.fp-imgcard--cols-4 .fp-imgcard__item:nth-child(4n)::after {
  display: none;
}
.fp-imgcard--flow.fp-imgcard--cols-5 .fp-imgcard__item::after {
  right: -1.25em;
}
.fp-imgcard--flow.fp-imgcard--cols-6 .fp-imgcard__item::after {
  right: -1em;
}
.fp-imgcard--flow {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-imgcard--flow.fp-imgcard--cols-1-tb .fp-imgcard__item::after {
    font: var(--fa-font-solid);
    content: "\f107";
    font-size: 2em;
    text-align: center;
    position: absolute;
    top: auto;
    left: 50%;
    right: auto;
    bottom: -1em;
    transform: translateX(-50%);
  }
  .fp-imgcard--flow.fp-imgcard--cols-2-tb .fp-imgcard__item::after {
    right: -1.75em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-2-tb .fp-imgcard__item {
    /* スマホ以上 */
  }
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .fp-imgcard--flow.fp-imgcard--cols-2-tb .fp-imgcard__item:nth-child(2n)::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .fp-imgcard--flow.fp-imgcard--cols-3-tb .fp-imgcard__item::after {
    right: -1.25em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-3-tb .fp-imgcard__item {
    /* スマホ以上 */
  }
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .fp-imgcard--flow.fp-imgcard--cols-3-tb .fp-imgcard__item:nth-child(3n)::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .fp-imgcard--flow.fp-imgcard--cols-4-tb .fp-imgcard__item::after {
    right: -1em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-4-tb .fp-imgcard__item {
    /* スマホ以上 */
  }
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .fp-imgcard--flow.fp-imgcard--cols-4-tb .fp-imgcard__item:nth-child(4n)::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .fp-imgcard--flow.fp-imgcard--cols-5-tb .fp-imgcard__item::after {
    right: -1em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-5-tb .fp-imgcard__item {
    /* スマホ以上 */
  }
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .fp-imgcard--flow.fp-imgcard--cols-5-tb .fp-imgcard__item:nth-child(5n)::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .fp-imgcard--flow.fp-imgcard--cols-6-tb .fp-imgcard__item {
    /* スマホ以上 */
  }
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .fp-imgcard--flow.fp-imgcard--cols-6-tb .fp-imgcard__item:nth-child(6n)::after {
    display: none;
  }
}
.fp-imgcard--flow {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-imgcard--flow.fp-imgcard--cols-1-sp .fp-imgcard__item::after {
    font: var(--fa-font-solid);
    content: "\f107";
    font-size: 2em;
    text-align: center;
    position: absolute;
    top: auto;
    left: 50%;
    right: auto;
    bottom: -1em;
    transform: translateX(-50%);
  }
  .fp-imgcard--flow.fp-imgcard--cols-2-sp .fp-imgcard__item::after {
    right: -1.25em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-2-sp .fp-imgcard__item:nth-child(2n)::after {
    display: none;
  }
  .fp-imgcard--flow.fp-imgcard--cols-3-sp .fp-imgcard__item::after {
    right: -1em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-3-sp .fp-imgcard__item:nth-child(3n)::after {
    display: none;
  }
  .fp-imgcard--flow.fp-imgcard--cols-4-sp .fp-imgcard__item::after {
    right: -0.75em;
  }
  .fp-imgcard--flow.fp-imgcard--cols-4-sp .fp-imgcard__item:nth-child(4n)::after {
    display: none;
  }
  .fp-imgcard--flow.fp-imgcard--cols-5-sp .fp-imgcard__item:nth-child(5n)::after {
    display: none;
  }
  .fp-imgcard--flow.fp-imgcard--cols-6-sp .fp-imgcard__item:nth-child(6n)::after {
    display: none;
  }
}

/* YouTubeカード (ytcard.php) -------------------------------- */
.fp-ytcard {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 5em;
}
.fp-ytcard__list {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: grid;
  row-gap: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-ytcard__list {
    row-gap: 1.5em;
  }
}
.fp-ytcard__list--center {
  justify-content: center;
}
.fp-ytcard__item {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1em;
  text-decoration: none;
}
.fp-ytcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 100%;
  z-index: 1;
  position: relative;
  box-sizing: border-box;
}
.fp-ytcard__title {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 1.25em;
  line-height: 2em;
  text-decoration: none;
  /* 見出しの文字寄せ（管理画面の設定：left / center / right） */
}
.fp-ytcard__title--left {
  text-align: left;
}
.fp-ytcard__title--center {
  text-align: center;
}
.fp-ytcard__title--right {
  text-align: right;
}
.fp-ytcard__text {
  line-height: 2em;
  text-decoration: none;
  padding-bottom: 0;
}
.fp-ytcard__text--left {
  text-align: left;
}
.fp-ytcard__text--center {
  text-align: center;
}
.fp-ytcard__text--right {
  text-align: right;
}
.fp-ytcard--cols-1 .fp-ytcard__list {
  grid-template-columns: repeat(1, 1fr);
}
.fp-ytcard--cols-2 .fp-ytcard__list {
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 4em;
       column-gap: 4em;
}
.fp-ytcard--cols-3 .fp-ytcard__list {
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 3em;
       column-gap: 3em;
}
.fp-ytcard--cols-4 .fp-ytcard__list {
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 2em;
       column-gap: 2em;
}
.fp-ytcard--cols-5 .fp-ytcard__list {
  grid-template-columns: repeat(5, 1fr);
  -moz-column-gap: 1.5em;
       column-gap: 1.5em;
}
.fp-ytcard--cols-6 .fp-ytcard__list {
  grid-template-columns: repeat(6, 1fr);
  -moz-column-gap: 1em;
       column-gap: 1em;
}
.fp-ytcard {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-ytcard--cols-1-tb .fp-ytcard__list {
    grid-template-columns: repeat(1, 1fr);
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .fp-ytcard--cols-2-tb .fp-ytcard__list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 2.5em;
         column-gap: 2.5em;
  }
  .fp-ytcard--cols-3-tb .fp-ytcard__list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 1.5em;
         column-gap: 1.5em;
  }
  .fp-ytcard--cols-4-tb .fp-ytcard__list {
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-ytcard--cols-5-tb .fp-ytcard__list {
    grid-template-columns: repeat(5, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-ytcard--cols-6-tb .fp-ytcard__list {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
}
.fp-ytcard {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-ytcard--cols-1-sp .fp-ytcard__list {
    grid-template-columns: repeat(1, 1fr);
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .fp-ytcard--cols-2-sp .fp-ytcard__list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 1.5em;
         column-gap: 1.5em;
  }
  .fp-ytcard--cols-3-sp .fp-ytcard__list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-ytcard--cols-4-sp .fp-ytcard__list {
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-ytcard--cols-5-sp .fp-ytcard__list {
    grid-template-columns: repeat(5, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
  .fp-ytcard--cols-6-sp .fp-ytcard__list {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 1em;
         column-gap: 1em;
  }
}
.fp-ytcard--cols-1 .fp-ytcard__item .fp-ytcard__body, .fp-ytcard--cols-2 .fp-ytcard__item .fp-ytcard__body {
  gap: 1.5em;
}
.fp-ytcard--cols-1 .fp-ytcard__item .fp-ytcard__title, .fp-ytcard--cols-2 .fp-ytcard__item .fp-ytcard__title {
  font-size: 1.75em;
  line-height: 1.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-ytcard--cols-1 .fp-ytcard__item .fp-ytcard__title, .fp-ytcard--cols-2 .fp-ytcard__item .fp-ytcard__title {
    font-size: 1.25em;
  }
}
.fp-ytcard--cols-2 .fp-ytcard__item {
  gap: 1.5em;
}
.fp-ytcard--cols-2 .fp-youtube {
  padding-bottom: 1.5em;
}
.fp-ytcard--cols-3 .fp-ytcard__item:has(.fp-youtube) {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-ytcard--cols-3 .fp-ytcard__item:has(.fp-youtube) {
    width: 100%;
    margin-right: 0;
  }
}
.fp-ytcard--cols-3 .fp-youtube {
  padding-bottom: 1.5em;
}

/* Youtube（動画＋テキスト） (.fp-yttext) -------------------------------- */
.fp-yttext {
  width: 100%;
  position: relative;
  overflow: hidden;
  zoom: 1;
  padding-bottom: 5em;
}
.fp-yttext__media {
  width: 60%;
  position: relative;
  padding-bottom: 1em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-yttext__media {
    width: 100%;
    float: none;
    padding-right: 0;
    padding-left: 0;
  }
}
.fp-yttext__media .fp-youtube {
  margin-bottom: 0;
}
.fp-yttext__body p {
  padding-bottom: 0;
}
.fp-yttext {
  /* 動画左 */
}
.fp-yttext--left .fp-yttext__media {
  float: left;
  padding-right: 3%;
}
.fp-yttext {
  /* 動画右 */
}
.fp-yttext--right .fp-yttext__media {
  float: right;
  padding-left: 3%;
}

/* リスト (.fp-list) -------------------------------- */
.fp-list {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 5em;
  background: #ffffff;
  color: #000000;
  border-radius: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-list {
    border-radius: 1em;
  }
}
.fp-list {
  margin-bottom: 5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-list {
    padding: 5em 2.5em;
  }
}
.fp-list {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-list {
    padding: 2.5em 1.5em;
  }
}
.fp-list ul,
.fp-list ol {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
  padding-left: 2em;
}
.fp-list li {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-size: 1em;
  line-height: 2em;
  padding-bottom: 1.5em;
}
.fp-list li:last-child {
  padding-bottom: 0;
}
.fp-list__item-title {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 1.2em;
  line-height: 1.8em;
}
.fp-list__item-title + .fp-list__item-text {
  display: block;
}
.fp-list__item-text {
  text-indent: initial;
}
.fp-list {
  /* ノーマルリストマークつき */
}
.fp-list--bullet ul li::before {
  content: "";
  position: absolute;
  display: inline-block;
  background: #000000;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin-top: 0.6em;
  margin-left: -2em;
}
.fp-list {
  /* 番号つき */
}
.fp-list--number ol {
  counter-reset: number;
}
.fp-list--number ol li::before {
  position: absolute;
  display: inline-block;
  width: 1.2em;
  counter-increment: number;
  content: counter(number, decimal-leading-zero);
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 1.2em;
  color: #000000;
  margin-top: 0.1em;
  margin-left: -2em;
}
.fp-list {
  /* チェックボックスマークつき */
}
.fp-list--check ul li::before {
  position: absolute;
  left: 0;
  display: inline-block;
  font-family: "Font Awesome 7 Free";
  content: "\f14a";
  font-weight: 900;
  color: #000000;
  margin-top: 0.1em;
  margin-left: -2em;
}

/* 表型 (.fp-table) -------------------------------- */
.fp-table {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 5em;
  background-color: #ffffff;
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-table {
    border-radius: 1em;
  }
}
.fp-table {
  margin-bottom: 5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-table {
    padding: 5em 2.5em;
  }
}
.fp-table {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-table {
    padding: 2.5em 1.5em;
  }
}
.fp-table__list {
  list-style: none inside;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  text-align: left;
  overflow: hidden;
}
.fp-table__row {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  overflow: hidden;
  background: inherit;
  color: currentColor;
  border-top: 0.05em solid currentColor;
}
.fp-table__row:last-child {
  border-bottom: 0.05em solid currentColor;
}
.fp-table__row {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-table__row {
    border-top: 0.1em solid currentColor;
  }
  .fp-table__row:last-child {
    border-bottom: 0.1em solid currentColor;
  }
}
.fp-table__row--col-heading {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-table__row--col-heading {
    display: none;
  }
}
.fp-table__cell {
  width: auto;
  position: relative;
  box-sizing: border-box;
  /* 幅はPHP側からインラインでCSS変数として渡す（--cell-w, --cell-flex） */
  flex: var(--cell-flex, 1);
  width: var(--cell-w, auto);
  padding: 1em;
  margin: 0.5em 0;
  border-right: 0.05em solid currentColor;
}
.fp-table__cell:last-child {
  border-right: none;
  border-bottom: none;
}
.fp-table__cell {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-table__cell {
    display: block;
    flex: none;
    width: 100%;
    margin: 0;
    border-right: none;
    border-bottom: 0.05em dotted currentColor;
  }
}
.fp-table__cell {
  /* 表見出し */
}
.fp-table__cell--row-heading, .fp-table__cell--col-heading {
  font-family: greycliff-cf, "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  font-weight: 900;
}
.fp-table__cell--col-heading {
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-table__cell--col-heading {
    display: none;
  }
}
.fp-table__cell-label {
  display: none;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-table__cell-label {
    display: block;
    color: inherit;
    font-family: greycliff-cf, "zen-kaku-gothic-antique", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
    font-size: 0.8em;
    opacity: 0.8;
  }
}

/* タイムライン (.fp-tl) -------------------------------- */
.fp-tl {
  padding-bottom: 5em;
  /* 横並び共通 */
}
.fp-tl.fp-tl--split, .fp-tl.fp-tl--with-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.fp-tl.fp-tl--split .fp-tl__column, .fp-tl.fp-tl--with-image .fp-tl__column {
  width: 45% !important;
  margin-left: 0;
  margin-right: 0;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl.fp-tl--split .fp-tl__column, .fp-tl.fp-tl--with-image .fp-tl__column {
    width: 100% !important;
  }
}
.fp-tl__pic--round {
  border-radius: 2.5em;
  overflow: hidden;
  /* スマホでは 1em にそろえる（1em 以下の角丸はそのまま） */
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-tl__pic--round {
    border-radius: 1em;
  }
}
.fp-tl__pic--circle {
  border-radius: 50%;
  aspect-ratio: 1/1;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
}
.fp-tl__column {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  margin: 0 auto;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl__column {
    margin-bottom: 2.5em;
  }
}
.fp-tl__column {
  /* 見出し（共有アトム .fp-subheading をこのブロック内だけ上書き） */
}
.fp-tl__column .fp-subheading {
  width: 100%;
  display: inline-block;
  font-size: 1.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl__column .fp-subheading {
    font-size: 1.25em;
  }
}
.fp-tl__column {
  /* リスト */
}
.fp-tl__column .fp-tl__list {
  list-style: none inside;
  text-align: left;
  display: table;
  width: auto;
}
.fp-tl__column .fp-tl__list .fp-tl__event {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: table-row;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-tl__column .fp-tl__list .fp-tl__event {
    display: block;
  }
}
.fp-tl__column .fp-tl__list .fp-tl__event:first-child::before {
  top: 2em;
}
.fp-tl__column .fp-tl__list .fp-tl__event:last-child::before {
  height: 2em;
  bottom: auto;
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__time,
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content {
  padding: 0 1.5em 1.5em 1.5em;
  font-size: 1em;
  line-height: 2em;
  width: auto;
  position: relative;
  box-sizing: border-box;
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__time {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  display: table-cell;
  white-space: nowrap;
  padding-left: 0;
  font-size: 1.2em;
  text-align: right;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__time {
    padding-right: 1em;
  }
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__time {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__time {
    display: block;
    padding: 0;
    padding-left: 1.5em;
    text-align: left;
    font-size: 1em;
  }
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content {
  display: table-cell;
  width: 100%;
  padding-right: 0;
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::before, .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::after {
  content: "";
  display: block;
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content {
  /* 線 */
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::before {
  position: absolute;
  top: 1em;
  left: 0;
  right: auto;
  bottom: auto;
  width: 0.05em;
  height: 100%;
  margin: auto;
  border-right: currentColor solid 0.25em;
  opacity: 0.3;
  filter: alpha(opacity=30);
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::before {
    height: 112%;
  }
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content {
  /* 丸 */
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::after {
  position: absolute;
  top: 0.5em;
  left: -0.2em;
  right: auto;
  bottom: auto;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: #000000;
  z-index: 2;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::after {
    top: 0.3em;
  }
}
.sec_bg3 .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::after, .sec_bg4 .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content::after {
  background: #8ab931;
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content .fp-tl__title {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  display: block;
  font-size: 1.5em;
  line-height: 1.25em;
  padding-bottom: 0.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__content .fp-tl__title {
    font-size: 1.1em;
  }
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__media {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-top: 1em;
}
.fp-tl__column .fp-tl__list .fp-tl__event .fp-tl__media .fp-tl__pic {
  width: 45%;
  -o-object-fit: cover;
     object-fit: cover;
}
.fp-tl__column .fp-tl__list {
  /* 最後の点線 */
}
.fp-tl__column .fp-tl__list--dotted .fp-tl__event:last-child .fp-tl__content::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  right: auto;
  bottom: auto;
  width: 0.05em;
  height: 100%;
  margin: auto;
  border-right: currentColor dotted 0.25em;
  opacity: 0.5;
  filter: alpha(opacity=50);
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl__column .fp-tl__list--dotted .fp-tl__event:last-child .fp-tl__content::before {
    left: 0;
  }
}
.fp-tl__image-wrap {
  width: 45%;
  height: inherit;
  padding: 0;
  position: relative;
  overflow: visible;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-tl__image-wrap {
    display: none;
  }
}
.fp-tl__image-wrap .fp-tl__image-box {
  position: sticky;
  top: 30%;
}
.fp-tl__image-wrap .fp-tl__image-box .fp-tl__pic {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Googleマップ (.fp-map) -------------------------------- */
.fp-map {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 5em;
  border-radius: 1em;
  overflow: hidden;
}
.fp-map iframe,
.fp-map .acf-map {
  width: 100%;
  height: 25em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-map iframe,
  .fp-map .acf-map {
    height: 20em;
  }
}
.fp-map iframe,
.fp-map .acf-map {
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-map iframe,
  .fp-map .acf-map {
    height: 15em;
  }
}
.fp-map iframe img,
.fp-map .acf-map img {
  max-width: inherit !important;
}

/* リッチエディタ (.fp-editor) -------------------------------- */
/* 元 .editorbox には既存スタイルなし。今後ここに追加する。 */
/* HTML入力エリア (.fp-html) -------------------------------- */
/* 元は専用ラップ要素なし。今後ここに追加する。 */
/* PDFファイル (.fp-pdf) -------------------------------- */
.fp-pdf {
  padding-bottom: 5em;
  /* 見出し（共有アトム .fp-subheading をこのブロック内だけ上書き） */
}
.fp-pdf .fp-subheading {
  display: inline-block;
  font-size: 2em;
  line-height: 2em;
  padding-bottom: 0.5em;
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .fp-pdf .fp-subheading {
    font-size: 1.75em;
  }
}
.fp-pdf .fp-subheading {
  /* 中央・右寄せのときは幅いっぱいにして文字寄せを効かせる */
}
.fp-pdf .fp-subheading--center, .fp-pdf .fp-subheading--right {
  display: block;
}
.fp-pdf ul {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5em;
  list-style: none inside;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-pdf ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
.fp-pdf__item {
  width: 100%;
  background: #ffffff;
  transition: transform 0.3s ease;
  border-radius: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-pdf__item {
    border-radius: 1em;
  }
}
.fp-pdf__item:hover {
  transform: translateY(0.25em);
}
.fp-pdf__item {
  /* リンクの文字寄せ（管理画面の設定：left / center / right） */
}
.fp-pdf__item--left {
  text-align: left;
}
.fp-pdf__item--center {
  text-align: center;
}
.fp-pdf__item--right {
  text-align: right;
}
.fp-pdf__item a {
  display: block;
  color: inherit !important;
  padding: 1em 2em;
  text-decoration: none;
  position: relative;
}
.fp-pdf__item a:hover {
  color: inherit !important;
}
.fp-pdf__item a:hover i {
  color: inherit !important;
}
.fp-pdf__item a i {
  color: inherit;
  padding-right: 0.25em;
  position: absolute;
  top: 1.5em;
}
.fp-pdf__item a span {
  display: inline-block;
  padding-left: 2em;
}
.sec_bg2 .fp-pdf .fp-pdf__item {
  background: #d6dcca;
}

/* Q&A (.fp-qa) -------------------------------- */
.fp-qa {
  padding-bottom: 5em;
  /*  Q&Aリスト ---------- */
}
.fp-qa__list {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  list-style: none inside;
}
.fp-qa__item {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
.fp-qa__item:not(:last-child) {
  margin-bottom: 1em;
}
.fp-qa__item label {
  cursor: pointer;
}
.fp-qa {
  /* テキスト ---------- */
}
.fp-qa__body {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-qa__body {
    border-radius: 1em;
  }
}
.fp-qa {
  /* Q */
}
.fp-qa__question {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-style: normal;
  display: block;
  font-size: 1.1em;
  line-height: 2em;
  background: #ffffff;
  color: #000000;
  padding: 1.2em;
  text-indent: -1.9em;
  padding-left: 3.45em;
  padding-right: 4em;
  border-radius: 2.5em 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-qa__question {
    border-radius: 1em;
  }
}
.fp-qa__question {
  transition: 0.5s ease;
  backface-visibility: hidden;
}
.fp-qa__question::before {
  content: "Q";
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 1.5em;
  padding-right: 0.5em;
  color: currentColor;
}
.fp-qa__question::after {
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 2em;
  font-weight: 300;
  text-indent: 0;
  line-height: 1em;
  content: "+";
  box-sizing: border-box;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  color: currentColor;
  padding-top: 0.18em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: auto;
  left: auto;
  right: 0.6em;
  bottom: 0.85em;
  transition: 0.5s ease;
  backface-visibility: hidden;
  /* ノートパソコン */
}
@media screen and (max-width: 1350px) {
  .fp-qa__question::after {
    padding-top: 0.25em;
  }
}
.fp-qa {
  /* A */
}
.fp-qa__answer {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  display: block;
  height: auto;
  max-height: 0;
  border-radius: 2.5em 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-qa__answer {
    border-radius: 1em;
  }
}
.fp-qa__answer {
  overflow: hidden;
  padding: 0 1.5em;
  padding-left: 3.8em;
  text-indent: -1.95em;
  line-height: 1.5em;
  background: #ffffff;
  color: #000000;
  transition: 0.15s ease;
  backface-visibility: hidden;
}
.fp-qa__answer::before {
  content: "A";
  font-family: greycliff-cf, sans-serif;
  font-style: normal;
  font-size: 1.5em;
  padding-right: 0.5em;
  color: currentColor;
}
.fp-qa {
  /* 開閉動作 ---------- */
}
.fp-qa__toggle {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  z-index: 10;
  opacity: 0;
  filter: alpha(opacity=0);
}
.fp-qa__toggle:checked + .fp-qa__body {
  /* Q */
}
.fp-qa__toggle:checked + .fp-qa__body .fp-qa__question {
  font-weight: 700;
  background: #ffffff;
  color: #000000;
  border-radius: 2.5em 2.5em 0 0;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-qa__toggle:checked + .fp-qa__body .fp-qa__question {
    border-radius: 1em 1em 0 0;
  }
}
.fp-qa__toggle:checked + .fp-qa__body .fp-qa__question::before {
  color: currentColor;
}
.fp-qa__toggle:checked + .fp-qa__body .fp-qa__question::after {
  content: "-";
  padding-top: 0.35em;
  padding-bottom: 0.2em;
  color: currentColor;
  border-color: currentColor;
}
.fp-qa__toggle:checked + .fp-qa__body {
  /* A */
}
.fp-qa__toggle:checked + .fp-qa__body .fp-qa__answer {
  max-height: 50em;
  padding: 1.5em;
  padding-left: 3.8em;
  border-radius: 0 0 2.5em 2.5em;
  /* スマホ */
}
@media screen and (max-width: 480px) {
  .fp-qa__toggle:checked + .fp-qa__body .fp-qa__answer {
    border-radius: 0 0 1em 1em;
  }
}

/* アニメーション -------------------------------- */
/* is-anim は <head> のスクリプトで付く（動きを減らす設定・JS なしでは付かず、すべて最初から表示）
   スクロールで表示：[data-anim] が画面に入ると is-inview が付く（js/anim.js）
   ファーストビュー：写真の読み込み後に is-loaded が付く（js/main.js） */
/* ふわっと表示：少し下から浮かび上がる */
/* ファーストビュー：完成前の写真は円の動きと同時に逆へずらすので、
   全画像共通の transition（img { transition: 1s }）を外す（遅れると写真が円と一緒に動いて見える） */
.top__hero-img {
  transition: none;
}

.is-anim {
  /* ファーストビュー：（写真は最初から表示）イラスト（テーブル・料理・犬）→ 円 → キャッチコピー ---------- */
}
.is-anim .top__hero .top__hero-illust {
  opacity: 0;
  translate: 0 1em;
  transition: opacity 1.4s ease 0s, translate 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}
.is-anim .top__hero .top__hero-illust--table {
  transition-delay: 0.4s;
}
.is-anim .top__hero .top__hero-illust--cooking {
  transition-delay: 0.9s;
}
.is-anim .top__hero .top__hero-illust--dog {
  transition-delay: 1.4s;
}
.is-anim .top__hero {
  /* 円：その場でふっと表示
     （scale を使うと円の移動（transform: translate）まで縮んで、左上から飛んでくるように見えるので使わない） */
}
.is-anim .top__hero .top__hero-lens {
  opacity: 0;
  transition: opacity 1.2s ease 2.2s;
}
.is-anim .top__hero .top__hero-content {
  opacity: 0;
  translate: 0 1.5em;
  transition: opacity 1s ease 2.9s, translate 1.4s cubic-bezier(0.22, 1, 0.36, 1) 2.9s;
}
.is-anim .top__hero .top__hero-scroll {
  opacity: 0;
  transition: opacity 0.8s ease 3.4s;
}
.is-anim .top__hero {
  /* 出現後 */
}
.is-anim .top__hero.is-loaded .top__hero-illust,
.is-anim .top__hero.is-loaded .top__hero-lens,
.is-anim .top__hero.is-loaded .top__hero-content,
.is-anim .top__hero.is-loaded .top__hero-scroll {
  opacity: 1;
  scale: 1;
  translate: none;
}
.is-anim {
  /* PICK UP（PC）：写真が回転して切り替わった後に、上のイラストをふわっと表示 ---------- */
  /* 1枚目は最初から表示中（is-active）なので、セクションが画面に入ってから（is-inview）出す */
}
.is-anim .top__pickup[data-anim] {
  /* タブレット以上 */
}
@media screen and (min-width: 769px) {
  .is-anim .top__pickup[data-anim] .top__pickup-illust {
    opacity: 0;
    translate: 0 1em;
    transition: opacity 0.4s ease, translate 0.4s ease;
  }
  .is-anim .top__pickup[data-anim].is-inview .top__pickup-slide.is-active .top__pickup-illust {
    opacity: 1;
    translate: none;
    transition: opacity 1s ease 0.9s, translate 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.9s;
  }
}
.is-anim {
  /* AWARD：賞の画像を順番にふわっと → 最後にイラストをふわっと ---------- */
}
.is-anim .top__award[data-anim] .top__award-item {
  opacity: 0;
  translate: 0 1.5em;
  transition: opacity 1.2s ease 0.2s, translate 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.is-anim .top__award[data-anim] .top__award-item + .top__award-item {
  transition-delay: 0.5s;
}
.is-anim .top__award[data-anim] .top__award-illust {
  opacity: 0;
  translate: 0 1em;
  transition: opacity 1.2s ease 1s, translate 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1s;
}
.is-anim .top__award[data-anim].is-inview .top__award-item,
.is-anim .top__award[data-anim].is-inview .top__award-illust {
  opacity: 1;
  translate: none;
}
.is-anim {
  /* COMMITMENT：見出しを最初にふわっと → カードが左から順番にスライドイン ---------- */
}
.is-anim .top__commitment[data-anim] .top__commitment-title {
  opacity: 0;
  translate: 0 1.5em;
  transition: opacity 1s ease 0s, translate 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}
.is-anim .top__commitment[data-anim] .top__commitment-card {
  opacity: 0;
  translate: -30% 0;
  transition: opacity 0.8s ease 0.5s, translate 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.is-anim .top__commitment[data-anim] .top__commitment-card--02 {
  transition-delay: 0.75s;
  /* タブレット以下：2枚目は画面の右端から出ているので右からスライドイン */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .is-anim .top__commitment[data-anim] .top__commitment-card--02 {
    translate: 30% 0;
  }
}
.is-anim .top__commitment[data-anim].is-inview .top__commitment-title {
  opacity: 1;
  translate: none;
}
.is-anim .top__commitment[data-anim].is-inview .top__commitment-card {
  opacity: 1;
  translate: none;
}
.is-anim {
  /* CONTACT US：流れる文字 → 文章 → イラスト の順にふわっと ---------- */
}
.is-anim .top__contact[data-anim] .top__contact-marquee {
  opacity: 0;
  translate: 0 2em;
  transition: opacity 1s ease 0s, translate 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}
.is-anim .top__contact[data-anim] .top__contact-body {
  opacity: 0;
  translate: 0 1.5em;
  transition: opacity 1.2s ease 0.5s, translate 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.is-anim .top__contact[data-anim] .top__contact-illust {
  opacity: 0;
  translate: 0 1em;
  transition: opacity 1.2s ease 1s, translate 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1s;
}
.is-anim .top__contact[data-anim].is-inview .top__contact-marquee,
.is-anim .top__contact[data-anim].is-inview .top__contact-body,
.is-anim .top__contact[data-anim].is-inview .top__contact-illust {
  opacity: 1;
  translate: none;
}
.is-anim {
  /* フッター：セクションがせり上がってから、カードが電話カードの位置から右へばらばらと広がる ---------- */
}
.is-anim .footer__top[data-anim] {
  translate: 0 8em;
  transition: translate 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-anim .footer__top[data-anim] .footer__cta-item {
  opacity: 0;
  transition: opacity 0.25s ease, translate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), rotate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 電話カードを一番上に重ね、ほかのカードはその下から出てくる */
}
.is-anim .footer__top[data-anim] .footer__cta-item--tel {
  z-index: 3;
  scale: 0.9;
  transition-delay: 0.7s;
}
.is-anim .footer__top[data-anim] .footer__cta-item--line {
  z-index: 2;
  translate: calc(-100% - 1.6em) 0;
  rotate: -6deg;
  transition-delay: 0.95s;
}
.is-anim .footer__top[data-anim] .footer__cta-item--form {
  z-index: 1;
  translate: calc(-200% - 3.2em) 0;
  rotate: 5deg;
  transition-delay: 1.1s;
}
.is-anim .footer__top[data-anim] .footer__cta-item {
  /* タブレット以下：縦並びなので上（電話カードの位置）から下へ */
  /* タブレット */
}
@media screen and (max-width: 768px) {
  .is-anim .footer__top[data-anim] .footer__cta-item--line {
    translate: 0 calc(-100% - 1.6em);
  }
  .is-anim .footer__top[data-anim] .footer__cta-item--form {
    translate: 0 calc(-200% - 3.2em);
  }
}
.is-anim .footer__top[data-anim].is-inview {
  translate: none;
}
.is-anim .footer__top[data-anim].is-inview .footer__cta-item {
  opacity: 1;
  translate: none;
  rotate: none;
  scale: 1;
}/*# sourceMappingURL=style.css.map */