:root {
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 850; letter-spacing: -.09em; white-space: nowrap; }
.mark { flex: 0 0 auto; position: relative; display: grid; place-items: center; width: 36px; height: 36px; background: var(--accent); border-radius: 11px; }
.mark::before { content: ""; width: 17px; height: 12px; border: 1.5px solid var(--on-accent); border-radius: 4px; }
.mark::after { content: ""; position: absolute; width: 6px; height: 6px; border: 1.5px solid var(--on-accent); border-radius: 50%; }
.beta { color: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .03em; align-self: center; }
.nav { display: flex; align-items: center; gap: 35px; font-size: 13px; font-weight: 700; color: var(--muted); }
.nav a:hover, .footer a:hover { color: var(--label); }
.button { min-height: 55px; padding: 0 24px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; font-weight: 750; background: var(--accent); color: var(--on-accent); }
.button:hover { background: var(--accent-hover); }
.button-outline { background: transparent; color: var(--accent); border: 1px solid var(--line); min-height: 42px; padding: 0 14px; font-size: 12px; gap: 14px; }
.button-outline:hover { background: var(--wash); }
.arrow { font-size: 19px; line-height: 1; font-weight: 500; }
.hero { display: grid; grid-template: "copy visual" auto "actions visual" auto / minmax(335px, .84fr) minmax(0, 1.16fr); gap: 24px 42px; padding-block: clamp(42px, 5.6vw, 77px) 59px; align-items: center; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-tag { font-size: 13px; font-weight: 750; color: var(--label); margin-bottom: 14px; }
h1 { font-size: clamp(28px, 3.45vw, 49px); line-height: 1.26; letter-spacing: -.055em; font-weight: 850; }
h1 span { color: var(--accent); }
.hero-description { margin-top: 19px; color: var(--muted); font-size: clamp(14px, 1.12vw, 17px); line-height: 1.8; }
.hero-restriction { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-example-title { margin-bottom: 8px; color: var(--ink); font-size: clamp(15px, 1.6vw, 22px); line-height: 1.45; font-weight: 800; }
.hero-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; }
.trial-note { color: var(--muted); font-size: 12px; }
.hero-visual { grid-area: visual; align-self: center; min-width: 0; }
.photo-comparison { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.86fr); gap: 12px; }
.photo-side { min-width: 0; }
.photo-head { min-height: 35px; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; font-weight: 750; }
.photo-head span { color: var(--label); font-family: system-ui, sans-serif; font-size: 11px; font-weight: 750; letter-spacing: .08em; padding-top: 1px; }
.frames { height: clamp(250px, 29.3vw, 430px); background: var(--wash); border-radius: 14px; overflow: hidden; }
.frames img, .example-images img { height: 100%; object-fit: cover; }
.frames > img { object-position: 54% center; }
.frames-after { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; }
.frames-after img { min-height: 0; }
.frames-after img:first-child { object-position: 52% 35%; }
.frames-after img:nth-child(2) { object-position: 48% 41%; }
.frames-after img:nth-child(3) { object-position: 55% 40%; }
.frames-after img:nth-child(4) { object-position: 49% 52%; }
.compare-arrow { position: absolute; z-index: 1; left: calc((100% - 12px) / 2.86 + 6px); top: calc(50% + 17px); transform: translate(-50%, -50%); display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--panel); color: var(--accent); font-size: 20px; box-shadow: 0 2px 12px #0002; }
.sample-note { margin-top: 9px; text-align: right; color: var(--muted); font-size: 11px; }
.generation-note { display: block; margin-top: 5px; text-align: start; font-size: 12px; line-height: 1.6; }
.section { padding-block: 67px 76px; border-top: 1px solid var(--line); }
.section-header { margin-bottom: 29px; }
h2 { font-size: clamp(28px, 3.1vw, 44px); font-weight: 800; line-height: 1.38; letter-spacing: -.055em; }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.example { min-width: 0; overflow: hidden; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.example-images { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 1.82; background: var(--wash); }
.example-images figure { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.example-images img { object-position: center 44%; }
.swim-images figure:last-child img { object-position: center 48%; }
.photo-label { position: absolute; left: 12px; bottom: 10px; border-radius: 5px; padding: 3px 8px; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--panel); }
.example-info { padding: 17px 17px 19px; }
.example-info h3 { font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.example-info p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.steps-background { background: var(--wash); border-top: 1px solid var(--line); }
.steps-section { padding-block: 65px 70px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr); gap: 58px; align-items: center; }
.steps { padding: 0; margin: 19px 0 25px; list-style: none; }
.steps li { display: grid; align-items: center; grid-template-columns: 35px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); color: var(--accent); font: 700 13px system-ui, sans-serif; }
.screen { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; box-shadow: 0 13px 38px #0001; }
.screen-title { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 8px 16px; background: var(--panel); font-size: 13px; font-weight: 750; }
.screen-crop { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 2.8; background: var(--wash); }
.screen-crop img { position: absolute; width: 132%; max-width: none; left: -15%; top: -108%; }
.payment-page, .payment-back { display: none; }
body:has(.payment-page:target) .payment-page,
body:has(#payment-tokusho:target) .payment-page { display: block; }
body:has(.payment-page:target, #payment-tokusho:target) .landing-only { display: none; }
body:has(.payment-page:target, #payment-tokusho:target) .payment-back { display: inline-flex; }
.payment-page { max-width: 620px; padding-block: clamp(32px, 6vw, 76px) 40px; }
.payment-page h1 { margin-bottom: 8px; }
.payment-intro { color: var(--muted); }
.payment-card { margin-top: 25px; padding: clamp(18px, 4vw, 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.payment-card h2 { margin-bottom: 8px; font-size: 21px; }
.payment-summary { margin: 0 0 22px; }
.payment-summary > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.payment-summary dd { margin: 0; color: var(--muted); }
.payment-total { font-weight: 800; }
.payment-action { width: 100%; border: 0; font: inherit; font-weight: 750; }
.payment-action:disabled { cursor: default; background: var(--wash); color: var(--label); }
.payment-note { margin-top: 10px; color: var(--muted); font-size: 13px; }
.payment-legal { display: inline-block; margin-top: 13px; color: var(--label); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.footer { color: var(--muted); font-size: 12px; }
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.footer-brand { color: var(--ink); font-size: 15px; white-space: nowrap; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 21px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 650; }
.footer-panel { display: none; max-width: 750px; margin: 0 auto 27px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); font-size: 14px; scroll-margin-top: 12px; }
.footer-panel:target, .footer-panel:has(#payment-tokusho:target) { display: block; }
#tokusho .payment-back { display: none; }
#tokusho:has(#payment-tokusho:target) .payment-back { display: inline-flex; }
#tokusho:has(#payment-tokusho:target) .footer-close:not(.payment-back) { display: none; }
.footer-panel h2 { font-size: clamp(19px, 2.6vw, 29px); }
.footer-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.footer-close { display: inline-flex; align-items: center; min-height: 34px; padding: 0 8px; color: var(--accent); font-size: 12px; white-space: nowrap; }
.footer-panel-note { margin-bottom: 11px; color: var(--muted); font-size: 13px; }
.footer-facts { margin: 0; }
.footer-facts > div { display: grid; grid-template-columns: minmax(125px, 29%) minmax(0, 1fr); gap: 4px 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.footer-facts dt { font-weight: 750; }
.footer-facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.footer-facts a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 580px) {
  .footer-bar { flex-wrap: wrap; align-items: flex-start; }
  .footer-nav { flex-basis: 100%; gap: 2px 16px; }
  .footer-facts > div { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { column-gap: 29px; }
  .steps-section { gap: 35px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 10px; }
  .brand { font-size: 23px; gap: 7px; }
  .mark { width: 33px; height: 33px; border-radius: 9px; }
  .nav { display: none; }
  .hero { grid-template: "copy" auto "visual" auto "actions" auto / minmax(0, 1fr); row-gap: 17px; padding-block: 27px 34px; }
  .hero-tag { margin-bottom: 9px; font-size: 12px; }
  h1 { font-size: clamp(25px, 7.8vw, 44px); }
  .hero-description { margin-top: 14px; font-size: 13px; line-height: 1.75; }
  .photo-comparison { gap: 8px; }
  .photo-head { min-height: 27px; font-size: 11px; gap: 5px; }
  .photo-head span { font-size: 9px; padding-top: 2px; }
  .frames { height: clamp(175px, 58vw, 345px); border-radius: 10px; }
  .frames-after { gap: 3px; }
  .compare-arrow { left: calc((100% - 8px) / 2.86 + 4px); top: calc(50% + 13px); width: 29px; height: 29px; font-size: 16px; }
  .sample-note { margin-top: 5px; }
  .hero-actions { gap: 8px 13px; }
  .hero-actions .button { flex: 1 1 175px; }
  .section { padding-block: 37px 43px; }
  .section-header { margin-bottom: 19px; }
  .examples { grid-template-columns: 1fr; gap: 15px; }
  .example-info { padding: 15px 16px 17px; }
  .example-info h3 { font-size: 18px; }
  .example-info p { font-size: 13px; }
  .steps-section { grid-template-columns: 1fr; gap: 23px; padding-block: 38px 41px; }
  .steps li { font-size: 14px; }
  .steps { margin-block: 13px 19px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }


:root {
  color-scheme: light;
  --paper: #fffcfd;
  --ink: #211820;
  --muted: #60515b;
  --accent: #8a2348;
  --accent-hover: #711a3a;
  --on-accent: #ffffff;
  --line: #e8d8e0;
  --panel: #ffffff;
  --wash: #f5e6ee;
  --label: #74203c;
}
.hero-sample-link { flex: 0 0 100%; width: fit-content; font-size: 12px; font-weight: 750; color: var(--label); text-decoration: underline; text-underline-offset: 4px; }
.banner-section { padding-block: 38px 52px; background: var(--wash); }
.banner-section h2 { font-size: clamp(27px, 3.2vw, 43px); }
.banner-section .section-header { margin-bottom: 20px; }
.banner-showcase { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.banner-examples { display: grid; gap: 18px; min-width: 0; }
.banner-card { background: var(--panel); min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; container-type: inline-size; }
.featured-preview { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: zoom-in; font: inherit; }
.featured-preview:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.featured-preview img { width: 100%; height: auto; }
.banner-caption { min-height: 41px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.4; }
.zoom-label { color: var(--accent); font-weight: 750; white-space: nowrap; }
.campaign-art { position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; aspect-ratio: 2.18; background: var(--art-bg); color: var(--art-ink); }
.campaign-art img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.campaign-art::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--art-bg) 12%, var(--art-fade) 52%, transparent 77%); }
.campaign-booking { --art-bg: #261621; --art-fade: #261621b0; --art-ink: #fff6ee; --art-accent: #ffd0a4; }
.campaign-hiring { --art-bg: #f5e9e8; --art-fade: #f5e9e8c7; --art-ink: #47172b; --art-accent: #7d3453; }
.campaign-copy { margin: 0 0 0 8%; display: grid; justify-items: start; gap: clamp(3px, 1.7cqw, 8px); }
.campaign-kicker { color: var(--art-accent); font-weight: 750; font-size: clamp(9px, 3.05cqw, 14px); letter-spacing: .07em; }
.campaign-heading { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif; font-size: clamp(18px, 8cqw, 37px); font-weight: 800; line-height: 1.11; letter-spacing: -.08em; }
.campaign-detail { font-size: clamp(10px, 3cqw, 14px); font-weight: 650; }
.banner-dialog { width: min(1000px, calc(100% - 26px)); max-width: none; max-height: calc(100dvh - 26px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--panel); }
.banner-dialog::backdrop { background: #21111fdd; }
.banner-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.banner-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 9px 12px; }
.banner-dialog-header h2 { font-size: 15px; line-height: 1.3; }
.banner-dialog-actions { display: flex; gap: 7px; flex: 0 0 auto; margin: 0; }
.banner-dialog-actions button { min-height: 40px; padding: 0 10px; font: inherit; font-size: 12px; font-weight: 750; color: var(--accent); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.banner-dialog-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.banner-dialog-media { overflow: auto; max-height: calc(100dvh - 86px); background: #261621; }
.banner-dialog-media img { width: 100%; height: auto; max-width: none; }
.banner-dialog-media.is-original img { width: 1000px; }
@media (max-width: 780px) {
  .banner-section { padding-block: 27px 35px; }
  .banner-showcase { grid-template-columns: 1fr; gap: 13px; }
  .banner-examples { gap: 13px; }
  .banner-section .section-header { margin-bottom: 13px; }
  .banner-caption { padding: 7px 9px; font-size: 11px; min-height: 36px; }
}
