:root {
  --navy: #103658;
  --ink: #14263b;
  --muted: #465a6b;
  --line: #d5e1eb;
  --blue-paper: #edf4f9;
  --yellow: #ffdf68;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.2rem; }
body { margin: 0; color: var(--ink); font: 1rem/1.8 "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.65rem); line-height: 1.35; letter-spacing: .055em; }
h3 { font-size: 1.17rem; line-height: 1.45; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b68214; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 96px, 1232px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: -5rem; left: 1rem; background: white; padding: .4rem 1rem; }
.skip:focus { top: 1rem; }
.header-inner { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; min-height: 78px; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; line-height: 1.23; }
.brand strong { display: block; font-size: clamp(1.05rem, 2vw, 1.55rem); letter-spacing: .025em; }
.brand small { display: block; font-size: .73rem; margin-top: .25rem; color: var(--muted); }
.pane { position: relative; display: block; flex: none; width: 32px; height: 36px; border: 2px solid var(--navy); }
.pane::before { content: ""; position: absolute; inset: 0 auto 0 50%; border-left: 2px solid var(--navy); }
.pane::after { content: ""; position: absolute; width: 8px; height: 11px; top: 5px; left: 4px; border-top: 1px solid #5b819b; transform: rotate(-45deg); }
nav { display: flex; justify-content: flex-end; gap: clamp(.65rem, 2vw, 1.8rem); margin-left: auto; }
nav a { font-size: .85rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .24em; }
.head-contact, .button { display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: white; border-radius: 5px; text-decoration: none; font-weight: 750; padding: .55rem 1.1rem; min-height: 46px; }
.head-contact { font-size: .83rem; white-space: nowrap; }
.head-contact:hover, .button:hover { background: #1d527c; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; color: white; min-height: clamp(445px, 41vw, 630px); background: #142d45; }
.hero figure { position: absolute; inset: 0 0 0 23%; z-index: -1; }
figure { position: relative; overflow: hidden; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure figcaption { position: absolute; bottom: 0; right: 0; z-index: 1; color: white; background: #102e47; padding: .15rem .55rem; font-size: .69rem; }
.hero img { object-position: center 54%; }
.hero figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #142d45 0%, #142d45e8 12%, #142d4572 40%, transparent 76%); }
.hero-content { padding-block: 3rem; }
.hero-subject { display: inline-block; padding-bottom: .3rem; border-bottom: 2px solid var(--yellow); letter-spacing: .09em; font-weight: 750; }
.hero h1 { font-size: clamp(2.55rem, 5.05vw, 4.9rem); line-height: 1.23; margin-block: .32em .38em; letter-spacing: .02em; }
.hero-description { max-width: 26em; color: #f0f5fa; text-shadow: 0 1px 3px #142d45; }
.button-light { background: white; color: var(--navy); margin-top: 1.35rem; }
.button-light:hover { background: #e5eef5; }
.hero-sample { font-size: .78rem; margin-top: .65rem; color: #dbe9f3; }
.jump-strip { border-bottom: 1px solid var(--line); background: #fff; }
.jump-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jump-inner a { display: flex; align-items: center; justify-content: center; gap: .65rem; text-align: center; min-height: 52px; padding: .48rem .2rem; color: var(--navy); text-decoration: none; font-weight: 750; border-inline-start: 1px solid var(--line); }
.jump-inner a:last-child { border-inline-end: 1px solid var(--line); }
.jump-inner a::after { content: ""; width: .42rem; height: .42rem; border: solid; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.jump-inner a:hover { background: var(--blue-paper); }
.section { padding-block: clamp(45px, 6vw, 84px); }
.section-head { text-align: center; margin-bottom: 1.65rem; }
.section-head h2 { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.section-head h2::before, .section-head h2::after { content: ""; width: min(7vw, 70px); border-top: 1px solid #7896b1; }
.section-head p { margin-top: .5rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.3vw, 2rem); }
.service { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 3px 9px #1536550c; }
.service figure { aspect-ratio: 1.85; }
.service-copy { padding: 1.15rem 1.2rem 1.35rem; }
.service h3 { color: var(--navy); margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .94rem; }
.cases { background: var(--blue-paper); }
.cases-layout, .faq, .contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.35rem, 7vw, 6rem); }
.kicker { font-size: .88rem; font-weight: 750; color: var(--navy); margin-bottom: .4rem; }
.cases dl { border-top: 1px solid #b9cbd9; }
.cases dl div { border-bottom: 1px solid #b9cbd9; padding: .55rem 0 .55rem 1.55rem; }
.cases dt { position: relative; font-weight: 750; }
.cases dt::before { content: ""; position: absolute; top: .53em; left: -1.4em; width: .55em; height: .32em; border: solid var(--navy); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.cases dd { color: var(--muted); font-size: .95rem; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: phase; margin: 0; padding: 0; list-style: none; }
.flow li { counter-increment: phase; padding: .85rem 1rem 1rem; background: #f5f8fb; border-top: 2px solid #7896b1; }
.flow li::before { content: counter(phase, decimal-leading-zero); font: 700 1.4rem/1.3 Georgia, serif; color: var(--navy); }
.flow h3 { margin: .4rem 0; font-size: 1.02rem; }
.flow p { font-size: .92rem; color: var(--muted); }
.faq { padding-bottom: clamp(45px, 6vw, 84px); grid-template-columns: .65fr 1.35fr; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .8rem 0; color: var(--navy); font-weight: 750; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 .5rem .75rem 0; }
.contact { background: var(--navy); color: white; }
.contact header p { margin-top: .75rem; color: #dae8f4; }
.contact-channels { margin: 0; padding: 0; border-top: 1px solid #7191ad; list-style: none; }
.contact-channels li { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid #7191ad; }
.contact-channels span { color: #e5eff7; }
.business { display: flex; flex-wrap: wrap; gap: .6rem 1.7rem; margin-top: 1.3rem; font-size: .88rem; }
.business div { display: flex; gap: .6rem; }
.business dd { color: #e5eff7; }
.footer { padding-block: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer span { font-weight: 750; }
.mobile-contact { display: none; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: .8rem; }
  nav { gap: .75rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  nav { display: none; }
  .header-inner { min-height: 60px; }
  .pane { width: 24px; height: 28px; }
  .head-contact { padding-inline: .6rem; min-height: 39px; font-size: .74rem; }
  .hero { min-height: clamp(380px, 80vw, 460px); }
  .hero figure { inset: 0; }
  .hero img { object-position: 62% center; }
  .hero figure::after { background: linear-gradient(90deg, #112c46ef, #112c46b3 51%, #112c464d), linear-gradient(0deg, #112c467a, transparent); }
  .hero-content { padding-block: 2rem; }
  .hero-subject { font-size: .8rem; }
  .hero h1 { font-size: clamp(1.82rem, 7.1vw, 3.25rem); }
  .hero-description { max-width: 22em; font-size: .94rem; }
  .jump-inner { width: 100%; }
  .jump-inner a { font-size: clamp(.73rem, 2.8vw, .9rem); gap: .28rem; }
  .jump-inner a::after { width: .3rem; height: .3rem; }
  .service-grid, .cases-layout, .faq, .contact-layout { grid-template-columns: 1fr; gap: 1rem; }
  .service { display: grid; grid-template-columns: .85fr 1.15fr; }
  .service figure { aspect-ratio: auto; }
  .service img { position: absolute; inset: 0; }
  .service-copy { padding: .75rem; }
  .service h3 { font-size: 1rem; }
  .service p { font-size: .85rem; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li { padding-inline: .7rem; }
  .footer { margin-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mobile-contact { display: block; position: fixed; inset: auto 0 0; z-index: 2; border-top: 1px solid var(--line); background: white; padding: 8px 18px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-contact .button { display: flex; }
}
