:root {
  --pink: #e63462;
  --pink-dark: #ba1743;
  --ink: #22201f;
  --muted: #706b68;
  --soft: #f5f2ef;
  --paper: #fffdfb;
  --line: #d9d2cd;
  --serif: "Cormorant Garamond", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --english: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:where(h1, h2, h3, p) { margin: 0; }
:where(h1, h2, h3) {
  font-weight: 500;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}
p { overflow-wrap: break-word; line-break: strict; }

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 5px 22px rgba(51, 35, 28, .04); }
.header-inner {
  display: flex;
  width: min(1160px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px clamp(18px, 4vw, 44px);
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; min-width: 0; align-items: center; }
.brand img { width: clamp(150px, 19vw, 196px); height: auto; }
.menu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { width: 28px; height: 1px; background: var(--ink); transition: transform .2s ease; }

.hero {
  display: grid;
  width: min(1160px, 100%);
  min-height: min(540px, calc(100vh - 72px));
  margin: 0 auto;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
}
.hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(64px, 10vw, 130px) clamp(22px, 6vw, 88px) clamp(64px, 8vw, 100px) clamp(22px, 5vw, 64px);
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  color: var(--pink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: 0.015em;
}
.hero h1, .section-heading h2, .result-heading h2 {
  margin-top: 24px;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.48;
}
.hero h1 span, .section-heading h2 span { display: block; }
.hero-note { max-width: 29rem; margin-top: 18px; color: var(--muted); font-size: clamp(.82rem, 1.35vw, .98rem); }
.text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  margin-top: 34px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--pink);
  color: var(--pink-dark);
  font-size: .87rem;
  font-weight: 600;
}
.text-link span { font-size: 1.25rem; }
.hero-media { position: relative; min-height: 320px; overflow: hidden; border-radius: 0 0 0 clamp(48px, 8vw, 120px); }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(230, 52, 98, .1), transparent 48%); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; animation: settle 1.1s cubic-bezier(.2, .6, .3, 1) both; }

.guide-shell {
  width: min(1120px, calc(100% - 32px));
  margin: clamp(52px, 8vw, 112px) auto 0;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 0 clamp(42px, 7vw, 96px) 0 clamp(42px, 7vw, 96px);
  background: var(--soft);
}
.section-heading { max-width: 570px; }
.section-heading .eyebrow, .result-heading .eyebrow, .contact-panel .eyebrow, .drawer .eyebrow, .player-header .eyebrow { font-size: clamp(1.65rem, 2.8vw, 2.35rem); }
.section-heading h2 { margin-top: 14px; }
.section-heading > p:last-child { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.category-grid {
  display: grid;
  margin-top: clamp(30px, 5vw, 54px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.category-card {
  display: flex;
  min-width: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(67, 43, 33, .03);
  transition: transform .25s ease, box-shadow .25s ease, outline-color .2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 15px 25px rgba(67, 43, 33, .1); }
.category-card:active { transform: translateY(-1px); }
.category-card[aria-pressed="true"] { outline: 2px solid var(--pink); outline-offset: -2px; }
.category-image { position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: #ddd; }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover .category-image img { transform: scale(1.06); }
.category-local {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 99px;
  background: var(--pink);
  color: white;
  font-size: .63rem;
  letter-spacing: .07em;
}
.category-label { min-height: 80px; padding: 15px 36px 16px 15px; position: relative; font-size: clamp(.77rem, 1.2vw, .9rem); font-weight: 500; line-height: 1.6; }
.category-label span { display: block; }
.category-label::after { position: absolute; top: 50%; right: 14px; color: var(--pink); content: "→"; font-family: var(--serif); font-size: 1.5rem; transform: translateY(-50%); }

.video-view { margin-top: clamp(42px, 6vw, 72px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); animation: reveal .35s ease both; }
.result-heading { min-width: 0; }
.back-button {
  display: inline-flex;
  min-height: 44px;
  margin: -3px 0 18px;
  padding: 0;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .86rem;
}
.back-button span { color: var(--pink); font-size: 1.25rem; }
.result-heading h2 { margin-top: 14px; }
.result-heading > p:last-child { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.video-grid { display: grid; margin-top: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
.video-card {
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease;
}
.video-card:active { transform: scale(.985); }
.video-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #d9d4d0; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.01); transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-mark { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: color-mix(in oklab, var(--pink) 90%, transparent); color: white; transform: translate(-50%, -50%); transition: transform .2s ease; }
.play-mark::before { width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; content: ""; }
.video-card:hover .play-mark { transform: translate(-50%, -50%) scale(1.08); }
.video-card-title { display: block; padding: 12px 4px 0; font-size: clamp(.8125rem, .25vw + .7rem, 1rem); line-height: 1.65; letter-spacing: .03em; }
.video-card-action { display: inline-flex; margin: 8px 4px 0; align-items: center; gap: 7px; color: var(--pink); font-size: clamp(.75rem, .2vw + .7rem, .8125rem); font-weight: 500; letter-spacing: .03em; white-space: nowrap; }
.video-card-action::after { content: "›"; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1; }

.contact-panel {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(46px, 7vw, 98px) auto;
  padding: clamp(34px, 6vw, 66px);
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 32px 56px;
  align-items: end;
  border-radius: clamp(42px, 7vw, 88px) 0 clamp(42px, 7vw, 88px) 0;
  background: var(--ink);
  color: white;
}
.contact-panel h2 { margin-top: 17px; font-size: clamp(1.45rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.6; }
.contact-actions { display: grid; gap: 11px; }
.button { display: inline-flex; min-height: 58px; padding: 12px 20px; align-items: center; justify-content: space-between; border: 1px solid transparent; border-radius: 100px; font-size: .9rem; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--pink); color: white; }
.button-primary:hover { background: #f44d7a; }
.button-outline { border-color: rgba(255, 255, 255, .7); color: white; }
.button-outline:hover { background: white; color: var(--ink); }

.site-footer { margin-top: 36px; padding: clamp(56px, 7vw, 94px) max(20px, calc((100vw - 1200px) / 2)) calc(92px + env(safe-area-inset-bottom)); border-radius: clamp(48px, 7vw, 84px) clamp(48px, 7vw, 84px) 0 0; background: #eeeeee; text-align: center; }
.footer-icons { display: flex; width: 100%; margin: 0 auto; padding-bottom: clamp(38px, 5vw, 56px); align-items: center; justify-content: center; gap: clamp(32px, 6.3vw, 84px); border-bottom: 1px solid #dddddd; }
.footer-icons a { display: grid; width: 50px; height: 50px; place-items: center; color: #777777; transition: color .2s ease, transform .2s ease; }
.footer-icons a:hover { color: var(--pink); transform: translateY(-2px); }
.footer-icons svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.company-info { margin: 0 auto; padding-top: clamp(34px, 4vw, 50px); color: var(--muted); text-align: center; }
.company-name { color: var(--ink); font-size: clamp(1.1rem, 1.5vw, 1.45rem); font-weight: 600; line-height: 1.5; }
.company-address { margin-top: 14px; color: #7a7a7a; font-size: clamp(.88rem, 1.3vw, 1.12rem); line-height: 1.6; }
.company-tel { display: inline-flex; min-height: 58px; margin-top: 12px; align-items: baseline; gap: 12px; color: var(--ink); font-family: var(--serif); line-height: 1; }
.company-tel small { color: var(--pink); font-size: clamp(1rem, 1.6vw, 1.35rem); }
.company-tel strong { font-size: clamp(2.15rem, 4vw, 3.35rem); font-weight: 500; letter-spacing: .035em; }
.company-hours { margin-top: 16px; color: #7a7a7a; font-size: clamp(.78rem, 1.15vw, 1rem); line-height: 1.7; }

.bottom-cta { position: fixed; z-index: 25; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 16px; display: grid; max-width: 470px; height: 56px; margin: 0 auto; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 999px; background: var(--pink); box-shadow: 0 9px 24px rgba(124, 17, 46, .26); color: white; }
.bottom-cta a { display: grid; min-width: 0; place-items: center; font-size: .85rem; font-weight: 600; transition: background .2s ease; }
.bottom-cta a + a { border-left: 1px solid rgba(255, 255, 255, .6); }
.bottom-cta a:hover { background: var(--pink-dark); }

.drawer-overlay, .player-overlay { position: fixed; z-index: 60; inset: 0; display: grid; visibility: hidden; background: rgba(26, 18, 15, .38); opacity: 0; transition: visibility .2s ease, opacity .2s ease; }
.drawer-overlay.is-open, .player-overlay.is-open { visibility: visible; opacity: 1; }
.drawer-overlay { justify-items: end; }
.drawer { display: flex; width: min(89vw, 420px); height: 100%; padding: 26px clamp(24px, 5vw, 44px) 45px; flex-direction: column; background: var(--soft); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.drawer-overlay.is-open .drawer { transform: translateX(0); }
.drawer-close, .player-header button { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--pink); cursor: pointer; font-family: var(--serif); font-size: 2.25rem; line-height: 1; }
.drawer-close { margin-left: auto; }
.drawer .eyebrow { margin-top: 26px; }
.drawer-nav { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.drawer-nav a { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: 0; }
.drawer-nav span { color: var(--muted); font-family: var(--sans); font-size: .74rem; font-weight: 400; letter-spacing: .02em; text-align: right; }
.player-overlay { z-index: 70; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); place-items: end center; background: rgba(24, 16, 13, .87); }
.player-dialog { width: min(780px, 100%); padding: 14px 16px 22px; border-radius: 22px; background: var(--paper); transform: translateY(28px); transition: transform .25s ease; }
.player-overlay.is-open .player-dialog { transform: translateY(0); }
.player-header { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 16px; }
.player-header .eyebrow { font-size: 1.5rem; }
.player-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #181515; }
.player-frame iframe { width: 100%; height: 100%; border: 0; }
.player-dialog h2 { margin: 12px 3px 0; font-size: .95rem; font-weight: 500; line-height: 1.6; }

@keyframes settle { from { opacity: .2; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 360px; padding-bottom: 48px; }
  .hero-media { min-height: 250px; border-radius: 0 56px 0 0; }
  .hero-media img { object-position: center; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .category-card:last-child:nth-child(odd) .category-image { aspect-ratio: 2.2 / 1; }
  .video-grid { grid-template-columns: 1fr; gap: 27px; }
  .contact-panel, .footer-main { grid-template-columns: 1fr; }
  .contact-panel { gap: 28px; }
}

@media (max-width: 430px) {
  body { font-size: 15px; }
  .header-inner { min-height: 66px; padding-top: 9px; padding-bottom: 9px; }
  html { scroll-padding-top: 72px; }
  .brand img { width: 148px; }
  .guide-shell { width: calc(100% - 20px); padding: 30px 14px; border-radius: 0 48px 0 48px; }
  .category-grid { gap: 10px; }
  .category-label { min-height: 74px; padding: 12px 28px 12px 10px; font-size: .73rem; }
  .category-label::after { right: 9px; }
  .contact-panel { width: calc(100% - 20px); padding: 32px 22px; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottom-cta { display: none; }
  .site-footer { padding-bottom: clamp(44px, 7vw, 76px); }
  .player-overlay { place-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
