:root {
  --blue: #26A7E1;
  --grad: linear-gradient(135deg, #2FB7FF 0%, #2470C9 100%);
  --navy: #04497D;
  --navy-deep: #003A64;
  --text: #555;
  --sub: #7E7E7E;
  --line: #DDD;
  --gray-bg: #FAFAFA;
  --shadow: 0 0 6px rgba(0, 0, 0, .16);
  --shadow-hover: 0 6px 18px rgba(4, 73, 125, .18);
  --en: "din-2014", "Barlow", "Noto Sans JP", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", YuGothic, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--ja); font-weight: 400; color: var(--text); line-height: 1.8; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, b, summary, .price-what { word-break: auto-phrase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(960px, 100% - 48px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 32px; border-radius: 50px; font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 24px; font-size: 14px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(36, 112, 201, .3); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.btn-outline-white { border: 1.5px solid #fff; color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); width: min(1320px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.header-logo img { width: 146px; }
.global-nav { display: flex; align-items: center; gap: 36px; }
.global-nav ul { display: flex; gap: 32px; }
.global-nav ul a { font-weight: 500; font-size: 15px; color: var(--navy); position: relative; padding: 6px 0; }
.global-nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.global-nav ul a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 640px; padding: 96px 0 128px; color: #fff; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); overflow: hidden; background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(0, 58, 100, .86) 0%, rgba(4, 73, 125, .78) 50%, rgba(36, 112, 201, .7) 100%); }

.hero-inner { position: relative; z-index: 2; }
.hero-kicker { font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .24em; opacity: .95; }
.hero-title { margin-top: 18px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; line-height: 1.4; letter-spacing: .04em; text-shadow: 0 2px 16px rgba(0, 20, 40, .35); }
.hero-lead { margin-top: 22px; font-size: 17px; font-weight: 500; line-height: 1.9; opacity: .95; }
.hero-cta { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.hero-cta-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-cta-item p { font-size: 13px; font-weight: 500; opacity: .92; }
.hero-cta-item .btn { min-width: 260px; min-height: 58px; font-size: 16px; }


/* Hero: 4 rows of work thumbnails flowing left/right */
.hero-bg { position: absolute; inset: -20px 0; display: flex; flex-direction: column; gap: 6px; transform: rotate(-4deg) scale(1.12); }
.hero-row { flex: 1; overflow: hidden; }
.hero-track { display: flex; gap: 6px; height: 100%; width: max-content; animation: hero-flow 70s linear infinite; }
.hero-track img { height: 100%; aspect-ratio: 16 / 9; width: auto; object-fit: cover; filter: blur(1.5px) saturate(.9); }
.hero-row-2 .hero-track { animation-direction: reverse; animation-duration: 85s; }
.hero-row-3 .hero-track { animation-duration: 60s; }
.hero-row-4 .hero-track { animation-direction: reverse; animation-duration: 95s; }
@keyframes hero-flow { to { transform: translateX(-50%); } }
.hero-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); background-size: 250% 100%; animation: hero-shine 9s ease-in-out infinite; }
@keyframes hero-shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -60% 0; } }
.hero-kicker, .hero-title, .hero-lead, .hero-cta { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-title { animation-delay: .12s; }
.hero-lead { animation-delay: .24s; }
.hero-cta { animation-delay: .36s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (class added by JS, so content stays visible without JS) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.service-tile img, .worry-grid li, .point-num { transition: transform .3s; }
.service-tile:hover img { transform: scale(1.1) rotate(-3deg); }

@media (prefers-reduced-motion: reduce) {
  .hero-track, .hero-shine, .hero-kicker, .hero-title, .hero-lead, .hero-cta { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 860px) {
  .hero-bg { transform: rotate(-4deg) scale(1.3); }
}

/* Client logos */
.clients { padding: 36px 0 44px; border-bottom: 1px solid var(--line); overflow: hidden; }
.clients-label { text-align: center; font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.marquee { margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; width: 220px; height: 64px; padding: 0 28px; display: flex; align-items: center; justify-content: center; }
.marquee-track img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; }
.marquee-track img.is-tall { max-height: 56px; }
.marquee-track img.is-heavy { max-height: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; } .marquee-track li[aria-hidden] { display: none; } }

/* Sections */
.section { padding: 104px 0; }
.section-gray { background: var(--gray-bg); }
.section-tight { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-en { font-family: var(--en); font-weight: 600; font-size: 16px; letter-spacing: .15em; color: var(--blue); }
.sec-en-left { text-align: left; }
.sec-jp { margin-top: 6px; font-size: 26px; font-weight: 500; color: var(--navy); letter-spacing: .06em; }
.sec-jp::before { content: "- "; }
.sec-jp::after { content: " -"; }
.sec-lead { margin-top: 18px; font-size: 15px; line-height: 1.9; }
.sec-foot { margin-top: 48px; text-align: center; }
.tag { display: inline-block; align-self: flex-start; padding: 3px 12px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.7; }

/* Works */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.work-card { display: flex; flex-direction: column; height: 100%; background: #fff; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.work-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.work-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.work-thumb::after { content: ""; position: absolute; right: 0; bottom: 0; width: 100%; height: 14px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 20px 22px; }
.work-body b { font-size: 16px; line-height: 1.6; color: var(--navy); }
.work-body .more { margin-top: auto; align-self: flex-start; padding: 5px 16px; border: 1px solid var(--blue); border-radius: 50px; font-family: var(--en); font-weight: 600; font-size: 13px; color: var(--blue); letter-spacing: .06em; }

/* Service matrix (confirmed layout: 4 category columns x 4 tiles, text-led) */
.service-matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-col { display: flex; flex-direction: column; gap: 10px; }
.service-head { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; background: var(--grad); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; text-align: center; }
.service-head span { font-family: var(--en); font-weight: 600; font-size: 24px; letter-spacing: .04em; line-height: 1.1; }
.service-head small { font-size: 13px; font-weight: 500; opacity: .9; letter-spacing: .06em; }
.service-tile { flex: 1; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; background: #fff; box-shadow: var(--shadow); text-align: center; transition: box-shadow .25s, transform .25s; position: relative; }
.service-tile::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-tile:hover::before { transform: scaleX(1); }
.service-tile img { width: 64px; height: 64px; }
.service-tile b { font-size: 16px; line-height: 1.45; color: var(--navy); }

.service-extra { margin-top: 32px; }
.service-extra + .service-extra { margin-top: 20px; }
.service-extra-label { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.service-extra-label::before { content: ""; display: inline-block; width: 4px; height: 14px; margin-right: 10px; vertical-align: -1px; background: var(--grad); }
.service-extra ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.service-extra a { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; background: #fff; border: 1px solid var(--line); text-align: center; transition: border-color .2s, transform .2s; }
.service-extra a:hover { border-color: var(--blue); transform: translateY(-2px); }
.service-extra img { flex: none; width: 40px; height: 40px; }
.service-extra b { font-size: 13px; line-height: 1.45; color: var(--navy); }

/* Price */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 36px 20px 30px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.price-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 8px; background: var(--grad); clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); }
.price-label { font-family: var(--en); font-weight: 600; font-size: 17px; letter-spacing: .1em; color: var(--navy); }
.price-num { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--blue); line-height: 1; }
.price-num b { font-family: var(--en); font-weight: 600; font-size: 56px; letter-spacing: .02em; margin-right: 2px; }
.price-num small { font-size: 18px; margin-right: 4px; }
.price-what { margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.price-note { margin-top: 6px; font-size: 14px; }
.entry-plan { margin-top: 28px; display: grid; grid-template-columns: 220px 1fr auto; align-items: stretch; background: #fff; box-shadow: var(--shadow); }
.entry-label { display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; background: var(--grad); color: #fff; font-size: 18px; font-weight: 700; }
.entry-label span { font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .15em; }
.entry-body { padding: 26px 36px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.entry-body h3 { font-size: 22px; color: var(--navy); }
.entry-body p { font-size: 15px; }
.entry-price { display: flex; align-items: center; gap: 24px; padding: 20px 32px 20px 0; }
.entry-price .price-num { margin: 0; white-space: nowrap; }
.price-foot { margin-top: 28px; font-size: 14px; text-align: center; line-height: 2; }
.price-foot a { color: var(--blue); font-weight: 700; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow li { position: relative; padding: 28px 20px 26px; background: #fff; box-shadow: var(--shadow); }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow-num { font-family: var(--en); font-weight: 600; font-size: 34px; color: var(--blue); letter-spacing: .04em; line-height: 1; }
.flow b { display: block; margin-top: 12px; font-size: 18px; color: var(--navy); }
.flow p { margin-top: 8px; font-size: 14px; line-height: 1.8; }

/* Message */
.message { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.message-photo { position: relative; }
.message-photo img { width: 100%; aspect-ratio: 600 / 700; object-fit: cover; object-position: top; }
.message-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 36px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.message-title { margin-top: 10px; font-size: 38px; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.message-body > p:not(.sec-en):not(.message-sign) { margin-top: 20px; font-size: 16px; line-height: 2; }
.message-points { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.message-points li { position: relative; padding-left: 28px; font-weight: 700; color: var(--navy); }
.message-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.message-sign { margin: 24px 0 28px; font-weight: 700; color: var(--navy); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { background: #fff; box-shadow: var(--shadow); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 64px; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 24px; top: 18px; font-family: var(--en); font-weight: 600; font-size: 24px; color: var(--blue); }
.faq summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { position: relative; margin: 0 24px; padding: 18px 40px 24px 40px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.95; }
.faq details p::before { content: "A"; position: absolute; left: 0; top: 14px; font-family: var(--en); font-weight: 600; font-size: 24px; color: var(--sub); }

/* Column */
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.column-grid a { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; background: #fff; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.column-grid a:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.column-grid b { font-size: 16px; line-height: 1.7; color: var(--navy); }

/* News */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.sec-jp-left { margin: 0; display: flex; flex-direction: column; }
.sec-jp-left::before, .sec-jp-left::after { content: none; }
.link-more { color: var(--blue); font-weight: 700; font-size: 14px; }
.news-list { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 110px 96px 1fr; align-items: center; gap: 16px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.news-list a:hover { background: #fff; }
.news-list time { font-family: var(--en); font-weight: 600; font-size: 15px; color: var(--sub); letter-spacing: .06em; }
.news-list .tag { justify-self: start; }
.news-list b { font-weight: 500; font-size: 15px; color: var(--navy); line-height: 1.7; }

/* CTA */
.cta { background: var(--grad); color: #fff; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); padding: 112px 0 88px; margin-top: -1px; }
.cta-inner { text-align: center; }
.cta h2 { font-size: 34px; font-weight: 700; letter-spacing: .06em; }
.cta p { margin-top: 12px; font-size: 16px; font-weight: 500; }
.cta-buttons { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-buttons .btn-outline-white { font-family: var(--en); font-size: 18px; letter-spacing: .08em; }
.cta-mail { font-size: 14px !important; opacity: .9; }
.cta-mail a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.footer-company img { width: 146px; }
.footer-company p { margin-top: 18px; font-size: 13px; line-height: 2; opacity: .92; }
.footer-nav { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.footer-title { font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .12em; color: var(--blue); margin-bottom: 14px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-nav ul.footer-2col { display: block; columns: 2; column-gap: 24px; }
.footer-nav ul.footer-2col li { margin-bottom: 10px; break-inside: avoid; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #BFD0DF; }
.footer-sns { display: flex; gap: 20px; }

/* Tablet */
@media (max-width: 1080px) {
  .global-nav ul { gap: 20px; }
  .global-nav { gap: 20px; }
  .service-matrix { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .service-extra ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .works-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3)::after { display: none; }
  .entry-plan { grid-template-columns: 1fr; }
  .entry-price { padding: 0 36px 26px; }
  .message { grid-template-columns: 300px 1fr; gap: 48px; }
}

/* Smartphone */
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-logo img { width: 116px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px 24px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .global-nav.is-open { transform: none; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .global-nav ul a::after { display: none; }

  .hero { min-height: 0; padding: 64px 0 96px; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
  .hero-title { font-size: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-cta-item .btn { min-width: 0; width: 100%; }
  .hero-lead { font-size: 15px; }
  .hero-lead br { display: none; }

  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-jp { font-size: 22px; }
  .sec-lead br { display: none; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .work-body { padding: 12px 12px 16px; }
  .work-body b { font-size: 14px; }
  .service-matrix { grid-template-columns: 1fr; gap: 28px; }
  .service-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-head { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; font-size: 18px; padding: 14px; }
  .service-head span { font-size: 20px; }
  .service-head small { font-size: 12px; }
    .service-tile { min-height: 116px; padding: 12px 8px; gap: 8px; }
  .service-extra ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tile img { width: 52px; height: 52px; }
  .service-tile b { font-size: 15px; }
  .price-grid { grid-template-columns: 1fr; }
  .entry-body, .entry-price { padding-left: 24px; padding-right: 24px; }
  .entry-price { justify-content: space-between; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow li::after { display: block !important; top: auto; bottom: -15px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .flow li:last-child::after { display: none !important; }
  .message { grid-template-columns: 1fr; gap: 28px; }
  .message-photo { max-width: 320px; margin-inline: auto; }
  .message-title { font-size: 30px; }
  .faq summary { padding: 18px 48px 18px 52px; font-size: 15px; }
  .faq summary::before { left: 18px; top: 14px; }
  .faq summary::after { right: 20px; }
  .faq details p { margin: 0 16px; padding: 14px 8px 20px 32px; font-size: 14px; }
  .column-grid { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: auto 1fr; gap: 8px 12px; }
  .news-list b { grid-column: 1 / -1; }
  .cta { padding: 84px 0 64px; clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); }
  .cta h2 { font-size: 26px; }
  .footer-inner, .footer-nav { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column-reverse; gap: 12px; }
}

/* Header CTA pair */
.header-cta { display: flex; gap: 10px; }

/* Intro */
.intro { text-align: center; }
.intro-title { font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.intro-text { margin-top: 16px; font-size: 16px; line-height: 2; }

/* Worries */
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.worry-grid li { position: relative; padding: 30px 26px 26px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.worry-grid li::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 22px; height: 22px; background: #fff; transform: translateX(-50%) rotate(45deg); box-shadow: 3px 3px 4px rgba(0, 0, 0, .06); }
.worry-grid b { display: block; font-size: 18px; line-height: 1.6; color: var(--navy); }
.worry-grid p { position: relative; z-index: 1; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.85; text-align: left; }

/* Strength */
.strength-list { display: flex; flex-direction: column; gap: 20px; }
.strength-list li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; padding: 30px 36px; background: #fff; box-shadow: var(--shadow); }
.strength-list .point-num { font-family: var(--en); font-weight: 600; font-size: 22px; color: var(--blue); letter-spacing: .08em; }
.strength-list b { display: block; font-size: 21px; color: var(--navy); line-height: 1.5; }
.strength-list p { margin-top: 10px; font-size: 15px; line-height: 1.95; }
.strength-list a { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); }

/* Document band */
.doc-band { background: var(--navy); color: #fff; padding: 48px 0; }
.doc-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.doc-title { margin-top: 6px; font-size: 26px; font-weight: 700; }
.doc-band p:not(.sec-en) { margin-top: 8px; font-size: 15px; opacity: .92; }

/* Estimator */
.estimator { padding: 36px 40px; background: #fff; box-shadow: var(--shadow); }
.estimator fieldset { margin: 0 0 22px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.estimator legend { width: 100%; margin-bottom: 10px; font-weight: 700; color: var(--navy); }
.estimator label { cursor: pointer; }
.estimator input { position: absolute; opacity: 0; pointer-events: none; }
.estimator label span { display: inline-block; padding: 9px 18px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.estimator input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 700; }
.estimator input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.estimator fieldset.is-disabled { opacity: .4; }
.est-result { margin-top: 8px; padding: 22px; background: #F2FAFE; text-align: center; }
.est-label { font-size: 14px; font-weight: 700; color: var(--navy); }
.est-price { color: var(--blue); font-weight: 700; font-size: 20px; }
.est-price b { font-family: var(--en); font-weight: 600; font-size: 60px; margin-right: 4px; line-height: 1.1; }
.est-note { font-size: 14px; color: var(--navy); font-weight: 500; }
.est-foot { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--sub); }
.est-cta { margin-top: 20px; text-align: center; }

/* About company (SEO text) */
.about-company { background: var(--gray-bg); }
.about-company-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.about-company p { margin-top: 14px; font-size: 14px; line-height: 2; }

@media (max-width: 1080px) {
  .header-cta .btn-outline { display: none; }
  .worry-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .header-cta { flex-direction: column; }
  .header-cta .btn-outline { display: inline-flex; }
  .intro-title { font-size: 21px; }
  .strength-list li { grid-template-columns: 1fr; gap: 8px; padding: 24px 20px; }
  .doc-inner { flex-direction: column; align-items: flex-start; }
  .estimator { padding: 24px 18px; }
  .est-price b { font-size: 48px; }
}
/* 10月公開範囲：ページ未公開のサービスはリンクなしで表示 */
.service-tile.is-soon { cursor: default; opacity: .55; box-shadow: none; background: #f5f7fa; }
.service-tile.is-soon:hover img { transform: none; }
.service-extra span.is-soon { display: flex; align-items: center; gap: 10px; opacity: .55; }
.est-sub { margin: 48px 0 16px; text-align: center; font-size: 1.1rem; }
.hero-title-brand { display: block; margin-top: .35em; font-size: .62em; letter-spacing: .08em; font-weight: 700; opacity: .92; }
/* 会社情報のプルダウン */
.global-nav .has-sub { position: relative; }
.global-nav .has-sub > a::before { content: ""; position: absolute; right: -14px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.global-nav .sub-nav { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 160px; display: flex; flex-direction: column; gap: 0; padding: 8px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.global-nav .has-sub:hover .sub-nav, .global-nav .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.global-nav .sub-nav a { display: block; padding: 10px 20px; font-size: 14px; white-space: nowrap; }
.global-nav .sub-nav a::after { display: none; }
.global-nav .sub-nav a:hover { background: #F4FAFD; }
@media (max-width: 860px) {
  .global-nav .has-sub > a::before { display: none; }
  .global-nav .sub-nav { position: static; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; }
  .global-nav .sub-nav a { padding: 8px 0; font-size: 14px; }
}
