/* Wellnethy Travel LP - codex structure with the wellnethy.com wa-color design system */

:root {
  /* Wellnethy palette (和色) */
  --color-offwhite: #FDFDFD;
  --color-kinari:   #F3F0E6;
  --color-greige:   #D5D1CB;
  --color-charcoal: #333333;
  --color-sumi:     #1A1A1A;
  --color-ai:       #1B2A47; /* deep indigo */
  --color-seiji:    #4A6B69; /* calm blue-green */
  --color-shingei:  #BF9C59; /* dull gold */

  /* Semantic tokens (map codex names onto the palette) */
  --ink:    var(--color-charcoal);
  --muted:  #6a675f;
  --paper:  var(--color-offwhite);
  --cream:  var(--color-kinari);
  --warm:   #ECE7DA;
  --line:   rgba(213, 209, 203, 0.55);
  --forest: var(--color-ai);      /* primary dark / buttons */
  --deep:   var(--color-sumi);    /* footer */
  --gold:   var(--color-shingei);
  --seiji:  var(--color-seiji);
  --white:  #ffffff;
  --shadow: 0 22px 60px rgba(26, 26, 26, 0.12);

  /* Fonts */
  --font-en-display: 'Cinzel', Georgia, serif;
  --font-en-body:    'Playfair Display', Georgia, serif;
  --font-ja-display: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-ja-body:    'Zen Kaku Gothic New', 'Noto Sans JP', system-ui, sans-serif;

  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Body font per language */
html[lang="en"] body { font-family: var(--font-en-body); }
html[lang="ja"] body { font-family: var(--font-ja-body); }

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

/* -------------------------------------
   Header (floating, blurred)
-------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(253, 253, 253, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block; height: 38px; width: auto; flex-shrink: 0;
}
.nav { display: flex; align-items: center; gap: 20px; color: var(--charcoal); font-size: 14px; white-space: nowrap; }
html[lang="en"] .nav { font-family: var(--font-en-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12.5px; }
.nav a { color: var(--muted); transition: color 0.3s ease; }
.nav a:hover { color: var(--gold); }

/* -------------------------------------
   Hero
-------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(38px, 6vw, 82px) clamp(18px, 5vw, 72px);
}
.sales-hero { background: linear-gradient(135deg, #FDFDFD 0%, var(--color-kinari) 100%); }
.hero-copy { max-width: 780px; }
.hero-media { min-height: 560px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { min-height: 560px; height: 100%; object-fit: cover; }

/* Hero load animation */
.hero-copy > * { opacity: 0; transform: translateY(20px); animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.30s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.45s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.60s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.72s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.82s; }
.hero-copy > *:nth-child(7) { animation-delay: 0.92s; }
.hero-media { opacity: 0; animation: fadeIn 1.4s ease forwards 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* -------------------------------------
   Typography
-------------------------------------- */
.eyebrow, .kicker {
  margin: 0 0 15px; color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
html[lang="en"] .eyebrow, html[lang="en"] .kicker { font-family: var(--font-en-display); }
html[lang="ja"] .eyebrow, html[lang="ja"] .kicker { font-family: var(--font-ja-body); font-weight: 500; letter-spacing: .12em; }

h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: 0.02em; color: var(--color-sumi); }
h1, h2 { font-weight: 500; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: var(--font-en-display); }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { font-family: var(--font-ja-display); }
h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.25; }
h2 { font-size: clamp(27px, 3.4vw, 44px); max-width: 1050px; line-height: 1.35; }
h3 { font-size: 20px; margin-bottom: 12px; font-weight: 500; }

.lead { margin: 24px 0 0; color: #454a4f; font-size: clamp(17px, 1.8vw, 22px); max-width: 700px; }
.promise { max-width: 640px; margin: 20px 0 0; color: var(--forest); font-size: 19px; font-weight: 600; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 26px; border: 0; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.08em; cursor: pointer; transition: all 0.3s ease;
}
html[lang="en"] .button { font-family: var(--font-en-display); font-size: 13px; text-transform: uppercase; }
.button.primary { color: var(--paper); background: var(--forest); }
.button.primary:hover { background: var(--color-sumi); }
.button.secondary { color: var(--forest); border: 1px solid var(--color-ai); background: rgba(255, 255, 255, .5); }
.button.secondary:hover { background: var(--color-ai); color: var(--paper); }

.cred-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.cred-row span {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .55); color: #4b574f; font-size: 13px;
}

/* -------------------------------------
   Proof strip
-------------------------------------- */
.proof-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof-strip article { padding: 26px clamp(18px, 4vw, 44px); background: var(--color-kinari); }
.proof-strip strong { display: block; margin-bottom: 8px; color: var(--color-sumi); }
.proof-strip span { color: var(--muted); }

/* -------------------------------------
   Sections
-------------------------------------- */
.section { padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 42px; align-items: end; margin-bottom: 36px;
}
.section-head p, .text-grid p, .card p, .theme-grid p, .model-grid p, .compact p,
.steps p, .price-grid p, .case-grid p, .budget-box p, .founder p, .faq p { color: var(--muted); margin: 0; }

.text-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.card-grid, .theme-grid, .model-grid, .case-grid, .price-grid, .steps { display: grid; gap: 18px; }
.card-grid.three, .theme-grid, .model-grid, .case-grid, .price-grid, .steps { grid-template-columns: repeat(3, 1fr); }
.steps.four { grid-template-columns: repeat(4, 1fr); }

/* Cards: gold top border + hover lift (wellnethy signature) */
.card, .compact article, .steps article, .price-grid article, .model-grid article,
.case-grid article, .budget-box, details {
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  background: var(--color-offwhite);
  padding: 26px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.compact article:hover, .steps article:hover, .price-grid article:hover,
.model-grid article:hover, .case-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.06);
}
.card span { display: inline-block; margin-bottom: 20px; color: var(--gold); font-weight: 700; }

.transformation, .intro-ja, .process, .faq { background: var(--cream); }

/* Before / After */
.before-after { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.before-after article { border-radius: 6px; padding: 32px; background: var(--forest); color: var(--paper); border-top: 2px solid var(--gold); }
.before-after article:last-child { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.before-after span { display: inline-block; margin-bottom: 14px; color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .14em; }
.before-after h3 { color: var(--paper); }
.before-after article:last-child h3 { color: var(--color-sumi); }
.before-after p { color: rgba(253, 253, 253, .78); margin: 0; }
.before-after article:last-child p { color: var(--muted); }

.case-study { background: var(--warm); }
.evidence-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }

/* Themes / cards with image */
.theme-grid article { overflow: hidden; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 6px; background: var(--color-offwhite); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.theme-grid article:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26, 26, 26, 0.06); }
.theme-grid img { aspect-ratio: 4/3; object-fit: cover; transition: transform 0.8s ease; }
.theme-grid article:hover img { transform: scale(1.05); }
.theme-grid h3, .theme-grid p { padding-left: 22px; padding-right: 22px; }
.theme-grid h3 { padding-top: 22px; }
.theme-grid p { padding-bottom: 24px; }
.theme-grid { overflow: visible; }

/* Moments (real journey photos) */
.moments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.moments-grid article { overflow: hidden; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 6px; background: var(--color-offwhite); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.moments-grid article:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26, 26, 26, 0.06); }
.moments-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.8s ease; }
.moments-grid article:hover img { transform: scale(1.05); }
.moment-caption { margin: 0; padding: 18px 22px; color: var(--muted); font-size: 15px; }
.privacy-note { margin: 24px 0 0; color: var(--muted); font-size: 14px; }

.difference, .philosophy { background: var(--warm); }
.process h2, .pricing h2, .support h2 { margin-bottom: 28px; }

.steps span {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px;
  border-radius: 50%; color: var(--paper); background: var(--forest); font-weight: 700;
  font-family: var(--font-en-display);
}
.price-grid strong { display: block; color: var(--forest); font-size: 24px; margin: 12px 0; font-family: var(--font-en-display); }
.budget-box { margin-top: 18px; background: var(--color-kinari); }

/* Founder / license */
.founder, .about { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; background: var(--warm); }
.founder p { margin-top: 16px; }
.founder-intro { display: grid; grid-template-columns: minmax(160px, 35%) minmax(0, 1fr); gap: 32px; align-items: start; }
.founder-photo img {
  display: block; width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.10);
}
.license {
  display: grid; gap: 10px; align-self: start; padding: 26px;
  border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 6px;
  background: var(--color-offwhite); color: var(--muted);
}
.license strong { color: var(--color-sumi); }

/* Lead magnet */
.lead-magnet {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--forest); color: var(--paper);
}
.lead-magnet .kicker { color: var(--gold); }
.lead-magnet h2 { color: var(--paper); }
.lead-magnet p { color: rgba(253, 253, 253, .78); }

/* Guide form: compact inline row, no card — sits directly on the indigo band */
.mini-form { padding: 0; }
.guide-form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.guide-form-row label { flex: 1 1 220px; margin: 0; }
.guide-form-row .button { flex: 0 0 auto; }
.lead-magnet .button.primary { background: var(--gold); color: var(--color-sumi); }
.lead-magnet .button.primary:hover { background: #D8BC82; }
.lead-magnet .note { color: rgba(253, 253, 253, .65) !important; }
.lead-magnet .form-status.is-success { color: #8FE3D2; }
.lead-magnet .form-status.is-error { color: #FF8A80; }
.lead-magnet .form-status a.guide-download-link { color: var(--gold); text-decoration: underline; font-weight: 600; }
.lead-magnet .form-status a.guide-download-link:hover { color: #D8BC82; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.contact-card { border-radius: 8px; background: var(--paper); color: var(--ink); padding: 30px; }

/* Contact */
.contact { padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 72px); background: var(--color-kinari); }
.contact-card { max-width: 1120px; margin: 0 auto; box-shadow: 0 12px 34px rgba(27, 42, 71, 0.14); border-top: 3px solid var(--gold); }
.contact-card > p { color: var(--muted); }

.inquiry-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; color: #435048; font-weight: 500; font-size: 14px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px 13px;
  background: #fff; color: var(--ink); font: inherit; transition: border-color 0.3s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
.full { grid-column: 1 / -1; }
.inquiry-form .button { justify-self: start; }
.note { margin-top: 12px; color: var(--muted) !important; font-size: 13px; }

/* Form submission status (Web3Forms) */
.form-status { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; min-height: 1.2em; font-weight: 500; }
.form-status.is-success { color: var(--color-seiji); }
.form-status.is-error { color: #B3453B; }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

/* FAQ */
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--color-sumi); }

/* Text grid / identity / risk */
ul { margin: 20px 0 0; padding-left: 18px; color: #4c5852; }

/* Footer */
.site-footer {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px); background: var(--deep); color: rgba(253, 253, 253, .74); font-size: 14px;
}
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--gold); }

/* -------------------------------------
   Behavioral / extra sections
-------------------------------------- */
.low-friction { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.risk-section { background: var(--color-offwhite); }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.risk-grid article {
  border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(243, 240, 230, .6));
  padding: 26px; transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.risk-grid article:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26, 26, 26, 0.06); }
.risk-grid h3 { color: var(--forest); }
.risk-grid p { color: var(--muted); margin: 0; }

.identity-section { background: var(--color-kinari); }
.identity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; max-width: 980px; }
.identity-list p {
  margin: 0; padding: 18px 22px; border-left: 4px solid var(--gold); border-radius: 6px;
  background: rgba(255, 255, 255, .7); color: #3f4b45; font-weight: 500;
}

/* -------------------------------------
   Document / legal content pages
-------------------------------------- */
.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 40px);
}
.doc .kicker { margin-bottom: 12px; }
.doc h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.3; margin-bottom: 10px; }
.doc .doc-meta { margin: 0 0 40px; color: var(--muted); font-size: 14px; }
.doc h2 { font-size: clamp(20px, 2.4vw, 27px); margin: 46px 0 14px; }
.doc h3 { font-size: 18px; margin: 24px 0 10px; }
.doc .lede { font-size: clamp(16px, 1.6vw, 19px); color: #454a4f; margin: 0 0 8px; }
.doc p { color: #454a4f; margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 20px; color: #454a4f; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--gold); }
.doc .back-link { display: inline-block; margin-top: 40px; font-size: 14px; }

/* Definition list for company / legal information */
.doc dl.info {
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}
.doc dl.info dt,
.doc dl.info dd {
  margin: 0;
  padding: 15px 12px 15px 0;
  border-bottom: 1px solid var(--line);
}
.doc dl.info dt { color: var(--color-sumi); font-weight: 600; }
.doc dl.info dd { color: #454a4f; }
html[lang="en"] .doc dl.info dt { font-family: var(--font-en-display); font-size: 14px; letter-spacing: 0.04em; }

/* Form consent line (near submit buttons) */
.form-consent { grid-column: 1 / -1; margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.form-consent a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--gold); }
.lead-magnet .form-consent { color: rgba(253, 253, 253, .62); }
.lead-magnet .form-consent a { color: var(--gold); }
.lead-magnet .form-consent a:hover { color: #D8BC82; }

@media (max-width: 560px) {
  .doc dl.info { grid-template-columns: 1fr; }
  .doc dl.info dt { border-bottom: 0; padding-bottom: 2px; }
  .doc dl.info dd { padding-top: 4px; }
}

/* -------------------------------------
   Scroll reveal
-------------------------------------- */
.fade-in-section { opacity: 0; transform: translateY(30px); transition: opacity var(--transition-slow), transform var(--transition-slow); }
.fade-in-section.is-visible { opacity: 1; transform: none; }

/* -------------------------------------
   Responsive
-------------------------------------- */
@media (max-width: 1080px) {
  .steps.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero, .section-head, .lead-magnet, .founder { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media, .hero-media img { min-height: 360px; }
  .proof-strip, .text-grid, .card-grid.three, .theme-grid, .model-grid,
  .case-grid, .price-grid, .steps, .steps.four, .before-after, .moments-grid, .inquiry-form { grid-template-columns: 1fr; }
  .founder-intro { grid-template-columns: 1fr; }
  .founder-photo img { max-width: 260px; margin: 0 auto; }
  .full { grid-column: auto; }
}
@media (max-width: 560px) {
  .brand-logo { height: 30px; }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  .section, .hero, .lead-magnet, .contact { padding-left: 16px; padding-right: 16px; }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: 8px; }
  .risk-grid, .identity-list, .text-grid { grid-template-columns: 1fr; }
  .guide-form-row { flex-direction: column; }
  .guide-form-row label, .guide-form-row .button { flex: none; width: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-media, .fade-in-section { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}
