/* =========================================================
   AIKUMO corporate site  -  style.css
   Palette: navy text / pastel pink・blue・lavender / off-white
   ========================================================= */
:root {
  --navy: #1f2a52;
  --navy-2: #3a466e;
  --text: #2b3350;
  --muted: #6b7390;
  --pink: #d48db1;
  --pink-d: #b9699a;
  --pink-l: #f6e3ee;
  --blue: #6f9ad9;
  --blue-l: #e1ecfa;
  --lav: #9b7fcf;
  --lav-l: #ece5f7;
  --bg: #fbfafd;
  --card: #ffffff;
  --line: #e6e2ef;
  --shadow: 0 8px 28px rgba(80, 70, 120, 0.10);
  --radius: 18px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --hand: "Zen Kurenaido", "Klee One", cursive;
  --w: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); color: var(--navy); font-weight: 600; letter-spacing: 0.06em; }
p { margin: 0; }
.container { width: min(var(--w), calc(100% - 48px)); margin: 0 auto; }
.serif { font-family: var(--serif); }
.hand { font-family: var(--hand); color: var(--navy-2); letter-spacing: 0.08em; line-height: 1.9; }
.en-caption { font-family: var(--sans); font-size: 10px; letter-spacing: 0.32em; color: var(--muted); text-transform: uppercase; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230,226,239,0.7);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img.mark { height: 44px; width: auto; }
.logo img.word { height: 17px; width: auto; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 13px; letter-spacing: 0.08em; color: var(--navy-2); padding: 6px 0; position: relative; flex-shrink: 0; white-space: nowrap; }
.nav a.active { color: var(--pink-d); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--pink); border-radius: 2px; }
/* the header LINE button: .nav a (0,1,1) would otherwise override .btn-sm padding/color, pushing the arrow out of the rounded pill */
.nav .btn { padding: 10px 22px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px auto; width: 22px; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 999px; font-size: 14px; letter-spacing: 0.1em;
  transition: transform .2s, box-shadow .2s; white-space: nowrap; cursor: pointer; border: 0; flex-shrink: 0;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-pink { color: #fff; background: linear-gradient(90deg, #b96a9b, #d992b6 60%, #e5aac7); box-shadow: 0 6px 18px rgba(200,120,170,0.35); }
.btn-outline { color: var(--navy); background: #fff; border: 1.5px solid var(--navy-2); }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn .arrow { font-family: var(--sans); font-size: 13px; }
.line-mark { width: 22px; height: 22px; border-radius: 50%; background: #06c755; color: #fff; font-size: 7px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }

/* ---------- hero (sub pages) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(255,255,255,0.9), transparent 70%),
    radial-gradient(40% 60% at 15% 90%, rgba(244,214,232,0.9), transparent 70%),
    radial-gradient(50% 50% at 70% 80%, rgba(214,224,248,0.9), transparent 70%),
    linear-gradient(120deg, #f4e4ef 0%, #e9ecfa 45%, #f7edf5 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(30px); opacity: .8; pointer-events: none;
}
.hero::before { width: 520px; height: 260px; right: -80px; top: -60px; background: #fff; }
.hero::after { width: 420px; height: 200px; left: 30%; bottom: -80px; background: #fff; opacity: .6; }
.hero .container { position: relative; z-index: 1; padding: 78px 0 70px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 56px; letter-spacing: 0.18em; font-weight: 500; line-height: 1.2; }
.hero h1.h1-md { font-size: 40px; }
.hero .label { font-size: 11px; letter-spacing: 0.3em; color: var(--pink-d); margin-bottom: 10px; }
.hero .lead { margin-top: 26px; font-family: var(--serif); font-size: 20px; letter-spacing: 0.1em; color: var(--navy); line-height: 1.8; }
.hero .lead-sub { font-family: var(--serif); font-size: 18px; letter-spacing: 0.1em; color: var(--navy); margin-top: 6px; }
.hero .side { text-align: right; }
.hero .side .hand { font-size: 26px; line-height: 2; }
.hero .side .en-caption { display: block; margin-top: 20px; }
.hero-city { position: absolute; right: 0; bottom: 0; width: 420px; opacity: .55; pointer-events: none; }

/* ornament under titles */
.ornament { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px auto 0; }
.ornament i { display: block; height: 1px; width: 110px; background: linear-gradient(90deg, transparent, #c38fb2); }
.ornament i + i { background: linear-gradient(90deg, #c38fb2, transparent); }
.ornament b { width: 6px; height: 6px; border-radius: 50%; background: #c38fb2; }
.ornament b.dia { width: 8px; height: 8px; border-radius: 1px; transform: rotate(45deg); }
.ornament.left { justify-content: flex-start; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-title { text-align: center; }
.section-title h2 { font-size: 30px; letter-spacing: 0.22em; font-weight: 500; }
.section-title .desc { margin-top: 22px; color: var(--navy-2); font-size: 15px; line-height: 2; }
.section-head-left { display: flex; align-items: center; gap: 22px; }
.section-head-left .en-caption { display: block; margin-bottom: 8px; color: var(--lav); }
.section-head-left h2 { font-size: 30px; letter-spacing: 0.22em; font-weight: 500; white-space: nowrap; }
.section-head-left .rule { flex: 0 0 90px; height: 1px; background: var(--navy-2); opacity: .5; }
.section-head-left .desc { color: var(--navy-2); font-size: 14px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: 0 4px 18px rgba(90,80,130,0.06); position: relative; overflow: hidden;
}
.card h3 { font-size: 19px; letter-spacing: 0.08em; }
.card p { color: var(--navy-2); font-size: 14px; line-height: 1.9; }

.icon-circle {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.icon-circle svg { width: 30px; height: 30px; }
.ic-pink { background: var(--pink-l); color: var(--pink-d); }
.ic-blue { background: var(--blue-l); color: var(--blue); }
.ic-lav  { background: var(--lav-l); color: var(--lav); }

.check-list li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15px; color: var(--navy); }
.check-list .chk { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.check-list .chk svg { width: 12px; height: 12px; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 70px 0 66px;
  background:
    radial-gradient(45% 60% at 20% 30%, rgba(244,214,232,0.8), transparent 70%),
    radial-gradient(45% 60% at 80% 70%, rgba(214,224,248,0.9), transparent 70%),
    linear-gradient(120deg, #f6e8f1 0%, #eaeefb 50%, #f8eef5 100%);
}
.cta h2 { font-size: 30px; letter-spacing: 0.2em; font-weight: 500; }
.cta .desc { margin-top: 26px; color: var(--navy-2); }
.cta .actions { display: flex; gap: 20px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cta .hand-l, .cta .hand-r { position: absolute; font-size: 22px; opacity: .85; }
.cta .hand-l { left: 6%; bottom: 40px; transform: rotate(-6deg); }
.cta .hand-r { right: 6%; top: 40px; transform: rotate(-6deg); }
.cta .city { position: absolute; left: 0; bottom: 0; width: 320px; opacity: .45; }
.cta .city.r { left: auto; right: 0; transform: scaleX(-1); }

/* ---------- footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 34px 0 30px; }
.footer .container { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer .logo img.mark { height: 54px; }
.footer .logo img.word { height: 20px; }
.footer .addr { font-size: 12.5px; color: var(--navy-2); line-height: 1.9; border-left: 1px solid var(--line); padding-left: 30px; }
.footer .addr b { font-weight: 700; color: var(--navy); }
.footer .right { text-align: right; font-size: 12px; color: var(--navy-2); line-height: 1.9; }
.footer .right .links { display: flex; gap: 18px; justify-content: flex-end; margin-bottom: 8px; }
.footer .right .links a { border-bottom: 1px solid var(--line); font-size: 11.5px; }
.footer .copy { text-align: center; font-size: 11px; color: var(--muted); margin-top: 26px; letter-spacing: 0.1em; }

/* ---------- TOP page ---------- */
.top-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f9f6fb 0%, #f3eef8 100%);
}
.top-hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 60px 0 90px; }
.top-hero h1 { font-size: 50px; line-height: 1.4; letter-spacing: 0.16em; font-weight: 500; }
.top-hero .lead { margin-top: 26px; font-family: var(--serif); font-size: 21px; letter-spacing: 0.08em; color: var(--navy); }
.top-hero .desc { margin-top: 22px; font-size: 14px; color: var(--navy-2); line-height: 2; }
.top-hero .actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.gate-visual { position: relative; height: 480px; }
.gate {
  position: absolute; top: 0; bottom: 60px; left: 6%; right: 36%;
  border-radius: 8px 8px 0 0;
  background:
    radial-gradient(55% 40% at 30% 40%, rgba(255,255,255,0.95), transparent 70%),
    radial-gradient(60% 40% at 75% 25%, rgba(255,255,255,0.9), transparent 70%),
    linear-gradient(180deg, #cfdcf5 0%, #e9d9ee 60%, #f4d3e2 100%);
  box-shadow: 0 30px 60px rgba(120,100,160,0.25);
  overflow: hidden;
}
.gate svg { position: absolute; bottom: 0; left: 0; width: 100%; opacity: .5; }
.gate-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(180deg, rgba(220,226,240,0.6), rgba(255,255,255,0));
  transform: skewX(-20deg); transform-origin: bottom;
}
.gate-side {
  position: absolute; top: 40px; right: 0; width: 33%; bottom: 80px;
  display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-left: 14px;
}
.gate-side .hand { font-size: 18px; white-space: nowrap; }
.gate-side .en-caption { line-height: 2; }
.top-hero .wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 70px; }

.problem-card { text-align: center; padding: 34px 20px 30px; }
.problem-card .icon-circle { margin: 0 auto 18px; width: 60px; height: 60px; }
.problem-card h3 { font-size: 15px; line-height: 1.7; letter-spacing: 0.02em; }
.problem-card p { margin-top: 14px; font-size: 12.5px; }

.service-item .visual {
  height: 120px; border-radius: 12px; margin-bottom: 20px;
  background: linear-gradient(135deg, #fbe7f1, #f3eaf6 60%, #e4ecfb);
  position: relative; overflow: hidden;
}
.service-item .visual::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-25deg, transparent 0 14px, rgba(255,255,255,0.45) 14px 16px);
  opacity: .6;
}
.service-item .visual.v2 { background: linear-gradient(135deg, #e4ecfb, #edf0fa 60%, #f4ecf6); }
.service-item .visual.v3 { background: linear-gradient(135deg, #efe6f7, #f1ecf9 60%, #fbe7f1); }
.service-item .num { font-family: var(--serif); font-size: 20px; color: var(--lav); letter-spacing: 0.1em; }
.service-item h3 { font-size: 20px; margin: 8px 0 12px; }
.service-item p { font-size: 13.5px; color: var(--navy-2); line-height: 2; }
.service-item .more { display: inline-block; margin-top: 16px; color: var(--pink-d); font-size: 18px; letter-spacing: 0; }

.strength-item { text-align: center; }
.strength-item .icon-circle { margin: 0 auto 18px; width: 70px; height: 70px; background: linear-gradient(135deg, #f6e3ee, #e1ecfa); color: var(--navy-2); }
.strength-item h3 { font-size: 17px; }
.strength-item p { font-size: 13px; color: var(--navy-2); margin-top: 10px; }

.mission { position: relative; overflow: hidden; padding: 90px 0 100px; }
.mission .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.mission h2 { font-size: 34px; letter-spacing: 0.14em; font-weight: 500; line-height: 1.6; }
.mission .desc { margin-top: 26px; color: var(--navy-2); font-size: 14px; line-height: 2; }
.mission .waves { width: 100%; height: 300px; }
.mission .en-caption { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); font-size: 12px; line-height: 2.6; color: var(--lav); }

.footer-top .container { grid-template-columns: auto 1fr; }
.footer-top .links { display: flex; gap: 24px; font-size: 12.5px; color: var(--navy-2); }
.footer-top .bottom { display: flex; justify-content: space-between; margin-top: 28px; font-size: 11.5px; color: var(--muted); }

/* ---------- SERVICE page ---------- */
.svc-card .icon-circle { margin-bottom: 20px; }
.svc-card h3 { font-size: 20px; }
.svc-card .desc { margin: 12px 0 18px; font-size: 13.5px; }
.svc-card::before {
  content: ""; position: absolute; right: -20px; top: -20px; width: 180px; height: 130px; border-radius: 40%;
  background: linear-gradient(135deg, rgba(225,236,250,0.9), rgba(246,227,238,0.6)); filter: blur(4px); z-index: 0;
}
.svc-card > * { position: relative; z-index: 1; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; }
.steps .step-wrap { display: flex; align-items: stretch; }
.steps .step { flex: 1; text-align: center; padding: 26px 16px 24px; display: flex; flex-direction: column; justify-content: flex-start; }
.steps .chev { align-self: center; }
.steps .step .num { position: absolute; left: 18px; top: 14px; font-family: var(--serif); color: var(--lav); font-size: 15px; letter-spacing: 0.1em; }
.steps .step .icon-circle { margin: 6px auto 14px; }
.steps .step h3 { font-size: 18px; }
.steps .step p { font-size: 12.5px; margin-top: 8px; }
.steps .chev { width: 24px; text-align: center; color: var(--navy-2); font-size: 20px; flex: 0 0 24px; }
.steps .step-wrap:last-child .chev { display: none; }

.persona-card { text-align: center; padding: 30px 22px; }
.persona-card .figure { height: 56px; display: flex; justify-content: center; margin-bottom: 14px; }
.persona-card .figure svg { width: 56px; height: 56px; }
.persona-card h3 { font-size: 17px; }
.persona-card p { font-size: 13px; margin-top: 10px; }

/* ---------- COMPANY page ---------- */
.message { display: grid; grid-template-columns: 1fr 1.15fr; gap: 46px; align-items: center; }
.photo-box {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eee4f2, #e4ecfa 60%, #f5e6ef);
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.photo-box .hand { position: absolute; left: 22px; top: 26px; font-size: 20px; line-height: 2; }
.photo-box .placeholder { text-align: center; color: var(--muted); font-size: 12px; letter-spacing: 0.1em; margin-left: 38%; }
.banner .photo-box .placeholder { margin-left: 0; }
.photo-box .placeholder .frame {
  width: 150px; height: 190px; border: 1.5px dashed #b8b0cc; border-radius: 12px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; color: #b8b0cc; background: rgba(255,255,255,0.4);
}
.message .text { font-size: 15px; color: var(--navy); line-height: 2.2; }
.message .sign { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.message .sign .name { font-family: var(--serif); font-size: 18px; letter-spacing: 0.2em; }
.message .sign .hand { font-size: 30px; color: var(--navy); }

.info-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 30px; box-shadow: 0 4px 18px rgba(90,80,130,0.06); }
.info-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td { padding: 12px 20px; text-align: left; vertical-align: top; }
.info-table tr:nth-child(odd) th { background: var(--blue-l); }
.info-table tr:nth-child(even) th { background: #eef2fa; }
.info-table tr:nth-child(odd) td { background: #f7f9fd; }
.info-table th { width: 160px; font-weight: 500; color: var(--navy); letter-spacing: 0.2em; }
.info-table td { color: var(--navy-2); }
.info-table a { color: var(--pink-d); text-decoration: underline; text-underline-offset: 4px; }

.team-card { display: flex; gap: 22px; align-items: flex-start; padding: 32px 30px; }
.team-card .icon-circle { flex: 0 0 74px; width: 74px; height: 74px; }
.team-card h3 { font-size: 19px; }
.team-card p { margin-top: 10px; font-size: 13.5px; }

/* ---------- CONTACT page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: stretch; }
.contact-card { text-align: center; padding: 36px 40px 34px; }
.contact-card .icon-circle { width: 80px; height: 80px; margin: 0 auto 20px; }
.contact-card .icon-circle svg { width: 36px; height: 36px; }
.contact-card h3 { font-size: 22px; letter-spacing: 0.12em; }
.contact-card .desc { margin: 14px 0 22px; font-size: 14px; }
.qr-box {
  width: 170px; height: 170px; margin: 0 auto 22px; border: 1.5px dashed #b8b0cc; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9a93b0; font-size: 12px; background: #fafaff;
}
.qr-box svg { width: 90px; height: 90px; opacity: .35; margin-bottom: 8px; }
.contact-card .note { margin-top: 16px; font-size: 13px; color: var(--navy-2); }

.form { text-align: left; }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin: 14px 0 6px; letter-spacing: 0.06em; }
.form label .req { display: inline-block; background: var(--pink); color: #fff; font-size: 10px; padding: 1px 8px; border-radius: 4px; margin-left: 8px; font-weight: 500; }
.form input, .form textarea {
  width: 100%; border: 1px solid #d9d4e6; border-radius: 6px; padding: 11px 14px; font-family: var(--sans); font-size: 14px; color: var(--text); background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(212,141,177,0.2); }
.form textarea { min-height: 96px; resize: vertical; }
.form label .limit { font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 8px; }
.form .counter { text-align: right; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.form .counter.over { color: #c0392b; font-weight: 700; }
.form .btn { width: 100%; margin-top: 22px; font-size: 15px; }
.form .privacy { font-size: 11.5px; color: var(--muted); margin-top: 12px; text-align: center; }

.flow-3 { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; gap: 12px; align-items: center; }
.flow-3 .chev { text-align: center; color: var(--pink); font-size: 18px; }
.flow-3 .card { text-align: center; padding: 30px 22px; }
.flow-3 .icon-circle { margin: 0 auto 14px; }
.flow-3 h3 { font-size: 18px; }
.flow-3 p { font-size: 13px; margin-top: 8px; }

.faq-card { padding: 26px 24px; }
.faq-card .q { display: flex; gap: 16px; align-items: flex-start; }
.faq-card .mark { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; }
.faq-card .q h3 { font-size: 15px; line-height: 1.7; padding-top: 6px; }
.faq-card .a { display: flex; gap: 16px; margin-top: 16px; }
.faq-card .a .a-mark { flex: 0 0 44px; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--navy); }
.faq-card .a p { font-size: 13px; }

.banner { display: grid; grid-template-columns: 220px 1fr 200px; gap: 24px; align-items: center; padding: 26px 30px; }
.banner .photo-box { aspect-ratio: 1/1; width: 200px; }
.banner .photo-box .frame { width: 100px; height: 130px; }
.banner .center { text-align: center; }
.banner h3 { font-size: 24px; letter-spacing: 0.12em; }
.banner .center p { margin-top: 14px; font-size: 14px; }
.banner .hand { font-size: 22px; text-align: right; transform: rotate(-6deg); }

/* ---------- real photos (cropped from the design comps) ---------- */
.photo-box.has-photo .portrait { position: absolute; right: 0; top: 0; height: 100%; width: 66%; object-fit: cover; object-position: center top; border-radius: 0 16px 16px 0; }
.photo-box.has-photo .hand { z-index: 1; font-size: 18px; }
.banner .photo-box.banner-photo .portrait { width: 100%; border-radius: 16px; }
.qr-box.has-photo { border: 0; background: #fff; padding: 0; }
.qr-box.has-photo img { width: 100%; height: 100%; object-fit: contain; }
.gate-visual.has-photo { height: auto; display: flex; justify-content: flex-end; align-items: center; }
.gate-visual.has-photo .gate-photo { width: 100%; max-width: 420px; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(120,100,160,0.25); }

/* 代表メッセージ：デザイン画のカードをそのまま使用 */
.photo-box.full-card { aspect-ratio: 381 / 254; background: none; }
.photo-box.full-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

/* ---------- privacy page ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h3 { font-size: 18px; margin: 34px 0 10px; }
.prose p, .prose li { font-size: 14px; color: var(--navy-2); }
.prose ul { padding-left: 1.4em; list-style: disc; }

/* contact hero: 2 columns only on desktop (mobile falls back to the 1-column rule below) */
@media (min-width: 961px) {
  .hero .container.hero-wide { grid-template-columns: 1.6fr 1fr; }
}

/* 404 page */
.notfound { text-align: center; }
.notfound .code { font-family: var(--serif); font-size: 64px; letter-spacing: 0.2em; color: var(--pink); line-height: 1; }
.notfound p { margin-top: 18px; color: var(--navy-2); }
.notfound .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.notfound .pages a { white-space: nowrap; display: inline-block; }
.lead-msg { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .btn-sm { padding: 9px 16px; }
}
@media (max-width: 960px) {
  .cta .hand-l, .cta .hand-r { display: none; }   /* タブレット幅では見出しに重なるため非表示 */
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(80,70,120,0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: block; }
  .hero .container, .top-hero .container, .mission .container, .message, .contact-grid { grid-template-columns: 1fr; }
  .hero .side { text-align: left; margin-top: 10px; }
  .hero h1 { font-size: 42px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps .chev { display: none; }
  .gate-visual { height: 360px; }
  .footer .container { grid-template-columns: 1fr; text-align: left; }
  .footer .addr { border-left: 0; padding-left: 0; }
  .footer .right, .footer .right .links { text-align: left; justify-content: flex-start; }
  .banner { grid-template-columns: 1fr; text-align: center; }
  .banner .photo-box { margin: 0 auto; }
  .banner .hand { text-align: center; }
  .mission .en-caption { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  .hero h1, .top-hero h1 { font-size: 34px; }
  .top-hero .lead { font-size: 17px; letter-spacing: 0.04em; }
  .gate-visual { height: auto; margin-top: 10px; }
  .gate { position: relative; height: 240px; left: 0; right: 0; top: auto; bottom: auto; border-radius: 12px; }
  .gate-side { position: static; width: auto; margin-top: 16px; flex-direction: row; align-items: center; justify-content: space-between; padding: 0; gap: 12px; }
  .gate-side .hand { white-space: normal; font-size: 17px; }
  .gate-visual.has-photo { justify-content: center; margin-top: 24px; }
  .hero .lead { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-title h2, .cta h2, .section-head-left h2 { font-size: 23px; letter-spacing: 0.12em; }
  .contact-card { padding: 30px 22px 28px; }
  .contact-card h3 { font-size: 19px; letter-spacing: 0.06em; }
  /* 会社情報の表：ラベルを上、値を下に積む */
  .info-table { padding: 8px 14px 14px; }
  .info-table table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .info-table tr:last-child { border-bottom: 0; }
  .info-table th { padding: 0 6px 2px; background: none !important; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
  .info-table td { padding: 0 6px; background: none !important; overflow-wrap: anywhere; }
  /* TOPのフッター：リンクを折り返す */
  .footer-top .links { flex-wrap: wrap; gap: 8px 20px; }
  .footer-top .links a { white-space: nowrap; }
  .footer-top .bottom { flex-direction: column; gap: 6px; margin-top: 22px; }
  .footer-top .bottom span { white-space: normal; }
  /* 見出し・本文のスマホ用サイズ */
  .hero h1.h1-md { font-size: 26px; letter-spacing: 0.12em; }
  .hero .lead br, .hero .lead-sub br { display: none; }
  .hero .lead-sub { font-size: 16px; }
  .mission { padding: 56px 0 60px; }
  .mission h2 { font-size: 24px; letter-spacing: 0.1em; }
  .mission .waves { height: 200px; }
  .cta h2 { font-size: 21px; letter-spacing: 0.08em; }
  .banner { padding: 22px 18px 26px; }
  .banner h3 { font-size: 20px; letter-spacing: 0.08em; }
  .lead-msg { font-size: 17px; }
  .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .flow-3 { grid-template-columns: 1fr; }
  .flow-3 .chev { transform: rotate(90deg); }
  .cta .hand-l, .cta .hand-r { display: none; }
  .hero-city { width: 260px; }
  .section-head-left { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head-left .rule { display: none; }
}
@media (max-width: 360px) {
  .hero h1, .top-hero h1 { font-size: 27px; letter-spacing: 0.12em; }
  .hero h1.h1-md { font-size: 21px; letter-spacing: 0.08em; }
  .section-title h2, .cta h2 { font-size: 21px; letter-spacing: 0.08em; }
}
