:root {
  --ink: #473d34;
  --brown: #6a4832;
  --camel: #bd8b54;
  --green: #6d9e3f;
  --deep-green: #47743f;
  --peach: #fff8eb;
  --lime: #f4fada;
  --pale: #fbfde9;
  --paper: #fffefa;
  --line: #e3ddce;
  --muted: #756b60;
  --shadow: 0 12px 30px rgba(67, 52, 37, 0.12);
  --font-body: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--deep-green); outline-offset: 4px; }

.site {
  width: 100%;
  max-width: 1080px;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 0 42px rgba(67, 52, 37, 0.09);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 32px);
  border-bottom: 1px solid rgba(106, 72, 50, 0.1);
  background: rgba(255, 254, 250, 0.93);
  backdrop-filter: blur(12px);
}
.brand { display: flex; min-height: 48px; align-items: center; }
.brand img { width: clamp(148px, 17vw, 170px); height: auto; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.contact-small {
  display: grid;
  width: 48px;
  min-width: 48px;
  height: 48px;
  place-items: center;
  color: var(--brown);
}
.contact-small svg, .bottom-nav svg, .primary-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-button {
  position: relative;
  z-index: 42;
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
}
.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 10px;
  background: var(--muted);
  transition: transform 0.2s var(--ease), opacity 0.2s, background-color 0.2s;
}
.menu-button[aria-expanded="true"] span { background: var(--paper); }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  visibility: hidden;
  overflow: auto;
  color: var(--paper);
  background: rgba(75, 119, 60, 0.98);
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform 0.24s var(--ease), visibility 0.24s;
}
.menu.open { visibility: visible; transform: translateX(0); }
.menu-content { width: min(100%, 720px); padding: 104px clamp(28px, 8vw, 86px) calc(40px + env(safe-area-inset-bottom)); }
.menu-kicker { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; opacity: 0.78; }
.menu-title { margin: 0 0 25px; font-family: var(--font-serif); font-size: clamp(27px, 5vw, 38px); font-weight: 400; letter-spacing: 0.1em; }
.menu nav { display: grid; border-top: 1px solid rgba(255, 255, 255, 0.45); }
.menu nav a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 500;
}
.menu nav a::after { content: "›"; font-size: 24px; font-weight: 400; }
.menu-note { margin: 24px 0 0; font-size: 13px; opacity: 0.9; }

.hero { position: relative; min-height: 465px; padding: 30px 0 0; overflow: hidden; background: var(--peach); }
.hero-panel { position: relative; z-index: 2; width: min(86%, 660px); min-height: 298px; padding: 28px 20px 154px clamp(24px, 6vw, 72px); background: var(--lime); }
.hero-label, .eyebrow { margin: 0 0 9px; color: var(--deep-green); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; }
h1, h2 { font-family: var(--font-serif); font-weight: 400; }
h1 { margin: 0; font-size: clamp(26px, 4.4vw, 43px); line-height: 1.5; letter-spacing: 0.04em; }
.hero-copy { max-width: 270px; margin: 14px 0 0; font-size: 14px; line-height: 1.9; }
.hero-photo {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 25px;
  width: min(74%, 580px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 8px 17px rgba(60, 56, 53, 0.17);
}
.hero-stamp {
  position: absolute;
  z-index: 4;
  top: 19px;
  right: clamp(16px, 3vw, 38px);
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--camel);
  border-radius: 50%;
  color: var(--brown);
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  transform: rotate(8deg);
}
.landscape { position: relative; height: 67px; overflow: hidden; background: linear-gradient(180deg, var(--peach), var(--pale)); }
.landscape svg { position: absolute; bottom: 0; width: 100%; height: 62px; }

.intro { max-width: 720px; margin: 0 auto; padding: 30px 24px 31px; text-align: center; }
h2 { margin: 0; font-size: clamp(25px, 3.4vw, 36px); line-height: 1.55; letter-spacing: 0.08em; }
.intro p:last-child { max-width: 380px; margin: 11px auto 0; font-size: 14px; }
.concerns { max-width: 900px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 52px) 40px; }
.group-label { display: flex; align-items: center; gap: 10px; margin: 6px 4px 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.group-label::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.group-label.strength { margin-top: 31px; color: var(--deep-green); }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.category {
  display: flex;
  min-height: 174px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  text-align: center;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.category:hover { border-color: var(--green); background: var(--pale); box-shadow: 0 8px 18px rgba(64, 61, 43, 0.07); }
.category:active { transform: scale(0.975); }
.category-icon { display: grid; width: 66px; height: 66px; place-items: center; margin-bottom: 10px; color: var(--brown); }
.category-icon svg { width: 62px; height: 62px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.category:nth-child(3n + 2) .category-icon { color: var(--deep-green); }
.category:nth-child(3n) .category-icon { color: var(--camel); }
.category-title { font-family: var(--font-serif); font-size: 16px; font-weight: 500; line-height: 1.55; letter-spacing: 0.02em; }
.category-arrow { margin-top: 5px; color: var(--muted); font-size: 11px; }
.category.wide { display: grid; min-height: 136px; grid-column: 1 / -1; grid-template-columns: 82px 1fr 20px; padding: 16px 20px; text-align: left; }
.category.wide .category-icon, .category.wide .category-arrow { margin: 0; }
.category.wide .category-arrow { font-size: 22px; }

.results { display: none; scroll-margin-top: 72px; background: var(--pale); }
.results.visible { display: block; animation: reveal 0.24s var(--ease); }
.results-inner { max-width: 920px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 52px) 40px; }
@keyframes reveal { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
.back-button { display: flex; min-height: 48px; align-items: center; gap: 6px; padding: 0 4px; border: 0; background: transparent; color: var(--brown); font-size: 14px; }
.back-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.results-heading { padding: 0 4px 20px; }
.results-heading h2 { font-size: clamp(24px, 3.5vw, 34px); letter-spacing: 0.03em; }
.results-heading p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.video-list { display: grid; gap: 24px; }
.video-card { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.thumb { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s var(--ease); }
.video-card:hover .thumb img { transform: scale(1.025); }
.play { position: absolute; top: 50%; left: 50%; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: rgba(106, 72, 50, 0.92); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); transform: translate(-50%, -50%); }
.play svg { width: 20px; margin-left: 3px; fill: var(--paper); }
.video-title { display: block; margin: 10px 2px 0; font-family: var(--font-serif); font-size: 17px; font-weight: 500; line-height: 1.55; }
.video-meta { display: flex; align-items: center; gap: 5px; margin: 4px 2px 0; color: var(--muted); font-size: 11px; }
.video-meta::before { width: 14px; height: 1px; background: var(--camel); content: ""; }

.guide-band { display: grid; gap: 20px; padding: 34px clamp(24px, 6vw, 70px); color: var(--paper); background: var(--green); }
.eyebrow-light { color: rgba(255, 255, 255, 0.83); }
.guide-band h2 { color: var(--paper); font-size: clamp(22px, 3.3vw, 34px); }
.guide-band p:not(.eyebrow) { max-width: 475px; margin: 7px 0 18px; font-size: 14px; }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.65); font-weight: 700; }
.text-link span { font-size: 22px; font-weight: 400; }
.contact-section { padding: 34px clamp(20px, 5vw, 58px); background: var(--peach); }
.contact-box { display: grid; gap: 22px; padding: 29px clamp(22px, 5vw, 44px); border-radius: 5px; color: var(--paper); background: var(--camel); box-shadow: var(--shadow); text-align: center; }
.contact-box h2 { color: var(--paper); font-size: clamp(23px, 3.2vw, 32px); }
.contact-box p:not(.eyebrow) { margin: 8px 0 0; font-size: 14px; }
.primary-button { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; border-radius: 160px; color: var(--paper); background: var(--brown); font-weight: 500; transition: transform 0.2s var(--ease), opacity 0.2s; }
.primary-button:hover { opacity: 0.9; }
.primary-button:active { transform: scale(0.98); }
.other-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.other-links a { display: flex; min-height: 68px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 12px; }
.other-links svg { width: 22px; height: 22px; color: var(--brown); fill: none; stroke: currentColor; stroke-width: 1.7; }
footer { padding: 32px 20px 112px; color: var(--paper); background: var(--ink); text-align: center; }
.footer-logo { width: 160px; margin: 0 auto 12px; filter: brightness(0) invert(1); }
.footer-company { margin: 0; font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.08em; }
.footer-note { margin: 8px 0 0; font-size: 12px; opacity: 0.8; }

.bottom-nav { position: fixed; z-index: 19; bottom: 0; left: 50%; display: grid; width: 100%; max-width: 1080px; grid-template-columns: 1fr 1fr; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 254, 250, 0.95); backdrop-filter: blur(12px); transform: translateX(-50%); }
.bottom-nav a, .bottom-nav button { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; border: 0; font-weight: 500; }
.bottom-nav a { color: var(--brown); }
.bottom-nav button { border-radius: 160px; color: var(--paper); background: var(--brown); }
.player { position: fixed; z-index: 60; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(36, 31, 28, 0.88); backdrop-filter: blur(6px); }
.player.open { display: flex; }
.player-dialog { position: relative; width: min(100%, 920px); opacity: 0; transform: scale(0.95); transition: transform 0.2s var(--ease), opacity 0.2s; }
.player.open .player-dialog { opacity: 1; transform: scale(1); }
.player-frame { aspect-ratio: 16 / 9; background: #171413; }
.player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-title { margin: 12px 44px 0 0; color: var(--paper); font-size: 14px; line-height: 1.5; }
.player-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; color: var(--paper); background: transparent; font-size: 28px; line-height: 1; }
.noscript { position: fixed; z-index: 100; right: 16px; bottom: 90px; left: 16px; max-width: 620px; margin: auto; padding: 12px 16px; border: 1px solid var(--camel); background: var(--paper); color: var(--ink); text-align: center; }

@media (min-width: 700px) {
  .hero { min-height: 500px; }
  .hero-panel { min-height: 350px; padding-bottom: 158px; }
  .hero-copy { font-size: 15px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category.wide { grid-column: auto; min-height: 174px; grid-template-columns: none; padding: 18px 10px 14px; text-align: center; }
  .category.wide .category-icon { margin-bottom: 10px; }
  .category.wide .category-arrow { margin-top: 5px; font-size: 11px; }
  .video-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 30px; }
  .guide-band { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr); align-items: end; gap: 48px; }
  .contact-box { grid-template-columns: 1fr minmax(280px, 0.8fr); align-items: center; text-align: left; }
}

@media (min-width: 980px) {
  .hero { min-height: 558px; padding-top: 46px; }
  .hero-panel { min-height: 390px; padding-top: 47px; padding-bottom: 184px; }
  .hero-photo { bottom: 36px; }
  .hero-stamp { top: 34px; }
  .landscape { height: 80px; }
  .landscape svg { height: 74px; }
}

@media (max-width: 699px) {
  .hero { min-height: 540px; }
  .hero-panel { min-height: 400px; }
  .hero-photo {
    top: 300px;
    bottom: auto;
    height: min(46vw, 225px);
  }
}

@media (max-width: 359px) {
  h1 { font-size: 24px; }
  .category { min-height: 164px; }
  .category-title { font-size: 14px; }
  .hero-copy { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
