:root {
  --ink: #183633;
  --teal: #164c4b;
  --muted: #49625d;
  --paper: #fcfbf4;
  --sand: #f4f2e5;
  --line: #d5e1da;
  --mint: #dfefeb;
  --sun: #f9e581;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.75; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #a45512; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); line-height: 1.22; letter-spacing: .025em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.4; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-170%); z-index: 4; background: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }
.section { padding-block: clamp(64px, 9vw, 126px); }
section[id] { scroll-margin-top: 24px; }
.line-icon { width: 45px; height: 45px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.header { background: var(--paper); position: relative; z-index: 2; }
.header-inner, .footer-inner { min-height: 86px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--teal); font-size: 1.12rem; font-weight: 800; text-decoration: none; white-space: nowrap; line-height: 1.35; }
.brand small { display: block; font: 700 .63rem/1.4 Arial, sans-serif; letter-spacing: .15em; margin-top: 4px; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 39px); font-size: .91rem; font-weight: 700; }
.header nav a { text-decoration: none; }
.header nav a:hover:not(.pill) { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 23px; border-radius: 100px; border: 0; background: var(--teal); color: white; font-weight: 800; text-decoration: none; transition: background-color .18s, color .18s; }
.pill:hover { background: #286362; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 100px; color: var(--teal); min-height: 44px; padding: 6px 14px; font-size: .875rem; font-weight: 800; }

.hero { position: relative; overflow: hidden; background: var(--teal); color: white; padding-block: clamp(52px, 7vw, 110px) 46px; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border: 1px solid #b5e1d243; border-radius: 50%; width: 920px; height: 530px; inset: 2% auto auto -470px; transform: rotate(-31deg); pointer-events: none; }
.hero::after { inset: 10% auto auto -440px; }
.hero-inner { display: grid; grid-template-columns: minmax(330px, .86fr) minmax(0, 1.55fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hero-copy { align-self: center; padding: 18px 0 46px; }
.eyebrow { font-weight: 800; font-size: .92rem; color: #d4f0e9; letter-spacing: .09em; display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 20px; height: 2px; background: var(--sun); }
.hero h1 { font-size: clamp(3.4rem, 6.25vw, 6.65rem); line-height: 1.08; letter-spacing: -.065em; margin-block: 22px; white-space: nowrap; font-weight: 900; }
.hero h1 span { color: var(--sun); }
.hero-lead { font-size: clamp(1rem, 1.45vw, 1.17rem); color: #ecf9f6; line-height: 1.9; font-weight: 600; }
.hero-cta { background: var(--sun); color: #183633; margin-top: 24px; }
.hero-cta:hover { background: #fff4b4; }
.carousel { min-width: 0; }
.carousel-window { --gap: 14px; --stride: 93%; overflow: hidden; margin-right: calc((100vw - min(1160px, 100vw - 96px)) / -2); touch-action: pan-y; }
.track { --position: 0; display: flex; gap: var(--gap); transform: translate3d(calc(var(--position) * (var(--stride) + var(--gap)) * -1),0,0); }
.track.ready { transition: transform .68s cubic-bezier(.22,.72,.22,1); }
.track figure { position: relative; flex: 0 0 var(--stride); aspect-ratio: 1.47; border-radius: 24px; overflow: hidden; background: #36716f; }
.track img { width: 100%; height: 100%; object-fit: cover; }
.track figcaption { position: absolute; bottom: 18px; right: 18px; background: #163e3dee; color: white; padding: 6px 15px; border-radius: 100px; font-weight: 800; font-size: .86rem; }
.carousel-controls { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.carousel-buttons, .dots { display: flex; gap: 8px; }
.round { border: 1px solid #ffffff85; background: transparent; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: white; padding: 0; font-weight: 800; }
.round:hover { background: #ffffff26; }
.round svg { width: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prev svg { transform: rotate(180deg); }
.dot { border: 0; padding: 0; width: 26px; height: 44px; background: none; display: grid; place-items: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 20px; background: #a8d6ca; transition: width .22s ease; }
.dot[aria-current="true"]::before { width: 23px; background: var(--sun); }

.announcement { margin-top: 28px; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px 24px; padding: 18px 26px; border: 1px solid var(--line); background: #fff; border-radius: 18px; }
.announcement .line-icon { width: 30px; height: 30px; color: var(--teal); }
.announcement h2 { font-size: 1.05rem; }
.announcement p { color: var(--muted); }
.announcement a { font-weight: 800; color: var(--teal); font-size: .9rem; }
.section-head { display: flex; gap: 22px 42px; justify-content: space-between; align-items: end; margin-bottom: 34px; }
.section-head > p { color: var(--muted); }
.kicker { font: 800 .85rem/1.2 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #2a655d; margin-bottom: 12px; }
.experiences { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.experience-card { overflow: hidden; border-radius: 24px; background: white; border: 1px solid var(--line); }
.experience-card > img { width: 100%; aspect-ratio: 1.94; object-fit: cover; height: auto; }
.card-body { position: relative; padding: 32px; }
.card-body .line-icon { position: absolute; top: -25px; right: 26px; width: 54px; height: 54px; padding: 9px; background: var(--sun); border-radius: 15px; }
.card-body p { margin-block: 10px 19px; color: var(--muted); }
.card-body a { font-weight: 800; color: var(--teal); }
.gallery-section { background: var(--sand); }
.gallery, .gallery-more { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gallery-more { grid-column: 1 / -1; }
.gallery a { position: relative; border-radius: 17px; isolation: isolate; overflow: hidden; display: block; background: var(--teal); text-decoration: none; }
.gallery a::after { content: ""; inset: auto 0 0; height: 52%; position: absolute; background: linear-gradient(transparent,#0a2522d9); pointer-events: none; }
.gallery img { width: 100%; aspect-ratio: 1.63; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.045); }
.gallery span { position: absolute; bottom: 12px; left: 16px; z-index: 1; color: white; font-weight: 800; }
.gallery-toggle { margin: 28px auto 0; display: flex; }
.guide { background: var(--mint); }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.guide-grid article { background: #fff; border-radius: 20px; padding: 25px; }
.guide-grid .line-icon { color: var(--teal); margin-bottom: 10px; }
.guide-grid p { margin-top: 11px; color: var(--muted); }
.faq { max-width: 830px; }
.faq h2 { margin-bottom: 27px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; font-weight: 800; padding: 18px 3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); width: 32px; height: 32px; font-size: 1.25rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 3px 18px; }
.footer { background: var(--teal); color: white; padding-block: 22px; }
.footer .brand { color: white; }
.footer .brand img { outline: 1px solid #73a19b; border-radius: 14px; }
.footer p, .back-top { font-size: .88rem; }
.footer p { color: #d7eeea; }
.photo-dialog { background: #143937; color: white; border: 0; width: min(970px, 94vw); border-radius: 20px; padding: 16px; }
.photo-dialog::backdrop { background: #071916d9; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 12px 8px; }
.dialog-toolbar h2 { font-size: 1.17rem; }
.close-photo { font-size: 1.4rem; }
.photo-dialog > img { width: 100%; max-height: 75vh; object-fit: contain; border-radius: 10px; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { grid-template-columns: minmax(260px,.9fr) minmax(0,1.2fr); gap: 24px; }
  .carousel-window { margin-right: -32px; }
  .hero h1 { font-size: clamp(3rem,7.5vw,4.1rem); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; gap: 12px; flex-wrap: wrap; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .header nav { width: 100%; flex-wrap: wrap; gap: 12px 20px; padding-bottom: 14px; }
  .header.enhanced nav { display: none; }
  .header.enhanced .menu-toggle { display: block; }
  .header.enhanced .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .hero { padding-block: 33px 22px; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.1rem,8.6vw,4.1rem); margin-block: 13px; }
  .hero h1 br { display: none; }
  .hero-cta { margin-top: 15px; }
  .carousel-window { --gap: 9px; margin-right: -18px; }
  .track figure { border-radius: 18px; aspect-ratio: 1.55; }
  .carousel-controls { margin-top: 9px; }
  .announcement { grid-template-columns: auto 1fr; gap: 6px 12px; padding: 14px; }
  .announcement p, .announcement a { grid-column: 2; }
  .section-head { display: block; margin-bottom: 22px; }
  .section-head > p { margin-top: 10px; }
  .experiences { grid-template-columns: 1fr; }
  .card-body { padding: 24px; }
  .gallery, .gallery-more { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .gallery span { left: 11px; bottom: 8px; font-size: .88rem; }
  .guide-grid { grid-template-columns: 1fr; gap: 10px; }
  .guide-grid article { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 16px; }
  .guide-grid .line-icon { margin: 0; grid-row: span 2; width: 34px; height: 34px; }
  .guide-grid p { margin: 0; }
  .footer-inner { flex-wrap: wrap; gap: 14px; }
  .footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
