:root {
  color-scheme: light;
  --paper: #f8f5eb;
  --white: #fffefa;
  --pale: #edf0e7;
  --ink: #1b2c23;
  --green: #244e3a;
  --deep: #142b23;
  --muted: #4d594f;
  --gold: #f3d3a1;
  --line: #d4d9ce;
  --gutter: clamp(20px, 5vw, 92px);
  --gap: clamp(20px, 2.6vw, 40px);
  --space: clamp(56px, 7.25vw, 110px);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 500 1rem/1.78 var(--sans); line-break: strict; }
a { color: inherit; text-underline-offset: .26em; }
img { display: block; max-inline-size: 100%; block-size: auto; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h2 { font-size: clamp(1.94rem, 3.5vw, 3.7rem); line-height: 1.32; text-wrap: pretty; }
h3 { font-size: 1.22rem; font-weight: 750; line-height: 1.45; }
.heading-line { display: block; }
.phrase { display: inline-block; white-space: nowrap; }
.heading-line.phrase { display: block; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 4px; }
.wrap { margin-inline: var(--gutter); }

.skip-link { position: fixed; z-index: 5; inset: .75rem auto auto .75rem; padding: .6rem 1rem; color: var(--white); background: var(--deep); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header-inner { min-height: clamp(65px, 5.6vw, 90px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-name { display: block; width: clamp(144px, 15vw, 218px); flex: 0 1 auto; }
.site-name img { width: 100%; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2.7vw, 42px); }
.site-header nav a, .site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; }
.site-header nav a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .sample-link:hover .sample-open { text-decoration: underline; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(510px, 43vw, 740px); color: var(--white); background: var(--deep); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #142b23f7 0%, #142b23e9 43%, #142b23db 53%, #142b2300 72%); }
.hero-copy { width: 53%; padding: clamp(58px, 6.1vw, 102px) clamp(12px, 2vw, 30px) clamp(60px, 6.1vw, 102px) var(--gutter); }
.hero-kicker { margin-bottom: clamp(.8rem, 1.6vw, 1.45rem); color: var(--gold); font-weight: 750; font-size: clamp(.9rem, 1.18vw, 1.06rem); }
.hero h1 { font-size: clamp(1.94rem, 3.45vw, 4.3rem); line-height: 1.28; }
.hero-description { margin-top: clamp(1rem, 1.7vw, 1.6rem); font-size: clamp(.98rem, 1.32vw, 1.12rem); }
.hero-trial { margin-top: .85rem; font-size: clamp(.96rem, 1.35vw, 1.2rem); font-weight: 800; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .7rem; margin-top: .9rem; color: var(--gold); }
.hero-price span { font-size: .93rem; }
.hero-price strong { font-size: 1.45rem; line-height: 1.15; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem clamp(14px, 1.7vw, 25px); margin-top: clamp(1.1rem, 2.25vw, 1.9rem); }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 51px; padding: .65rem 1.2rem; font-size: 1rem; font-weight: 750; line-height: 1.4; text-decoration: none; }
.primary { color: var(--deep); background: var(--white); }
.primary:hover { background: var(--gold); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.text-link:hover { color: var(--gold); }
.hero a:focus-visible { outline-color: var(--gold); }
.hero-preview { position: absolute; right: var(--gutter); bottom: clamp(23px, 3.1vw, 47px); display: block; width: clamp(155px, 17vw, 264px); padding: 5px 5px 0; background: var(--paper); color: var(--deep); text-decoration: none; }
.hero-preview img { width: 100%; transition: translate 180ms ease; }
.hero-preview.is-drawing img { translate: 0 -6px; }
.hero-preview span { display: flex; align-items: center; min-height: 39px; padding-inline: .6rem; font-size: .91rem; font-weight: 750; }
.hero-preview:hover span { text-decoration: underline; }
.hero-caption { position: absolute; bottom: clamp(16px, 2vw, 28px); left: var(--gutter); color: var(--white); font-size: .86rem; }

.use-section { background: var(--paper); padding-block: var(--space); }
.scene-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: .65rem var(--gap); margin-bottom: clamp(25px, 3vw, 43px); }
.scene-heading h2 { font-size: clamp(1.85rem, 3.25vw, 3.7rem); }
.section-intro, .scene p, .scene-note { color: var(--muted); }
.section-intro { max-width: 34rem; }
.scene-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0; list-style: none; }
.scene img, .trial-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { margin-top: .35rem; color: var(--muted); font-size: .88rem; }
.scene h3 { margin-top: .7rem; }
.scene p { margin-top: .38rem; }
.order-benefit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: center; gap: .6rem var(--gap); margin-top: clamp(26px, 3.8vw, 48px); padding: clamp(16px, 2.45vw, 32px); background: var(--pale); }
.order-benefit h3 { color: var(--green); font-size: clamp(1.1rem, 1.75vw, 1.48rem); }
.order-benefit p { color: var(--muted); }
.scene-note { margin-top: clamp(19px, 2.8vw, 33px); }

.samples { padding-block: var(--space); }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(27px, 3.1vw, 47px) var(--gap); margin-top: clamp(23px, 3vw, 42px); }
.sample { min-width: 0; }
.sample-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: .6rem; text-decoration: none; }
.sample-link img { width: 100%; aspect-ratio: 8 / 5; object-fit: contain; background: var(--paper); grid-column: 1 / -1; }
.sample-meta { padding-top: .7rem; }
.sample-meta h3 { margin-top: .1rem; font-size: clamp(1rem, 1.42vw, 1.24rem); }
.sample-type { display: block; color: var(--muted); font-size: .91rem; }
.sample-open { color: var(--green); font-size: .89rem; white-space: nowrap; }
.sample-answer { margin-top: .7rem; background: var(--pale); }
.sample-answer summary:hover { background: #e4ebe0; }
.sample-note { margin-top: clamp(20px, 3vw, 36px); color: var(--muted); }

.plans-section { background: var(--paper); padding-block: var(--space); }
.trial-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--gap); align-items: center; margin-top: clamp(26px, 3.45vw, 48px); padding: clamp(18px, 3vw, 44px); background: var(--pale); }
.trial-image img { aspect-ratio: 1.3; }
.trial-copy h3 { font-size: clamp(1.25rem, 2.2vw, 2rem); }
.trial-amount { margin: .4rem 0 .5rem; color: var(--green); font-family: var(--serif); font-size: clamp(1.45rem, 2.55vw, 2.35rem); font-weight: 700; line-height: 1.2; }
.trial-amount strong { font-size: 1.36em; font-variant-numeric: tabular-nums; }
.trial-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.1rem; margin: 1rem 0; }
.trial-facts dt { color: var(--muted); font-size: .94rem; }
.trial-facts dd { color: var(--green); font-weight: 750; }
.trial-facts dd strong { font-size: 1.35rem; white-space: nowrap; }

.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.plan { min-width: 0; padding: clamp(19px, 2.65vw, 38px); background: var(--white); }
.plan h3 { font-size: clamp(1.18rem, 1.9vw, 1.65rem); }
.plan-description { margin-top: .55rem; color: var(--muted); }
.plan-price { margin-top: 1.3rem; color: var(--green); line-height: 1.2; }
.plan-price > span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .93rem; }
.plan-price strong { font: 700 clamp(2.1rem, 3.3vw, 3.25rem)/1 var(--serif); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-price small, .plan-note { font-size: .94rem; }
.plan-note { margin-top: .45rem; margin-bottom: 1rem; color: var(--muted); }

summary { cursor: pointer; }
.plan-detail > summary, .faq summary, .sample-answer summary, .viewer-answer summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.plan-detail > summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-height: 60px; padding: .65rem .95rem; background: #e4ebe0; color: var(--deep); font-size: 1.07rem; font-weight: 800; line-height: 1.4; }
.trial-plan .plan-detail > summary { background: #dce6d9; }
.plan-detail > summary:hover, .plan-detail[open] > summary { background: #d5e3d1; }
.disclosure-icon { display: block; position: relative; flex: 0 0 22px; height: 22px; }
.disclosure-icon::before, .disclosure-icon::after { content: ""; position: absolute; background: currentColor; }
.disclosure-icon::before { inset: 10px 0; }
.disclosure-icon::after { inset: 0 10px; }
.plan-detail[open] .disclosure-icon::after { display: none; }
.plan-detail-body { padding-top: .8rem; color: var(--muted); }
.plan-detail-body p + p { margin-top: .55rem; }

.faq-section { padding-block: var(--space); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); align-items: start; gap: var(--gap); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary, .faq-extra summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 55px; padding: .65rem .1rem; font-weight: 750; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.35rem; line-height: 1; }
.faq details[open] > summary::after { content: "−"; }
.faq p { padding-bottom: .75rem; color: var(--muted); }
.faq-extra { grid-column: 2; margin-top: -.5rem; color: var(--muted); }
.faq-extra summary { min-height: 44px; font-size: .95rem; text-decoration: underline; font-weight: 600; }

.contact-section { color: var(--white); background-color: var(--deep); background-image: linear-gradient(90deg, #142b23 0%, #142b23 44%, #142b23e0 55%, #142b2300 77%), url("assets/consult-bag.webp"); background-repeat: no-repeat; background-size: cover, auto 136%; background-position: center, right center; }
.contact-inner { padding-block: var(--space); }
.contact-inner h2 { max-width: 55%; font-size: clamp(2rem, 4.1vw, 4.15rem); }
.contact-inner > p { max-width: 51%; margin-top: .7rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; max-width: 55%; margin-top: 1.05rem; }
.contact-actions a:focus-visible { outline-color: var(--white); }
.contact-mail { color: var(--white); background: var(--deep); border: 1px solid currentColor; }
.contact-mail:hover { color: var(--gold); }
.contact-inner .contact-email { margin-top: .55rem; overflow-wrap: anywhere; }
.contact-inner .contact-caption { margin-top: 1.35rem; font-size: .88rem; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem 1.2rem; padding-block: 20px; color: var(--muted); font-size: .94rem; }
.site-footer img { width: 148px; }
.operator-info { display: none; padding-block: 1.2rem 4rem; }
.operator-info:target { display: block; }
.operator-info h2 { font-size: 1.75rem; }
.operator-info dl { display: grid; gap: .5rem; margin-top: .8rem; }
.operator-info dt { font-weight: 750; }

@media (max-width: 800px) {
  .site-header-inner { flex-wrap: wrap; gap: .2rem 1rem; padding-top: 9px; }
  .site-header nav a { font-size: .94rem; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hero::after { display: none; }
  .hero-copy { width: 100%; padding: 31px var(--gutter) 24px; grid-row: 1; }
  .hero h1 { font-size: clamp(1.72rem, 7.3vw, 3.5rem); }
  .hero-media { position: relative; height: clamp(225px, 66vw, 470px); grid-row: 2; }
  .hero-photo { object-position: center; }
  .hero-preview { width: clamp(113px, 31vw, 190px); right: var(--gutter); bottom: 14px; }
  .hero-preview span { min-height: 34px; padding-inline: .3rem; font-size: .84rem; }
  .hero-caption { background: var(--deep); padding: .05rem .4rem; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-heading, .order-benefit, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-extra { grid-column: 1; }
  .trial-plan { grid-template-columns: minmax(0, 1fr); }
  .trial-image img { max-height: 360px; }
  .contact-section { background-size: cover, auto 100%; }
}

@media (max-width: 560px) {
  .site-header nav { gap: 0 clamp(9px, 3.4vw, 20px); }
  .site-header nav a { font-size: .875rem; min-height: 44px; }
  .hero-break { display: none; }
  .scene-heading h2 { font-size: clamp(1.25rem, 6.4vw, 1.85rem); }
  .scene-list, .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .scene-list { row-gap: 29px; }
  .sample-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-section { background-image: linear-gradient(90deg, #142b23 0%, #142b23f2 46%, #142b23dc 100%), url("assets/consult-bag.webp"); background-size: cover, cover; }
  .contact-inner h2, .contact-inner > p { max-width: 100%; }
  .contact-actions { max-width: 100%; }
  .sample-dialog { width: calc(100% - 16px); }
}

@supports (word-break: auto-phrase) {
  :is(h1, h2, h3, summary, .hero-description, .section-intro, .scene p, .order-benefit p) {
    word-break: auto-phrase;
  }
}

body:has(.sample-dialog[open]) { overflow: hidden; }
.sample-dialog { width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 0; color: var(--ink); background: var(--white); }
.sample-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.sample-dialog::backdrop { background: rgb(13 23 17 / 78%); }
.viewer-header, .viewer-actions { display: flex; align-items: center; gap: .4rem .7rem; padding: .5rem .75rem; }
.viewer-header { justify-content: space-between; }
.viewer-header h2 { font: 750 clamp(1rem, 2.45vw, 1.5rem)/1.4 var(--sans); overflow-wrap: anywhere; }
.close-viewer { flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: var(--pale); color: var(--deep); font-size: 1.55rem; line-height: 1; }
.viewer-canvas { min-height: 0; overflow: auto; overscroll-behavior: contain; background: var(--paper); }
.viewer-canvas img { width: 100%; max-height: calc(100dvh - 168px); object-fit: contain; }
.viewer-canvas.zoomed img { width: max(780px, 150%); max-width: none; max-height: none; }
.viewer-reverse { display: grid; align-items: center; min-height: min(280px, 40dvh); padding: clamp(18px, 5vw, 46px); }
.is-featured .viewer-canvas { perspective: 1300px; }
.is-featured .viewer-card { position: relative; transform-style: preserve-3d; transition: transform 360ms ease; }
.is-featured .viewer-card.is-flipped { transform: rotateY(180deg); }
.is-featured .viewer-card > img, .is-featured .viewer-reverse { backface-visibility: hidden; }
.is-featured .viewer-reverse { position: absolute; inset: 0; min-height: 0; overflow: auto; background: var(--white); transform: rotateY(180deg); }
.viewer-reverse .answer-copy { max-width: 42em; }
.viewer-reverse .answer-value { color: var(--deep); font-size: clamp(1.25rem, 3.5vw, 2rem); }
.sample-answer summary, .viewer-answer summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 46px; padding: .5rem .85rem; color: var(--deep); font-weight: 750; }
.sample-answer summary::after, .viewer-answer summary::after { content: "+"; font-size: 1.3rem; }
.sample-answer[open] summary::after, .viewer-answer[open] summary::after { content: "−"; }
.sample-answer .answer-copy, .viewer-answer .answer-copy { padding: 0 .85rem .8rem; }
.viewer-answer .answer-copy { max-height: min(28dvh, 9rem); overflow: auto; }
.answer-value { margin-bottom: .28rem; }
.viewer-actions { flex-wrap: wrap; }
.viewer-actions button, .viewer-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .7rem; gap: .3rem; font-size: .96rem; }
.viewer-actions button { border: 0; background: var(--pale); color: var(--deep); }
.viewer-actions .viewer-flip { color: var(--white); background: var(--deep); font-weight: 750; }
.viewer-actions button:hover, .close-viewer:hover { filter: brightness(.93); }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-preview img, .is-featured .viewer-card { transition: none; }
}
