/* FindaJapan — shared styles */
:root {
  --paper: #fdfafb;
  --paper-2: #f6edf1;    /* soft blush section */
  --blush: #dacad3;      /* logo inner circle */
  --ink: #2a2228;
  --ink-soft: #5d5259;
  --line: #e9dde3;
  --shu: #8f6a7e;        /* logo mauve: main accent */
  --shu-dark: #6f4f61;
  --indigo: #4b3343;     /* deep plum for bold bands */
  --sage: #7f9a83;       /* soft complementary green */
  --white: #ffffff;
  --radius: 16px;
  --max: 1080px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--shu); text-underline-offset: 3px; }
a:hover { color: var(--shu-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 250, 251, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--shu); flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-soft); text-decoration: none; font-size: .95rem;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--shu); font-weight: 700; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer;
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
         background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav a { padding: 12px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 72px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 40%, var(--paper-2) 0, var(--paper-2) 28%, transparent 28.2%), linear-gradient(180deg, var(--paper), #fbf5f8); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--shu); font-weight: 700; margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-art { justify-self: center; width: min(340px, 80vw); }
@media (max-width: 760px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: 200px; order: -1; justify-self: start; }
}

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--shu); color: var(--white); text-decoration: none; font-weight: 700;
  border: 2px solid var(--shu); transition: background .15s, color .15s;
}
.btn:hover { background: var(--shu-dark); border-color: var(--shu-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--shu); }
.btn.ghost:hover { background: var(--shu); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-bottom: 0; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.alt { background: var(--paper-2); }
.section-title { margin-bottom: 28px; }
.section-title p { color: var(--ink-soft); max-width: 40em; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.three { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
.card .num {
  font-family: var(--serif); color: var(--shu); font-size: .95rem; letter-spacing: .1em; margin-bottom: 10px;
}

.service-card .icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--shu);
}
.service-card .icon svg { width: 26px; height: 26px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--shu);
}
@media (max-width: 680px) { .checks { grid-template-columns: 1fr; } }

/* Prices */
.price-card h3 { margin-bottom: 4px; }
.price-card .sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-top: 1px dashed var(--line);
}
.price-row:first-of-type { border-top: none; }
.price-row .amt { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.note { font-size: .92rem; color: var(--ink-soft); margin-top: 20px; }

.policy {
  background: var(--white); border-left: 4px solid var(--shu); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-top: 28px;
}
.policy h3 { margin-bottom: 8px; }
.policy ul { margin: 0; padding-left: 20px; }

/* Split layout with optional photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 760px) { .split, .split.flip { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.gallery .photo img { aspect-ratio: 1 / 1; }
@media (max-width: 680px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Tour types */
.tour { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.tour:last-child { border-bottom: 1px solid var(--line); }
.tour h3 { margin: 0; }
.tour p { margin: 0; color: var(--ink-soft); }
@media (max-width: 680px) { .tour { grid-template-columns: 1fr; gap: 6px; } }

/* Quote / mission */
.mission {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.6;
  max-width: 34em; margin: 0;
}

/* CTA band */
.cta { background: var(--indigo); color: var(--white); border-radius: var(--radius); padding: 44px; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: #d6dbe6; max-width: 34em; margin: 0 auto 20px; }
.cta .btn { background: var(--white); color: var(--indigo); border-color: var(--white); }
.cta .btn:hover { background: var(--paper-2); color: var(--indigo); }
@media (max-width: 600px) { .cta { padding: 32px 22px; } }

/* Contact */
.form-frame {
  width: 100%; min-height: 1100px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.contact-aside .card + .card { margin-top: 16px; }

/* Prose (privacy) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul { padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 40px; font-size: .95rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.site-footer .brand-name { font-size: 1.15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--shu); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); background: var(--white);
}
.social a:hover { color: var(--white); background: var(--shu); border-color: var(--shu); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.copy { width: 100%; font-size: .85rem; margin-top: 8px; }
.split.solo { grid-template-columns: 1fr; }
.split.solo > div { max-width: 46em; }

/* ---------- Logo & color additions ---------- */
.brand-logo { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.site-footer .brand-logo { width: 36px; height: 36px; }
.hero-art img { width: 100%; height: auto; border-radius: 50%; background: var(--white);
  box-shadow: 0 20px 50px -20px rgba(75, 51, 67, .35); }
section.alt { background: var(--paper-2); }
.site-header { border-bottom: 3px solid var(--blush); }
.page-head { background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 70%); border-bottom: none; }
.service-card .icon { background: var(--blush); color: var(--shu-dark); }
.card { box-shadow: 0 6px 20px -14px rgba(75, 51, 67, .35); }
.grid.three > .card:nth-child(1) { border-top: 4px solid var(--shu); }
.grid.three > .card:nth-child(2) { border-top: 4px solid var(--sage); }
.grid.three > .card:nth-child(3) { border-top: 4px solid var(--blush); }
.checks li::before { border-color: var(--sage); background: #eef3ef; }
.policy { background: var(--white); border-left-color: var(--sage); }
.site-footer { background: var(--paper-2); border-top: 3px solid var(--blush); margin-top: 0; }
.cta { background: linear-gradient(135deg, var(--indigo), var(--shu)); }
.cta p { color: #f1e6ec; }
.cta .btn { color: var(--indigo); }

.tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--blush); color: var(--indigo); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.btn.light { background: var(--white); color: var(--indigo); border-color: var(--white); }
.btn.light:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--indigo); }
.btn.outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn.outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }

.app-banner { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(135deg, var(--shu), var(--indigo)); color: var(--white);
  border-radius: var(--radius); padding: 28px 32px; }
.app-banner h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 6px; }
.app-banner p { color: #f1e6ec; margin: 0; }
.app-banner .btn { flex: none; }
@media (max-width: 680px) { .app-banner { flex-direction: column; align-items: flex-start; padding: 24px; } }

.app-section { background: linear-gradient(135deg, var(--indigo) 0%, var(--shu) 100%); color: var(--white); }
.app-section h2 { color: var(--white); }
.app-section p { color: #f1e6ec; }
.app-section strong { color: var(--white); }
.app-steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 16px 20px; }
.step span { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--indigo); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.step p { margin: 0; color: var(--white); }

/* Guide Services: help cards */
.help-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.help-head h3 { margin: 0; }
.help-card .icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--shu-dark); }
.help-card .icon svg { width: 24px; height: 24px; }
.help-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.help-list li { position: relative; padding: 10px 14px 10px 36px; background: var(--paper-2); border-radius: 10px; color: var(--ink); line-height: 1.55; }
.help-list li::before { content: ""; position: absolute; left: 14px; top: 1.05em; width: 10px; height: 10px; border-radius: 50%; background: var(--shu); }
.grid.two > .help-card:nth-child(1) { border-top: 4px solid var(--shu); }
.grid.two > .help-card:nth-child(2) { border-top: 4px solid var(--sage); }
.grid.two > .help-card:nth-child(3) { border-top: 4px solid var(--blush); }
.grid.two > .help-card:nth-child(4) { border-top: 4px solid var(--indigo); }

/* Guide Services: pricing without fixed prices */
.pricing-step .num { font-size: 1.1rem; font-weight: 700; }
.student-perk { margin-top: 24px; border-radius: var(--radius); padding: 26px 30px;
  background: linear-gradient(135deg, var(--paper-2), #fff); border: 2px solid var(--blush); }
.student-perk h3 { font-size: 1.3rem; margin-bottom: 6px; }
.student-perk p { margin: 0; color: var(--ink-soft); }

/* ---------- Photos ---------- */
.photo.portrait img { aspect-ratio: 3 / 4; object-position: center top; }
.split .photo.portrait { max-width: 380px; justify-self: center; width: 100%; }
.photo { box-shadow: 0 18px 40px -22px rgba(75, 51, 67, .45); }

.hero-photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 460px; }
.hero-sakura { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius);
  box-shadow: 0 24px 50px -24px rgba(75, 51, 67, .5); }
.hero-badge { position: absolute; left: -22px; bottom: -22px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--white); border: 6px solid var(--white); box-shadow: 0 10px 30px -12px rgba(75, 51, 67, .5); }
@media (max-width: 760px) {
  .hero-photo { order: -1; justify-self: center; max-width: 340px; margin-bottom: 18px; }
  .hero-sakura { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero-badge { width: 90px; height: 90px; left: auto; right: -8px; bottom: -18px; border-width: 4px; }
}

.founder { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.founder .photo { position: sticky; top: 96px; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; gap: 24px; }
  .founder .photo { position: static; max-width: 320px; }
}
.hero-sakura { height: auto; object-position: center 40%; }
@media (max-width: 760px) { .hero { background: linear-gradient(180deg, var(--paper), #fbf5f8); } }

/* ---------- Tomo web app section ---------- */
.app-intro { align-items: start; gap: 48px; }
.app-features { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.app-features li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; color: #f1e6ec; line-height: 1.6; }
.app-features strong { display: block; color: var(--white); margin-bottom: 2px; }
.app-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #1b1820;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); }
.app-shot img { width: 100%; height: auto; }
.app-shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: #2a2530; }
.app-shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.app-section .app-steps { margin-top: 40px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .app-section .app-steps { grid-template-columns: 1fr; } }
.app-note { margin: 18px 0 0; font-size: .9rem; color: #e6d7df !important; }
