@charset "UTF-8";

/* ==========================================================================
   LIFE TENNIS - common.css
   全ページ共通のデザイントークン / レイアウト / 共通パーツ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* コーポレートカラー：水色と黄緑。ダークトーンは使わない */
  --sky: #35bee0;
  --sky-deep: #1ba2c6;
  --sky-pale: #e2f5fb;
  --sky-mist: #f3fbfd;

  --lime: #8cc63e;
  --lime-deep: #6dab24;
  --lime-pale: #eef7dd;

  /* ロゴのダークグリーン。見出しと本文の色として使う */
  --green: #1a5b44;
  --ink: #2f4a42;
  --ink-soft: #63817a;
  --ink-mute: #92a8a2;

  --cream: #fbfaf3;
  --washi: #faf9f1;
  --white: #ffffff;
  --line: #e4ece9;
  /* 大きな英字見出しの淡い色（構成参考サイトの見出しの重ね方に合わせる） */
  --pale-ttl: #e7e6d6;

  /* 差し色 */
  --sun: #ffc94d;
  --coral: #ff8f6b;
  --line-green: #06c755; /* LINE ブランドカラー */

  --grad: linear-gradient(118deg, #35bee0 0%, #55c9b7 48%, #8cc63e 100%);
  /* 白抜き文字を載せるボタン用。--grad より一段濃くしてコントラストを確保する */
  --grad-btn: linear-gradient(118deg, #1798bc 0%, #35ad93 50%, #63a01d 100%);
  /* 白抜きの本文サイズの文字を載せる面用。さらに濃くして可読性を確保する */
  --grad-cta: linear-gradient(118deg, #12809f 0%, #2a8a72 50%, #4f8615 100%);
  --grad-soft: linear-gradient(118deg, #e2f5fb 0%, #f0f9e9 100%);

  --shadow-sm: 0 2px 10px rgba(26, 91, 68, .06);
  --shadow: 0 10px 30px rgba(26, 91, 68, .09);
  --shadow-lg: 0 20px 50px rgba(26, 91, 68, .13);

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 32px;

  --header-h: 84px;
  --container: 1160px;

  --ff-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Noto Sans JP", sans-serif;
  --ff-base: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;
  --ff-en: "Quicksand", "Zen Maru Gothic", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. リセット / ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 1;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--ff-round);
  font-weight: 700;
  line-height: 1.5;
  color: var(--green);
  letter-spacing: .02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
/* picture の箱を消して img を直接の子として扱う。
   これでアスペクト比を指定した親に対して img の height:100% が効く。
   picture 自体に角丸や影を付けたい箇所だけ、個別に display:block で戻している */
picture { display: contents; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }

/* display を持つクラスが付いた要素でも hidden を優先させる */
[hidden] { display: none !important; }

::selection { background: var(--lime-pale); color: var(--green); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 画面には出さないがスクリーンリーダーには読ませたいテキスト */
.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. レイアウト共通
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 880px; }

.section { padding-block: 120px; }
.section--tight { padding-block: 88px; }
.section--cream { background: var(--cream); }
.section--mist { background: var(--sky-mist); }
.section--lime { background: var(--lime-pale); }

/* 和紙のような下地。構成参考サイトの背景の質感に相当する */
.washi {
  position: relative;
  background-color: var(--washi);
  background-image: radial-gradient(rgba(26, 91, 68, .04) 1px, transparent 1px);
  background-size: 15px 15px;
  overflow: hidden;
}
.washi > .container { position: relative; z-index: 1; }

/* 背景に置く山と木のシルエット（安曇野＝北アルプスのモチーフ） */
.deco-mount {
  position: absolute;
  top: 0;
  z-index: 0;
  width: min(340px, 26vw);
  aspect-ratio: 300 / 116;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 116'%3E%3Cpath d='M0 116 L58 18 L98 66 L138 26 L196 116Z' fill='%23cfe7dd'/%3E%3Cpath d='M150 116 L212 34 L268 116Z' fill='%23dcece4'/%3E%3Cg fill='%238cc63e' opacity='.5'%3E%3Cpolygon points='222,72 228,84 216,84'/%3E%3Cpolygon points='236,80 242,92 230,92'/%3E%3Cpolygon points='210,86 216,98 204,98'/%3E%3Cpolygon points='230,94 236,106 224,106'/%3E%3C/g%3E%3C/svg%3E") no-repeat top center / contain;
}
.deco-mount--left { left: 0; }
.deco-mount--right { right: 0; transform: scaleX(-1); }

/* セクション見出し */
.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.sec-label::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sky);
}
.sec-head--center .sec-label { justify-content: center; }

.sec-title {
  margin-top: 14px;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.45;
}

.sec-lead {
  margin-top: 22px;
  max-width: 44em;
  color: var(--ink-soft);
  font-size: 16px;
}
.sec-head--center .sec-lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 26px 17px 32px;
  border-radius: 999px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  flex: none;
  transition: transform .28s var(--ease);
}
.btn__arrow svg { width: 13px; height: 13px; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--sky { background: var(--sky); }
.btn--lime { background: var(--lime-deep); }
.btn--grad { background: var(--grad-btn); }
.btn--line { background: var(--line-green); }

.btn--ghost {
  color: var(--green);
  background: var(--white);
  border: 2px solid var(--line);
}
.btn--ghost .btn__arrow { background: var(--lime-pale); color: var(--lime-deep); }

.btn--lg { padding: 21px 30px 21px 38px; font-size: 17px; }
.btn--sm { padding: 12px 18px 12px 22px; font-size: 14px; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* テキストリンク（矢印つき） */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-round);
  font-weight: 700;
  color: var(--green);
}
.link-arrow::after {
  content: "";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h9M8 4l4 4-4 4'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .28s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. ローダー
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }

.loader__inner { text-align: center; }

/* ロゴ配置エリア（ローダー） */
.loader__logo {
  width: min(240px, 58vw);
  margin-inline: auto;
  opacity: 0;
  animation: loader-logo .9s var(--ease) .1s forwards;
}

.loader__balls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.loader__balls span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--lime);
  animation: loader-bounce 1s infinite ease-in-out;
}
.loader__balls span:nth-child(2) { background: var(--sky); animation-delay: .14s; }
.loader__balls span:nth-child(3) { background: var(--sun); animation-delay: .28s; }

@keyframes loader-logo {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes loader-bounce {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50%      { transform: translateY(-11px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   6. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
  opacity: 1;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.header.is-stuck {
  height: 68px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(26, 91, 68, .08);
}
.header.is-stuck::before { opacity: 0; }

/* TOPページの最上部は左パネルがロゴとナビを担うので、ヘッダーは隠しておく */
body.is-home .header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease),
              background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
body.is-home .header.is-stuck { opacity: 1; visibility: visible; transform: none; }

.header__inner {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* ロゴ配置エリア（ヘッダー） */
.header__logo { flex: none; }
.header__logo img {
  width: auto;
  height: 54px;
  transition: height .35s var(--ease);
}
.header.is-stuck .header__logo img { height: 42px; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 26px; }
.gnav__link {
  position: relative;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 15px;
  color: var(--green);
  white-space: nowrap;
}
.gnav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.header__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--line-green);
  color: #fff;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .25s var(--ease);
}
.header__line:hover { transform: translateY(-2px); }
.header__line svg { width: 18px; height: 18px; flex: none; }

/* ハンバーガー */
.burger {
  display: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 50%; width: 21px; height: 2.5px;
  margin-left: -10.5px;
  border-radius: 2px;
  background: var(--green);
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
.burger span:nth-child(3) { top: 31px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. ドロワーメニュー（SP / タブレット）
   -------------------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--grad-soft);
  padding: calc(var(--header-h) + 24px) 24px 140px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer__list {
  max-width: 520px;
  margin-inline: auto;
  border-top: 1px solid rgba(26, 91, 68, .12);
}
.drawer__item { border-bottom: 1px solid rgba(26, 91, 68, .12); }
.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 6px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 19px;
  color: var(--green);
}
.drawer__link small {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.drawer__link[aria-current="page"] { color: var(--sky-deep); }

.drawer__actions {
  max-width: 520px;
  margin: 34px auto 0;
  display: grid;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   8. サイド固定CTA（PC）／下部固定CTA（SP）
   -------------------------------------------------------------------------- */
/* 右サイドの固定レール（構成参考サイトの お問い合わせ／MENU／予約 に相当） */
.rail {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 96;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
  transition: opacity .45s var(--ease), visibility .45s var(--ease), transform .45s var(--ease);
}
.rail.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(16px, -50%);
}
.rail__btn {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  width: 70px;
  padding: 15px 8px 13px;
  border-radius: 16px 0 0 16px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
  box-shadow: -3px 4px 16px rgba(26, 91, 68, .18);
  transition: padding-right .28s var(--ease);
}
.rail__btn:hover { padding-right: 15px; }
.rail__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.rail__icon svg { width: 17px; height: 17px; }

.rail__btn--contact { background: var(--green); color: #fff; }
.rail__btn--menu { background: #fff; color: var(--green); }
.rail__btn--menu .rail__icon { background: var(--lime-pale); }
.rail__btn--line { background: var(--line-green); color: #fff; }

.side-cta {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 90;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
}
.side-cta__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
  padding: 20px 13px;
  border-radius: 14px 0 0 14px;
  color: #fff;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  box-shadow: -3px 3px 14px rgba(26, 91, 68, .16);
  transition: padding-right .28s var(--ease);
}
.side-cta__btn:hover { padding-right: 20px; }
.side-cta__btn svg { width: 19px; height: 19px; }
.side-cta__btn--line { background: var(--line-green); }
.side-cta__btn--contact { background: var(--sky); }

.sp-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 -3px 18px rgba(26, 91, 68, .1);
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sp-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 15px;
}
.sp-cta__btn svg { width: 18px; height: 18px; flex: none; }
.sp-cta__btn--line { background: var(--line-green); }
.sp-cta__btn--contact { background: var(--sky); }

/* --------------------------------------------------------------------------
   9. 波形の区切り
   -------------------------------------------------------------------------- */
.wave {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 74px);
  fill: currentColor;
}
.wave--flip { transform: rotate(180deg); }

.c-white { color: var(--white); }
.c-cream { color: var(--cream); }
.c-mist { color: var(--sky-mist); }
.c-lime-pale { color: var(--lime-pale); }

/* --------------------------------------------------------------------------
   10. 下層ページの共通ヘッダー
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding-top: var(--header-h);
  color: #fff;
  isolation: isolate;
}
.page-head__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.page-head__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, rgba(18, 128, 159, .82) 0%, rgba(42, 138, 114, .74) 50%, rgba(79, 134, 21, .78) 100%);
}
.page-head__inner {
  padding-block: clamp(56px, 8vw, 96px) clamp(70px, 9vw, 110px);
  text-align: center;
}
.page-head__label {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .95;
}
.page-head__title {
  margin-top: 10px;
  font-size: clamp(30px, 5.4vw, 48px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 18px rgba(20, 70, 55, .22);
}
.page-head__lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(20, 70, 55, .3);
}
.page-head__wave { position: absolute; left: 0; right: 0; bottom: -1px; }

/* パンくず */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumb a:hover { color: var(--sky-deep); }

/* --------------------------------------------------------------------------
   11. 共通CTAブロック（各ページ末尾）
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--grad-cta);
  color: #fff;
  padding-block: clamp(72px, 9vw, 110px);
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -110px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta__label {
  font-family: var(--ff-en);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 14px;
  text-transform: uppercase;
}
.cta__title {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 900;
}
.cta__lead {
  margin: 20px auto 0;
  max-width: 40em;
  font-size: 15.5px;
}
.cta__actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 258px;
  justify-content: center;
  padding: 19px 28px;
  border-radius: 999px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 16px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 8px 22px rgba(20, 70, 55, .16);
  transition: transform .28s var(--ease);
}
.cta__btn:hover { transform: translateY(-3px); }
.cta__btn svg { width: 21px; height: 21px; flex: none; }
.cta__btn--line { background: var(--line-green); color: #fff; }

/* --------------------------------------------------------------------------
   12. フッター（写真を敷いた上にブランドカラーを重ねる）
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 1;
  padding-block: clamp(96px, 12vw, 150px) 40px;
  color: #fff;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  /* 上端を波形に切り抜く。背面の色に依存しないようマスクで抜いている */
  --footer-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 74' preserveAspectRatio='none'%3E%3Cpath d='M0,34 C180,72 360,2 540,26 C720,50 900,74 1080,50 C1260,26 1350,12 1440,22 L1440,74 L0,74 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask: var(--footer-wave) top center / 100% 58px no-repeat,
                linear-gradient(#000, #000) bottom center / 100% calc(100% - 57px) no-repeat;
          mask: var(--footer-wave) top center / 100% 58px no-repeat,
                linear-gradient(#000, #000) bottom center / 100% calc(100% - 57px) no-repeat;
}
.footer__media { position: absolute; inset: 0; z-index: -2; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; }
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(170deg, rgba(18, 128, 159, .92) 0%, rgba(42, 138, 114, .9) 52%, rgba(79, 134, 21, .92) 100%);
}

.footer__inner { position: relative; }

/* ロゴ配置エリア：フッター */
.footer__logo { display: inline-block; }
.footer__logo img {
  width: 210px;
  height: auto;
  /* 濃い背景に載せるため白へ起こす */
  filter: brightness(0) invert(1);
}

.footer__sns {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.footer__sns a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.footer__sns a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .3); }
.footer__sns svg { width: 20px; height: 20px; }

.footer__addr {
  margin-top: 26px;
  font-size: 13.5px;
  line-height: 2.1;
}

.footer__btns {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 232px;
  padding: 15px 16px 15px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .7);
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  transition: background-color .28s var(--ease), transform .28s var(--ease);
}
.footer__btn:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.footer__btn span {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.footer__btn svg { width: 12px; height: 12px; }

.footer__nav {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13.5px;
}
.footer__nav a { opacity: .92; }
.footer__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.footer__copy {
  margin-top: 34px;
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .85;
}

/* ページトップへ戻る */
.to-top {
  position: fixed;
  right: 20px; bottom: 24px;
  z-index: 85;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   13. スクロールアニメーション
   -------------------------------------------------------------------------- */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-anim].is-shown { opacity: 1; transform: none; }
[data-anim][data-anim-delay="1"] { transition-delay: .1s; }
[data-anim][data-anim-delay="2"] { transition-delay: .2s; }
[data-anim][data-anim-delay="3"] { transition-delay: .3s; }
[data-anim][data-anim-delay="4"] { transition-delay: .4s; }
[data-anim][data-anim-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-anim] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   14. 汎用パーツ
   -------------------------------------------------------------------------- */
/* 見出しに添える手書き風の丸バッジ */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  background: var(--lime-pale);
  color: var(--lime-deep);
}
.badge--sky { background: var(--sky-pale); color: var(--sky-deep); }
.badge--sun { background: #fff3d6; color: #b3801a; }

/* 注記 */
.note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.note--list li { padding-left: 1.2em; position: relative; }
.note--list li::before {
  content: "※";
  position: absolute;
  left: 0;
}
.note--center { text-align: center; }
.note--box {
  display: grid;
  gap: 12px;
  padding: 30px 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
}

/* タグ列（目的・特徴など） */
.tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tags li {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

/* アコーディオン（TOP・FAQ・料金ページで共通利用） */
.accordion {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion + .accordion { margin-top: 14px; }

.accordion h3 { margin: 0; }

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 60px 22px 22px;
  position: relative;
  text-align: left;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--green);
  transition: background-color .25s var(--ease);
}
.accordion__btn:hover { background: var(--sky-mist); }

.accordion__q {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--lime-pale);
  color: var(--lime-deep);
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 700;
}

.accordion__icon {
  position: absolute;
  right: 22px; top: 26px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky-pale);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 2px;
  margin: -1px 0 0 -5px;
  border-radius: 1px;
  background: var(--sky-deep);
  transition: transform .3s var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s var(--ease);
}
.accordion__inner {
  padding: 0 22px 24px 66px;
  font-size: 15px;
  color: var(--ink-soft);
}
.accordion__inner p + p { margin-top: 12px; }

/* 長文の折りたたみ（スマートフォンのみ。JSが .clamp を付与する） */
.clamp { position: relative; }
.clamp.is-clamped { max-height: 15em; overflow: hidden; }
.clamp.is-clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--clamp-bg, #fff) 88%);
  pointer-events: none;
}
.clamp__btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 14px;
  color: var(--sky-deep);
}
.clamp__btn::after {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sky-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231ba2c6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: transform .28s var(--ease);
}
.clamp__btn[aria-expanded="true"]::after { transform: rotate(180deg); }

/* 写真の角丸ラッパー */
.figure {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky-pale);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   15. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1160px) {
  .gnav__list { gap: 18px; }
  .gnav__link { font-size: 14px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .gnav, .header__line { display: none; }
  .burger { display: block; margin-left: auto; }
  .side-cta, .rail { display: none; }
  /* タブレット以下ではヘッダーを常に出す（左パネルを畳むため） */
  body.is-home .header { opacity: 1; visibility: visible; transform: none; }
  .sp-cta { display: grid; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 88px; }
  .section { padding-block: 88px; }
  .section--tight { padding-block: 68px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.85; }
  .container { padding-inline: 20px; }
  .section { padding-block: 68px; }
  .section--tight { padding-block: 52px; }
  .sec-head { margin-bottom: 36px; }
  .sec-lead { font-size: 15px; }
  .btn { width: 100%; justify-content: center; padding: 16px 22px; }
  .btn--sm { width: auto; }
  .footer { padding-top: 56px; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .footer__bottom { margin-top: 40px; }
  .cta__btn { min-width: 0; width: 100%; }
  .cta__actions { flex-direction: column; }
  .accordion__btn { padding: 18px 50px 18px 18px; font-size: 15.5px; gap: 11px; }
  .accordion__q { width: 26px; height: 26px; font-size: 13px; }
  .accordion__icon { right: 18px; top: 22px; }
  .accordion__inner { padding: 0 18px 20px 55px; font-size: 14.5px; }
  .note--box { padding: 22px 20px; font-size: 14px; }
  .footer { padding-block: 76px 32px; }
  .footer__logo img { width: 170px; }
  .footer__addr { font-size: 13px; }
  .footer__btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .footer__btn { min-width: 0; width: 100%; }
  .footer__nav { gap: 8px 16px; font-size: 13px; }
  .deco-mount { width: min(200px, 40vw); }
  .page-head__lead { font-size: 14px; }
  .breadcrumb { padding-top: 14px; font-size: 12px; }
}
