/*
Theme Name: Turtlass
Author: Masaya Sasaki
Version: 1.0.0
Text Domain: Turtlass
*/


/* ---- Base ---- */
:root{
  --container: 1100px;
  --pad: 16px;
  --green: rgb(34, 183, 86);
  --bg: #f6f7f8;
  --text: #111;
  --muted: #666;
  --card: #fff;
  --line: rgba(0,0,0,.08);
  --radius: 14px;
  --tl-text: #111;
  --tl-muted: #555;
}

*{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body{
  color: var(--tl-text);
  font-weight: 400;
  line-height: 1.8;
}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  background:var(--bg);
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
}

/* ---- Header ---- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--green);
  color:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.site-header__inner{
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
}
.site-logo{ display:flex; align-items:center; gap:10px; font-weight:700; }
.site-logo img{ height:34px; width:auto; }
.menu-toggle{
  display:none;
  appearance:none;
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#fff;
  border-radius:10px;
  padding:8px 10px;
  font-weight:600;
}
.global-nav ul{
  list-style:none;
  display:flex;
  gap:18px;
  padding:0;
  margin:0;
  align-items:center;
}
.global-nav a{ color:#fff; font-weight:600; font-size:14px; }

/* Mobile nav */
@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .global-nav{ position:absolute; left:0; right:0; top:56px; background:var(--green); display:none; }
  .global-nav.is-open{ display:block; }
  .global-nav ul{ flex-direction:column; align-items:flex-start; padding:12px var(--pad); }
}

/* ---- Sections ---- */
.section{
  padding:42px 0;
}
.section__title{
  font-size:22px;
  margin:0 0 18px;
  text-align:center;
}
.section__title::after{
  content:"";
  display:block;
  width:44px;
  height:3px;
  background:var(--green);
  margin:10px auto 0;
  border-radius:99px;
}

/* ---- Hero ---- */
.hero{
  min-height: 56vh;
  display:grid;
  place-items:end start;
  background-size:cover;
  background-position:center;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient( to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55% );
}
.hero__inner{
  position:relative;
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding: 0 0 30px;
}
.hero__catch{
  margin:0;
  color:#fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight:800;
  letter-spacing:.02em;
}

/* ---- Cards (About) ---- */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.card__thumb{ aspect-ratio: 4/3; background:#ddd; }
.card__body{ padding:14px; }
.card__title{ margin:0 0 6px; font-size:16px; }
.card__text{ margin:0; color:var(--muted); font-size:13px; }

@media (max-width: 860px){
  .card-grid{ grid-template-columns:1fr; }
}

/* ---- Tabs (Term lesson) ---- */
.tabs{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tabs__buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:12px;
  background: rgba(0,0,0,.02);
  border-bottom:1px solid var(--line);
}
.tabs__btn{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}
.tabs__btn[aria-selected="true"]{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}
.tabs__pane{
  padding:14px;
  display:grid;
  gap:12px;
}
.tabs__img img{ border-radius: 12px; }
.tabs__content{ font-size:14px; }

/* ---- Gallery (lightweight horizontal) ---- */
.gallery-rail{
  display:flex;
  gap:12px;
  overflow:auto;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
}
.gallery-rail::-webkit-scrollbar{ height:10px; }
.gallery-item{
  flex: 0 0 min(240px, 70vw);
  scroll-snap-align:start;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.gallery-item img{ width:100%; height:160px; object-fit:cover; }

/* ---- CTA ---- */
.cta{
  margin: 36px 0 0;
  background:#111;
  color:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  position:relative;
}
.cta__bg{
  position:absolute; inset:0;
  opacity:.35;
  background-size:cover;
  background-position:center;
}
.cta__inner{
  position:relative;
  padding: 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.cta__title{ margin:0; font-size:18px; font-weight:800; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.15);
}
.btn:hover{ text-decoration:none; opacity:.9; }

/* ---- Footer ---- */
.site-footer{
  margin-top:48px;
  background:#222;
  color:#ddd;
}
.site-footer__inner{
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding:28px 0;
}
.footer-nav ul{
  list-style:none;
  padding:0;
  margin:0 0 14px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.footer-nav a{ color:#ddd; font-size:13px; }

/* ---- Hero Slider ---- */
.hero-slider{
  min-height: 56vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-slide{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1400ms ease;
}

.hero-slide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%);
}

.hero-slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.hero-slide .hero__inner{
  position: relative;
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding: 0 0 30px;
}

/* 動きが苦手な人用 */
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition:none; }
}

/* ---- Page Hero ---- */
.page-hero{
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  place-items: end start;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.10) 60%);
}
.page-hero__inner{
  position: relative;
  width:min(var(--container), 100% - (var(--pad)*2));
  margin-inline:auto;
  padding: 0 0 24px;
}
.page-hero__title{
  margin:0;
  color:#fff;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: .02em;
}

/* ---- Page Layout (Main + Aside) ---- */
.page-layout{
  display:grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items:start;
}
.page-main .content-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
@media (max-width: 920px){
  .page-layout{ grid-template-columns: 1fr; }
}

/* ---- Entry (本文の最低限の整形) ---- */
.entry > *:first-child{ margin-top:0; }
.entry h2{ margin: 28px 0 10px; font-size: 20px; }
.entry h3{ margin: 22px 0 8px; font-size: 17px; }
.entry p{ margin: 0 0 14px; }
.entry ul, .entry ol{ padding-left: 1.2em; }
.entry img{ border-radius: 12px; }

/* ---- Sidebar cards ---- */
.side-links{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.side-card{
  display:block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.side-card__img img{
  width:100%;
  height:82px;
  object-fit:cover;
}
.side-card__title{
  display:block;
  padding: 12px 12px;
  font-weight: 900;
  font-size: 13px;
}

/* ---- Program page ---- */
.program-page .content-card{ padding:18px; }

.program-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}

.program-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.program-box{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  position: relative;
  overflow:hidden;
}
.program-box::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  background:#999;
}
.program-box--blue::before{ background:#2b6cb0; }
.program-box--green::before{ background:#2f855a; }
.program-box--orange::before{ background:#dd6b20; }
.program-box--red::before{ background:#c53030; }

.program-box__head{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}
.program-box__img{
  width: 220px;
  flex: 0 0 220px;
}
.program-box__img img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (max-width: 760px){
  .program-box__head{ flex-direction:column; }
  .program-box__img{ width:100%; flex: 0 0 auto; }
  .program-box__img img{ height:180px; }
}

.program-box__name{
  margin:0 0 2px;
  font-size: 18px;
  font-weight: 900;
}
.program-box__label{
  margin:0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.program-meta{
  margin:0;
  padding-left: 1.1em;
  color:#333;
  font-size: 13px;
}
.program-box__body{
  margin: 10px 0 10px;
  color:#222;
  font-size: 14px;
}

.program-points{
  margin:0;
  padding-left: 1.1em;
  font-size: 13px;
  color:#222;
}
.program-points li{ margin: 4px 0; }

.venue-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 760px){
  .venue-grid{ grid-template-columns: 1fr; }
}
.venue-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.venue-card__name{
  margin:0 0 6px;
  font-size: 15px;
  font-weight: 900;
}
.venue-card__addr{ margin:0 0 6px; color:#333; font-size: 13px; }
.venue-card__note{ margin:0; color:var(--muted); font-size: 12px; }

.program-note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* ---- Utilities ---- */
.glass{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.section-h{
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 900;
}
.section-h.center{ text-align:center; }
.center{ text-align:center; }

/* Lead box */
.lead-box{ padding:14px 16px; margin: 0 0 16px; }
.lead-box__kicker{ margin:0 0 6px; font-weight:900; color:#333; }
.lead-box__title{ margin:0; font-weight:900; font-size:16px; }

/* Hero panel (TASS page) */
.hero-panel{
  margin-top: 12px;
  max-width: 760px;
  padding: 14px 16px;
}

/* Photo grid (concept) */
.photo-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.photo-grid img{ width:100%; height:140px; object-fit:cover; border-radius: 12px; }
@media (max-width:760px){
  .photo-grid{ grid-template-columns: repeat(2,1fr); }
  .photo-grid img{ height:160px; }
}

/* Buttons */
.btn-row{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 10px;
}
.btn-outline{
  background: transparent;
  color:#111;
  border: 2px solid var(--green);
}

/* Feature blocks (freetrial) */
.center-box{ padding: 8px 0 6px; }
.feature{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:center;
  margin-top: 10px;
}
.feature--reverse .feature__img{ order: 2; }
.feature__img{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow:hidden;
}
.feature__body{ font-size: 14px; color:#222; }
@media (max-width:760px){
  .feature{ grid-template-columns:1fr; }
  .feature--reverse .feature__img{ order: 0; }
}

/* Contact */
.contact-list{ margin: 10px 0 0; padding-left: 1.2em; }

/* Coach list */
.coach-list{ display:flex; flex-direction:column; gap: 14px; margin-top: 16px; }
.coach-card{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
}
.coach-card__img img{ width:100%; height:160px; object-fit:cover; border-radius: 12px; }
.coach-card__name{ margin:0 0 6px; font-size: 16px; font-weight: 900; }
.coach-card__sub{ margin:0 0 10px; color: var(--muted); font-size: 12px; }
.coach-card__text{ font-size: 13px; }
@media (max-width:760px){
  .coach-card{ grid-template-columns:1fr; }
  .coach-card__img img{ height:220px; }
}

/* ===== Turtlass: Page Content Components ===== */
.tl-glass{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  backdrop-filter: blur(6px);
}

.tl-lead{
  padding: 16px 18px;
  margin: 0 0 18px;
}
.tl-lead__kicker{
  margin: 0 0 6px;
  font-weight: 900;
}
.tl-lead__title{
  margin: 0;
  font-weight: 900;
  font-size: 16px;
}

.tl-section{
  margin: 26px 0 0;
}
.tl-h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}
.tl-h2--center{ text-align:center; }
.tl-under{
  width: 42px;
  height: 3px;
  background: var(--green, rgb(34, 183, 86));
  border-radius: 99px;
  margin: 10px auto 0;
}
.tl-muted{ color: var(--muted, #666); }

.tl-figure{ margin: 14px 0 0; }
.tl-figure img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line, #e6e6e6);
}

.tl-photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.tl-photo-grid img{
  width:100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width: 760px){
  .tl-photo-grid{ grid-template-columns: repeat(2, 1fr); }
  .tl-photo-grid img{ height: 170px; }
}

.tl-media{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items:start;
  margin-top: 14px;
}
.tl-media img{
  width:100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width: 760px){
  .tl-media{ grid-template-columns: 1fr; }
  .tl-media img{ height: 240px; }
}

.tl-btnrow{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 14px;
}
.tl-btn{
  display:inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 900;
  text-decoration:none;
  background: var(--green, rgb(34, 183, 86));
  color:#fff;
  border: 2px solid var(--green, rgb(34, 183, 86));
}
.tl-btn--outline{
  background: transparent;
  color:#111;
}

/* Program cards */
.tl-program{
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin-top: 12px;
}
.tl-program-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
  position:relative;
  padding: 14px;
}
.tl-program-card::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width: 6px;
  background: var(--green, rgb(34, 183, 86));
}
.tl-program-card--blue::before{ background:#2b6cb0; }
.tl-program-card--green::before{ background: var(--green, rgb(34, 183, 86)); }
.tl-program-card--orange::before{ background:#dd6b20; }
.tl-program-card--red::before{ background:#c53030; }

.tl-program-head{
  display:flex;
  gap: 14px;
  justify-content:space-between;
  align-items:flex-start;
}
.tl-program-img{
  width: 220px; flex: 0 0 220px;
}
.tl-program-img img{
  width:100%; height:140px;
  object-fit:cover;
  border-radius: 12px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width: 760px){
  .tl-program-head{ flex-direction:column; }
  .tl-program-img{ width: 100%; flex: 0 0 auto; }
  .tl-program-img img{ height: 190px; }
}
.tl-program-name{ margin:0 0 4px; font-weight:900; font-size: 18px; }
.tl-program-meta{ margin:0; padding-left: 1.1em; font-size: 13px; }
.tl-program-points{ margin: 10px 0 0; padding-left: 1.1em; font-size: 13px; }
.tl-venue{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 760px){ .tl-venue{ grid-template-columns: 1fr; } }
.tl-venue-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 14px;
}
.tl-venue-card h3{ margin:0 0 6px; font-size: 15px; font-weight:900; }
.tl-venue-card p{ margin:0 0 6px; font-size: 13px; }
.tl-venue-card p:last-child{ margin:0; }

/* Coach blocks */
/* Legacy markup support (image directly under .tl-coach-head) */
.tl-coach-head img{
  width:100%; height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line, #e6e6e6);
}
@media (max-width:760px){
  .tl-coach-head img{ height: 240px; }
}

/* ===== TOP: Hero slider ===== */
.tl-hero{
  position: relative;
  height: min(72vh, 560px);
  overflow: hidden;
  background:#000;
}
.tl-hero__slide{
  position:absolute; inset:0;
  opacity:0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1400ms ease;
  background-size: cover;
  background-position: center;
}
.tl-hero__slide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.10) 60%);
}
.tl-hero__slide.is-active{ opacity:1; transform: scale(1); }

.tl-hero__inner{
  position:relative;
  width:min(var(--container, 1080px), 100% - 32px);
  margin-inline:auto;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding-bottom: 28px;
}
.tl-hero__catch{
  margin:0;
  color:#fff;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: .02em;
}

.tl-hero__dots{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 12px;
  display:flex;
  gap:8px;
  z-index: 2;
}
.tl-hero__dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
  border: 0;
  cursor:pointer;
}
.tl-hero__dot.is-active{
  background: rgba(255,255,255,.95);
}

/* ===== TOP: Sections ===== */
.tl-section-wrap{
  padding: 48px 0;
}
.tl-title{
  text-align:center;
  font-weight: 900;
  margin: 0;
  font-size: 18px;
}
.tl-title + .tl-under{ margin-top: 10px; }

/* ===== TOP: Term lesson tabs ===== */
.tl-tabs{
  margin-top: 18px;
}
.tl-tab-buttons{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
}
.tl-tab-btn{
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line, #e6e6e6);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
}
.tl-tab-btn.is-active{
  border-color: var(--green, rgb(34, 183, 86));
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tl-tab-panels{ margin-top: 14px; }
.tl-tab-panel{ display:none; }
.tl-tab-panel.is-active{ display:block; }

.tl-term-box{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px;
}
.tl-term-box h3{ margin: 0 0 10px; font-weight:900; }
.tl-term-box p{ margin: 0 0 10px; }
.tl-term-classes h4{ margin: 18px 0 8px; font-weight:900; }
.tl-term-classes ul{ margin:0; padding-left: 1.1em; font-size: 13px; }

/* ===== TOP: About cards ===== */
.tl-card3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .tl-card3{ grid-template-columns: 1fr; }
}
.tl-card{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--line, #e6e6e6);
  background:#000;
  min-height: 210px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-decoration:none;
}
.tl-card__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  opacity:.92;
  transform: scale(1.02);
}
.tl-card::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.15) 60%);
  z-index:1;
}
.tl-card__body{
  position:relative;
  z-index:2;
  padding: 18px;
  color:#fff;
}
.tl-card__title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
}
.tl-card__desc{
  margin:0;
  font-size: 12px;
  opacity: .9;
}

/* ===== TOP: Gallery slider (scroll-snap) ===== */
.tl-gallery{
  margin-top: 18px;
}
.tl-gallery__viewport{
  overflow:auto;
  scroll-snap-type: x mandatory;
  display:flex;
  gap: 12px;
  padding: 6px 2px 12px;
}
.tl-gallery__item{
  flex: 0 0 78%;
  max-width: 520px;
  scroll-snap-align: center;
  border-radius: var(--radius, 16px);
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background:#fff;
}
@media (min-width: 900px){
  .tl-gallery__item{ flex-basis: 32%; }
}
.tl-gallery__item img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}
.tl-gallery__nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  margin-top: 8px;
}
.tl-gallery__btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line, #e6e6e6);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
}

/* ===== TOP: CTA band ===== */
.tl-cta{
  position: relative;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
  min-height: 220px;
}
.tl-cta__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  filter: saturate(1.05);
}
.tl-cta::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
}
.tl-cta__inner{
  position:relative;
  padding: 22px;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height: 220px;
}
.tl-cta__title{ margin:0; font-size: 26px; font-weight: 900; }
.tl-cta__text{ margin:0; opacity:.92; }

/* ===== TOP: Term cards (period) ===== */
.tl-term-card__period{
  margin: 6px 0 0;
  font-weight: 900;
  color:#111;
  font-size: 14px;
}

/* ===== TOP: Mini info strip ===== */
.tl-mini{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:center;
  padding: 14px 16px;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
@media (max-width: 760px){
  .tl-mini{ flex-direction:column; align-items:stretch; }
}
.tl-mini__title{ margin:0 0 6px; font-weight: 900; font-size: 15px; }
.tl-mini__text{ margin:0; color: var(--muted, #666); font-size: 13px; }
.tl-mini__link{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34,183,86,.45);
  text-decoration:none;
  font-weight: 900;
}

/* ===== TOP: Pricing summary ===== */
.tl-price-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .tl-price-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .tl-price-grid{ grid-template-columns: 1fr; }
}
.tl-price-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 14px;
}
.tl-price-card__title{
  margin:0 0 10px;
  font-weight: 900;
  font-size: 16px;
}
.tl-price-list{
  margin:0;
  padding-left: 1.1em;
  font-size: 13px;
}
.tl-price-list li{ margin: 6px 0; }

.tl-note-box{ padding: 14px 16px; }
.tl-note-box__title{ margin:0 0 6px; font-weight: 900; font-size: 14px; }

/* ===== TOP: Details (accordion) ===== */
.tl-details{
  margin-top: 14px;
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tl-details summary{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.tl-details summary::-webkit-details-marker{ display:none; }
.tl-details summary:after{
  content:"＋";
  float:right;
  color: var(--green, rgb(34, 183, 86));
  font-weight: 900;
}
.tl-details[open] summary:after{ content:"−"; }
.tl-details ul{
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-size: 13px;
}

/* ===== Program Page UI ===== */
.tlp-btn-off{
  opacity:.75;
  cursor:not-allowed;
  user-select:none;
}

/* Term list */
.tlp-term-list{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 900px){
  .tlp-term-list{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .tlp-term-list{ grid-template-columns: 1fr; }
}
.tlp-term-item{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.tlp-term-item strong{ font-weight:900; }

/* Class cards */
.tlp-class-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px){
  .tlp-class-grid{ grid-template-columns: 1fr; }
}
.tlp-class-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tlp-class-card:hover{
  transform: translateY(-2px);
  border-color: rgba(34,183,86,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.tlp-class-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}
.tlp-class-title{
  margin:0;
  font-size: 17px;
  font-weight: 900;
}
.tlp-pill{
  font-size: 12px;
  font-weight: 900;
  background: rgba(34,183,86,.12);
  color:#111;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,183,86,.25);
}
.tlp-chips{ margin-top: 10px; display:flex; flex-wrap:wrap; gap:8px; }
.tlp-chip{
  font-size: 12px;
  font-weight: 800;
  color:#111;
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  padding: 4px 10px;
  border-radius: 999px;
}
.tlp-class-desc{ margin: 10px 0 0; font-size: 13px; color:#222; }
.tlp-class-link{
  margin-top: 10px;
  font-weight: 900;
  font-size: 13px;
  color: var(--green, rgb(34, 183, 86));
}

/* Pricing */
.tlp-price-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .tlp-price-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .tlp-price-grid{ grid-template-columns: 1fr; }
}
.tlp-price-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tlp-price-card h3{ margin:0 0 10px; font-weight:900; font-size: 15px; }
.tlp-price-card ul{ margin:0; padding-left: 1.1em; font-size: 13px; }
.tlp-price-card li{ margin: 6px 0; }

.tlp-note{ padding: 14px 16px; }
.tlp-note-title{ margin:0 0 6px; font-weight: 900; font-size: 14px; }

/* Details accordion */
.tlp-details{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tlp-details summary{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.tlp-details summary::-webkit-details-marker{ display:none; }
.tlp-details summary:after{
  content:"＋";
  float:right;
  color: var(--green, rgb(34, 183, 86));
  font-weight: 900;
}
.tlp-details[open] summary:after{ content:"−"; }
.tlp-details ul{
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-size: 13px;
}

/* Detail sections */
.tlp-detail{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  margin-top: 14px;
}
.tlp-detail-head{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 6px;
}
.tlp-detail-head h3{ margin:0; font-weight:900; font-size: 16px; }
.tlp-tags{ display:flex; flex-wrap:wrap; gap: 8px; }
.tlp-tag{
  font-size: 12px;
  font-weight: 900;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.20);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== Program: Venues (lazy maps) ===== */
.tlp-venue-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 760px){
  .tlp-venue-grid{ grid-template-columns: 1fr; }
}

.tlp-venue-card{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: var(--radius, 16px);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.tlp-venue-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}
.tlp-venue-title{
  margin:0;
  font-weight: 900;
  font-size: 15px;
}

.tlp-map-btn{
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34,183,86,.45);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
}
.tlp-map-btn:hover{
  border-color: rgba(34,183,86,.75);
}

.tlp-map-wrap{
  margin-top: 12px;
  display:none;
}
.tlp-venue-card.is-open .tlp-map-wrap{ display:block; }

.tlp-map-skeleton{
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted, #666);
  font-size: 12px;
  margin-bottom: 10px;
}

.tlp-map-iframe{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
}
.tlp-map-iframe iframe{
  width:100%;
  height: 360px;
  border:0;
  display:block;
}
@media (max-width: 760px){
  .tlp-map-iframe iframe{ height: 320px; }
}


/* ===== Coach (UX/UI optimized) ===== */
.tl-coach{
  border-top: 1px solid var(--line, #e6e6e6);
  padding-top: 18px;
  margin-top: 18px;
}
.tl-coach:first-of-type{ border-top:0; padding-top:0; margin-top:0; }

.tl-coach-head{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items:start;
}
@media (max-width:760px){
  .tl-coach-head{ grid-template-columns:1fr; }
}

/* photo */
.tl-coach-photo{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line, #e6e6e6);
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.tl-coach-photo img{
  width:100%;
  height: 200px;
  object-fit: cover;
  display:block;
}
@media (max-width:760px){
  .tl-coach-photo img{ height: 240px; }
}

/* body */
.tl-coach-body{ min-width:0; }
.tl-coach-name{
  margin:0 0 10px;
  font-weight:900;
  font-size: 18px;
}

/* tags */
.tl-coach-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tl-coach-tag{
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.20);
}

/* accordion */
.tl-coach-acc{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 12px 14px;
}
.tl-coach-acc__summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.tl-coach-acc__summary::-webkit-details-marker{ display:none; }
.tl-coach-acc__summary:after{
  content:"＋";
  float:right;
  color: var(--green, rgb(34, 183, 86));
  font-weight: 900;
}
.tl-coach-acc[open] .tl-coach-acc__summary:after{ content:"−"; }

/* blocks */
.tl-coach-block{
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.tl-coach-sub{
  margin:0 0 8px;
  font-size: 13px;
  font-weight: 900;
}
.tl-coach-list{
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
  line-height: 1.75;
}
.tl-coach-list li{ margin: 4px 0; }

/* 置き換え推奨：2〜3ブロックでも綺麗に */
.tl-coach-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

/* 本文（固定ページ/投稿の中身） */
.tl-page-content,
.entry-content,
p, li{
  font-weight: 400;
  color: var(--tl-text);
}

/* 補助テキスト */
small, .tl-muted{
  color: var(--tl-muted);
  font-weight: 400;
}

/* ===== Typography tuning (make text lighter) ===== */
.section-h,
.lead-box__kicker,
.lead-box__title,
.tl-lead__kicker,
.tl-lead__title,
.tlp-class-title,
.tlp-pill,
.tlp-class-link,
.tlp-price-card h3,
.tlp-note-title,
.coach-card__name{
  font-weight: 700;
}

.global-nav a{
  font-weight: 500;
}

.tlp-chip{
  font-weight: 600;
}

.hero__catch{
  font-weight: 700;
}
/* ===== Typography tuning (override) ===== */
body{
  font-weight: 400;
}

/* 見出し・UIの「太すぎ」を抑える */
.tl-title,
.section__title,
.lead-box__title,
.tl-tab-btn,
.tl-price-card__title,
.tl-details > summary,
.tl-card__title{
  font-weight: 700;
}

/* 本文の読みやすさ */
.entry p,
.tl-muted,
.tl-price-list,
.tl-note-box{
  font-weight: 400;
}

strong, b{
  font-weight: 600;
}

/* ===== TOP: Term cards ===== */
.tl-term-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .tl-term-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .tl-term-grid{ grid-template-columns: 1fr; }
}

/* card base */
.tl-term-card{
  display:block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.tl-term-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  text-decoration: none; /* base a:hover underline を止める */
}
.tl-term-card:focus-visible{
  outline: 3px solid rgba(34, 183, 86, .35);
  outline-offset: 3px;
}

/* top row */
.tl-term-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.tl-ext{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* badge */
.tl-badge{
  display:inline-flex;
  align-items:center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(34, 183, 86, .12);
  color: var(--green);
}
.tl-badge--off{
  background: #f0f0f0;
  color: #666;
}

/* title / period / cta */
.tl-term-card__title{
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.tl-term-card__period{
  margin: 6px 0 0;
  font-weight: 600; /* ←太すぎ防止（既存の 900 を上書き） */
  color:#111;
  font-size: 14px;
}
.tl-term-card__cta{
  margin-top: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(34, 183, 86, .10);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.tl-term-card:hover .tl-term-card__cta{
  background: rgba(34, 183, 86, .14);
}

/* disabled */
.tl-term-card--disabled{
  opacity: .72;
  cursor: not-allowed;
}
.tl-term-card--disabled:hover{
  transform:none;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.tl-term-card__cta--off{
  background: #f2f2f2;
  color: #777;
}

/* ===== Typography: boldness down (このブロック周りだけ) ===== */
#apply .tl-title{ font-weight: 700; }
#apply .tl-muted{ font-weight: 400; }

/* =========================================================
   TYPOGRAPHY RESET + UX/UI BASE
   (Paste at the very bottom of style.css)
   ========================================================= */

:root{
  --font-sans: system-ui, -apple-system, "SF Pro Text", "SF Pro Display",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;

  /* size scale */
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;

  /* line heights */
  --lh-tight: 1.25;
  --lh-base:  1.65;
  --lh-loose: 1.8;

  /* letter spacing */
  --ls-tight: -0.01em;
  --ls-base:  0.01em;

  /* weights */
  --w-regular: 400;
  --w-medium:  500;
  --w-semibold:600;
  --w-bold:    700;

  /* colors */
  --text: #111;
  --muted: #5f6368;
  --heading: #0b0b0b;

  /* focus */
  --focus: rgba(34, 183, 86, .35);
}

/* 1) Global reset for readability */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  font-weight: var(--w-regular);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2) Headings */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-sans);
  color: var(--heading);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  font-weight: var(--w-bold);
  margin: 0 0 0.6em;
}

h1{ font-size: clamp(26px, 3.2vw, 36px); }
h2{ font-size: clamp(20px, 2.4vw, 28px); }
h3{ font-size: clamp(18px, 2.0vw, 22px); }
h4{ font-size: 18px; }
h5{ font-size: 16px; }
h6{ font-size: 14px; }

/* 3) Body text */
p{
  margin: 0 0 1em;
}

small{
  font-size: var(--fs-13);
  color: var(--muted);
}

strong, b{
  font-weight: var(--w-semibold); /* 太字を700にしすぎない */
}

/* 4) Links */
a{
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover{
  text-decoration: none;
}

/* 5) Lists */
ul, ol{
  padding-left: 1.2em;
  margin: 0 0 1em;
}
li{
  line-height: var(--lh-base);
}

/* 6) Form elements */
button, input, select, textarea{
  font: inherit;
  color: inherit;
}
button{
  font-weight: var(--w-semibold);
}

/* 7) Focus visible (keyboard UX) */
:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* 8) Utility: muted text */
.tl-muted{
  color: var(--muted) !important;
  font-weight: var(--w-regular) !important;
}

/* 9) Fix: “too bold” common UI parts */
.global-nav a{
  font-weight: var(--w-medium) !important;
}
.tl-title,
.section__title{
  font-weight: var(--w-bold) !important;
}
.tlp-pill,
.tlp-chip,
.tl-badge{
  font-weight: var(--w-semibold) !important;
}

/* 10) Content width rhythm (読みやすい行長に寄せる)
   ※containerが既にある前提。なければ効かないだけで安全 */
.container{
  max-width: 1040px;
}

/* 11) Improve spacing inside cards (読みやすさ) */
.tl-card,
.tl-term-card,
.tlp-box,
.lead-box{
  line-height: var(--lh-base);
}

/* 12) WP default content (固定ページの本文) */
.entry-content, .entry{
  font-size: var(--fs-16);
  line-height: var(--lh-loose);
}
.entry-content p{
  margin-bottom: 1.05em;
}
/* =========================================================
   Typography Reset / Tuning (2026-01)
   目的：太すぎ問題を解消し、全ページの可読性を統一
========================================================= */

:root{
  --tl-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, Arial, sans-serif;

  --tl-fw-regular: 400;
  --tl-fw-medium: 500;
  --tl-fw-semibold: 600;
  --tl-fw-bold: 700;
  --tl-fw-extrabold: 800;
}

/* Base */
html { -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--tl-font);
  font-weight: var(--tl-fw-regular);
  line-height: 1.75;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, li { font-weight: var(--tl-fw-regular); }
strong, b { font-weight: var(--tl-fw-semibold); }

/* Headings */
h1,h2,h3,h4,h5,h6{
  font-weight: var(--tl-fw-bold);
  line-height: 1.25;
  letter-spacing: .01em;
}

/* Global nav */
.global-nav a{
  font-weight: var(--tl-fw-medium);
}

/* ---- “font-weight:900” を全体的に抑える（見た目のゴツさ解消） ---- */
.page-hero__title,
.tl-title{
  font-weight: var(--tl-fw-extrabold);
}

.tl-term-box h3,
.tl-term-classes h4,
.tl-coach-name,
.tl-coach-acc__summary,
.tl-details summary,
.tl-note-box__title,
.tl-mini__title,
.tlp-price-card h3,
.tlp-detail-head h3,
.tlp-card h3,
.venue-card__name{
  font-weight: var(--tl-fw-bold);
}

/* アコーディオン/サマリーは少し軽く */
.tl-coach-acc__summary,
.tl-details summary{
  font-weight: var(--tl-fw-semibold);
}

/* ボタン・バッジ類（太すぎないが、押せそうに見える） */
.btn,
.tl-badge,
.tl-pill,
.tlp-chip,
.tlp-tag{
  font-weight: var(--tl-fw-semibold);
}

/* WordPress本文（固定ページ/投稿の素のHTMLでも整う） */
.entry-content,
.wp-block-post-content{
  font-size: 16px;
  line-height: 1.85;
  font-weight: var(--tl-fw-regular);
}

.entry-content h2,
.wp-block-post-content h2{
  margin: 2.0em 0 .6em;
}
.entry-content h3,
.wp-block-post-content h3{
  margin: 1.6em 0 .5em;
}
.entry-content p,
.wp-block-post-content p{
  margin: 0 0 1.1em;
}
/* =========================================================
   H2 UI unify (site-wide)
========================================================= */

/* 1) h2の基本（大きすぎない・太すぎない・余白を整える） */
h2{
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
  margin: 0 0 14px;
}

/* 2) セクション見出しとして使うときの“型”を用意 */
.tl-title,
.section-title,
.entry-content h2,
.wp-block-heading:is(h2){
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}

/* 3) h2の直後に線を置く場合（tl-under）を統一 */
.tl-under{
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: rgb(34, 183, 86);
  margin: 10px auto 0; /* デフォは中央揃え */
}

/* 4) 左揃えのセクション（下層ページで多い）では線も左寄せにする */
.page .tl-section-wrap .tl-title,
.single .tl-section-wrap .tl-title,
.page .entry-content h2,
.single .entry-content h2{
  text-align: left;
}
.page .tl-section-wrap .tl-under,
.single .tl-section-wrap .tl-under{
  margin: 10px 0 0; /* 左寄せ */
}

/* 5) h2の上下余白（読みやすいリズムに） */
.entry-content h2,
.wp-block-post-content h2{
  margin-top: 2.2em;
  margin-bottom: .7em;
}

/* 6) “太字すぎ”対策：一部で h2 が 900 指定されていても抑える */
h2,
.tl-title,
.entry-content h2,
.wp-block-post-content h2{
  font-weight: 700 !important;
}
/* =========================================================
   SPACING SYSTEM (site-wide)
   目的：窮屈さを解消して“呼吸するレイアウト”にする
========================================================= */

:root{
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;

  --radius-card: 14px;
}

/* 1) ページ上下の余白（下層ページの圧迫感の主要因） */
main{
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

/* 2) セクションの間隔（TOP/下層共通） */
.tl-section-wrap{
  padding: var(--space-6) 0;
}

/* 3) コンテンツ幅＋左右余白（スマホ/PC共通で読みやすく） */
.container{
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 960px){
  .container{
    max-width: 1080px; /* 少し広げて詰まり感を減らす */
  }
}

/* 4) 見出し周りの余白を増やす */
.tl-title{
  margin-bottom: var(--space-2);
}
.tl-under{
  margin-top: var(--space-2);
}
.entry-content h2,
.wp-block-post-content h2{
  margin-top: 2.6em;
  margin-bottom: .9em;
}

/* 5) カード/ボックスの余白（Programの圧迫感が消える） */
.tl-term-card,
.tl-card,
.tlp-box,
.tlp-card,
.tlp-price-card,
.venue-card,
.tl-mini,
.tl-details,
.tl-note-box{
  padding: var(--space-4) !important;
  border-radius: var(--radius-card);
}

/* 6) カード内の要素間隔 */
.tl-term-card__top{ margin-bottom: var(--space-2); }
.tl-term-card__title{ margin-bottom: var(--space-1); }
.tl-term-card__period{ margin-bottom: var(--space-2); }
.tl-term-card__cta{ margin-top: var(--space-2); }

.tlp-card h3,
.tlp-detail-head h3{
  margin-bottom: var(--space-2);
}

/* 7) グリッドの隙間（詰まり感を減らす） */
.tl-term-grid{
  gap: var(--space-3) !important;
}
.tlp-grid,
.tl-grid,
.tl-about-grid{
  gap: var(--space-4) !important;
}

/* 8) 段落の行間を少しゆったり（読みやすさUP） */
.entry-content,
.wp-block-post-content{
  line-height: 1.9;
}
.entry-content p,
.wp-block-post-content p{
  margin-bottom: 1.2em;
}

/* 9) アコーディオン/注意事項などの密度を下げる */
.tl-details summary,
.tl-coach-acc__summary{
  padding: 14px 16px !important;
}
.tl-details .tl-details__body,
.tl-coach-acc__body{
  padding: 16px !important;
}

/* 10) ボタン周りの余白（押しやすさ＝UX改善） */
.btn,
.tl-btn,
.tl-mini__link{
  padding: 12px 16px;
}
/* =========================================================
   Program page: Term buttons / schedule cards fix
========================================================= */

/* 1) 申込ボタン群：スマホは2列、狭ければ1列に自動 */
.tlp-apply-actions,
.tl-apply-actions,
.tl-term-actions{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  align-items: stretch;
}
@media (max-width: 380px){
  .tlp-apply-actions,
  .tl-apply-actions,
  .tl-term-actions{
    grid-template-columns: 1fr;
  }
}

/* ボタンの中身は「中央・1行・省略」にして崩さない */
.tlp-apply-actions a,
.tl-apply-actions a,
.tl-term-actions a{
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px !important;
  border-radius: 12px;
  text-align: center;
  white-space: nowrap;      /* ここが重要：2行割れ防止 */
  overflow: hidden;
  text-overflow: ellipsis;  /* 長い場合は…で省略 */
  line-height: 1.1;
  font-size: 13px;
}

/* “↗” などが単独で折り返されないように */
.tlp-apply-actions a span,
.tl-apply-actions a span,
.tl-term-actions a span{
  white-space: nowrap;
}

/* 2) Term日程カード：スマホでは2列、狭ければ1列 */
.tlp-term-grid,
.tl-term-grid-mini,
.tl-term-mini-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}
@media (max-width: 380px){
  .tlp-term-grid,
  .tl-term-grid-mini,
  .tl-term-mini-grid{
    grid-template-columns: 1fr;
  }
}

/* カード内：タイトルは1行、日付は2行でも整う */
.tlp-term-card,
.tl-term-mini-card{
  padding: 12px 12px !important;
  border-radius: 12px;
}
.tlp-term-card .term-name,
.tl-term-mini-card__name{
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

/* 日程は “改行OK” だが、見た目が崩れないように行間を調整 */
.tlp-term-card .term-period,
.tl-term-mini-card__period{
  line-height: 1.25;
  font-size: 12px;
  color: #555;
  word-break: keep-all;     /* 変な場所で割れにくく */
}

/* 3) “TERM4 準備中” みたいに長いラベルは小さくする */
.tlp-apply-actions a.is-disabled,
.tl-apply-actions a.is-disabled,
.tl-term-actions a.is-disabled{
  font-size: 12px;
  opacity: .7;
}

/* 4) Programページ全体：スマホでカードの横paddingを少し減らす */
@media (max-width: 480px){
  .tlp-wrap .container,
  .page-program .container{
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* Term日程：崩れ防止（カード内を1行整列） */
.tlp-term-list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 920px){
  .tlp-term-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px){
  .tlp-term-list{ grid-template-columns: 1fr; }
}

.tlp-term-item{
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* ここが肝：Term名＋日付を同じ行に固定 */
.tlp-term-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0; /* 省略を効かせる */
}

.tlp-term-name{
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.tlp-term-date{
  font-weight: 600;
  font-size: 18px;
  color: #111;
  white-space: nowrap;      /* 勝手に改行しない */
  overflow: hidden;         /* 長い場合は */
  text-overflow: ellipsis;  /* …で省略 */
  min-width: 0;
}

/* Term4の(準備中)を少し控えめにしたい場合 */
.tlp-term-date{
  letter-spacing: .01em;
}
/* ===== Term schedule (fix: no ellipsis / no weird wrap) ===== */
.tlp-term-item{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;

  padding: 16px 18px;
  border-radius: var(--radius, 16px);
}

.tlp-term-name{
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
  white-space: nowrap;
}

.tlp-term-meta{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0; /* 念のため */
}

.tlp-term-date{
  font-weight: 600;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
}

.tlp-term-status{
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  white-space: nowrap;
}

/* 小さい画面は「Term名 → 日付」の縦積みにして崩れ防止 */
@media (max-width: 560px){
  .tlp-term-item{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tlp-term-meta{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
/* === Program: Term日程（崩れ防止版） === */
.tlp-term-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.tlp-term-item{
  background:#fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 92px;
}

.tlp-term-item strong{
  font-weight: 700;      /* 900→700で太すぎ防止 */
  font-size: 18px;
  line-height: 1.2;
}

.tlp-term-item .tlp-term-range{
  font-weight: 600;
  font-size: 16px;
  color:#111;
  white-space: nowrap;   /* 日付を1行で固定 */
}

.tlp-term-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  color:#111;
  white-space: nowrap;
}

.tlp-term-item--off{
  opacity: .85;
}
/* ===== Program: Square images (1:1) override ===== */

/* 早見カード（サムネ）を正方形に固定 */
.tlp-class-thumb{
  aspect-ratio: 1 / 1;
}
.tlp-class-thumb img{
  height: 100% !important;   /* 以前の固定高さを上書き */
  object-fit: cover;
  object-position: center;
}

/* 詳細（2カラム）の画像も正方形に固定 */
.tlp-detail-img{
  height: auto !important;   /* 固定高さを解除 */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* 2カラム左の画像列を少しだけ最適化（任意） */
.tlp-detail-grid{
  grid-template-columns: 300px 1fr;
}
@media (max-width: 860px){
  .tlp-detail-grid{ grid-template-columns: 1fr; }
}
/* ===== Program: 画像を少し小さく + 余白を増やす（上書き） ===== */

/* セクション間の余白 */
.tl-section{
  padding: 38px 0;
}

/* 各詳細カードの余白 */
.tlp-detail{
  padding: 18px;
  margin-top: 18px;
}

/* 早見カード内の画像：小さめの正方形にして中央寄せ */
.tlp-class-thumb{
  width: min(240px, 100%);
  margin: 10px auto 0;
  aspect-ratio: 1 / 1;
}
.tlp-class-thumb img{
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* 詳細（2カラム）の画像：左列を少し細くして画像も小さめに */
.tlp-detail-grid{
  grid-template-columns: 260px 1fr;
  gap: 20px;
}
.tlp-detail-img{
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  height: auto !important;
  object-fit: cover;
  object-position: center;
}

/* モバイル：画像は中央寄せで最大幅を少し抑える */
@media (max-width: 860px){
  .tlp-detail-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tlp-detail-img{
    width: min(320px, 100%);
    max-width: 320px;
    margin-inline: auto;
  }
}

/* 文章の読みやすさ（行間/段落余白） */
.tlp-detail-body p{
  margin-top: 12px;
  line-height: 1.9;
}
/* =========================
   Global fixes (safe override)
   ========================= */

/* 管理バー表示時にヘッダーが潜らないように */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px){
  .admin-bar .site-header { top: 46px; }
}

/* ヘッダー直下の「最初のブロックの余白」を除去（Heroが下がる問題の対策） */
.entry-content > :first-child,
.entry-content > .wp-block-group:first-child,
.entry-content > .wp-block-cover:first-child,
.entry-content > section:first-child{
  margin-top: 0 !important;
}

/* 念のため Hero 自体も上マージンを殺す */
.hero { margin-top: 0 !important; }
/* Term日程：崩れないカードレイアウト */
.tlp-term-list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.tlp-term-item{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.tlp-term-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.tlp-term-name{
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.tlp-term-date{
  font-size: 16px;
  color:#111;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; /* 日付の途中改行を防ぐ */
}

.tlp-term-status{
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(34,183,86,.12);
  color: var(--green, rgb(34,183,86));
}
.tlp-term-status.is-off{
  background: rgba(0,0,0,.08);
  color: #555;
}

@media (max-width: 520px){
  .tlp-term-list{ grid-template-columns: 1fr; }
  .tlp-term-name{ font-size: 16px; }
  .tlp-term-date{ font-size: 14px; }
}
/* =========================
   UX/UI Tune-up (Global)
   - mobile width
   - spacing (less cramped)
   - typography weight reset
   - term schedule fix
========================= */

/* 基本変数：全ページの余白・横幅を統一 */
:root{
  --container: 1140px;
  --pad: 22px;          /* PCの左右余白 */
  --section-y: 64px;    /* セクション上下余白 */
  --card-pad: 20px;     /* カード内余白 */
}

/* タブレット */
@media (max-width: 900px){
  :root{
    --pad: 18px;
    --section-y: 52px;
    --card-pad: 18px;
  }
}

/* スマホ：左右を“広く”、上下は“気持ち余裕” */
@media (max-width: 560px){
  :root{
    --pad: 14px;        /* ←これで全ページの横幅が窮屈になりにくい */
    --section-y: 44px;
    --card-pad: 16px;
  }
}

/* 文字の太さを全体的に落として読みやすく */
body{
  font-weight: 400;
  letter-spacing: .01em;
}

strong, b{ font-weight: 700; }
h1,h2,h3,h4{ font-weight: 700; }

/* h2の違和感軽減（全ページ統一） */
.tl-h2{
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  margin: 0 0 18px;
}

/* セクションに“空気感”を追加（圧迫感を減らす） */
.tl-section,
.tl-section-wrap{
  padding: var(--section-y) 0;
}

/* 主要カード類の内側余白を統一して窮屈さを解消 */
.lead-box,
.tl-card,
.tlp-card,
.coach-card{
  padding: var(--card-pad) !important;
}

/* ボタン：折り返しで崩れやすいので基本は折り返さない */
.tl-btn{
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.15;
}

@media (max-width: 560px){
  .tl-btn{
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* ---------- Term日程（崩れ対策） ---------- */
.tlp-term-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.tlp-term-item{
  display: flex;
  flex-direction: column;     /* 横並びをやめて崩れ防止 */
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.tlp-term-item strong{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.tlp-term-period{
  font-weight: 600;
  font-size: 14px;
  color: #111;
  line-height: 1.2;
}

.tlp-term-note{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f2f3f4;
  color: #666;
}

@media (max-width: 560px){
  .tlp-term-item{
    padding: 14px;
    min-height: 88px;
  }
  .tlp-term-item strong{ font-size: 16px; }
}

/* ✅ containerの二重余白を解消して、全ページの横幅を広げる */
.container{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* =========================================================
   UX/UI 改善：TOP「TASSについて」3カード（可読性・クリック誘導）
   ========================================================= */

/* 既存の写真全面＋文字重ね をやめて「画像→本文」の定番カードに */
.tl-card3{
  gap: 16px;
}

.tl-card{
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  min-height: unset;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* 既存の全体オーバーレイは不要（本文は画像外に出す） */
.tl-card::before{
  content: none !important;
}

/* 背景画像を “上部サムネ” に変更 */
.tl-card__bg{
  position: relative !important;
  inset: auto !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  opacity: 1 !important;
  transform: none !important;
  border-bottom: 1px solid var(--line, #e6e6e6);
}

/* サムネ上の薄いグラデ（写真が明るすぎる時の安定用） */
.tl-card__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,.22));
}

/* 本文エリア（ここが読みやすさの肝） */
.tl-card__body{
  padding: 14px 16px 16px;
  color: #111;
  background: #fff;
}

/* タイトル/本文の階層 */
.tl-card__title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

/* 説明文は長いので3行で止めて読みやすく */
.tl-card__desc{
  margin: 0;
  color: var(--muted, #666);
  font-size: 13px;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* “詳しく見る” を自動で付けてクリック誘導 */
.tl-card__body::after{
  content: "詳しく見る →";
  display: block;
  margin-top: 10px;
  font-weight: 900;
  font-size: 13px;
  color: var(--green, rgb(34, 183, 86));
}

/* ホバー/フォーカスのUX */
.tl-card:hover{
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(34,183,86,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.tl-card:focus-visible{
  outline: 3px solid rgba(34,183,86,.55);
  outline-offset: 3px;
}


/* =========================================================
   UX/UI 改善：最下部 CTA（背景画像と文字の被り解消）
   ========================================================= */

.tl-cta{
  min-height: 260px; /* 少し余裕を持たせる */
}

/* 背景写真を少し暗くして安定化 */
.tl-cta__bg{
  filter: saturate(1.05) brightness(.75);
}

/* 既存の黒ベタを “グラデ” にして中央の文字が読みやすいゾーンを作る */
.tl-cta::before{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.70),
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.70)
  ) !important;
}

/* 文字は「半透明のパネル」に載せる（最強に読みやすい） */
.tl-cta__inner{
  width: min(560px, 100% - 24px);
  margin-inline: auto;

  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px;
  backdrop-filter: blur(6px);

  padding: 18px 16px;
  min-height: unset; /* パネルは中身に合わせる */
}

/* タイポ調整 + 読みやすさ補強 */
.tl-cta__title{
  font-size: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.tl-cta__text{
  font-size: 13px;
  opacity: .95;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

/* CTAボタンも少し立体感を付けて視認性UP */
.tl-cta .tl-btn{
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
@media (max-width: 560px){
  .tl-cta__title{ font-size: 20px; }
}
/* =========================================================
   追い込み調整：TASSについて（3カード）上下paddingのバランス
   ========================================================= */

/* 本文エリアの上下余白を少し詰めて、見た目の重心を整える */
.tl-card__body{
  padding: 12px 16px 14px; /* 上12 / 下14 にして下が少しだけ重くなるように */
}

/* タイトル〜本文の間隔を少し詰める */
.tl-card__title{
  margin: 0 0 4px;
}

/* 「詳しく見る」の上の間隔を少し詰める */
.tl-card__body::after{
  margin-top: 8px;
}

@media (max-width: 560px){
  .tl-card__body{
    padding: 12px 14px 14px;
  }
}


/* =========================================================
   追い込み調整：CTA（色と写真の上に載せる位置）
   ========================================================= */

/* CTAを基準に絶対配置できるように */
.tl-cta{
  position: relative;
  min-height: 260px; /* 念のため維持 */
}

/* 暗幕を “少し薄く” して写真の良さを残す */
.tl-cta::before{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.38),
    rgba(0,0,0,.16) 45%,
    rgba(0,0,0,.42)
  ) !important;
}

/* 背景写真は暗くしすぎない（今より少し見せる） */
.tl-cta__bg{
  filter: saturate(1.05) brightness(.88);
}

/* 文字パネルを「下寄せ」にして、写真の主役エリアを邪魔しない */
.tl-cta__inner{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);

  width: min(560px, 100% - 24px);
  margin: 0;

  /* 色：黒パネル→白ガラスに（読みやすく、圧迫感減） */
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  backdrop-filter: blur(10px);

  padding: 16px 16px;
  color: #111;
}

/* 文字は黒にして読みやすさMAX（白パネル前提） */
.tl-cta__title,
.tl-cta__text{
  color: #111;
  text-shadow: none;
}

/* ボタンは少し浮かせる（白パネル上でも目立つ） */
.tl-cta .tl-btn{
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

/* モバイルはさらに少し下へ */
@media (max-width: 560px){
  .tl-cta__inner{
    bottom: 12px;
    padding: 14px 14px;
  }
}
/* =========================================================
   フォトギャラリー：おしゃれ化（カード感 / 余白 / 影 / 矢印を重ねる）
   ========================================================= */

.tl-gallery{
  position: relative;
  border-radius: 18px;
}

/* 左右の“フェード”で高級感（端がスッと消える） */
.tl-gallery::before,
.tl-gallery::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 56px;
  z-index: 2;
  pointer-events:none;
}
.tl-gallery::before{
  left:0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.tl-gallery::after{
  right:0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* 横スライドの見た目（スムーズ＆スナップ） */
.tl-gallery__viewport{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
  padding: 10px 10px 14px;
  -webkit-overflow-scrolling: touch;

  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.07);
}

/* スクロールバーを控えめに */
.tl-gallery__viewport::-webkit-scrollbar{ height: 10px; }
.tl-gallery__viewport::-webkit-scrollbar-track{ background: transparent; }
.tl-gallery__viewport::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.10);
  border-radius: 999px;
}

/* 画像カード：角丸＋影＋ホバーで少しだけズーム */
.tl-gallery__item{
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 28px) / 3); /* PCは3枚見せ */
  border-radius: 16px;
  overflow: hidden;
  background:#f3f4f6;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tl-gallery__item img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* おしゃれに安定する比率 */
  transition: transform .25s ease;
}
.tl-gallery__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.14);
}
.tl-gallery__item:hover img{
  transform: scale(1.035);
}

/* モバイルは“1.2枚見せ”でスワイプ誘導 */
@media (max-width: 900px){
  .tl-gallery__item{ flex-basis: calc((100% - 14px) / 2); }
}
@media (max-width: 560px){
  .tl-gallery__item{ flex-basis: 78%; }
  .tl-gallery::before, .tl-gallery::after{ width: 42px; }
}

/* ナビ矢印：画像の上に重ねて“おしゃれ＆押しやすい” */
.tl-gallery__nav{
  position:absolute;
  inset: 0;
  display:flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 3;
  pointer-events:none; /* ボタン以外はクリックを通す */
}

/* 既存のボタンデザインを上書き */
.tl-gallery__btn{
  pointer-events:auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.tl-gallery__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.96);
}
.tl-gallery__btn:active{
  transform: translateY(0);
}
.tl-gallery__btn:focus-visible{
  outline: 3px solid rgba(34,183,86,.45);
  outline-offset: 3px;
}

/* モバイルは矢印を少し小さく */
@media (max-width: 560px){
  .tl-gallery__btn{ width: 40px; height: 40px; }
}
/* =========================================================
   下層ページ：セクション余白の統一（UX/UI最優先）
   ※ page.php の .page-layout 配下だけに適用
========================================================= */

/* 1) 余白の基準値（ここだけ触れば全体調整できる） */
.page-layout .entry{
  --flow: clamp(14px, 1.6vw, 18px);        /* 通常の要素間 */
  --flow-lg: clamp(28px, 3.6vw, 44px);     /* セクション区切り */
  font-size: 16px;
  line-height: 1.9;
}

/* 2) Gutenberg/HTMLの「バラバラmargin」を一旦リセット */
.page-layout .entry > *{ margin: 0; }
.page-layout .entry :where(p, ul, ol, figure, blockquote, hr,
  .wp-block-image, .wp-block-gallery, .wp-block-columns,
  .wp-block-group, .wp-block-cover, .wp-block-media-text){
  margin: 0;
}

/* 3) 直下の要素はすべて一定間隔に（基本の縦リズム） */
.page-layout .entry > * + *{
  margin-top: var(--flow);
}

/* 4) 見出し＝セクション開始なので、上の余白を大きくする */
.page-layout .entry > h2{
  margin-top: var(--flow-lg);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  scroll-margin-top: 90px; /* 固定ヘッダー対策（アンカー飛びにも効く） */
}
.page-layout .entry > h3{
  margin-top: calc(var(--flow-lg) * .75);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 800;
  line-height: 1.35;
  scroll-margin-top: 90px;
}

/* 5) 見出し直後は詰める（“間延び”防止） */
.page-layout .entry > :is(h2,h3) + *{
  margin-top: 10px;
}

/* 6) 画像/ギャラリーは“セクション要素”として少しだけ存在感 */
.page-layout .entry :where(figure, .wp-block-image, .wp-block-gallery){
  margin-top: calc(var(--flow) + 4px);
}
.page-layout .entry img{
  border-radius: 14px;
}

/* 7) グループ/段組の中も同じ縦リズムに揃える */
.page-layout .entry :where(.wp-block-group__inner-container, .wp-block-column) > *{
  margin: 0;
}
.page-layout .entry :where(.wp-block-group__inner-container, .wp-block-column) > * + *{
  margin-top: var(--flow);
}

/* 8) 箇条書きの見た目 */
.page-layout .entry :where(ul, ol){
  padding-left: 1.2em;
}
.page-layout .entry li{ margin: 0; }

/* 9) content-card の内側paddingも整えて読みやすく（任意） */
.page-main .content-card{
  padding: clamp(16px, 2.2vw, 22px);
}
/* =========================================================
   下層ページ：セクション余白を自然に統一（tl-* 専用）
========================================================= */

/* 1) 下層ページ全体の縦リズム */
.page .page-main{
  --space-1: clamp(12px, 1.2vw, 16px);  /* 近い要素 */
  --space-2: clamp(18px, 1.8vw, 24px);  /* 通常 */
  --space-3: clamp(32px, 3.2vw, 44px);  /* セクション区切り */
}

/* 2) tl-section を「セクション単位」として統一 */
.page .page-main .tl-section{
  margin: 0;
  padding: var(--space-3) 0;
}

/* セクション同士の間に“呼吸”を作る（区切り感） */
.page .page-main .tl-section + .tl-section{
  border-top: 1px solid rgba(0,0,0,.06);
}

/* 3) 見出しと本文の距離（間延び防止） */
.page .page-main .tl-h2{
  margin: 0 0 10px;
  line-height: 1.25;
}
.page .page-main .tl-section p{
  margin: 0;
  line-height: 1.9;
  color: var(--text, #111);
}

/* 段落が続くときだけ適切に間隔 */
.page .page-main .tl-section p + p{
  margin-top: var(--space-1);
}

/* 4) リード（引用っぽい箱）を“最初の導入ブロック”として整える */
.page .page-main .tl-lead{
  margin: var(--space-3) 0 var(--space-2);
  padding: 16px 18px;
  border-radius: 14px;
}
.page .page-main .tl-lead__kicker{
  margin: 0 0 6px;
  opacity: .9;
}
.page .page-main .tl-lead__title{
  margin: 0;
  line-height: 1.35;
}

/* 5) メイン画像：上下の余白＆カード感 */
.page .page-main .tl-figure{
  margin: 0 0 var(--space-3);
}
.page .page-main .tl-figure img{
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0,0,0,.08);
}

/* 6) 写真グリッド：余白・角丸を統一して“おしゃれ”に */
.page .page-main .tl-photo-grid{
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.page .page-main .tl-photo-grid img{
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* モバイルは2列にして詰まり過ぎを防ぐ */
@media (max-width: 860px){
  .page .page-main .tl-photo-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* 7) 「―コンセプト―」の中央セクションを “締めブロック” に見せる */
.page .page-main .tl-h2--center{
  margin-bottom: 12px;
}
.page .page-main .tl-section .tl-under{
  margin: 0 auto var(--space-1);
}
.page .page-main .tl-section[style*="text-align:center"] p,
.page .page-main .tl-section p[style*="text-align:center"]{
  max-width: 60ch;
  margin-inline: auto;
}

/* 8) 代表/監督：メディア（画像＋文章）の余白とバランス */
.page .page-main .tl-media{
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: start;
}
.page .page-main .tl-media > img{
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.page .page-main .tl-media p{
  margin: 0;
}

/* モバイル：縦積み＋余白 */
@media (max-width: 860px){
  .page .page-main .tl-media{
    grid-template-columns: 1fr;
  }
  .page .page-main .tl-media > img{
    max-width: 360px;
  }
}
/* =========================================================
   スローガン（tl-lead）を強く見せる：帯＋アクセント＋タイポ
========================================================= */

/* 全体：センター寄せ＋“帯”感、影と枠で存在感 */
.tl-lead{
  position: relative;
  text-align: center;
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(34,183,86,.18);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  overflow: hidden;
}

/* 上にアクセントライン（ブランド色） */
.tl-lead::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: 6px;
  background: var(--green, rgb(34, 183, 86));
}

/* うっすら柄（邪魔しない） */
.tl-lead::after{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,183,86,.10), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(34,183,86,.08), transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(34,183,86,.06), transparent 55%);
  pointer-events:none;
}

/* 「Life is Challenge」＝ラベル化して“スローガン感” */
.tl-lead__kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.22);
  color: #0b3a1f;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
}

/* ラベルの左右に小さな点を付けて“ロゴ感” */
.tl-lead__kicker::before,
.tl-lead__kicker::after{
  content:"";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green, rgb(34, 183, 86));
  opacity: .9;
}

/* メインコピー：太く、少し大きく、行間調整 */
.tl-lead__title{
  position: relative;
  margin: 0;
  font-weight: 900;
  line-height: 1.25;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: .01em;
}

/* 重要語を強調したいなら “下線風” を入れる（自然） */
.tl-lead__title{
  text-wrap: balance;
}

/* スマホ最適化 */
@media (max-width: 560px){
  .tl-lead{
    padding: 18px 14px 16px;
    border-radius: 16px;
  }
  .tl-lead__kicker{
    font-size: 11px;
    padding: 5px 10px;
  }
}
/* =========================================================
   tl-lead：窮屈感を解消（余白・ライン・ラベル位置を調整）
========================================================= */

.tl-lead{
  /* 横幅いっぱいに詰まって見えるのを防ぐ */
  max-width: 920px;
  margin-inline: auto;

  /* 呼吸を増やす */
  padding: 28px 22px 26px;

  /* 影を少し柔らかくして圧迫感を減らす */
  box-shadow: 0 14px 42px rgba(0,0,0,.08);
}

/* 上のアクセントラインを細くして“詰まり”を軽減 */
.tl-lead::before{
  height: 3px;
  opacity: .9;
}

/* うっすら柄は控えめにしてスッキリ */
.tl-lead::after{
  opacity: .65;
}

/* kicker をタイトルから離して、上下に余白 */
.tl-lead__kicker{
  margin: 0 0 14px;  /* ←ここが効きます */
  padding: 7px 14px;
}

/* タイトルの行間と字間を少しゆったり */
.tl-lead__title{
  line-height: 1.35;
  letter-spacing: .02em;
  padding-inline: 6px; /* 文字が端に近い感を軽減 */
}

/* スマホ：さらに“ゆとり”優先（窮屈が出やすい） */
@media (max-width: 560px){
  .tl-lead{
    padding: 22px 16px 20px;
    border-radius: 16px;
  }
  .tl-lead__kicker{
    margin-bottom: 12px;
  }
  .tl-lead__title{
    font-size: 18px;   /* clampが効いてても固定で安定させたい場合 */
  }
}

/* =========================================================
   TASSとは（tass-about）専用：読みやすさ最優先UI
========================================================= */
.tass-about{
  --accent: var(--green, rgb(34, 183, 86));
  --ink: #111;
  --muted: #666;
  --line: rgba(0,0,0,.08);

  max-width: 980px;
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 28px) clamp(14px, 2vw, 18px) clamp(28px, 3.2vw, 44px);
  color: var(--ink);
}

.tass-about *{ box-sizing: border-box; }
.tass-about p{
  margin: 0;
  line-height: 1.95;
  font-size: 15px;
  color: var(--ink);
  max-width: 70ch;   /* 読みやすい行長 */
}
.tass-about .tass-about__text p + p{ margin-top: 12px; }

/* HERO */
.tass-about__hero{
  background: #fff;
  border: 1px solid rgba(34,183,86,.18);
  border-radius: 18px;
  padding: 24px 20px 22px;
  box-shadow: 0 18px 52px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.tass-about__hero::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 4px;
  background: var(--accent);
}
.tass-about__kicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.18);
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
  margin: 0 0 12px;
}
.tass-about__title{
  margin: 0 0 10px;
  line-height: 1.25;
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 32px);
  text-wrap: balance;
}
.tass-about__lead{
  color: var(--muted);
}

/* Sections */
.tass-about__section{
  padding: clamp(18px, 3vw, 34px) 0;
  border-top: 1px solid var(--line);
}
.tass-about__section:first-of-type{ border-top: 0; padding-top: 10px; }

.tass-about__h2{
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 900;
  position: relative;
  padding-left: 12px;
}
.tass-about__h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.2em;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: var(--accent);
}

/* Media block (image + text) */
.tass-about__media{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: start;
}
.tass-about__figure{
  margin: 0;
}
.tass-about__figure img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0,0,0,.10);
}
.tass-about__figure figcaption{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.tass-about__note{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  color: var(--muted);
}

/* Timeline */
.tass-about__timeline{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(34,183,86,.22);
}
.tass-about__tlitem{
  margin: 0;
  padding: 12px 0 12px 16px;
  position: relative;
}
.tass-about__tlitem::before{
  content:"";
  position:absolute;
  left: -7px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--accent);
}
.tass-about__tlitem h3{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
}
.tass-about__tlitem p{ color: var(--muted); }

/* Lesson cards */
.tass-about__cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.tass-about__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.07);
}
.tass-about__cardtitle{
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 15px;
}
.tass-about__card p{ color: var(--muted); }

/* Background section */
.tass-about__section--bg{
  border-top: 0;
  padding: 0;
  margin: 10px 0 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  position: relative;
}
.tass-about__section--bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.tass-about__section--bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.65));
}
.tass-about__bginner{
  position: relative;
  padding: 22px 18px 20px;
  color: #fff;
}
.tass-about__section--bg .tass-about__h2{
  color:#fff;
  padding-left: 0;
}
.tass-about__section--bg .tass-about__h2::before{ content:none; }

.tass-about__quote{
  margin-top: 12px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.tass-about__quote p{ color: #fff; max-width: 72ch; }
.tass-about__quoteem{ margin-top: 10px; opacity: .95; }

/* Chips */
.tass-about__chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}
.tass-about__chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34,183,86,.10);
  border: 1px solid rgba(34,183,86,.18);
  font-weight: 800;
  font-size: 12px;
  color: #0b3a1f;
}

/* Final message */
.tass-about__final{
  margin-top: clamp(18px, 2.6vw, 28px);
  background: #fff;
  border: 1px solid rgba(34,183,86,.18);
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 18px 52px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
}
.tass-about__final::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,183,86,.10), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(34,183,86,.08), transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(34,183,86,.06), transparent 55%);
  pointer-events:none;
}
.tass-about__finaltitle{
  position: relative;
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
}
.tass-about__finaltext{
  position: relative;
  color: var(--muted);
}

/* CTA buttons */
.tass-about__cta{
  position: relative;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tass-about__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.05);
}
.tass-about__btn--ghost{
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(34,183,86,.35);
}

/* Responsive */
@media (max-width: 860px){
  .tass-about__media{
    grid-template-columns: 1fr;
  }
  .tass-about__cards{
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   tass-about 背景セクション：黒さを解消して写真を見せる
========================================================= */

/* ベースの黒を消す */
.tass-about__section--bg{
  background: transparent !important;
}

/* 背景写真レイヤー（::before）の見え方を強くする */
.tass-about__section--bg::before{
  opacity: .62 !important;                /* ←写真を見せたいので上げる */
  filter: saturate(1.08) contrast(1.03);  /* 色を少し鮮やかに */
}

/* 暗幕（::after）を弱める or 明るめにする */
.tass-about__section--bg::after{
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.08),
    rgba(0,0,0,.22)
  ) !important;
}

/* 中のテキストは“白固定”だと見づらい時があるので調整 */
.tass-about__section--bg .tass-about__h2{
  color: #fff !important;
}

/* 引用カードを少し明るくして可読性UP */
.tass-about__quote{
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
/* =========================================================
   TASSとは：文字の太さを調整（読みやすさ最優先）
========================================================= */

/* 本文は軽めに（標準） */
.tass-about{
  font-weight: 400;
}
.tass-about p,
.tass-about li,
.tass-about__lead,
.tass-about__finaltext{
  font-weight: 400 !important;
}

/* 強調は“太字”じゃなく色と余白で見せる */
.tass-about strong{
  font-weight: 600 !important;
}

/* 見出しは少しだけ太め（太すぎ注意） */
.tass-about__title{
  font-weight: 800 !important;  /* 900→重すぎるので軽く */
}
.tass-about__h2{
  font-weight: 700 !important;  /* 900→700 */
}
.tass-about__tlitem h3,
.tass-about__cardtitle,
.tass-about__finaltitle{
  font-weight: 700 !important;
}

/* チップとキッカーは“読みやすい太さ”に */
.tass-about__kicker,
.tass-about__chip{
  font-weight: 700 !important;
}

/* タイムライン本文や説明文は少し薄めに */
.tass-about__tlitem p,
.tass-about__card p,
.tass-about__lead,
.tass-about__note{
  color: #555 !important;
}

/* 背景セクション内：白文字が太く見えるので軽くする */
.tass-about__section--bg .tass-about__quote p{
  font-weight: 400 !important;
  color: rgba(255,255,255,.92) !important;
}
.tass-about__section--bg .tass-about__quote strong{
  font-weight: 600 !important;
}

/* 背景セクション見出しも少し軽く */
.tass-about__section--bg .tass-about__h2{
  font-weight: 700 !important;
}
/* =========================================================
   Sidebar：固定CTA + 早見 + 会場 + 最新お知らせ + FAQ
========================================================= */

/* 追従（デスクトップ） */
.page-aside{
  position: sticky;
  top: 92px;               /* 固定ヘッダーがある想定。合わなければ 80〜110 で調整 */
  align-self: start;
}

/* 既存サイドカードとは別系統 */
.tass-sidebar{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.tass-sidebox{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.tass-sidebox__title{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;    /* 太すぎない */
  letter-spacing: .02em;
}

.tass-sidebox__hint{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* CTA */
.tass-sidebox--cta{
  border-color: rgba(34,183,86,.22);
}

.tass-sbtn{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease;
}
.tass-sbtn:hover{ transform: translateY(-1px); }

.tass-sbtn--primary{
  background: var(--green);
  color:#fff;
  border: 1px solid rgba(0,0,0,.06);
}
.tass-sbtn--ghost{
  margin-top: 10px;
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(34,183,86,.35);
}

/* クラス早見 */
.tass-classlist{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.tass-classlink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.02);
  text-decoration:none;
}
.tass-classlink__name{ font-weight:700; color: var(--text); }
.tass-classlink__age{ font-size:12px; color: var(--muted); }

/* 会場 */
.tass-venuelist__all{
  display:inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-decoration:none;
}
.tass-venuelist{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.tass-venuelink{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  text-decoration:none;
  color: var(--text);
}
.tass-venuelink__sub{ font-size:12px; color: var(--muted); }

/* 最新お知らせ */
.tass-news{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.tass-news__link{
  display:grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items:start;
  text-decoration:none;
  color: var(--text);
}
.tass-news__date{
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px;
}
.tass-news__title{
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

/* 共通リンク */
.tass-more,
.tass-faq{
  display:inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-decoration:none;
}
.tass-empty{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* モバイル：サイドバーは下に落ちるので、CTAは画面下に固定 */
.tass-mobilebar{
  display:none;
}

@media (max-width: 920px){
  .page-aside{ position: static; }

  .tass-mobilebar{
    display:flex;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 9999;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
    backdrop-filter: blur(10px);
  }
  .tass-mobilebar__btn{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    height: 44px;
    border-radius: 12px;
    text-decoration:none;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
  }
  .tass-mobilebar__btn--primary{
    background: var(--green);
    border-color: rgba(0,0,0,.06);
    color:#fff;
  }

  /* CTAバーが本文にかぶらないように下余白（不要なら消してOK） */
  body{
    padding-bottom: 84px;
  }
}
/* ==============================
   Modal (WhatsApp Image Popup)
============================== */
.tl-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index: 99999;
}

.tl-modal.is-open{ display:block; }

.tl-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.tl-modal__panel{
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  padding: 18px;
}

.tl-modal__close{
  position:absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.tl-modal__figure{ margin:0; }
.tl-modal__img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
}

.tl-modal__cap{
  margin-top: 10px;
  text-align:center;
  font-size: 12px;
  color: #666;
}

/* スマホ：少し上に寄せる */
@media (max-width: 560px){
  .tl-modal__panel{ margin-top: 14vh; padding: 14px; }
}

