/* ============================================================
   音育プレママパーティ サイト共通スタイル（style.css）
   ------------------------------------------------------------
   構成
     1. 共通        … 変数・リセット・全ページ共通パーツ
     2. トップページ … <body class="home"> のページ専用
     3. 下層ページ   … <body class="sub"> のページ専用

   ※ トップと下層ページでは、同じクラス名（.header / .nav / .eyebrow /
     .wrap / h1 など）でも見た目が違います。そのため各セクションの
     セレクタの先頭に .home / .sub を付けて切り分けています。
     新しいページを作るときは <body> に必ずどちらかを付けてください。
   ============================================================ */

/* ============================================================
   1. 共通
   ============================================================ */

:root {
  --green:#236b4f;
  --deep:#173d32;
  --leaf:#5f9467;
  --sun:#f2c55d;
  --cream:#fbfaf3;
  --ink:#24332e;
  --white:#fff;
  --line:rgba(35,107,79,.18);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"Noto Sans JP",sans-serif;
}

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

.topbar {
  background:var(--deep);
  color:#fff;
  font-size:.78rem;
  letter-spacing:.1em;
  text-align:center;
  padding:7px 16px;
}

.home {
  line-height: 1.8;
}

.sub {
  line-height: 1.9;
}

/* ============================================================
   2. トップページ（body.home）
   ============================================================ */

.home img {
  max-width:100%;
  display:block;
}

.home .wrap {
  width:min(1160px,calc(100% - 40px));
  margin:auto;
}

.home .header {
  position:absolute;
  z-index:10;
  top:31px;
  left:0;
  right:0;
  color:#fff;
}

.home .nav {
  height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.35);
}

.home .brand {
  display:flex;
  align-items:center;
  gap:14px;
}

.home .brand img {
  display:block;
  width:78px;
  height:78px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  padding:6px;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(9,35,26,.16);
}

.home .navlinks {
  display:flex;
  gap:27px;
  align-items:center;
  font-size:.9rem;
  font-weight:600;
}

.home .navlinks a {
  transition:.2s;
}

.home .navlinks a:hover {
  opacity:.7;
}

.home .navlinks .contact {
  border:1px solid rgba(255,255,255,.7);
  padding:10px 18px;
  border-radius:99px;
}

.home .menu {
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:1.7rem;
}

.home .hero {
  min-height:760px;
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#173d32;
}

.home .hero>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 45%;
  transform:scale(1.04) translateX(-1.8%);
  transform-origin:center;
}

.home .hero:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(270deg,rgba(11,48,34,.76) 0%,rgba(11,48,34,.32) 48%,rgba(11,48,34,0) 72%),linear-gradient(0deg,rgba(9,35,26,.48),transparent 48%);
}

.home .hero-copy {
  position:relative;
  z-index:1;
  color:#fff;
  padding:220px 0 105px;
  max-width:700px;
  margin-left:auto;
}

.home .eyebrow {
  display:flex;
  align-items:center;
  gap:13px;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.22em;
  font-weight:600;
}

.home .eyebrow:before {
  content:"";
  width:45px;
  height:1px;
  background:var(--sun);
}

.home h1 {
  font-family:"Kiwi Maru",serif;
  font-weight:500;
  font-size:clamp(2.4rem,4.8vw,4.35rem);
  line-height:1.3;
  letter-spacing:.045em;
  margin:20px 0 22px;
  text-shadow:0 3px 20px rgba(0,0,0,.2);
}

.home .hero-line {
  display:block;
  white-space:nowrap;
}

.home .lead {
  font-size:clamp(1rem,1.8vw,1.25rem);
  max-width:600px;
  margin:0 0 35px;
}

.home .actions {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.home .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:14px 25px;
  border-radius:99px;
  font-weight:600;
  min-width:190px;
  transition:.25s;
}

.home .btn.primary {
  background:var(--sun);
  color:var(--deep);
}

.home .btn.ghost {
  border:1px solid rgba(255,255,255,.75);
  color:#fff;
}

.home .btn:hover {
  transform:translateY(-2px);
}

.home .btn span {
  font-size:1.3em;
}

.home .stats {
  position:relative;
  z-index:2;
  background:var(--white);
  width:min(1050px,calc(100% - 40px));
  margin:-42px auto 0;
  border-radius:16px;
  box-shadow:0 18px 60px rgba(24,64,49,.12);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:25px;
}

.home .stat {
  text-align:center;
  border-right:1px solid var(--line);
  padding:8px;
}

.home .stat:last-child {
  border:0;
}

.home .stat strong {
  display:block;
  color:var(--green);
  font-family:"Kiwi Maru";
  font-size:2rem;
  line-height:1.2;
}

.home .stat span {
  font-size:.84rem;
  color:#617069;
}

.home section {
  padding:110px 0;
}

.home .section-head {
  margin-bottom:44px;
}

.home .section-head .eyebrow {
  color:var(--green);
}

.home h2 {
  font-family:"Kiwi Maru";
  font-weight:500;
  color:var(--deep);
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.45;
  letter-spacing:.05em;
  margin:15px 0;
}

.home .intro {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:75px;
  align-items:center;
}

.home .intro-images {
  position:relative;
  padding:0 54px 52px 0;
}

.home .intro-images .main {
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:180px 180px 20px 20px;
}

.home .intro-images .small {
  position:absolute;
  right:0;
  bottom:0;
  width:48%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:10px solid var(--cream);
  border-radius:50%;
}

.home .intro-copy p {
  font-size:1.05rem;
}

.home .note {
  display:flex;
  gap:18px;
  margin-top:28px;
  padding:22px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.home .note b {
  color:var(--green);
  font-family:"Kiwi Maru";
  font-size:1.3rem;
}

.home .note p {
  margin:0;
  font-size:.93rem;
}

.home .programs {
  background:#edf4ed;
  position:relative;
  overflow:hidden;
}

.home .programs:before {
  content:"♪";
  position:absolute;
  font-family:serif;
  font-size:26rem;
  color:rgba(35,107,79,.045);
  right:-40px;
  top:-200px;
}

.home .program-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.home .card {
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 35px rgba(28,73,56,.07);
  transition:.25s;
}

.home .card:hover {
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(28,73,56,.13);
}

.home .card-image {
  height:220px;
  overflow:hidden;
}

.home .card-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

.home .card:hover img {
  transform:scale(1.04);
}

.home .card-body {
  padding:27px;
}

.home .card-no {
  color:var(--leaf);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.15em;
}

.home .card h3 {
  font-family:"Kiwi Maru";
  font-size:1.3rem;
  color:var(--deep);
  margin:8px 0 10px;
}

.home .card p {
  margin:0;
  color:#66736e;
  font-size:.9rem;
}

.home .text-card {
  min-height:220px;
  background:var(--green);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:28px;
  position:relative;
}

.home .text-card:after {
  content:"♩";
  position:absolute;
  right:25px;
  top:5px;
  font-size:6.5rem;
  color:rgba(255,255,255,.13);
}

.home .text-card h3,
.home .text-card p {
  color:#fff;
}

.home .mission {
  background:var(--deep);
  color:#fff;
  padding:0;
}

.home .mission-grid {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:600px;
}

.home .mission-image img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.home .mission-copy {
  padding:90px 9vw 85px 75px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.home .mission-copy .eyebrow {
  color:#cde5d5;
}

.home .mission-copy h2 {
  color:#fff;
}

.home .mission-copy p {
  color:#dce8e3;
}

.home .quote {
  border-left:2px solid var(--sun);
  padding-left:22px;
  margin:18px 0 28px;
  font-family:"Kiwi Maru";
  font-size:1.18rem;
  line-height:1.9;
}

.home .cta {
  text-align:center;
  background:linear-gradient(rgba(251,250,243,.86),rgba(251,250,243,.92)),url('otoiku-stage.jpg') center/cover fixed;
}

.home .cta h2 {
  max-width:720px;
  margin:15px auto 20px;
}

.home .cta p {
  max-width:620px;
  margin:0 auto 30px;
}

.home .cta .btn.primary {
  background:var(--green);
  color:#fff;
}

.home footer {
  background:#102d25;
  color:#dce8e3;
  padding:55px 0 25px;
}

.home .footer-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:55px;
  align-items:start;
}

.home .footer-logo {
  display:block;
  width:118px;
  height:118px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  padding:8px;
  border-radius:18px;
  margin-bottom:18px;
}

.home .footer-links {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
  font-size:.9rem;
}

.home .social {
  display:flex;
  gap:12px;
  margin-top:18px;
}

.home .social a {
  border:1px solid rgba(255,255,255,.28);
  border-radius:99px;
  padding:7px 14px;
  font-size:.8rem;
}

.home .copyright {
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:35px;
  padding-top:22px;
  text-align:center;
  font-size:.75rem;
  color:#91aaa0;
}

/* --- 個別パーツ（HTMLのインラインstyleから移動） --- */
.home .eyebrow--center {
  justify-content: center;
  color: var(--green);
}

@media(max-width:900px) {
  .home .navlinks {
    display:none;
  }

  .home .navlinks.open {
    display:flex;
    position:absolute;
    left:20px;
    right:20px;
    top:82px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:rgba(16,45,37,.97);
    border-radius:15px;
    padding:12px;
    box-shadow:0 18px 50px rgba(0,0,0,.25);
  }

  .home .navlinks.open a {
    padding:12px 14px;
  }

  .home .navlinks.open .contact {
    text-align:center;
    margin-top:5px;
  }

  .home .menu {
    display:block;
  }

  .home .hero {
    min-height:700px;
  }

  .home .hero>img {
    object-position:55% center;
  }

  .home .intro,
.home .mission-grid {
    grid-template-columns:1fr;
  }

  .home .intro {
    gap:45px;
  }

  .home .intro-images {
    max-width:630px;
    margin:auto;
  }

  .home .program-grid {
    grid-template-columns:1fr 1fr;
  }

  .home .mission-image {
    height:520px;
  }

  .home .mission-copy {
    padding:70px 40px;
  }

  .home .footer-grid {
    grid-template-columns:1fr;
  }
}

@media(max-width:600px) {
  .home .wrap {
    width:min(100% - 28px,1160px);
  }

  .home .topbar {
    font-size:.68rem;
  }

  .home .header {
    top:29px;
  }

  .home .nav {
    height:76px;
  }

  .home .brand img {
    width:66px;
    height:66px;
    padding:5px;
    border-radius:14px;
  }

  .home .hero {
    display:block;
    min-height:0;
  }

  .home .hero>img {
    position:relative;
    height:480px;
    object-position:38% center;
    transform:none;
  }

  .home .hero:after {
    display:none;
  }

  .home .hero-copy {
    max-width:none;
    margin:0;
    padding:42px 14px 64px;
    background:var(--deep);
  }

  .home .hero-copy h1 {
    font-size:clamp(1.95rem,9vw,2.4rem);
    letter-spacing:.025em;
  }

  .home .stats {
    grid-template-columns:1fr;
    padding:14px;
    margin-top:-24px;
  }

  .home .stat {
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:13px;
  }

  .home .stat strong {
    font-size:1.6rem;
  }

  .home section {
    padding:78px 0;
  }

  .home .intro-images {
    padding:0 35px 38px 0;
  }

  .home .intro-images .main {
    border-radius:130px 130px 16px 16px;
  }

  .home .program-grid {
    grid-template-columns:1fr;
  }

  .home .card-image {
    height:240px;
  }

  .home .mission-image {
    height:420px;
  }

  .home .mission-copy {
    padding:65px 28px;
  }

  .home .footer-links {
    grid-template-columns:1fr;
  }

  .home .actions .btn {
    width:100%;
  }

  .home .cta {
    background-attachment:scroll;
  }
}

/* ============================================================
   3. 下層ページ（body.sub）
   ============================================================ */

.sub .wrap {
  width:min(1040px,calc(100% - 40px));
  margin:auto;
}

.sub .header {
  background:#fff;
  border-bottom:1px solid var(--line);
}

.sub .nav {
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.sub .brand img {
  display:block;
  width:235px;
  height:auto;
}

.sub .navlinks {
  display:flex;
  gap:26px;
  align-items:center;
  font-size:.9rem;
  font-weight:600;
}

.sub .navlinks a:hover {
  color:var(--green);
}

.sub .navlinks .contact {
  background:var(--green);
  color:#fff;
  padding:10px 18px;
  border-radius:99px;
}

.sub .page-head {
  background-image:linear-gradient(90deg,rgba(14,48,36,.78) 0%,rgba(14,48,36,.4) 58%,rgba(14,48,36,.1) 100%),var(--page-image);
  background-size:cover;
  background-position:center;
  color:#fff;
  min-height:450px;
  padding:85px 0 78px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
}

.sub .page-head>.wrap {
  position:relative;
  z-index:1;
}

.sub .page-head:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(9,35,26,.2),transparent 55%);
  pointer-events:none;
}

.sub .crumb {
  font-size:.78rem;
  color:#e5f0eb;
  margin-bottom:22px;
}

.sub .eyebrow {
  display:flex;
  align-items:center;
  gap:13px;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.2em;
  color:#f0f7f3;
  text-shadow:0 2px 14px rgba(0,0,0,.22);
}

.sub .eyebrow:before {
  content:"";
  width:44px;
  height:1px;
  background:var(--sun);
}

.sub h1,
.sub h2,
.sub h3 {
  font-family:"Kiwi Maru",serif;
  font-weight:500;
}

.sub h1 {
  font-size:clamp(2.5rem,5vw,4.5rem);
  letter-spacing:.06em;
  line-height:1.35;
  margin:16px 0;
  text-shadow:0 3px 24px rgba(0,0,0,.3);
}

.sub h2 {
  color:var(--deep);
  font-size:clamp(1.8rem,3.5vw,2.8rem);
  line-height:1.45;
  margin:0 0 24px;
}

.sub h3 {
  color:var(--green);
  font-size:1.35rem;
  margin:0 0 12px;
}

.sub .lead {
  font-size:1.08rem;
  color:#fff;
  max-width:720px;
  text-shadow:0 2px 18px rgba(0,0,0,.35);
}

.sub .content {
  padding:90px 0;
}

.sub .intro {
  font-size:1.06rem;
  max-width:900px;
}

.sub .intro p {
  margin:0 0 1.2em;
}

.sub .feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:45px 0 80px;
}

.sub .feature {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px;
}

.sub .feature b {
  display:block;
  color:var(--green);
  font-family:"Kiwi Maru";
  font-size:1.25rem;
  margin-bottom:10px;
}

.sub .video-section {
  background:#edf4ed;
  padding:80px 0;
}

.sub .video-wrap {
  max-width:760px;
  margin:auto;
}

.sub .video-shell {
  background:#102d25;
  padding:16px;
  border-radius:24px;
  box-shadow:0 20px 60px rgba(20,60,45,.18);
}

.sub video {
  width:100%;
  display:block;
  border-radius:14px;
  background:#000;
}

.sub .video-note {
  text-align:center;
  margin-top:18px;
  color:#617069;
}

.sub .members {
  padding:95px 0;
}

.sub .member-list {
  display:grid;
  gap:20px;
}

.sub .member {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px 34px;
}

.sub .member .role {
  font-size:.82rem;
  font-weight:700;
  color:var(--leaf);
  letter-spacing:.1em;
  margin-bottom:4px;
}

.sub .member p {
  margin:0;
  color:#4f5e58;
}

.sub .region {
  margin:68px 0 22px;
  padding:18px 24px;
  border-left:4px solid var(--sun);
  background:#eef5ef;
  color:var(--deep);
  font-family:"Kiwi Maru";
  font-size:1.55rem;
}

.sub .links {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:45px;
}

.sub .button {
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--green);
  color:#fff;
  padding:13px 22px;
  border-radius:99px;
  font-weight:600;
}

.sub .button.secondary {
  background:transparent;
  border:1px solid var(--green);
  color:var(--green);
}

.sub .wood-section {
  padding:90px 0;
}

.sub .wood-section.alt {
  background:#edf4ed;
}

.sub .text-block {
  max-width:860px;
}

.sub .text-block p {
  margin:0 0 1.2em;
}

.sub .contact-box {
  margin-top:60px;
  padding:38px;
  background:var(--deep);
  color:#fff;
  border-radius:22px;
}

.sub .contact-box h2 {
  color:#fff;
}

.sub .contact-box p {
  color:#dce8e3;
}

.sub footer {
  background:#102d25;
  color:#dce8e3;
  padding:45px 0 24px;
}

.sub .footer-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
}

.sub .footer-logo {
  display:block;
  width:112px;
  height:112px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  padding:7px;
  border-radius:18px;
}

.sub .footer-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:16px;
  font-size:.85rem;
}

.sub .copyright {
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:30px;
  padding-top:20px;
  text-align:center;
  font-size:.75rem;
  color:#91aaa0;
}

.sub .shorts-video {
  width:min(390px,100%);
  margin:35px auto 0;
  aspect-ratio:9/16;
  background:#102d25;
  padding:10px;
  border-radius:24px;
  box-shadow:0 20px 60px rgba(20,60,45,.18);
}

.sub .shorts-video iframe {
  width:100%;
  height:100%;
  display:block;
  border:0;
  border-radius:16px;
}

.sub .photo-pair {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:22px;
  margin:38px 0 75px;
}

.sub .photo-pair img {
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 15px 45px rgba(28,73,56,.12);
}

.sub .photo-pair img:first-child {
  object-position:center;
}

.sub .photo-pair img:last-child {
  object-position:center;
}

.sub .photo-trio {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
  margin:38px 0 70px;
  align-items:stretch;
}

.sub .photo-trio img {
  width:100%;
  height:390px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 12px 35px rgba(28,73,56,.11);
}

.sub .photo-trio img:nth-child(2),
.sub .photo-trio img:nth-child(3) {
  object-position:center;
}

.sub .soft-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:35px;
  margin-top:35px;
}

.sub .soft-panel p:last-child {
  margin-bottom:0;
}

.sub .story-photo {
  margin:0 0 48px;
}

.sub .story-photo img {
  display:block;
  width:100%;
  max-height:680px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 18px 48px rgba(45,67,58,.14);
}

.sub .profile-layout {
  display:grid;
  grid-template-columns:300px 1fr;
  gap:48px;
  align-items:start;
  margin:55px 0;
}

.sub .profile-layout img {
  width:100%;
  border-radius:22px;
  box-shadow:0 16px 45px rgba(28,73,56,.14);
}

.sub .profile-title {
  color:var(--green);
  font-weight:700;
  margin-bottom:18px;
}

.sub .contact-options {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:42px 0;
}

.sub .contact-option {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:32px;
}

.sub .contact-option p {
  color:#56645f;
  flex:1;
}

.sub .contact-option .button {
  margin-top:12px;
}

.sub .email-address {
  color:var(--green);
  font-weight:700;
  overflow-wrap:anywhere;
}

.sub .program-list {
  display:grid;
  gap:16px;
  margin:42px 0 0;
  counter-reset:program;
}

.sub .program-item {
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px 30px 26px 86px;
}

.sub .program-item:before {
  counter-increment:program;
  content:counter(program,decimal-leading-zero);
  position:absolute;
  left:28px;
  top:24px;
  color:var(--sun);
  font-family:"Kiwi Maru",serif;
  font-size:1.55rem;
  font-weight:500;
}

.sub .program-item h3 {
  margin-bottom:6px;
}

.sub .program-item p {
  margin:0;
  color:#56645f;
}

.sub .page-head.healing-head {
  background-color:var(--deep);
  background-size:100% 100%,auto 100%;
  background-position:center,right center;
  background-repeat:no-repeat;
}

.sub .activity-gallery {
  display:grid;
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:220px;
  gap:16px;
  margin:44px 0 90px;
}

.sub .activity-gallery figure {
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#e5eee8;
  box-shadow:0 14px 38px rgba(28,73,56,.12);
}

.sub .activity-gallery figure:nth-child(1) {
  grid-column:span 7;
  grid-row:span 2;
}

.sub .activity-gallery figure:nth-child(2) {
  grid-column:span 5;
}

.sub .activity-gallery figure:nth-child(3) {
  grid-column:span 5;
}

.sub .activity-gallery figure:nth-child(4),
.sub .activity-gallery figure:nth-child(5) {
  grid-column:span 6;
}

.sub .activity-gallery img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.sub .activity-gallery figure:hover img {
  transform:scale(1.025);
}

.sub .activity-gallery figcaption {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:35px 20px 15px;
  color:#fff;
  font-weight:600;
  background:linear-gradient(transparent,rgba(10,37,29,.76));
}

.sub .activity-years {
  display:grid;
  gap:22px;
}

.sub .activity-year {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:34px 38px;
}

.sub .activity-year h3 {
  font-size:1.6rem;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}

.sub .activity-list {
  list-style:none;
  padding:0;
  margin:0;
  columns:2;
  column-gap:46px;
}

.sub .activity-list li {
  break-inside:avoid;
  padding:11px 0;
  border-bottom:1px dotted rgba(35,107,79,.2);
}

.sub .activity-list time {
  display:block;
  color:var(--leaf);
  font-weight:700;
  font-size:.84rem;
  letter-spacing:.04em;
}

.sub .activity-note {
  color:#5b6964;
}

.sub .activity-archive {
  margin-top:24px;
}

.sub .activity-archive summary {
  cursor:pointer;
  color:var(--green);
  font-weight:700;
  padding:14px 0;
}

.sub .activity-archive .activity-list {
  margin-top:10px;
}

/* --- 個別パーツ（HTMLのインラインstyleから移動） --- */
.sub .eyebrow--green {
  color: var(--green);
}

.sub .link-strong {
  color: var(--green);
  font-weight: 700;
}

.sub .button--sun {
  background: var(--sun);
  color: var(--deep);
}

.sub .button.secondary.button--light {
  border-color: #fff;
  color: #fff;
}

/* --- ページ見出しの背景画像（ページごと） --- */

.sub .page-head--about {
  --page-image: url('otoiku-close.jpg');
  background-position: center 72%;
}

.sub .page-head--contact {
  --page-image: url('otoiku-stage.jpg');
}

.sub .page-head--ehon {
  --page-image: url('ehon-concert-privacy.png');
}

.sub .page-head--kiran {
  --page-image: url('otoiku-close.jpg');
  background-position: center 76%;
}

.sub .page-head--lucky {
  --page-image: url('lucky-card.jpg');
}

.sub .page-head--mission {
  --page-image: url('otoiku-stage.jpg');
}

.sub .page-head--otoiku {
  --page-image: url('otoiku-new-02.jpg');
}

.sub .page-head--results {
  --page-image: url('otoiku-new-02.jpg');
  background-position: center 46%;
}

.sub .page-head--usachan {
  --page-image: url('usachan-01.png');
}

.sub .page-head.healing-head {
  --page-image: url('healing-project.jpg');
}

@media(max-width:800px) {
  .sub .navlinks {
    display:none;
  }

  .sub .feature-grid {
    grid-template-columns:1fr;
  }

  .sub .footer-row {
    align-items:flex-start;
    flex-direction:column;
  }

  .sub .footer-links {
    justify-content:flex-start;
  }

  .sub .page-head {
    padding:65px 0;
  }

  .sub .content,
.sub .members,
.sub .wood-section {
    padding:70px 0;
  }

  .sub .profile-layout,
.sub .contact-options {
    grid-template-columns:1fr;
  }

  .sub .profile-layout img {
    max-width:380px;
  }

  .sub .activity-gallery {
    grid-template-columns:1fr 1fr;
    grid-auto-rows:250px;
  }

  .sub .activity-gallery figure,
.sub .activity-gallery figure:nth-child(n) {
    grid-column:span 1;
    grid-row:span 1;
  }

  .sub .activity-gallery figure:first-child {
    grid-column:1/-1;
  }

  .sub .activity-list {
    columns:1;
  }

  .sub .photo-pair {
    grid-template-columns:1fr;
  }

  .sub .photo-pair img {
    height:auto;
    max-height:560px;
  }

  .sub .photo-trio {
    grid-template-columns:1fr 1fr;
  }

  .sub .photo-trio img {
    height:360px;
  }

  .sub .photo-trio img:last-child {
    grid-column:1/-1;
    height:auto;
    max-height:560px;
  }
}

@media(max-width:540px) {
  .sub .wrap {
    width:min(100% - 28px,1040px);
  }

  .sub .brand img {
    width:195px;
  }

  .sub .nav {
    min-height:78px;
  }

  .sub .member {
    padding:24px 22px;
  }

  .sub .video-section {
    padding:60px 0;
  }

  .sub .video-shell {
    padding:8px;
    border-radius:16px;
  }

  .sub h1 {
    font-size:2.35rem;
  }

  .sub .photo-trio {
    grid-template-columns:1fr;
  }

  .sub .photo-trio img,
.sub .photo-trio img:last-child {
    grid-column:auto;
    height:auto;
    max-height:600px;
  }

  .sub .soft-panel {
    padding:25px 22px;
  }

  .sub .activity-gallery {
    grid-template-columns:1fr;
    grid-auto-rows:260px;
    margin-bottom:65px;
  }

  .sub .activity-gallery figure:first-child {
    grid-column:auto;
  }

  .sub .activity-year {
    padding:26px 22px;
  }

  .sub .program-item {
    padding:72px 22px 24px;
  }

  .sub .program-item:before {
    left:22px;
    top:18px;
  }

  .sub .page-head.healing-head {
    background-size:100% 100%,auto 100%;
    background-position:center,58% center;
  }
}
