:root {
  --ink: #20252a;
  --ink-soft: #4d555d;
  --paper: #ffffff;
  --soft: #f4f2ed;
  --line: #d9d5cc;
  --gold: #d5b071;
  --gold-deep: #b88c45;
  --dark: #1c2227;
  --dark-2: #262d33;
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(20, 24, 28, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif; line-height: 1.85; letter-spacing: .035em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { max-width: 860px; }
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-kicker, .eyebrow, .card-label { margin: 0 0 14px; color: var(--gold-deep); font-size: .76rem; font-weight: 800; letter-spacing: .19em; }
.section-dark .section-kicker, .section-dark .eyebrow { color: var(--gold); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: .015em; word-break: normal; overflow-wrap: normal; }
h1 { margin-bottom: 28px; font-size: clamp(2.75rem, 4.6vw, 4.15rem); font-weight: 650; }
h2 { margin-bottom: 28px; font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 650; }
.heading-line { display: block; white-space: nowrap; }
.hero-title-main { color: #fff; }
.hero-title-accent { color: var(--gold); }
h3 { margin-bottom: 16px; font-size: clamp(1.35rem, 2vw, 2rem); }
h4 { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.7; }
p { color: var(--ink-soft); }
.section-dark p { color: rgba(255,255,255,.72); }
.large-copy { font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--ink); font-weight: 600; line-height: 1.8; }
.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; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 2000; background: #fff; color: #000; padding: 10px 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 82px; background: rgba(255,255,255,.93); border-bottom: 1px solid rgba(32,37,42,.08); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark-en { font-family: Arial, Helvetica, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: .22em; }
.wordmark-ja { margin-top: 7px; color: #777; font-size: .63rem; letter-spacing: .14em; }
.global-nav { display: flex; align-items: center; gap: 22px; font-size: .79rem; font-weight: 650; }
.global-nav > a:not(.nav-cta) { padding: 14px 0; }
.global-nav > a:not(.nav-cta):hover { color: var(--gold-deep); }
.nav-cta { padding: 12px 17px; background: var(--ink); color: #fff; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s; }

.hero { min-height: 100svh; padding: 150px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: 90px; border: 1px solid rgba(213,176,113,.25); border-radius: 50%; }
.hero::after { content: ""; position: absolute; width: 280px; height: 280px; right: 80px; bottom: -130px; background: radial-gradient(circle, rgba(213,176,113,.14), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; position: relative; z-index: 1; }
.hero-lead { margin-bottom: 12px; max-width: 650px; color: #fff !important; font-size: clamp(1.06rem, 1.5vw, 1.28rem); }
.hero-sub { max-width: 620px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 23px; border: 1px solid transparent; font-weight: 750; letter-spacing: .04em; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #1d2226; }
.button-primary:hover { background: #e0c18b; }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.text-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 4px; font-size: .9rem; }
.hero-scroll { position: absolute; right: 28px; bottom: 32px; color: rgba(255,255,255,.45); font-size: .65rem; letter-spacing: .22em; writing-mode: vertical-rl; }

.development-board { position: relative; min-height: 610px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, #2c343a, #20262b); box-shadow: 0 40px 80px rgba(0,0,0,.28); transform: rotate(1.2deg); overflow: hidden; }
.board-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 30px 30px; }
.board-note, .board-sketch, .material-chip, .board-stamp { position: absolute; box-shadow: 0 14px 32px rgba(0,0,0,.24); }
.board-note { width: 42%; min-height: 150px; padding: 24px; background: #f5f2ea; color: var(--ink); transform: rotate(-2deg); }
.board-note strong { display: block; margin-top: 7px; font-size: 1.1rem; }
.note-label { color: #777; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.board-note-a { top: 46px; left: 38px; }
.board-note-b { right: 28px; bottom: 40px; transform: rotate(2.4deg); }
.mini-chart { display: flex; align-items: end; gap: 9px; height: 55px; margin-top: 15px; border-bottom: 1px solid #999; }
.mini-chart i { display: block; width: 15%; background: var(--gold-deep); }
.mini-chart i:nth-child(1){height:22%}.mini-chart i:nth-child(2){height:48%}.mini-chart i:nth-child(3){height:65%}.mini-chart i:nth-child(4){height:92%}
.check-lines { margin-top: 16px; }
.check-lines i { display: block; height: 9px; margin: 11px 0; background: linear-gradient(90deg, var(--gold-deep) 0 10%, #c8c4bc 10% 100%); }
.board-sketch { width: 55%; height: 290px; right: 32px; top: 155px; padding: 24px; background: #ece9df; color: #777; transform: rotate(3deg); }
.board-sketch > span { font-size: .63rem; font-weight: 800; letter-spacing: .15em; }
.sketch-product { position: relative; height: 220px; }
.sketch-body { position: absolute; left: 19%; top: 44px; width: 62%; height: 118px; border: 3px solid #596066; border-radius: 25px 25px 38px 38px; transform: skewY(-3deg); }
.sketch-handle { position: absolute; left: 35%; top: 21px; width: 30%; height: 45px; border: 3px solid #596066; border-bottom: 0; border-radius: 30px 30px 0 0; }
.sketch-line { position: absolute; height: 2px; background: #8b8f91; }
.line-1 { width: 32%; left: 5%; bottom: 35px; transform: rotate(-12deg); }.line-2 { width: 28%; right: 4%; top: 42px; transform: rotate(8deg); }.line-3 { width: 20%; right: 9%; bottom: 27px; }
.material-chip { padding: 11px 15px; border: 1px solid rgba(255,255,255,.2); background: #343e45; color: #fff; font-size: .62rem; letter-spacing: .13em; }
.chip-a { left: 38px; top: 238px; transform: rotate(-6deg); }.chip-b { left: 62px; bottom: 76px; transform: rotate(3deg); background: var(--gold-deep); color: #1c2227; }
.board-stamp { left: 42%; bottom: 42px; width: 125px; height: 125px; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); text-align: center; font-size: .68rem; font-weight: 900; line-height: 1.6; letter-spacing: .08em; transform: rotate(-11deg); box-shadow: none; }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(1.9rem, 2.9vw, 2.7rem); }
.section-heading > p { margin-bottom: 6px; }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.business-card { position: relative; min-height: 600px; padding: 52px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.business-card-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.business-card-dark p { color: rgba(255,255,255,.7); }
.business-number { position: absolute; right: 28px; top: 18px; color: rgba(32,37,42,.08); font-family: Arial, sans-serif; font-size: 8.3rem; font-weight: 900; line-height: 1; }
.business-card-dark .business-number { color: rgba(255,255,255,.06); }
.business-card h3 { position: relative; margin-bottom: 28px; font-size: 2rem; }
.business-card h4 { position: relative; color: var(--gold-deep); }
.business-card-dark h4 { color: var(--gold); }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.category-list li { border: 1px solid var(--line); padding: 7px 12px; font-size: .78rem; }
.brand-mark-mini { margin-top: 32px; padding: 12px 24px; background: #fff; }
.brand-mark-mini img { width: 240px; margin: auto; }

.strength-list { border-top: 1px solid var(--line); }
.strength-item { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.strength-item > span { color: var(--gold-deep); font-family: Arial, sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.strength-item h3 { margin-bottom: 8px; }
.strength-item p { margin-bottom: 0; }

.process-section { position: relative; overflow: hidden; }
.process-section::before { content:""; position:absolute; inset:0; opacity:.06; background-image:linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.5) 1px,transparent 1px); background-size: 42px 42px; }
.process-section .container { position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; margin: 0; list-style: none; background: rgba(255,255,255,.14); }
.process-grid li { min-height: 250px; padding: 34px 28px; background: var(--dark); }
.process-grid span { color: var(--gold); font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
.process-grid h3 { margin-top: 32px; font-size: 1.2rem; }
.process-grid p { margin-bottom: 0; font-size: .88rem; }
.process-note { margin: 26px 0 0; padding-left: 18px; border-left: 2px solid var(--gold); }

.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.work-card { border: 1px solid var(--line); background: #fff; }
.work-image { display: block; overflow: hidden; background: #e7e4dd; aspect-ratio: 775/478; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.work-image:hover img { transform: scale(1.025); }
.work-body { padding: 34px; }
.work-body h3 { margin-bottom: 14px; }
.result-row { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.result-row strong { color: var(--gold-deep); font-size: 1.55rem; }
.result-row span { color: var(--ink-soft); font-size: .78rem; }
.travelity-brand { margin-top: 24px; width: 180px; }

.consultation-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.consultation-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.consultation-list li { position: relative; padding: 24px 20px 24px 46px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.consultation-list li::before { content: "↗"; position: absolute; left: 10px; color: var(--gold-deep); }

.message-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: center; }
.message-photo { max-width: 470px; background: var(--soft); overflow: hidden; }
.message-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 38%; }
.message-copy { max-width: 650px; }
.signature { margin-top: 36px; color: var(--ink); }

.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table > div { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--line); }
.company-table dt, .company-table dd { padding: 24px 18px; margin: 0; }
.company-table dt { font-weight: 750; }
.company-table dd { color: var(--ink-soft); }
.company-table a { text-decoration: underline; text-underline-offset: 4px; }
.company-table small { font-size: .76rem; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-direct a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.contact-form { padding: 44px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.contact-form label { display: block; margin-bottom: 22px; color: var(--ink); font-size: .88rem; font-weight: 700; }
.contact-form label > span:not(.privacy-check span) { margin-left: 7px; color: #9b5d40; font-size: .65rem; }
.contact-form label > em { margin-left: 7px; color: #777; font-size: .65rem; font-style: normal; }
.form-row.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea { width: 100%; margin-top: 8px; border: 1px solid #cfcac0; border-radius: 0; background: #fff; color: var(--ink); padding: 13px 14px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(184,140,69,.14); }
textarea { resize: vertical; min-height: 160px; }
.privacy-check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; }
.privacy-check input { width: 19px; height: 19px; margin: 0; flex: 0 0 auto; }
.privacy-check a { text-decoration: underline; text-underline-offset: 3px; }
.form-submit { width: 100%; }
.form-error { min-height: 1.5em; margin: -5px 0 15px; color: #a13d28 !important; font-size: .82rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 70px 0 22px; background: #151a1e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.wordmark-footer { color: #fff; margin-bottom: 24px; }
.wordmark-footer .wordmark-ja { color: rgba(255,255,255,.5); }
.site-footer p { color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; align-content: start; font-size: .82rem; color: rgba(255,255,255,.75); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); }

.confirm-dialog { width: min(92vw, 760px); max-height: 88vh; padding: 0; border: 0; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.confirm-dialog::backdrop { background: rgba(16,20,23,.72); backdrop-filter: blur(4px); }
.confirm-panel { position: relative; padding: 42px; }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: transparent; color: #555; font-size: 1.8rem; }
.confirm-panel h2 { font-size: 1.8rem; }
#confirm-content { margin: 0 0 26px; border-top: 1px solid var(--line); }
#confirm-content div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
#confirm-content dt, #confirm-content dd { margin: 0; padding: 14px 8px; }
#confirm-content dt { font-weight: 750; }
#confirm-content dd { color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.dialog-actions { display: flex; gap: 12px; justify-content: flex-end; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.privacy-page { padding-top: 132px; }
.privacy-content { max-width: 860px; }
.privacy-content h1 { color: var(--ink); font-size: clamp(2.3rem, 5vw, 4.4rem); }
.privacy-content h2 { margin-top: 52px; font-size: 1.45rem; }
.privacy-content ul { padding-left: 1.4em; color: var(--ink-soft); }
.simple-header { background: #fff; }
.thanks-wrap { min-height: 100svh; display: grid; place-items: center; padding: 100px 24px; background: var(--soft); }
.thanks-card { max-width: 720px; padding: 60px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.thanks-card h1 { color: var(--ink); font-size: clamp(2rem, 5vw, 3.8rem); }

@media (max-width: 1080px) {
  .global-nav { gap: 14px; font-size: .73rem; }
  .global-nav a:nth-child(4), .global-nav a:nth-child(5) { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .development-board { min-height: 520px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 80px 0; }
  .site-header { height: 70px; }
  .menu-button { display: block; }
  .global-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 18px 16px 26px; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .25s; }
  .global-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .global-nav > a, .global-nav a:nth-child(4), .global-nav a:nth-child(5) { display: block; padding: 13px 8px !important; border-bottom: 1px solid #eee; }
  .global-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 126px 0 72px; }
  .hero-grid, .section-heading, .business-grid, .works-grid, .consultation-grid, .message-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  h1 { font-size: clamp(2.6rem, 7vw, 3.45rem); }
  h2 { font-size: clamp(1.75rem, 5vw, 2.35rem); }
  .section-heading h2 { font-size: clamp(1.72rem, 4.7vw, 2.2rem); }
  .development-board { min-height: 500px; max-width: 620px; width: 100%; margin: auto; }
  .section-heading { gap: 18px; margin-bottom: 40px; }
  .business-card { min-height: auto; padding: 38px 28px; }
  .business-number { font-size: 6rem; }
  .consultation-grid, .message-grid, .contact-grid { gap: 48px; }
  .message-photo { max-width: 420px; }
  .contact-copy { position: static; }
  .company-table > div { grid-template-columns: 160px 1fr; }
  .desktop-only { display: none; }
}

@media (max-width: 560px) {
  body { letter-spacing: .02em; }
  .container { width: min(calc(100% - 24px), var(--max)); }
  h1 { font-size: 2.45rem; line-height: 1.32; }
  h2 { font-size: 1.75rem; line-height: 1.42; }
  .section-heading h2 { font-size: 1.65rem; }
  .wordmark-en { font-size: .92rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .development-board { min-height: 430px; transform: none; }
  .board-note { width: 48%; min-height: 118px; padding: 15px; }
  .board-note-a { left: 14px; top: 20px; }
  .board-sketch { width: 65%; height: 230px; right: 12px; top: 116px; padding: 16px; }
  .sketch-product { height: 170px; }
  .sketch-body { top: 40px; height: 92px; }
  .board-note-b { right: 12px; bottom: 12px; }
  .material-chip { display: none; }
  .board-stamp { left: 9%; bottom: 18px; width: 92px; height: 92px; font-size: .55rem; }
  .strength-item { grid-template-columns: 46px 1fr; gap: 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 190px; }
  .work-body { padding: 24px; }
  .form-row.two-columns { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 27px 20px; }
  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt { padding-bottom: 4px; }
  .company-table dd { padding-top: 4px; }
  .footer-links { grid-template-columns: 1fr; }
  .confirm-panel { padding: 34px 20px 24px; }
  #confirm-content div { grid-template-columns: 1fr; }
  #confirm-content dt { padding-bottom: 2px; }
  #confirm-content dd { padding-top: 2px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
  .thanks-card { padding: 42px 22px; }
}

@media (max-width: 390px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.55rem; }
  .section-heading h2 { font-size: 1.45rem; }
}

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