@charset "UTF-8";
/* 基本設定・ブランドカラー */
:root {
  --forest:#16523f;
  --deep:#153e32;
  --ink:#283d34;
  --muted:#657369;
  --cream:#f7f6f0;
  --line:#dedfd3;
  --sage:#e9eee5;
  font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  color:var(--ink);
  background:#fff;
  font-synthesis:none
}

/* リセット */
* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}

body {
  margin:0;
  font-size:calc(15px * var(--text-scale, 1));
  line-height:1.9;
  letter-spacing:.035em
}

a {
  color:inherit;
  text-decoration:none
}

a:focus-visible,button:focus-visible {
  outline:3px solid #bc8c37;
  outline-offset:5px
}

button {
  font:inherit
}

img {
  max-width:100%;
  height:auto
}

/* 共通ヘッダー */
.site-header {
  background:#fff;
  border-top:5px solid var(--forest)
}

.header-inner {
  max-width:1240px;
  margin:auto;
  padding:25px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px
}

.logo {
  display:block;
  width:343px;
  max-width:70vw;
  line-height:0
}

.menu-toggle {
  display:none;
  width:45px;
  height:45px;
  background:#f2f5ef;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--forest);
  align-items:center;
  justify-content:center
}

.menu-toggle svg {
  width:23px;
  height:23px;
  stroke:currentColor;
  stroke-width:1.5;
  fill:none
}

/* aria-expandedと、表示するアイコンを連動させる */
.menu-toggle .menu-icon-close,
.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display:none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display:block;
}

.header-mark {
  display:flex;
  align-items:center;
  gap:10px
}

.header-mark span {
  width:7px;
  height:7px;
  background:#c3d0b2;
  border-radius:50%
}

.header-mark span:nth-child(2) {
  background:#9cb49a
}

.header-mark span:nth-child(3) {
  background:#437b5b
}

.site-nav {
  border-top:1px solid #eceee7;
  border-bottom:1px solid #eceee7;
  background:#fff
}

.site-nav ul {
  max-width:1240px;
  margin:0 auto;
  padding:13px 40px;
  display:flex;
  flex-wrap:wrap;
  gap:3px 25px;
  list-style:none
}

.site-nav li {
  font-size: inherit;
  font-weight:600;
  line-height:2.8
}

.site-nav a {
  display:block;
  transition:color .2s
}

.site-nav a:hover {
  color:#308464;
  text-decoration:underline;
  text-underline-offset:5px
}

/* トップページ：メインエリア */
.hero {
  background:var(--cream);
  position:relative;
  overflow:hidden
}

.hero-inner {
  max-width:1240px;
  min-height:480px;
  margin:auto;
  padding:68px 40px 62px;
  position:relative;
  display:grid;
  grid-template-columns:1.5fr 1fr;
  align-items:center
}

.hero-copy {
  position:relative;
  z-index:1
}

.hero h1 {
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:calc(clamp(29px,3.7vw,45px) * var(--text-scale, 1));
  line-height:1.65;
  font-weight:500;
  letter-spacing:.055em;
  margin:0 0 24px;
  color:var(--forest)
}

.availability {
  display:block;
  white-space:pre-wrap;
  font-family:"Yu Gothic UI",Meiryo,sans-serif;
  font-size:calc(13px * var(--text-scale, 1));
  letter-spacing:.1em;
  margin-top:18px;
  color:#62705b;
  border-left:2px solid #b8c4a4;
  padding-left:13px;
  text-indent:-2em
}

.intro {
  font-size:calc(14px * var(--text-scale, 1));
  line-height:2.25;
  color:#526150
}

.hero-illustration {
  display:block;
  width:100%;
  height:auto;
  max-width:500px;
  justify-self:end;
  opacity:1
}

.section {
  max-width:1240px;
  margin:auto;
  padding:70px 40px
}

.section-heading {
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:26px
}

.section-heading:before {
  content:"";
  width:28px;
  height:1px;
  background:#8ea287
}

.section-heading h2 {
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:calc(27px * var(--text-scale, 1));
  font-weight:500;
  color:var(--forest);
  margin:0;
  letter-spacing:.09em
}

/* ご相談窓口 */
.phone-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}

.phone-card {
  position:relative;
  border:1px solid var(--line);
  border-radius:6px;
  padding:28px 25px 20px;
  background:#fff;
  box-shadow:0 8px 25px #344b3904
}

.phone-card>a {
  display:block;
  font-size:calc(clamp(21px,2.2vw,27px) * var(--text-scale, 1));
  font-weight:550;
  letter-spacing:.015em;
  line-height:1.5;
  margin:16px 0 22px;
  white-space:nowrap;
  border-bottom:1px solid #dce3d8;
  padding-bottom:20px
}

.phone-card>a:hover {
  text-decoration:underline;
  text-underline-offset:6px
}

.phone-card p {
  font-size:calc(12px * var(--text-scale, 1));
  line-height:2;
  color:#5e6b61;
  margin:0;
  overflow-wrap:anywhere
}

.phone-type {
  display:inline-block;
  font-size:calc(14px * var(--text-scale, 1));
  font-weight:600;
  margin-bottom:11px;
  line-height:1.6
}

.phone-icon {
  width:38px;
  height:38px;
  border:1px solid #b7c9b8;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--forest)
}

.phone-icon svg {
  width:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.3
}

/* 動画エリア */
.video-section {
  background:#f5f6f0;
  border-top:1px solid #edf0e7;
  border-bottom:1px solid #edf0e7
}

.video-inner {
  max-width:850px;
  margin:auto;
  padding:55px 40px;
  text-align:center
}

.video-frame {
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:linear-gradient(135deg,#d9e4d4,#eef0e2 55%,#e1e5cf);
  border-radius:7px;
  box-shadow:0 12px 40px #23482c0b
}

.video-frame:before,.video-frame:after {
  content:"";
  position:absolute;
  border:1px solid #b7cbb270;
  width:65%;
  height:150%;
  border-radius:50%;
  transform:rotate(35deg);
  left:-30%;
  top:0
}

.video-frame:after {
  left:auto;
  right:-30%;
  top:-70%
}

.video-frame button {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:1
}

.play {
  display:grid;
  place-items:center;
  width:80px;
  height:80px;
  border-radius:50%;
  background:var(--forest);
  box-shadow:0 0 0 12px #ffffff50
}

.play svg {
  height:26px;
  width:26px;
  fill:#fff;
  margin-left:5px
}

/* YouTube動画：サムネイルと再生ボタン */
.video-frame--youtube {
  background:#111;
}

.video-frame--youtube::before,
.video-frame--youtube::after {
  content:none;
}

.video-thumbnail {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.video-frame--youtube .play {
  width:68px;
  height:48px;
  border-radius:12px;
  background:#f00;
  box-shadow:none;
}

.video-frame--youtube .play svg {
  width:24px;
  height:24px;
  margin-left:3px;
}

.video-frame--youtube button:hover .play,
.video-frame--youtube button:focus-visible .play {
  background:#c00;
}

.video-frame iframe {
  position:absolute;
  inset:0;
  border:0;
  width:100%;
  height:100%;
  z-index:2
}

.video-caption {
  font-size:calc(12px * var(--text-scale, 1));
  color:#5b6e5d;
  margin:21px 0 0;
  line-height:2
}

.video-caption a {
  text-decoration:underline;
  text-underline-offset:4px
}

/* ご相談に関するご案内 */
.assurance {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:65px;
  align-items:start
}

.assurance h2 {
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  color:var(--forest);
  font-size:calc(27px * var(--text-scale, 1));
  font-weight:500;
  margin:0 0 24px
}

.rule {
  list-style:none;
  margin:0;
  padding:0;
  font-size:calc(13px * var(--text-scale, 1))
}

.rule li {
  padding:12px 0;
  border-bottom:1px solid #e7eae1;
  line-height:1.9
}

.request {
  padding:27px 30px;
  background:var(--cream);
  border-radius:5px;
  margin-top:5px
}

.request>p {
  font-size:calc(13px * var(--text-scale, 1));
  margin:0 0 15px;
  font-weight:600;
  line-height:2
}

.request .rule {
  font-size:calc(12px * var(--text-scale, 1))
}

.request .rule li:last-child {
  border:0
}

/* 事務局へのお問い合わせ */
.contact-section {
  border-top:1px solid #e9ece3;
  background:#fafaf7
}

.contact-inner {
  max-width:1160px;
  margin:auto;
  padding:42px 0;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:30px;
  align-items:center
}

.contact-heading {
  font-family:"Yu Mincho",serif;
  font-size:calc(23px * var(--text-scale, 1));
  color:var(--forest);
  margin:0
}

.contact-copy {
  font-size:calc(13px * var(--text-scale, 1));
  line-height:2.1
}

.office-phone a {
  display:inline-block;
  padding:5px 0;
  font-size:calc(16px * var(--text-scale, 1));
  font-weight:550;
  color:var(--forest)
}

/* スポンサー */
.sponsors {
  max-width:1240px;
  margin:auto;
  padding:40px
}

.sponsors ul {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  list-style:none;
  margin:0;
  padding:0
}

.sponsors li {
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid #edf0e7;
  height:112px;
  padding:10px 18px;
  font-size:calc(11px * var(--text-scale, 1));
  color:#667267;
  text-align:center
}

.sponsors img {
  max-height:90px;
  width:auto;
  max-width:130px;
  object-fit:contain
}

.sponsors a:hover {
  color:var(--forest);
  text-decoration:underline;
  text-underline-offset:4px
}

/* 共通フッター */
.site-footer {
  background:var(--deep);
  color:#d7e1d7
}

.footer-inner {
  max-width:1240px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:24px 40px
}

.site-footer p {
  font-size:calc(10px * var(--text-scale, 1));
  letter-spacing:.1em;
  margin:0
}

.back-top {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid #ffffff40;
  border-radius:50%;
  font-size:calc(18px * var(--text-scale, 1))
}

.back-top:hover {
  background:#ffffff10
}

/* タブレット向け調整 */
@media(max-width:1050px) {
  .phone-grid {
    gap:13px
  }

  .phone-card {
    padding:25px 18px 18px
  }

  .phone-card>a {
    font-size:calc(23px * var(--text-scale, 1))
  }

  .contact-inner {
    padding:38px 40px
  }

  .hero-inner {
    grid-template-columns:1.7fr 1fr
  }

  .assurance {
    gap:35px
  }

  .site-nav ul {
    gap:1px 20px
  }

}

/* スマートフォン向け調整 */
@media(max-width:760px) {
  html {
    scroll-padding-top:calc(var(--mobile-header-height, 104px) + 16px);
  }

  /* 通常の配置を保ちながら、スクロール時は画面上部に固定 */
  .site-header {
    position:sticky;
    top:0;
    z-index:1000;
  }

  body {
    font-size:calc(14px * var(--text-scale, 1))
  }

  .header-inner {
    padding:20px 22px
  }

  .logo {
    width:290px;
    max-width:75vw
  }

  .header-mark {
    display:none
  }

  .menu-toggle {
    display:flex;
    flex-shrink:0
  }

  .site-nav {
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    max-height:calc(100vh - var(--mobile-header-height, 104px));
    max-height:calc(100dvh - var(--mobile-header-height, 104px));
    overflow-y:auto;
    overscroll-behavior:contain;
    box-shadow:0 12px 24px #153e3214;
  }

  .site-nav.open {
    display:block
  }

  .site-nav ul {
    padding:8px 24px 20px;
    display:block
  }

  .site-nav li {
    font-size: inherit;
    border-bottom:1px solid #edf0e7;
    line-height:1.8
  }

  .site-nav a {
    padding:13px 0
  }

  .hero-inner {
    display:block;
    padding:46px 25px 40px;
    min-height:0
  }

  .hero h1 {
    font-size:calc(clamp(25px,5.8vw,37px) * var(--text-scale, 1));
    max-width:100%;
    margin-bottom:22px;
    letter-spacing:.025em
  }

  .availability {
    font-size:calc(12px * var(--text-scale, 1));
    margin-top:17px
  }

  .intro {
    font-size:calc(13px * var(--text-scale, 1));
    line-height:2.15;
    position:relative;
    z-index:1
  }

  /* スマホは文章の下にイラスト全体を中央配置 */
  .hero-illustration {
    width:100%;
    max-width:360px;
    margin:26px auto 0;
  }

  .section {
    padding:43px 24px
  }

  .section-heading {
    margin-bottom:22px
  }

  .section-heading h2 {
    font-size:calc(25px * var(--text-scale, 1))
  }

  .phone-grid {
    grid-template-columns:minmax(0,1fr);
    max-width:520px;
    margin-inline:auto;
    gap:17px
  }

  .phone-card {
    padding:24px 23px 16px
  }

  .phone-card>a {
    font-size:calc(clamp(19px,6.25vw,30px) * var(--text-scale, 1));
    text-align:center;
    padding-bottom:15px;
    margin:13px 0 17px
  }

  .phone-card p {
    font-size:calc(13px * var(--text-scale, 1));
    line-height:2
  }

  /* スマホでは電話マークを番号の上に中央配置 */
  .phone-icon {
    margin-inline:auto;
    width:32px;
    height:32px
  }

  .phone-type {
    font-size:calc(15px * var(--text-scale, 1))
  }

  .video-inner {
    padding:35px 24px
  }

  .play {
    width:60px;
    height:60px
  }

  .video-caption {
    font-size:calc(11px * var(--text-scale, 1));
    text-align:left
  }

  .assurance {
    grid-template-columns:1fr;
    gap:30px
  }

  .assurance h2 {
    font-size:calc(25px * var(--text-scale, 1));
    margin-bottom:15px
  }

  .rule {
    font-size:calc(13px * var(--text-scale, 1))
  }

  .request {
    padding:23px
  }

  .contact-inner {
    padding:32px 24px;
    grid-template-columns:1fr;
    gap:12px
  }

  .contact-heading {
    font-size:calc(21px * var(--text-scale, 1))
  }

  .contact-copy {
    font-size:calc(12px * var(--text-scale, 1))
  }

  .office-phone a {
    font-size:calc(14px * var(--text-scale, 1))
  }

  .sponsors {
    padding:20px 17px
  }

  .sponsors li {
    padding:8px 10px;
    font-size:calc(10px * var(--text-scale, 1))
  }

  .sponsors ul {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer-inner {
    padding:22px 24px
  }

  .site-footer p {
    font-size:calc(9px * var(--text-scale, 1))
  }

}

/* 動きを抑える設定への対応 */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  * {
    transition:none!important
  }

}

/* 印刷用設定 */
@media print {
  .site-header {
    position:static;
  }

  .menu-toggle,.header-mark,.video-section,.back-top {
    display:none
  }

  .site-nav {
    display:block;
    position:static;
    max-height:none;
    overflow:visible;
    box-shadow:none;
  }

  .hero-inner {
    min-height:0
  }

  .phone-grid {
    grid-template-columns:1fr 1fr 1fr
  }

  .phone-card:first-child {
    background:#fff;
    color:#153e32
  }

  .phone-card:first-child p {
    color:#153e32
  }

  body {
    font-size:calc(11px * var(--text-scale, 1))
  }

  .section {
    padding:20px
  }

}

/* ==================================================
   共通メニュー：本文の文字サイズを継承
   PCはbodyの15px、スマートフォンはbodyの16px
   ================================================== */
.site-nav a[aria-current="page"] {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* PCメニュー：下線を左から右へ伸ばす */
@media screen and (min-width: 761px) {
  .site-nav a {
    position: relative;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    text-decoration: none;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s ease-out;
    pointer-events: none;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after,
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-nav a[aria-current="page"]::after {
    animation: menu-underline-in .35s ease-out both;
  }
}

@keyframes menu-underline-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a::after,
  .site-nav a[aria-current="page"]::after {
    transition: none;
    animation: none;
  }
}

/* ==================================================
   PC用の文字サイズ切替
   中：既存サイズ、大：1.2倍、小：約0.87倍
   スマートフォンでは既存サイズを維持
   ================================================== */
html {
  --text-scale: 1;
}

html[data-text-size="large"] {
  --text-scale: 1.2;
}

html[data-text-size="small"] {
  --text-scale: 0.8666666667;
}

.text-size-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 7px;
}

.text-size-label {
  margin-right: 6px;
  color: #657369;
  font-size: 12px;
  white-space: nowrap;
}

.text-size-button {
  display: grid;
  place-items: center;
  width: 41px;
  height: 37px;
  padding: 0;
  border: 1px solid #d5dfcf;
  border-radius: 4px;
  background: #fff;
  color: var(--forest);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.text-size-button:hover {
  background: #eff3e8;
}

.text-size-button[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

@media (max-width: 760px) {
  html[data-text-size] {
    --text-scale: 1;
  }

  .text-size-controls {
    display: none;
  }
}


/* トップ：スポンサーの元バナーを縦横比を保って表示 */
.sponsors li {
  min-width: 0;
}

.sponsors li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sponsors img {
  display: block;
  max-width: min(100%, 200px);
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}


/* スマホの本文・補足説明は16px以上で表示 */
@media screen and (max-width: 760px) {
  body,
  .availability,
  .intro,
  .phone-card p,
  .phone-type,
  .video-caption,
  .rule,
  .request>p,
  .request .rule,
  .contact-copy,
  .sponsors li,
  .site-footer p,
  .office-phone a {
    font-size: calc(16px * var(--text-scale, 1));
  }
}


/* スマホのスポンサーは均等な2列・従来の80%の表示幅 */
@media (max-width: 760px) {
  .sponsors li {
    height: 70px;
  }

  .sponsors img {
    max-width: min(80%, 104px);
    width: auto;
    max-height: 49.6px;
  }
}
