:root{
  --bg:#f6f2ea;
  --paper:#fffdf8;
  --ink:#173833;
  --ink-soft:#5a716b;
  --deep:#102924;
  --accent:#dcc089;
  --line:#e6ddd0;
  --shadow:0 18px 60px rgba(23,56,51,.11);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans JP',sans-serif;line-height:1.85}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:auto}
.container{max-width:1180px;margin:0 auto;padding:0 28px}
.narrow{max-width:820px}
.center{text-align:center}
.section{padding:96px 0}
.eyebrow{margin:0 0 16px;font-size:11px;font-weight:800;letter-spacing:3px;color:#8b9a94;text-transform:uppercase}
.eyebrow-light{color:#f0deb6}
h1,h2,h3{margin:0;font-family:'Noto Serif JP',serif;font-weight:700;letter-spacing:.04em}
h2{font-size:clamp(30px,3.5vw,44px);line-height:1.45}
p{margin:0 0 14px}

.site-header{position:absolute;z-index:10;top:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;padding:20px clamp(18px,4vw,42px);color:#fff}
.site-brand{display:flex;align-items:center;gap:12px}
.brand-mark{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.65);display:grid;place-items:center;font-family:'Noto Serif JP',serif;font-weight:700}
.brand-text{font-weight:800;letter-spacing:.12em;font-size:14px}.brand-text small{display:block;font-size:10px;letter-spacing:.16em;font-weight:500;margin-top:3px;opacity:.92}
.site-nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:700}.nav-pill{padding:10px 16px;border:1px solid rgba(255,255,255,.6);border-radius:999px}

.hero{position:relative;min-height:92svh;color:#fff;background:#23443d;overflow:hidden}.hero-media,.hero-overlay{position:absolute;inset:0}.hero-media{background-size:cover;background-position:center center}.hero-overlay{background:linear-gradient(90deg,rgba(8,24,21,.84),rgba(16,44,38,.5) 58%,rgba(14,35,31,.42)),linear-gradient(180deg,rgba(9,22,19,.18),rgba(8,21,18,.74) 88%)}
.hero-inner{position:relative;z-index:2;padding-top:160px;padding-bottom:76px}.hero h1{font-size:clamp(42px,6vw,78px);line-height:1.34;margin-bottom:18px}.hero h1 span{color:#f5d79b}.hero-copy{max-width:700px;font-size:16px;line-height:2.1;color:rgba(255,255,255,.95)}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.hero-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:42px}.hero-panel div{padding:18px 18px 16px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);backdrop-filter:blur(3px)}.hero-panel strong{display:block;font-size:12px;letter-spacing:.12em;color:#f3dca7;margin-bottom:6px}.hero-panel span{font-size:13px;line-height:1.8;color:#fff}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:14px 24px;border-radius:999px;font-size:14px;font-weight:800;transition:transform .2s ease}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--accent);color:var(--deep)}.btn-ghost{border:1px solid rgba(255,255,255,.6);color:#fff}.btn-dark{background:var(--deep);color:#fff;width:100%}.btn-outline{border:1px solid rgba(255,255,255,.84);color:#fff}

.intro{background:var(--paper)}.intro-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:center}.intro-copy p{color:var(--ink-soft);font-size:15px;line-height:2.35}.intro-visual{margin:0;overflow:hidden;border-radius:26px;box-shadow:var(--shadow)}.intro-visual img{width:100%;height:360px;object-fit:cover;display:block}

.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:34px}.section-head-dark .section-copy,.section-head-dark h2{color:#fff}.section-copy{max-width:430px;text-align:right;color:#667a73;font-size:13px;line-height:2.05}

.overview{background:var(--ink);color:#fff}.info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.info-card{min-height:185px;padding:24px 20px 20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}.info-card span{display:inline-block;margin-bottom:14px;font-family:'Noto Serif JP',serif;color:var(--accent);font-size:14px}.info-card h3{font-size:19px;margin-bottom:10px}.info-card p{margin:0;color:#d9e4df;font-size:13px;line-height:2}.info-card strong{display:inline-block;margin-bottom:3px;font-size:20px;color:#fff;font-family:'Noto Serif JP',serif}.overview-visuals{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:end;margin-top:26px}.overview-photo{margin:0;overflow:hidden;border-radius:24px;box-shadow:var(--shadow)}.overview-photo img{display:block;width:100%;height:100%;object-fit:cover}.overview-photo.large{height:320px}.overview-photo.small{height:220px}

.survey{background:var(--paper)}.survey-wrap{display:grid;grid-template-columns:1.02fr .98fr;gap:42px;align-items:center}.survey-copy p{color:var(--ink-soft);font-size:15px;line-height:2.2}.survey-copy ul{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:10px}.survey-copy li{position:relative;padding-left:24px;color:#45635c;font-weight:700}.survey-copy li::before{content:'✓';position:absolute;left:0;top:0;color:#9f8556}.survey-side{display:grid;gap:18px}.survey-card{padding:36px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.survey-step{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.16em;color:#a38655;margin-bottom:12px}.survey-card h3{font-size:28px;margin-bottom:12px}.survey-card p{font-size:14px;color:var(--ink-soft);line-height:2}.survey-card small{display:block;margin-top:14px;font-size:11px;color:#8f7a58;line-height:1.8}.survey-gallery{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px}.survey-photo{margin:0;overflow:hidden;border-radius:22px;box-shadow:var(--shadow)}.survey-photo img{display:block;width:100%;height:100%;object-fit:cover}.survey-photo.tall{height:260px}.survey-photo.wide{height:260px}#form-link.is-disabled{opacity:.65;cursor:not-allowed}

.team{background:#f1ece2}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team-card{padding:32px 26px;background:#fffaf1;border:1px solid var(--line);min-height:252px}.team-no{display:block;margin-bottom:18px;font-size:10px;font-weight:800;letter-spacing:.16em;color:#9f8556}.team-card h3{font-size:31px;line-height:1.25;margin-bottom:12px;overflow-wrap:anywhere}.team-card h3 span{display:block}.team-card strong{display:block;font-size:15px;margin-bottom:12px}.team-card p{font-size:13px;color:var(--ink-soft);line-height:2;margin:0}

/* 最後のCTA：写真を置かず、回答ボタンを主役にする */
.closing{background:linear-gradient(135deg,#315b51 0%,#173833 100%);color:#fff;padding:100px 0 96px}
.closing p{color:#eef5f2}
.closing h2{margin-bottom:18px}
.closing-message{font-size:15px;line-height:2;margin-bottom:30px}
.btn-closing{display:inline-flex;gap:26px;justify-content:center;align-items:center;min-height:72px;min-width:330px;padding:18px 24px 18px 34px;background:#efd296;color:#173833;border:2px solid #ffe4ac;box-shadow:0 12px 32px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.8);font-size:17px;font-weight:800;letter-spacing:.035em;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.btn-closing:hover,.btn-closing:focus-visible{background:#ffe4ad;transform:translateY(-3px);box-shadow:0 18px 38px rgba(0,0,0,.29),0 0 0 4px rgba(255,228,173,.15)}
.btn-closing:focus-visible{outline:3px solid #fff;outline-offset:4px}
.cta-arrow{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#173833;color:#fce4b7;font-size:19px;font-family:Arial,sans-serif;font-weight:700;line-height:1}
.closing .closing-note{margin:14px 0 0;color:#e0e9e3;font-size:12px;letter-spacing:.025em}
/* フォームへの実際の回答ボタンも視認性を高める */
.btn-form{min-height:60px;background:#173833;box-shadow:0 8px 18px rgba(23,56,51,.17);font-size:15px}
.btn-form:hover,.btn-form:focus-visible{background:#295e51;box-shadow:0 12px 24px rgba(23,56,51,.22)}

.site-footer{background:#102924;color:#c8d5cf;font-size:11px}.footer-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;padding:18px 28px 22px}

@media (max-width:980px){
  .hero-panel,.info-grid,.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .intro-grid,.survey-wrap,.overview-visuals,.survey-gallery{grid-template-columns:1fr}
  .section-head{flex-direction:column;align-items:flex-start}
  .section-copy{text-align:left;max-width:none}
}
@media (max-width:720px){
  .site-header{padding:18px}.site-nav a:not(.nav-pill){display:none}.nav-pill{padding:8px 12px}
  .hero-inner{padding-top:136px;padding-bottom:54px}.hero-copy{font-size:14px}
  .hero-panel,.info-grid,.team-grid{grid-template-columns:1fr}
  .intro-visual img{height:260px}
  .overview-photo.large,.overview-photo.small,.survey-photo.tall,.survey-photo.wide{height:220px}
  .survey-card{padding:28px 22px}.team-card h3{font-size:28px}
}

@media (max-width:720px){
  .closing{padding:74px 0 72px}
  .closing h2{font-size:clamp(27px,7vw,36px)}
  .closing-message{font-size:14px;margin-bottom:26px}
  .btn-closing{width:100%;min-width:0;max-width:420px;padding:16px 18px 16px 22px;min-height:66px;gap:10px;font-size:15px}
  .cta-arrow{flex:none;width:31px;height:31px}
}


/* 2027同窓会追加：卒業年度ラベル・会費注記 */
.hero-class {
  display:inline-block;
  color:#ffebc7;
  border:1px solid rgba(255,235,199,.58);
  background:rgba(14,45,36,.42);
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  padding:7px 16px;
  margin:0 0 20px;
}
.budget-note {
  margin:24px 0 4px;
  padding:18px 20px;
  border-left:3px solid var(--accent);
  background:rgba(255,255,255,.075);
  border-radius:0 12px 12px 0;
  color:#e3eee9;
  font-size:14px;
  line-height:2;
}
.budget-note strong{color:#ffdfa0}
/* 招待未確定を明示しつつ、R先生の存在をサプライズ風に */
.guest {
  background:linear-gradient(128deg,#112f29 0%,#244a3f 53%,#102b25 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.guest-layout {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  align-items:center;
  gap:44px;
}
.guest-copy h2{font-size:clamp(30px,3.7vw,50px);margin-bottom:18px}
.guest-copy h2 span{color:#efd296}
.guest-copy>p:not(.eyebrow){color:#e5efe8;font-size:15px;line-height:2.1}
.guest-copy .guest-caution{margin-top:22px;color:#afc3b9!important;font-size:12px!important}
.guest-feature {
  position:relative;
  min-height:340px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  border:1px solid rgba(237,205,144,.44);
  border-radius:20px;
  background:linear-gradient(140deg,rgba(255,255,255,.08),rgba(255,255,255,.018));
  padding:26px 20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 18px 42px rgba(0,0,0,.14);
}
.guest-feature-top,.guest-feature-bottom{font-size:11px;letter-spacing:.22em;color:#ead49f;font-weight:700}
.guest-feature-letter{font-size:116px;font-family:'Noto Serif JP',serif;color:#efd296;line-height:1.15;margin:2px 0;text-shadow:0 5px 25px rgba(230,195,118,.14)}
.guest-feature h3{font-size:clamp(25px,3vw,36px);margin-bottom:12px;color:#fff}
@media(max-width:980px){.guest-layout{grid-template-columns:1fr;gap:24px}.guest-feature{min-height:300px}}
@media(max-width:720px){.hero-class{font-size:11px;padding:6px 12px;letter-spacing:.07em}.budget-note{font-size:12px;padding:14px}.guest-feature{min-height:280px}.guest-feature-letter{font-size:94px}}

/* =========================================================
   CSS-only motion effects
   JavaScriptを使わず、見やすさを優先した控えめな動き
   ========================================================= */

/* FV：写真がゆっくり収まり、文字と案内が順番に現れる */
@keyframes heroSettle {
  from { opacity: .45; transform: scale(1.045); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-media {
  transform-origin: 50% 50%;
  animation: heroSettle 1.9s ease-out both;
}
.hero-inner > .eyebrow { animation: fadeRise .65s .12s ease-out both; }
.hero-inner > .hero-class { animation: fadeRise .7s .19s ease-out both; }
.hero-inner > h1 { animation: fadeRise .8s .25s ease-out both; }
.hero-inner > .hero-copy { animation: fadeRise .8s .42s ease-out both; }
.hero-inner > .hero-actions { animation: fadeRise .75s .58s ease-out both; }
.hero-panel > div { animation: fadeRise .65s ease-out both; }
.hero-panel > div:nth-child(1) { animation-delay: .72s; }
.hero-panel > div:nth-child(2) { animation-delay: .83s; }
.hero-panel > div:nth-child(3) { animation-delay: .94s; }

/* ボタン：クリック誘導は最後のゴールドCTAを最優先 */
.btn {
  transition: transform .26s ease, background-color .26s ease,
              box-shadow .26s ease, border-color .26s ease;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #f1d7a4;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.btn-ghost:hover, .btn-ghost:focus-visible,
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: #f6dbab;
  background: rgba(255,255,255,.12);
}
.btn:focus-visible, .site-nav a:focus-visible {
  outline: 3px solid #efd296;
  outline-offset: 4px;
}

/* さりげない光が周期的に通り、影がやわらかく強くなる */
@keyframes ctaGlow {
  0%, 62%, 100% {
    box-shadow: 0 12px 32px rgba(0,0,0,.25),
                0 0 0 0 rgba(255,224,156,0),
                inset 0 1px 0 rgba(255,255,255,.8);
  }
  78% {
    box-shadow: 0 17px 38px rgba(0,0,0,.28),
                0 0 0 9px rgba(255,224,156,.13),
                inset 0 1px 0 rgba(255,255,255,.8);
  }
}
@keyframes ctaShine {
  0%, 62% { transform: translateX(-250%) skewX(-18deg); }
  86%, 100% { transform: translateX(540%) skewX(-18deg); }
}
.btn-closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  animation: ctaGlow 4.5s ease-in-out infinite;
}
.btn-closing::before {
  content: '';
  position: absolute;
  inset: -20% auto -20% 0;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  pointer-events: none;
  z-index: 0;
  animation: ctaShine 5.5s ease-in-out infinite;
}
.btn-closing > span {
  position: relative;
  z-index: 1;
}
.btn-closing:hover, .btn-closing:focus-visible {
  animation-play-state: paused;
}
.btn-closing:hover::before, .btn-closing:focus-visible::before {
  animation-play-state: paused;
}
.cta-arrow { transition: transform .25s ease, background-color .25s ease; }
.btn-closing:hover .cta-arrow,
.btn-closing:focus-visible .cta-arrow { transform: translateX(5px); }

/* 写真：ホバー時だけ穏やかに動かす（通常時は静止） */
.intro-visual, .overview-photo, .survey-photo {
  transition: box-shadow .45s ease;
}
.intro-visual img, .overview-photo img, .survey-photo img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .intro-visual:hover img,
  .overview-photo:hover img,
  .survey-photo:hover img { transform: scale(1.035); }
}

/* 対応ブラウザだけスクロール時にソフトに登場。
   非対応ブラウザは通常表示のままなので文字が消えない。 */
@supports (animation-timeline: view()) {
  .intro-copy, .intro-visual,
  .overview .section-head, .overview .info-card, .overview-visuals,
  .survey-copy, .survey-card, .survey-gallery,
  .team .section-head, .team-card, .guest-copy, .guest-feature,
  .closing .narrow {
    animation: fadeRise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}

/* 動きを減らす設定を使っている方にはアニメーションを停止 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-timeline: auto !important;
    transition-duration: .01ms !important;
  }
  .hero-media, .hero-inner > *, .hero-panel > div,
  .intro-copy, .intro-visual, .overview .section-head,
  .overview .info-card, .overview-visuals, .survey-copy,
  .survey-card, .survey-gallery, .team .section-head,
  .team-card, .guest-copy, .guest-feature, .closing .narrow {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* 同窓会の参加促進・LINE窓口 */
.intro-note {
  margin-top:18px!important;
  padding-left:16px;
  border-left:3px solid var(--accent);
  font-size:13px!important;
  color:#345c50!important;
}
.participation-note {
  margin-top:28px;
  padding:20px 22px;
  background:#f2eee5;
  border-left:3px solid #bd9d62;
  border-radius:0 14px 14px 0;
}
.participation-note h3 {
  font-family:'Noto Sans JP',sans-serif;
  font-size:16px;
  margin-bottom:10px;
}
.participation-note p{font-size:13px;line-height:1.95;margin-bottom:6px}
.participation-note .participation-mini{font-size:12px;color:#697e74;margin:0}
.line-share-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  font-size:13px;
  font-weight:800;
  color:#1f654c;
  border-bottom:1px solid currentColor;
  padding-bottom:4px;
}
.line-share-link:hover{color:#16844e}
.contact-panel {
  display:grid;
  grid-template-columns:1fr auto;
  gap:26px;
  align-items:center;
  margin-top:30px;
  padding:28px 32px;
  background:#fffdf8;
  border:1px solid #e4d9c4;
  border-radius:22px;
  box-shadow:0 12px 34px rgba(23,56,51,.06);
  scroll-margin-top:30px;
}
.contact-kicker{display:block;color:#9a8052;font-size:10px;font-weight:800;letter-spacing:.16em;margin-bottom:8px}
.contact-panel h3{font-size:clamp(19px,2.2vw,25px);margin-bottom:9px}
.contact-panel p{font-size:13px;line-height:1.9;color:var(--ink-soft);margin-bottom:8px}
.contact-panel .contact-person{font-weight:800;color:#173833;font-size:13px;margin:10px 0 0}
.contact-person span{font-size:12px;font-weight:600;color:#7c8d84;margin-left:10px}
.contact-action{min-width:260px;max-width:330px;display:grid;gap:10px}
.line-contact-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:56px;
  padding:10px 18px;
  border-radius:100px;
  background:#06c755;
  color:#fff;
  font-size:14px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(6,199,85,.18);
  transition:transform .22s ease,box-shadow .22s ease;
}
.line-contact-button:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(6,199,85,.24)}
.contact-panel .contact-pending {color:#576e63;font-size:13px;font-weight:700;margin:0}
.contact-panel .contact-line-id{margin:0;font-size:13px;font-weight:700;color:#173833;overflow-wrap:anywhere}
.contact-action small{font-size:11px;color:#71857d;line-height:1.65}
[hidden]{display:none!important}
@media(max-width:760px){
  .contact-panel{grid-template-columns:1fr;padding:22px 20px}
  .contact-action{min-width:0;max-width:none}
  .participation-note{padding:16px 16px}
}
@supports (animation-timeline:view()){
  .contact-panel{animation:fadeRise linear both;animation-timeline:view();animation-range:entry 0% cover 25%}
}
@media (prefers-reduced-motion: reduce){.contact-panel{opacity:1!important;transform:none!important}}
