/* HITOENI corporate home (preview) — brand: navy #172e4e / orange #e79d30 / ivory #f8f5ef, Mincho */
:root {
  --navy: #172e4e;
  --navy-deep: #0f2038;
  --orange: #e79d30;
  --orange-deep: #c9821c;
  --ivory: #f8f5ef;
  --paper: #ffffff;
  --ink: #1f2a37;
  --muted: #5b6573;
  --line: #e4ded2;
  --mincho: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HG明朝E", "MS PMincho", serif;
  --gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --wrap: 1120px;
  --radius: 4px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--mincho);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.5; margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { --wrap: 820px; }

/* preview bar */
.preview-bar {
  background: var(--orange);
  color: var(--navy-deep);
  font-family: var(--gothic);
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: .02em;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 40px; width: auto; }
.brand-text { font-size: 22px; letter-spacing: .12em; color: var(--navy); font-weight: 700; }

.nav-toggle { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav-list > li > a, .sub-toggle {
  display: block; padding: 10px 12px; text-decoration: none; color: var(--navy);
  font: inherit; background: none; border: 0; cursor: pointer; letter-spacing: .06em;
}
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--orange-deep); }
.sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  width: 360px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--orange);
  box-shadow: 0 16px 40px rgba(23, 46, 78, .12); padding: 8px; display: none;
}
.has-sub.is-open .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1025px) { .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; } }
.sub-menu a { display: block; padding: 14px 16px; text-decoration: none; color: var(--navy); line-height: 1.6; font-size: 14px; border-radius: var(--radius); }
.sub-menu a:hover { background: var(--ivory); }
.sub-tag { display: block; font-family: var(--gothic); font-size: 11px; color: var(--orange-deep); letter-spacing: .08em; }
.nav-cta { background: var(--navy); color: #fff !important; border-radius: 999px; padding: 10px 20px !important; margin-left: 8px; }
.nav-cta:hover { background: var(--navy-deep); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 1.5px; background: var(--navy); position: relative; content: ""; transition: transform .2s; }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .global-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--paper); overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .global-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px 20px 40px; gap: 0; font-size: 16px; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .sub-toggle { padding: 16px 4px; width: 100%; text-align: left; }
  .sub-menu { position: static; transform: none; width: auto; box-shadow: none; border: 0; border-left: 3px solid var(--orange); margin: 0 0 12px; padding: 0 0 0 8px; }
  .nav-cta { text-align: center; margin: 20px 0 0; }
  .nav-list > li:last-child { border-bottom: 0; }
}

/* typography helpers */
.eyebrow { font-family: var(--gothic); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 12px; }
.eyebrow-light { color: var(--orange); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); letter-spacing: .08em; }
.section-title-light { color: #fff; }
.section-head { margin-bottom: 48px; }
.section-head .section-title::after { content: ""; display: block; width: 40px; height: 2px; background: var(--orange); margin-top: 18px; }
.section-lead { margin-top: 20px; color: var(--muted); max-width: 46em; }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); font-family: var(--gothic); }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(231, 157, 48, .16), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, #fff 100%);
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%);
  border: 1px solid rgba(23, 46, 78, .10); border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(23, 46, 78, .025), 0 0 0 120px rgba(23, 46, 78, .02);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-title { font-size: clamp(30px, 5.2vw, 56px); color: var(--navy); letter-spacing: .1em; line-height: 1.55; }
.hero-lead { margin-top: 28px; font-size: clamp(15px, 1.6vw, 17px); color: var(--ink); max-width: 44em; }
.hero-paths { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; }
.path-link {
  position: relative; display: block; padding: 22px 56px 22px 24px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy);
  box-shadow: 0 10px 30px rgba(23, 46, 78, .06); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.path-link:nth-child(2) { border-left-color: var(--orange); }
.path-link:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23, 46, 78, .12); }
.path-for { display: block; font-family: var(--gothic); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.path-name { display: block; font-size: 17px; color: var(--navy); font-weight: 600; margin-top: 2px; }
.path-arrow { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--orange-deep); font-family: var(--gothic); }
@media (max-width: 720px) { .hero-paths { grid-template-columns: 1fr; } }

/* sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); color: #e9edf3; }

/* purpose */
.purpose-statement { font-size: clamp(17px, 2vw, 21px); line-height: 2.1; color: var(--navy); max-width: 40em; }
.values { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 36px 32px 8px 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value-no { font-family: var(--gothic); font-size: 13px; color: var(--orange-deep); letter-spacing: .2em; }
.value-title { font-size: 20px; color: var(--navy); margin: 10px 0 14px; }
.value p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* services */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  display: flex; flex-direction: column; background: var(--paper); padding: clamp(28px, 4vw, 48px);
  border-top: 4px solid var(--navy); box-shadow: 0 18px 40px rgba(23, 46, 78, .08);
}
.service-card-accent { border-top-color: var(--orange); }
.service-for { font-family: var(--gothic); font-size: 13px; color: var(--orange-deep); letter-spacing: .08em; }
.service-title { font-size: clamp(21px, 2.4vw, 26px); color: var(--navy); margin: 12px 0 18px; }
.service-text { color: var(--ink); font-size: 15px; }
.service-points { margin: 24px 0 32px; border-top: 1px solid var(--line); }
.service-points li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.service-points li::before { content: ""; position: absolute; left: 2px; top: 1.35em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.service-points strong { color: var(--navy); }
.service-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .service-cards { grid-template-columns: 1fr; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; border-radius: 999px;
  font: inherit; font-size: 15px; letter-spacing: .08em; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn span { font-family: var(--gothic); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--navy-deep); }
.btn-orange:hover { background: var(--orange-deep); color: #fff; transform: translateY(-1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; background: #c9c3b7; color: #444; }

/* flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }
.flow-step { position: relative; padding: 32px 24px; background: var(--ivory); border-top: 2px solid var(--navy); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 44px; width: 8px; height: 8px;
  border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); z-index: 1;
}
.flow-no { font-family: var(--gothic); font-size: 12px; letter-spacing: .16em; color: var(--orange-deep); }
.flow-step h3 { font-size: 24px; color: var(--navy); margin: 6px 0 12px; letter-spacing: .2em; }
.flow-step p { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow-step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow-step::after { display: none; } }

/* representative */
.rep { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rep-frame {
  aspect-ratio: 4 / 5; border: 1px solid rgba(255, 255, 255, .25); position: relative;
  display: grid; place-items: center; text-align: center; color: rgba(255, 255, 255, .6); font-size: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
}
.rep-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--orange); z-index: -1; }
.rep-visual { position: relative; z-index: 0; max-width: 360px; }
.rep-message { margin-top: 20px; line-height: 2.1; }
.rep-sign { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.rep-role { font-family: var(--gothic); font-size: 12px; letter-spacing: .14em; color: var(--orange); }
.rep-name { font-size: 22px; color: #fff; letter-spacing: .14em; }
.todo-note { margin-top: 20px; font-family: var(--gothic); font-size: 12px; color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) { .rep { grid-template-columns: 1fr; } .rep-visual { max-width: 260px; } }

/* insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card { background: var(--paper); border: 1px solid var(--line); }
.insight-thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--ivory);
  color: var(--navy); font-family: var(--gothic); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; position: relative;
}
.insight-thumb-video { background: var(--navy); color: #fff; }
.insight-thumb-video::before {
  content: ""; position: absolute; width: 56px; height: 40px; border-radius: 10px; background: var(--orange); top: 50%; left: 50%; transform: translate(-50%, -78%);
}
.insight-thumb-video::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-30%, -128%);
  border-left: 14px solid var(--navy); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.insight-thumb-video span { margin-top: 56px; }
.insight-meta { padding: 20px 22px 0; font-family: var(--gothic); font-size: 12px; color: var(--orange-deep); letter-spacing: .06em; }
.insight-title { padding: 6px 22px 24px; font-size: 17px; color: var(--navy); }
@media (max-width: 860px) { .insight-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative; padding: 24px 48px 24px 44px; color: var(--navy); font-size: 17px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; position: absolute; left: 4px; top: 22px; color: var(--orange-deep); font-size: 20px; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-family: var(--gothic); font-size: 22px; color: var(--navy); }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 24px 28px 44px; color: var(--ink); font-size: 15px; }

/* contact */
.contact-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-path {
  display: block; padding: 24px; text-decoration: none; color: var(--navy); background: var(--ivory);
  border: 1px solid var(--line); font-size: 17px; font-weight: 600; transition: border-color .2s;
}
.contact-path:hover { border-color: var(--orange); }
@media (max-width: 640px) { .contact-paths { grid-template-columns: 1fr; } }
.contact-form { margin-top: 40px; padding: clamp(24px, 4vw, 40px); border: 1px dashed #cfc6b5; background: #fffdf9; }
.form-demo-note { font-family: var(--gothic); font-size: 13px; color: #8a5a12; background: #fdf1de; padding: 10px 14px; margin-bottom: 24px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-family: var(--gothic); font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); background: #f3f1ec; color: var(--muted);
}

/* footer */
.site-footer { background: var(--navy-deep); color: #c9d2de; padding: 64px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.brand-logo-footer { height: 35px; background: #fff; padding: 6px 10px; box-sizing: content-box; border-radius: 2px; }
.footer-brand .brand-text { color: #fff; }
.footer-tagline { margin-top: 16px; font-size: 14px; }
.footer-head { font-family: var(--gothic); font-size: 11px; letter-spacing: .2em; color: var(--orange); margin: 0 0 8px; }
.footer-nav ul + .footer-head { margin-top: 20px; }
.footer-nav a { color: #e9edf3; text-decoration: none; font-size: 14px; line-height: 2.2; }
.footer-nav a:hover { color: var(--orange); }
.copyright { text-align: center; font-family: var(--gothic); font-size: 12px; margin-top: 48px; color: #8d9bb0; }

/* privacy page */
.page-hero { background: var(--ivory); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); letter-spacing: .08em; }
.legal { padding: 64px 0 96px; }
.legal h2 { font-size: 20px; color: var(--navy); margin: 48px 0 14px; padding-left: 14px; border-left: 3px solid var(--orange); }
.legal p, .legal li { font-size: 15px; }
.legal ul { list-style: disc; padding-left: 1.5em; margin-top: 8px; }
.legal .todo { background: #fdf1de; padding: 2px 6px; }
.breadcrumb { font-family: var(--gothic); font-size: 12px; margin-bottom: 16px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
