@charset "UTF-8";
/* ==========================================================================
   玉川キッズ main.css
   デザインカンプ：PC 1280px 基準。1280px 以上は横幅いっぱいに広がります。
   ========================================================================== */

:root {
  --navy: #000a29;
  --ink: #191919;
  --gold: #a78411;
  --circle-text: #0d3760;
  --line: #dbd9d1;
  --gold-grad: linear-gradient(90deg, #865e2e 0%, #af962b 100%);
  --gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  /* 大理石の上の文字を読みやすくする白い影（ご入会をお考えの方へ） */
  --white-glow: 0 0 2px #fff, 0 0 5px #fff, 0 0 15px #fff,0 0 2px #fff, 0 0 5px #fff, 0 0 15px #fff,0 0 2px #fff, 0 0 5px #fff, 0 0 15px #fff,0 0 2px #fff, 0 0 5px #fff, 0 0 15px #fff;
  --header-h: 107px; /* 上の帯 7px ＋ ヘッダー 100px */
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--gothic);
  color: #000;
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 500;
}

h1, h2, h3, h4, p, ul, ol, figure, address {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

address {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  top: 8px;
}

.deco {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* ---------- 文字の太さ ----------
   本文の明朝（20px 以下）は細く見えるため body で 500。
   21px 以上の明朝見出しは 400 に戻す（太く見えすぎないように）。 */
.news__title,
.concept__circle,
.site-footer__name,
.site-footer__tel a,
.tk-point__title,
.tk-closing__heading,
.tk-closing__catch,
.tk-cta__tel a {
  font-weight: 400;
}

/* ---------- 共通ボタン（ゴールドグラデーション） ---------- */
.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  width: 382px;
  max-width: 100%;
  min-height: 61px;
  padding: 10px 14px;
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--gothic);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  transition: filter 0.25s;
}

.tk-btn__arrow {
  font-size: 13px;
}

.tk-btn:hover {
  filter: brightness(1.12);
}

.tk-btn--small {
  width: 222px;
  min-height: 50px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-top: 7px solid var(--navy);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 20px;
}

.site-logo {
  flex-shrink: 0;
  font-weight: 700;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #000;
}

.site-logo__sub {
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
}

.site-logo__main {
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.menu-toggle {
  display: none;
}

.gnav {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: stretch;
  align-self: stretch;
  margin-left: 24px;
}

.gnav__list {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: stretch;
  min-width: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: 17px;
  font-family: var(--gothic);
}

.gnav__list > li {
  position: relative;
  display: flex;
  align-items: center;
}

.gnav__list > li > a {
  position: relative;
  display: block;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}

.gnav__list > li > a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.gnav__list > li:hover > a::after,
.gnav__list > li:focus-within > a::after,
.gnav__list > li.current-menu-item > a::after,
.gnav__list > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.gnav .sub-menu {
  position: absolute;
  top: 72px;
  left: -6px;
  min-width: 205px;
  padding: 10px 20px 12px 12px;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.gnav__list > li:hover > .sub-menu,
.gnav__list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.gnav .sub-menu a {
  display: flex;
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0.05em;
  color: #050505;
  white-space: nowrap;
}

.gnav .sub-menu a::before {
  content: ">";
  flex: 0 0 24px;
  color: var(--gold);
}

.gnav .sub-menu a:hover {
  color: var(--gold);
}

.submenu-toggle {
  display: none;
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-self: flex-start;
  flex-shrink: 0;
  width: 203px;
  height: 61px;
  margin-top: 18px;
  background: var(--gold-grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: filter 0.25s;
}

.header-cta span {
  font-size: 13px;
}

.header-cta:hover {
  filter: brightness(1.12);
}

/* 1365px 以下：メニューとお問い合わせボタンが重ならないよう少し詰める */
@media (max-width: 1365px) {
  .gnav__list > li > a {
    padding: 0 8px;
    letter-spacing: 0.04em;
  }
  .gnav__list > li > a::after {
    left: 8px;
    right: 8px;
  }
}

@media (max-width: 1279px) {
  .gnav__list > li > a {
    padding: 0 8px;
    font-size: 13.5px;
  }
  .gnav__list > li > a::after {
    left: 8px;
    right: 8px;
  }
  .gnav__list {
    margin-right: 12px;
  }
  .header-cta {
    width: 160px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: max(560px, 51.02vw);
  max-height: 900px;
  overflow: hidden;
}

.hero__marble {
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: url(../images/marble.jpg) 20% 70% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 18%, #000 62%);
  mask-image: linear-gradient(to bottom, transparent 18%, #000 62%);
}

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 20.625%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, left center);
}

/* PC では改行しない（スマホのみ改行） */
.sp-br {
  display: none;
}

.hero__body {
  position: absolute;
  left: 4.69%;
  top: 26.2%;
  z-index: 1;
}

.hero__catch {
  font-size: clamp(56px, 5.625vw, 100px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: #000;
  text-shadow:
    0 0 10px #fff,
    0 0 22px #fff,
    0 0 40px rgba(255, 255, 255, 0.9);
}

.hero__lead {
  display: inline-block;
  padding: 0 1.4em;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: clamp(14px, 1.25vw, 22px);
  font-weight: 700;
  line-height: 2.44;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   最新情報
   ========================================================================== */
.news {
  display: grid;
  grid-template-columns: 34.69% 1fr;
}

.news__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--navy);
}

.news__title {
  color: #fff;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.news__body {
  padding: 11px 0.8% 13px 2.97%;
}

.news__empty {
  padding: 30px 17px;
  font-size: 16px;
}

.news-row + .news-row {
  border-top: 1px solid var(--line);
}

.news-row__link {
  display: grid;
  grid-template-columns: 135px 129px 1fr;
  align-items: center;
  padding: 18px 0 9px 17px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.news-row__date {
  color: var(--ink);
}

.news-row__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 8px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 10, 41, 0.1);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.news-row__title {
  padding-left: 29px;
}

.news-row__arrow {
  margin-left: 16px;
  color: var(--gold);
  transition: margin 0.2s;
}

.news-row__link:hover .news-row__title {
  color: var(--gold);
}

.news-row__link:hover .news-row__arrow {
  margin-left: 22px;
}

/* ==========================================================================
   コンセプト
   ========================================================================== */
.concept {
  padding: 114px 20px 0;
}

.concept__top {
  display: flex;
  justify-content: center;
}

.concept__heading {
  position: relative;
  isolation: isolate;
  width: 390px;
  padding-top: 41px;
}

.concept__deco {
  top: -41px;
  left: -89px;
  width: 489px;
  z-index: -1;
}

.concept__label {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.concept__title {
  margin-top: 15px;
  padding-left: 29px;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.76;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.concept__circles {
  position: relative;
  container-type: inline-size;
  width: 412px;
  aspect-ratio: 412 / 368;
}

.concept__circle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  aspect-ratio: 1;
  border: 1px solid #080808;
  border-radius: 50%;
  color: var(--circle-text);
  font-size: 6.55cqw;
  line-height: 1.74;
  letter-spacing: 0.08em;
  text-align: center;
}

.concept__circle--1 { left: 25%; top: 0; }
.concept__circle--2 { left: 0; top: 42.66%; }
.concept__circle--3 { left: 50%; top: 44.02%; }

.concept__text {
  margin-top: 31px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-align: center;
}

.concept__text p + p {
  margin-top: 1.75em;
}

.concept__buttons {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 29px;
}

/* ==========================================================================
   見出し（筆記体の装飾つき）
   ========================================================================== */
.section-heading {
  position: relative;
  isolation: isolate;
  text-align: center;
}

.section-heading__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.section-heading__deco {
  z-index: -1;
}

.section-heading__deco--service {
  top: -70px;
  left: calc(50% - 102px);
  width: 232px;
}

.section-heading__deco--enroll {
  top: -56px;
  left: calc(50% - 124px);
  width: 241px;
}

/* ==========================================================================
   サービス紹介
   ========================================================================== */
.service {
  padding-top: 132px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 2.23%;
  margin-top: 25px;
  padding: 0 1%;
}

.service-card a {
  position: relative;
  display: block;
  aspect-ratio: 399 / 263;
  overflow: hidden;
  color: #fff;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.service-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 76, 161, 0) 45%, rgba(31, 76, 161, 0.55) 72%, rgb(0 10 41) 100%);
}

.service-card a:hover img {
  transform: scale(1.05);
}

.service-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 45.6%;
  padding: 0 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 20, 70, 0.75);
}

.service-card__title {
  font-size: clamp(18px, 1.75vw, 30px);
}

.service-card__label--with-sub .service-card__title {
  font-size: clamp(20px, 2.03vw, 34px);
}

.service-card__sub {
  font-size: clamp(13px, 1.48vw, 24px);
}

/* ==========================================================================
   編入・帰国生・海外在住の方へ
   ========================================================================== */
.global {
  position: relative;
  margin-top: 99px;
}

.global__deco {
  top: -9px;
  left: 66.02%;
  z-index: 2;
  width: 32.81%;
}

.global__photo {
  width: 46.41%;
  margin-left: 7.34%;
  aspect-ratio: 594 / 397;
}

.global__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真の上端から 156px 下にカードを重ねる（写真の高さ = 幅 46.41% × 397/594） */
.global__card {
  position: relative;
  z-index: 1;
  width: 49.38%;
  margin: calc(156px - 31.02%) 0 0 44.06%;
  padding: 34px 17px 29px 41px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(0, 10, 41, 0.1);
}

.global__badge {
  display: inline-block;
  padding: 0 2.6em;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
}

.global__title {
  margin-top: 9px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.74;
  letter-spacing: 0.07em;
}

.global__text {
  margin-top: 3px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.global__button {
  margin-top: 10px;
  text-align: right;
}

/* 長いボタン文字（16px）が 2 行にならないよう、PC では幅を文字に合わせて広げる */
@media (min-width: 768px) {
  .global__button .tk-btn {
    width: auto;
    min-width: 382px;
    padding-left: 24px;
    padding-right: 24px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   ご入会をお考えの方へ
   ========================================================================== */
.enroll {
  margin-top: 80px;
  padding: 80px 20px;
  background: url(../images/marble.jpg) center / cover no-repeat;
}

.enroll .section-heading__title {
  text-shadow: var(--white-glow);
}

.enroll__text {
  margin-top: 26px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: var(--white-glow);
}

.enroll__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  max-width: 1172px;
  margin: 61px auto 0;
}

.enroll__cards > li {
  display: flex;
}

.enroll-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 10, 41, 0.08);
  color: #000;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.enroll-card:hover {
  box-shadow: 0 10px 28px rgba(0, 10, 41, 0.16);
  transform: translateY(-3px);
}

.enroll-card:hover .tk-btn {
  filter: brightness(1.12);
}

.enroll-card__icon {
  width: 80px;
  height: 80px;
}

.enroll-card__title {
  margin-top: 13px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.enroll-card .tk-btn {
  margin-top: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 64px 0 16px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.site-footer__name {
  font-size: 31px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.site-footer__address {
  margin-top: 2px;
  font-size: 17px;
  line-height: 30px;
  letter-spacing: 0.04em;
}

.site-footer__tel {
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.site-footer__tel a {
  font-size: 30px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 578fr 632fr;
  gap: 23px;
  max-width: 1240px; /* 内側 1200px ＋ 左右の余白 */
  margin: 22px auto 0;
  padding: 0 20px;
  text-align: left;
}

.sns-cards {
  display: grid;
  gap: 18px;
}

.sns-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 153px;
  padding: 16px 19px 16px 36px;
  background: #fff;
  color: #000;
}

a.sns-card:hover .sns-card__title {
  color: var(--gold);
}

.sns-card__text {
  flex: 1;
  min-width: 0;
}

.sns-card__title {
  display: block;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.sns-card__lead {
  display: block;
  margin-top: 8px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.sns-card__logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.sns-card__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 102px;
  height: 102px;
  background: #e0e0e0;
}

.sns-card__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.sns-card__qr-dummy {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}

.site-footer__map {
  position: relative;
  min-height: 495px;
  background: #e5e3df;
}

.site-footer__map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fsitemap {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 40px 56px;
  max-width: 1040px;
  margin: 96px auto 0;
  padding: 0 40px;
  text-align: left;
}

.fsitemap__heading {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(211, 175, 55, 0.5);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.fsitemap__list {
  display: grid;
  gap: 10px;
}

.fsitemap__heading + .fsitemap__list {
  margin-top: 16px;
}

.fsitemap__list a {
  display: inline-flex;
  gap: 0.8em;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

.fsitemap__list a::before {
  content: ">";
  flex-shrink: 0;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.95;
}

.fsitemap__col--main .fsitemap__list a {
  font-size: 16px;
  color: #fff;
}

.fsitemap a:hover,
.fsitemap__list a:hover {
  color: var(--gold);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1040px;
  margin: 72px auto 0;
  padding: 20px 40px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__links a {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__links a:hover {
  color: var(--gold);
}

.site-footer__copy {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__copy small {
  font-size: inherit;
}

/* ==========================================================================
   下層ページ
   ========================================================================== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 40px 20px;
  background: url(../images/marble.jpg) center / cover no-repeat;
}

.page-header__title {
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 40px;
  font-size: 13px;
  color: #555;
}

.breadcrumb li + li::before {
  content: ">";
  margin: 0 12px;
  color: var(--gold);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 1040px;
}

.site-main--sub {
  padding-bottom: 40px;
}

.site-main--sub .container {
  margin-top: 56px;
}

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.cat-filter a {
  display: inline-block;
  padding: 4px 20px;
  border: 1px solid var(--line);
  font-size: 16px;
  letter-spacing: 0.05em;
}

.cat-filter a[aria-current],
.cat-filter a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.news-list--archive {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-list--archive .news-row__link {
  padding: 18px 0 18px 10px;
}

.pagination {
  margin-top: 40px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 16px;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.empty-message {
  padding: 40px 0;
  text-align: center;
}

.entry__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}

.entry__title {
  margin-top: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.entry__thumb {
  margin-top: 32px;
}

.entry__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.entry__nav-next {
  text-align: right;
}

.entry__nav a:hover {
  color: var(--gold);
}

.entry__nav-list {
  padding: 8px 28px;
  background: var(--gold-grad);
  color: #fff !important;
}

/* 本文（ブロックエディタ） */
.entry-content {
  margin-top: 32px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}

.entry-content > * + * {
  margin-top: 1.5em;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--gothic);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.entry-content h2,
.tk-section__title {
  position: relative;
  margin-top: 2.4em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--gothic);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.entry-content h2::after,
.tk-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: var(--gold-grad);
}

.entry-content h3 {
  margin-top: 2em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--gold);
  font-size: 20px;
}

.entry-content h4 {
  margin-top: 1.8em;
  font-size: 17px;
  color: var(--circle-text);
}

.entry-content ul {
  padding-left: 1.4em;
  list-style: disc;
}

.entry-content ol {
  padding-left: 1.6em;
  list-style: decimal;
}

.entry-content a {
  color: var(--gold);
  text-decoration: underline;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: #f5f4f0;
  font-weight: 400;
}

.entry-content .tk-btn {
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
   Responsive：ヘッダー（1179px 以下はハンバーガーメニュー）
   ========================================================================== */
@media (max-width: 1179px) {
  :root {
    --header-h: 74px;
  }

  .site-header__inner {
    height: 67px;
    padding: 0 0 0 16px;
  }

  .site-logo a {
    gap: 10px;
  }

  .site-logo__sub {
    font-size: 11px;
    line-height: 15px;
  }

  .site-logo__main {
    font-size: 24px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 67px;
    height: 67px;
    margin-left: auto;
    border: 0;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle__bar,
  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s, background 0.25s;
  }

  .menu-toggle__bar {
    position: relative;
    margin-top: 6px;
  }

  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle__bar::before { top: -8px; }
  .menu-toggle__bar::after { top: 8px; }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bar {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-toggle__label {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.1em;
    font-family: var(--gothic);
  }

  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 12px 24px 48px;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
  }

  .admin-bar .gnav {
    top: calc(var(--header-h) + 46px);
  }

  .is-menu-open .gnav {
    visibility: visible;
    opacity: 1;
  }

  .is-menu-open {
    overflow: hidden;
  }

  .gnav__list {
    flex-direction: column;
    margin: 0;
  }

  .gnav__list > li {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
  }

  .gnav__list > li > a {
    flex: 1;
    padding: 12px 4px;
    font-size: 16px;
  }

  .gnav__list > li > a::after {
    display: none;
  }

  .submenu-toggle {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .submenu-toggle::before,
  .submenu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    margin-left: -7px;
    background: var(--gold);
    transition: transform 0.25s;
  }

  .submenu-toggle::after {
    transform: rotate(90deg);
  }

  .submenu-toggle[aria-expanded="true"]::after {
    transform: rotate(0);
  }

  .gnav .sub-menu {
    position: static;
    flex-basis: 100%;
    display: none;
    min-width: 0;
    padding: 0 0 14px 8px;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  .gnav .sub-menu.is-open {
    display: block;
  }

  .gnav .sub-menu a {
    padding: 10px 0;
    font-size: 15px;
    white-space: normal;
  }

  .header-cta {
    width: 100%;
    height: 60px;
    margin-top: 28px;
    align-self: stretch;
  }
}

/* ==========================================================================
   Responsive：タブレット
   ========================================================================== */
@media (max-width: 1023px) {
  .fsitemap {
    grid-template-columns: 1fr 1fr;
  }

  .fsitemap__col--main {
    grid-column: 1 / -1;
  }

  .fsitemap__col--main .fsitemap__list {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 10px 32px;
  }

  .news-row__link {
    grid-template-columns: 120px 100px 1fr;
  }

  .news-row__title {
    padding-left: 20px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  .concept {
    padding-top: 80px;
  }

  .concept__top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .concept__heading {
    width: auto;
  }

  .concept__buttons {
    flex-direction: column;
    align-items: center;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
  }

  .service-card__title {
    font-size: 18px;
  }

  .service-card__label--with-sub .service-card__title {
    font-size: 20px;
  }

  .service-card__sub {
    font-size: 13px;
  }

  .global {
    display: block;
    padding: 0 20px;
  }

  .global__deco {
    top: -40px;
    left: auto;
    right: 0;
    width: 300px;
  }

  .global__photo {
    width: 88%;
    margin-left: 0;
  }

  .global__card {
    width: 92%;
    margin: -48px 0 0 auto;
    padding: 28px 24px;
  }

  .global__button .tk-btn {
    width: 100%;
  }

  .enroll__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ==========================================================================
   Responsive：スマートフォン
   ========================================================================== */
@media (max-width: 767px) {
  .hero {
    height: auto;
    max-height: none;
    aspect-ratio: auto;
  }

  .hero__marble {
    display: none;
  }

  .hero__photo {
    position: relative;
    left: auto;
    height: 350px;
  }

  .hero__slide img {
    object-position: var(--pos-sp, 72% center);
  }

  .sp-br {
    display: inline;
  }

  .hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.55) 100%);
  }

  .hero__body {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 20px;
  }

  .hero__catch {
    font-size: clamp(30px, 8.8vw, 40px);
    line-height: 1.55;
  }

  .hero__lead {
    margin-top: 6px;
    padding: 6px 1.2em;
    border-radius: 20px;
    font-size: 12.5px;
    line-height: 1.6;
  }

  .news {
    grid-template-columns: 1fr;
  }

  .news__head {
    min-height: 76px;
  }

  .news__title {
    font-size: 24px;
  }

  .news__body {
    padding: 4px 16px 8px;
  }

  /* お知らせとコンセプトの間の罫線 */
  .news::after {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    margin: 8px 16px 0;
    background: #e3e3e3;
  }

  .news-row__link,
  .news-list--archive .news-row__link {
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    padding: 16px 0;
  }

  .news-row__cat {
    justify-self: start;
    min-height: 26px;
    padding: 0 14px;
    font-size: 12px;
  }

  .news-row__title {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  .concept {
    padding: 72px 16px 0;
  }

  .concept__heading {
    padding-top: 30px;
  }

  .concept__deco {
    top: -10px;
    left: -30px;
    width: 300px;
  }

  .concept__label {
    font-size: 16px;
  }

  .concept__title {
    margin-top: 8px;
    padding-left: 0;
    font-size: clamp(30px, 9vw, 40px);
  }

  .concept__circles {
    width: min(340px, 100%);
  }

  .concept__text {
    margin-top: 36px;
    font-size: 14.5px;
    text-align: left;
  }

  .concept__text br,
  .global__text br,
  .enroll__text br {
    display: none;
  }

  .concept__buttons {
    margin-top: 32px;
  }

  .concept__buttons .tk-btn {
    width: 100%;
  }

  .section-heading__title {
    font-size: 28px;
  }

  .section-heading__deco--service {
    top: -48px;
    left: calc(50% - 76px);
    width: 160px;
  }

  .section-heading__deco--enroll {
    top: -40px;
    left: calc(50% - 86px);
    width: 170px;
  }

  .service {
    padding-top: 96px;
  }

  .global {
    margin-top: 80px;
    padding: 0 16px;
  }

  .global__deco {
    top: -36px;
    width: 230px;
  }

  .global__photo {
    width: 92%;
  }

  .global__card {
    width: 94%;
    margin-top: -36px;
    padding: 24px 20px;
  }

  .global__badge {
    padding: 0 1.4em;
    font-size: 13px;
  }

  .global__title {
    font-size: 20px;
  }

  .global__text {
    font-size: 14.5px;
  }

  .global__button .tk-btn {
    font-size: 13.5px;
    letter-spacing: 0.02em;
  }

  .enroll {
    margin-top: 72px;
    padding: 96px 16px 96px;
  }

  .enroll__text {
    font-size: 14.5px;
    text-align: left;
  }

  .enroll__cards {
    margin-top: 40px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .site-footer__name {
    font-size: 24px;
  }

  .site-footer__address {
    font-size: 16px;
    line-height: 1.8;
  }

  .site-footer__tel {
    margin-top: 16px;
    font-size: 16px;
  }

  .site-footer__tel a {
    font-size: 26px;
  }

  .site-footer__grid {
    margin-top: 28px;
    padding: 0 16px;
  }

  .sns-card {
    gap: 10px;
    min-height: 0;
    padding: 18px 16px;
  }

  .sns-card__title {
    font-size: 16px;
  }

  .sns-card__lead {
    font-size: 12px;
  }

  .sns-card__logo {
    width: 52px;
    height: 52px;
  }

  /* スマホでは同じ画面の QR は読み取れないため非表示（カード全体がリンク） */
  .sns-card__qr {
    display: none;
  }

  .sns-card {
    gap: 14px;
  }

  .sns-card__logo {
    order: -1;
  }

  .sns-card__qr-dummy {
    font-size: 10px;
  }

  .site-footer__map {
    min-height: 300px;
  }

  .fsitemap {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 56px;
    padding: 0 20px;
  }

  .fsitemap__col--main .fsitemap__list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .fsitemap__col--main .fsitemap__list a,
  .fsitemap__list a {
    font-size: 13.5px;
  }

  .site-footer__bottom {
    flex-direction: column;
    margin-top: 48px;
    padding: 20px 20px 4px;
  }

  .site-footer__copy {
    font-size: 12px;
  }

  .page-header {
    min-height: 160px;
  }

  .breadcrumb ol,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-main--sub .container {
    margin-top: 36px;
  }

  .entry__nav {
    grid-template-columns: 1fr 1fr;
  }

  .entry__nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

/* スマホでもサービスは常に横 2 列 */
@media (max-width: 540px) {
  .service-grid,
  .service-grid--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-grid {
    padding: 0 12px;
  }

  .service-card__label {
    height: 56%;
    padding: 0 6px;
    letter-spacing: 0.02em;
  }

  .service-card__title,
  .service-card__label--with-sub .service-card__title,
  .service-grid--compact .service-card__title,
  .service-grid--compact .service-card__label--with-sub .service-card__title {
    font-size: 16px;
  }

  .service-card__sub,
  .service-grid--compact .service-card__sub {
    font-size: 10.5px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   玉川キッズについて（カスタム投稿）
   ========================================================================== */
.local-nav {
  max-width: 1040px;
  margin: 24px auto 0;
  padding: 0 40px;
}

.local-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.local-nav__list a {
  display: flex;
  align-items: center;
  gap: 0.8em;
  min-height: 52px;
  padding: 8px 28px 8px 20px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.local-nav__list a::before {
  content: ">";
  color: var(--gold);
  font-size: 13px;
}

.local-nav__list a:hover {
  border-color: var(--navy);
  color: var(--gold);
}

.local-nav__list a[aria-current="page"] {
  border-color: transparent;
  background: var(--gold-grad);
  color: #fff;
}

.local-nav__list a[aria-current="page"]::before {
  color: #fff;
}

.local-nav + .container {
  margin-top: 40px !important;
}

.entry__thumb--wide {
  margin-top: 0;
  margin-bottom: 8px;
}

.entry__thumb--wide img {
  width: 100%;
}

@media (max-width: 767px) {
  .local-nav {
    padding: 0 16px;
  }

  .local-nav__list {
    gap: 8px;
  }

  .local-nav__list li {
    flex: 1 1 calc(50% - 4px);
  }

  .local-nav__list a {
    gap: 0.5em;
    min-height: 48px;
    padding: 8px 10px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }
}

/* ==========================================================================
   サービス一覧（カスタム投稿）
   ========================================================================== */
.service-archive {
  margin-top: 48px;
}

.service-archive__lead {
  max-width: 1040px;
  margin: 0 auto 40px;
  padding: 0 40px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  text-align: center;
}

.service-archive .service-grid {
  margin-top: 0;
}

.service-cta {
  margin-top: 72px;
  padding: 40px 32px;
  background: #f7f6f2;
  text-align: center;
}

.service-cta__text {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.service-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 24px;
}

.tk-btn--outline {
  background: #fff;
  border: 1px solid var(--navy);
  color: var(--navy);
}

.tk-btn--outline:hover {
  filter: none;
  background: var(--navy);
  color: #fff;
}

@media (max-width: 767px) {
  .service-archive {
    margin-top: 32px;
  }

  .service-archive__lead {
    margin-bottom: 28px;
    padding: 0 16px;
    font-size: 14.5px;
    text-align: left;
  }

  .service-cta {
    margin-top: 48px;
    padding: 28px 16px;
  }

  .service-cta__text {
    font-size: 16px;
  }

  .service-cta__buttons .tk-btn {
    width: 100%;
  }
}


/* ==========================================================================
   本文セクション（見出し＋本文）
   ACF リピーター／ブロックパターン「玉川キッズ」共通
   ========================================================================== */
.tk-sections {
  margin-top: 56px;
}

.entry-content + .tk-sections {
  margin-top: 72px;
}

.tk-section + .tk-section,
.entry-content > .tk-section + .tk-section {
  margin-top: 72px;
}

.tk-section > .tk-section__title,
.entry-content > .tk-section > .tk-section__title {
  margin-top: 0;
}

.tk-section__inner {
  margin-top: 24px;
}

.tk-section__body {
  margin-top: 0;
}

.tk-section__image {
  margin: 0;
}

.tk-section__image img {
  display: block;
  width: 100%;
  height: auto;
}

.tk-section--image-right .tk-section__inner,
.tk-section--image-left .tk-section__inner {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 40px;
  align-items: start;
}

.tk-section--image-left .tk-section__inner {
  grid-template-columns: 40% 1fr;
}

.tk-section--image-left .tk-section__image {
  order: -1;
}

.tk-section--image-top .tk-section__inner,
.tk-section--image-bottom .tk-section__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tk-section--image-top .tk-section__image {
  order: -1;
}

/* ブロックパターン内 */
.entry-content .tk-section > * + * {
  margin-top: 24px;
}

.entry-content .tk-media-text {
  gap: 40px;
}

.entry-content .tk-media-text .wp-block-media-text__content {
  padding: 0;
}

.entry-content .tk-media-text .wp-block-media-text__content > * + * {
  margin-top: 1.5em;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-media-text__media img {
  height: auto;
}

/* サービス詳細のアイキャッチはカードと同じ比率 */
.entry__thumb--card img {
  aspect-ratio: 399 / 263;
  object-fit: cover;
}

@media (max-width: 767px) {
  .entry-content h2,
  .tk-section__title {
    font-size: 21px;
  }

  .tk-sections,
  .entry-content + .tk-sections {
    margin-top: 48px;
  }

  .tk-section + .tk-section,
  .entry-content > .tk-section + .tk-section {
    margin-top: 52px;
  }

  .tk-section--image-right .tk-section__inner,
  .tk-section--image-left .tk-section__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .entry-content .tk-media-text {
    gap: 24px;
  }

  .entry-content .tk-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    padding: 0;
  }
}

/* ==========================================================================
   下層ページ本文（ACF「下層ページ本文」）
   ========================================================================== */
.tk-section__title--center {
  text-align: center;
}

.tk-section__title--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* リード */
.tk-lead {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.tk-lead__label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--circle-text);
}

.tk-lead__label::before,
.tk-lead__label::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.tk-lead__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.tk-lead__label + .tk-lead__title {
  margin-top: 16px;
}

.tk-lead__body {
  max-width: 720px;
  margin: 36px auto 0;
  line-height: 1.75;
  text-align: left;
}

.tk-lead__body > * + * {
  margin-top: 1.4em;
}

/* ポイント（「三つの力」など） */
.tk-points {
  margin-top: 96px;
}

.tk-points__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tk-points__list--2 { grid-template-columns: repeat(2, 1fr); }
.tk-points__list--4 { grid-template-columns: repeat(2, 1fr); }
.tk-points__list--1 { grid-template-columns: minmax(0, 480px); justify-content: center; }

.tk-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px 32px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 10, 41, 0.08);
}

.tk-point__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  aspect-ratio: 1;
  border: 1px solid #080808;
  border-radius: 50%;
  color: var(--circle-text);
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
}

.tk-point__body {
  margin-top: 24px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.9;
}

.tk-point__body p + p {
  margin-top: 1em;
}

/* セクション群の余白（リード・ポイントの後） */
.tk-lead + .tk-sections,
.tk-points + .tk-sections {
  margin-top: 96px;
}

/* 関連サービス */
.tk-related {
  margin-top: 96px;
}

.tk-related__lead {
  margin-top: 20px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.service-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding: 0;
}

.service-grid--compact .service-card__title,
.service-grid--compact .service-card__label--with-sub .service-card__title {
  font-size: 19px;
}

.service-grid--compact .service-card__sub {
  font-size: 13px;
}

/* 締めのメッセージ */
.tk-closing {
  margin-top: 96px;
  padding: 72px 40px;
/*  background: url(../images/marble.jpg) center / cover no-repeat; */
  text-align: center;
}

.tk-closing__heading {
  font-size: 26px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--circle-text);
}

.tk-closing__body {
  margin-top: 16px;
}

.tk-closing__catch {
  margin-top: 36px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.tk-closing__note {
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: 0.08em;
}

/* 相談・お問い合わせ */
.tk-cta {
  margin-top: 96px;
  padding: 56px 40px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.tk-cta__badge {
  display: inline-block;
  padding: 4px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.1em;
}

.tk-cta__title {
  margin-top: 20px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.tk-cta__body {
  max-width: 680px;
  margin: 20px auto 0;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.tk-cta__body p + p {
  margin-top: 0.8em;
}

.tk-cta__actions {
  margin-top: 32px;
}

.tk-cta__tel {
  margin-top: 20px;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.tk-cta__tel a {
  margin-left: 4px;
  font-size: 24px;
}

@media (max-width: 900px) {
  .service-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .tk-points__list,
  .tk-points__list--2,
  .tk-points__list--4 {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .tk-lead {
    text-align: left;
  }

  .tk-lead__label {
    font-size: 16px;
  }

  .tk-lead__title,
  .tk-closing__catch {
    font-size: clamp(20px, 6.2vw, 26px);
    letter-spacing: 0.04em;
  }

  .tk-lead__body {
    margin-top: 24px;
    line-height: 1.75;
  }

  .tk-points,
  .tk-related,
  .tk-closing,
  .tk-cta,
  .tk-lead + .tk-sections,
  .tk-points + .tk-sections {
    margin-top: 64px;
  }

  .tk-points__list {
    margin-top: 32px;
  }

  .tk-point {
    padding: 28px 20px 24px;
  }

  .tk-point__title {
    width: 124px;
    font-size: 19px;
  }

  .tk-closing {
    padding: 48px 20px;
    text-align: left;
  }

  .tk-cta {
    padding: 40px 20px;
  }

  .tk-cta__body {
    text-align: left;
  }

  .tk-cta .tk-btn {
    width: 100%;
  }
}


@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

/* ==========================================================================
   よくある質問（templates/page-faq.php）
   ========================================================================== */
.faq__lead {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

.faq__index ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.faq__lead + .faq__index {
  margin-top: 32px;
}

.faq__index a {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 8px 22px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.faq__index a::before {
  content: "↓";
  color: var(--gold);
  font-size: 12px;
}

.faq__index a:hover {
  border-color: var(--navy);
  color: var(--gold);
}

.faq__category {
  margin-top: 72px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.faq__lead + .faq__category,
.faq > .faq__category:first-child {
  margin-top: 48px;
}

.faq__category > .tk-section__title {
  margin-top: 0;
}

.faq__list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

/* 質問（クリックで開閉） */
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 15px;
  background: #efede4;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:hover {
  background: #e7e4d8;
}

.faq-item__mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.faq-item__mark--a {
  background: var(--gold-grad);
}

.faq-item__q-text {
  flex: 1;
  padding: 6px 0;
}

/* ＋ / − */
.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  background: var(--navy);
  transition: transform 0.25s;
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: rotate(0);
}

/* 回答：Q マークと左端をそろえる */
.faq-item__a {
  display: flex;
  gap: 16px;
  padding: 22px 15px 26px;
  border-bottom: 1px solid var(--line);
}

.faq-item__a-text {
  flex: 1;
  margin-top: 0;
  padding-top: 5px;
  line-height: 1.9;
}

.faq-item__a-text > :first-child {
  margin-top: 0;
}

.faq-item__a-text > * + * {
  margin-top: 1em;
}

.faq .tk-lead:first-child,
.faq .tk-cta,
.faq .tk-sections {
  margin-top: 72px;
}

@media (max-width: 767px) {
  .faq__lead {
    text-align: left;
    font-size: 14.5px;
  }

  .faq__lead br {
    display: none;
  }

  .faq__index ul {
    justify-content: flex-start;
    gap: 8px;
  }

  .faq__index a {
    padding: 6px 14px;
    font-size: 13.5px;
  }

  .faq__category {
    margin-top: 52px;
  }

  .faq-item__q {
    gap: 12px;
    padding: 10px 12px;
    font-size: 16px;
  }

  .faq-item__mark {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .faq-item__a {
    gap: 12px;
    padding: 18px 12px 22px;
  }

  .faq-item__a-text {
    padding-top: 3px;
  }
}

/* ==========================================================================
   お問い合わせ（page-contact.php ＋ Contact Form 7）
   ========================================================================== */
.pc-br {
  display: inline;
}

.contact__intro {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

.contact-ways {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 36px auto 0;
}

.contact-way {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: #f7f6f2;
  text-align: center;
}

.contact-way__label {
  font-size: 16px;
  letter-spacing: 0.06em;
}

.contact-way__tel {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.contact-way__note {
  margin-top: 4px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 13px;
  color: #555;
}

.contact-way__line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 24px 8px 10px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: filter 0.2s;
}

.contact-way__line img {
  border-radius: 50%;
  background: #fff;
}

.contact-way__line:hover {
  filter: brightness(1.08);
}

.contact__form {
  margin-top: 72px;
}

.contact__form .tk-section__title {
  margin-top: 0;
}

.contact__form-body {
  margin-top: 8px;
}

/* ---------- Contact Form 7 共通 ---------- */
.wpcf7 {
  font-family: var(--gothic);
  font-weight: 400;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d6d3c8;
  border-radius: 0;
  background: #faf9f6;
  color: #000;
  font-family: var(--gothic);
  font-size: 16px; /* 16px 未満だと iPhone で拡大されるため */
  line-height: 1.6;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7 textarea {
  min-height: 220px;
  resize: vertical;
}

.wpcf7 select {
  padding-right: 44px;
  background: #faf9f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000a29' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
  cursor: pointer;
}

.wpcf7 ::placeholder {
  color: #a8a59b;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--navy);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(167, 132, 17, 0.18);
}

/* ラジオ・チェックボックス */
.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  padding-top: 8px;
}

.wpcf7 .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}

/* エラー表示 */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #c0392b;
  background-color: #fff6f5;
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #c0392b;
  font-size: 13px;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: block;
  width: 320px;
  max-width: 100%;
  min-height: 64px;
  margin: 0 auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--gothic);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: filter 0.25s, opacity 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7 input[type="submit"]:hover {
  filter: brightness(1.12);
}

.wpcf7 input[type="submit"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
}

.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* 送信結果メッセージ */
.wpcf7 form .wpcf7-response-output {
  margin: 32px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e7d32;
  background: #f1f8f1;
  color: #1e5e22;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #c0392b;
  background: #fff6f5;
  color: #a5281b;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #d68910;
  background: #fff9ef;
  color: #8a5a08;
}

/* CF7 初期フォーム（<label> 項目名 [入力欄] </label>）にも対応 */
.wpcf7 form > p {
  margin-top: 24px;
}

.wpcf7 form > p > label {
  display: block;
  font-family: var(--gothic);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.wpcf7 form > p > label .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

/* ---------- テーマ用レイアウト（docs/contact-form7.txt） ---------- */
.tk-form {
  border-top: 1px solid var(--line);
}

.tk-form__row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.tk-form__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-self: start;
  min-height: 52px;
  font-family: var(--gothic);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.tk-form__req,
.tk-form__opt {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--gothic);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.tk-form__req {
  background: var(--gold-grad);
  color: #fff;
}

.tk-form__opt {
  background: #efede4;
  color: #6b675c;
}

.tk-form__field--short {
  max-width: 320px;
}

.tk-form__agree {
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.tk-form__agree a {
  color: var(--gold);
  text-decoration: underline;
}

.tk-form__agree .wpcf7-acceptance {
  display: block;
  margin-top: 16px;
}

.tk-form__agree .wpcf7-list-item label {
  font-size: 16px;
  font-weight: 500;
}

.tk-form__submit {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .pc-br {
    display: none;
  }

  .contact__intro {
    font-size: 14.5px;
    text-align: left;
  }

  .contact-ways {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .contact-way {
    padding: 20px 16px;
  }

  .contact-way__tel {
    font-size: 28px;
  }

  .contact__form {
    margin-top: 56px;
  }

  .tk-form__row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .tk-form__label {
    min-height: 0;
    font-size: 16px;
  }

  .tk-form__field--short {
    max-width: none;
  }

  .wpcf7 .wpcf7-radio,
  .wpcf7 .wpcf7-checkbox {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 0;
  }

  .tk-form__agree {
    text-align: left;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

/* ---------- お問い合わせ：保護者の方／講師応募の方 の切り替え ---------- */
.contact-tabs {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.contact-tabs__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.contact-tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--gothic);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.contact-tabs__tab:hover {
  border-color: var(--navy);
}

.contact-tabs__tab[aria-selected="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.contact-tabs__label {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.contact-tabs__note {
  font-family: var(--gothic);
  font-size: 12.5px;
  font-weight: 400;
  opacity: 0.8;
}

.contact-tabs__panel[hidden] {
  display: none;
}

/* ---------- 講師募集など：見出し横のラベル ---------- */
.tk-badge {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 10px;
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--gothic);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

/* ---------- ポイント：長いタイトル（1行6文字以上） ---------- */
.tk-point__title--long {
  width: 168px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .contact-tabs__list {
    gap: 8px;
    margin-bottom: 24px;
  }

  .contact-tabs__tab {
    padding: 14px 8px;
  }

  .contact-tabs__label {
    font-size: 16px;
  }

  .contact-tabs__note {
    display: none;
  }

  .tk-point__title--long {
    width: 148px;
    font-size: 16px;
  }
}

/* 曜日チェック＋時間帯のように、1 行に 2 つの入力欄がある項目 */
.tk-form__sub {
  margin-top: 12px;
}

.tk-form__field .wpcf7-checkbox:has(input[name="work-days[]"]) {
  grid-template-columns: repeat(7, auto);
  justify-content: start;
  gap: 8px 20px;
}

@media (max-width: 767px) {
  .tk-form__field .wpcf7-checkbox:has(input[name="work-days[]"]) {
    grid-template-columns: repeat(4, auto);
  }
}

/* 相談ボックス内のリンク（例：公式LINE） */
.tk-cta__body a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tk-cta__body a:hover {
  color: var(--gold);
}

/* 本文中の表（プライバシーポリシー・勤務条件など）：見出し列の幅をそろえる */
.tk-section__body table th {
  width: 30%;
  white-space: normal;
}

@media (max-width: 767px) {
  .tk-section__body table th,
  .tk-section__body table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* 本文がないページの「準備中」表示 */
.tk-preparing {
  margin: 24px 0 0;
  padding: 56px 20px;
  background: #f7f6f2;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ブロックエディタの文字揃え（お知らせの署名など） */
.entry-content .has-text-align-right {
  text-align: right;
}

.entry-content .has-text-align-center {
  text-align: center;
}


/* ==========================================================================
   h2 見出し：ゴールド 3px の線（本文の横幅いっぱい）
   下層ページ・お知らせ記事の見出しのみ。トップページの見出しと、
   リードのキャッチ・相談ボックスの見出しは対象外。
   ========================================================================== */
.tk-section__title,
.entry-content h2,
.entry__title {
  display: block;
  width: auto;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
}

/* 以前の飾り（グレーの細線＋短いゴールドの線）は使わない */
.tk-section__title::after,
.entry-content h2::after,
.tk-section__title--center::after {
  content: none;
}

/* 下線の対象外（キャッチ・相談ボックス） */
.tk-lead__title,
.tk-cta__title {
  border-bottom: 0;
  padding-bottom: 0;
}


/* ==========================================================================
   下層ページ本文：ブロックごとの背景色（白 → 薄いベージュ を自動で繰り返す）
   背景は画面の横幅いっぱい、文章は本文の幅のまま。
   ========================================================================== */
:root {
  --band-white: #fff;
  --band-beige: #f6f1e6;
}

.tk-band {
  --band-bg: var(--band-white);
  margin-top: 0 !important;
  padding: 72px 0;
  background: var(--band-bg);
  box-shadow: 0 0 0 100vmax var(--band-bg);
  clip-path: inset(0 -100vmax);
}

.tk-band--beige {
  --band-bg: var(--band-beige);
}

.tk-sections--bands {
  margin-top: 0 !important;
}

/* リード：本文の幅いっぱいに使う（写真をコンテンツ幅で置くため） */
.tk-lead.tk-band {
  max-width: none;
  padding-top: 40px;
}

.tk-lead__image {
  margin: 32px 0 0;
}

.tk-lead__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

.tk-lead__image + .tk-lead__body {
  margin-top: 32px;
}

/* 締めのメッセージ・相談ボックスは帯の中に置く */
.tk-closing.tk-band {
  padding: 72px 0;
}

.tk-cta-band .tk-cta {
  margin-top: 0;
}

/* 帯が最後まで続くページは、フッターとの間の白い余白をなくす */
.site-main--sub:has(.tk-band) {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .tk-band,
  .tk-closing.tk-band {
    padding: 52px 0;
  }

  .tk-lead.tk-band {
    padding-top: 28px;
  }

  .tk-lead__image {
    margin-top: 24px;
  }

  .tk-lead__image + .tk-lead__body {
    margin-top: 24px;
  }
}

