
:root {
  --navy: #1a2380;
  --ink: #1f2933;
  --gray: #5c6672;
  --line: #c9d2df;
  --alt: #f4f6f9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink); line-height: 1.85; font-size: 15.5px; background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }

/* 見出し */
.sec-head { border-left: 5px solid var(--navy); padding-left: 20px; margin-bottom: 40px; }
.sec-head .en { font-size: 12px; letter-spacing: .22em; color: var(--navy); font-weight: 700; }
.sec-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; line-height: 1.6; color: var(--ink);
}
.sec-lead { max-width: 760px; color: var(--gray); margin-top: 12px; }


/* ヘッダー */
header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 2px solid var(--navy); }
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo img { height: 28px; width: auto; }
.gnav { display: flex; align-items: center; gap: 24px; }
.gnav a { font-size: 14px; font-weight: 600; }
.gnav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.btn-cta {
  background: var(--navy); color: #fff !important; font-weight: 700;
  padding: 10px 20px; font-size: 14px; border: 1px solid var(--navy);
}
.btn-cta:hover { background: #fff; color: var(--navy) !important; }
.menu-toggle { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ファーストビュー */
.hero { position: relative; color: #fff; padding: 0; }
.hero .bg {
  position: absolute; inset: 0; background-color: #0d1344;
  background:
    linear-gradient(90deg, rgba(11,16,60,.82) 0%, rgba(11,16,60,.5) 55%, rgba(11,16,60,.16) 100%),
    var(--hero-img, none) center top / cover no-repeat;
}
.hero-inner { position: relative; max-width: 1040px; margin: 0 auto; padding: 110px 24px 96px; }
.hero .lead-tag {
  display: inline-block; border: 1px solid rgba(255,255,255,.7);
  padding: 4px 18px; font-size: 13px; letter-spacing: .12em; margin-bottom: 26px;
}
.hero h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; line-height: 1.6; margin-bottom: 22px;
}
.hero p.sub { max-width: 600px; font-size: 15.5px; color: #dfe4f2; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-l { display: inline-block; padding: 15px 40px; font-weight: 700; font-size: 15px; border: 1px solid #fff; }
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #dfe4f2; }
.btn-outline { color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* 実績数字バー */
.stats { border-bottom: 1px solid var(--line); padding: 0; }
.stats-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:last-child { border-right: 1px solid var(--line); }
.stat .figure {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(24px, 3vw, 30px); font-weight: 600; color: var(--navy); line-height: 1.4;
}
.stat .figure small { font-size: 15px; font-weight: 600; }
.stat p { font-size: 13px; color: var(--gray); line-height: 1.8; margin-top: 4px; }
.stats-source {
  max-width: 1040px; margin: 0 auto; padding: 12px 24px 20px;
  font-size: 11.5px; color: var(--gray); line-height: 1.9;
}

/* 課題 */
.problem { background: var(--alt); }
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.problem-card { padding: 30px 26px; border-left: 1px solid var(--line); }
.problem-card:first-child { border-left: none; }
.problem-card .icon { width: 34px; height: 34px; color: var(--navy); margin-bottom: 14px; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { font-size: 16.5px; margin-bottom: 6px; line-height: 1.7; color: var(--navy); }
.problem-card p { font-size: 13.5px; color: var(--gray); }
.problem-close {
  margin-top: 36px; text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(17px, 2.4vw, 22px); font-weight: 600;
}
.problem-close strong { color: var(--navy); border-bottom: 2px solid var(--navy); font-weight: 600; }

/* 解決策 */
.solution-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; margin-bottom: 44px; }
.flow-box { border: 1px solid var(--line); padding: 28px 26px; text-align: center; background: #fff; }
.flow-box.after { border: 2px solid var(--navy); }
.flow-box .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 14px; margin-bottom: 12px; }
.flow-box.before .tag { background: var(--alt); color: var(--gray); }
.flow-box.after .tag { background: var(--navy); color: #fff; }
.flow-box h3 { font-size: 18px; margin-bottom: 8px; }
.flow-box p { font-size: 14px; color: var(--gray); }
.flow-arrow { display: grid; place-items: center; color: var(--navy); padding: 0 18px; }
.solution-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.sol-card { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 24px 22px; }
.sol-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; line-height: 1.7; }
.sol-card p { font-size: 13.5px; color: var(--gray); }

/* 地層断面図 */
.strata-fig { border: 1px solid var(--line); background: #fff; padding: 30px 26px; margin-bottom: 44px; }
.strata-fig .fig-title { font-size: 15px; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 4px; }
.strata-fig .fig-lead { font-size: 13.5px; color: var(--gray); text-align: center; margin-bottom: 20px; }
.strata-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.strata-scroll svg {
  display: block; width: 100%; min-width: 820px; height: auto;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
.strata-fig .fig-caption { font-size: 12.5px; color: var(--gray); text-align: center; margin-top: 14px; line-height: 1.9; }

/* 簡易比較表 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.grid-table { border-collapse: collapse; width: 100%; min-width: 660px; background: #fff; font-size: 14px; }
table.grid-table th, table.grid-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: center; line-height: 1.8; }
table.grid-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 13.5px; }
table.grid-table thead th.own { background: #0d1344; }
table.grid-table tbody th { background: var(--alt); text-align: left; font-weight: 700; white-space: nowrap; }
table.grid-table td.own { background: #f2f4fc; font-weight: 700; color: var(--navy); }
table.grid-table .mk { font-size: 16px; }
.scroll-hint { display: none; font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.cmp-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.7; }

/* 製品(3カラム) */
.products { background: var(--alt); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.prod-card .ph { height: 190px; overflow: hidden; }
.prod-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .bd { padding: 22px 22px 24px; flex: 1; }
.p-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 14px; border: 1px solid var(--navy); color: var(--navy); margin-bottom: 10px; }
.p-tag.main { background: var(--navy); color: #fff; }
.prod-card h3 { font-family: "Hiragino Mincho ProN", serif; font-size: 19px; margin-bottom: 8px; line-height: 1.6; }
.prod-card .p-desc { font-size: 13.5px; color: var(--gray); margin-bottom: 12px; }
.p-features { font-size: 13px; color: #414b57; }
.p-features li { padding-left: 16px; position: relative; }
.p-features li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 2px; background: var(--navy); }

/* 活用シーン */
.scenes-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.scene { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scene .icon { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--navy); }
.scene h3 { font-size: 14.5px; font-weight: 700; }
.scene p { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* 導入事例 */
.cases { background: var(--alt); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-card .c-photo { height: 210px; }
.case-card .c-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-card .c-body { padding: 22px; flex: 1; }
.c-tag { display: inline-block; border: 1px solid var(--navy); color: var(--navy); font-size: 12px; font-weight: 700; padding: 1px 12px; margin-bottom: 10px; }
.case-card h3 { font-family: "Hiragino Mincho ProN", serif; font-size: 16px; line-height: 1.7; margin-bottom: 10px; }
.case-card p { font-size: 13.5px; color: var(--gray); }
.case-card p strong { color: var(--navy); font-weight: 700; }

/* 導入の流れ */
.steps { border: 1px solid var(--line); background: #fff; }
.step-row { display: grid; grid-template-columns: 84px 1fr; border-top: 1px solid var(--line); }
.step-row:first-child { border-top: none; }
.step-row .st-num {
  background: var(--navy); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 16px 0; line-height: 1.3;
}
.step-row .st-num span { font-size: 10.5px; letter-spacing: .18em; }
.step-row .st-num strong { font-family: "Hiragino Mincho ProN", serif; font-size: 22px; font-weight: 600; }
.step-row .st-body { padding: 16px 24px; }
.step-row .st-body h3 { font-size: 15.5px; margin-bottom: 2px; }
.step-row .st-body p { font-size: 13.5px; color: var(--gray); }
.flow-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.badge { border: 2px solid var(--navy); padding: 16px 18px; text-align: center; background: #fff; }
.badge strong { display: block; font-family: "Hiragino Mincho ProN", serif; font-size: 18px; color: var(--navy); margin-bottom: 2px; }
.badge span { font-size: 12.5px; color: var(--gray); }
.cost-note { margin-top: 24px; border: 1px solid var(--line); border-left: 5px solid var(--navy); background: #fff; padding: 22px 26px; }
.cost-note h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 4px; }
.cost-note p { font-size: 14px; color: var(--gray); }

/* 理念 */
.mission { background: var(--navy); color: #fff; text-align: center; }
.mission h2 { font-family: "Hiragino Mincho ProN", serif; font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin-bottom: 16px; }
.mission .slogan { font-family: "Hiragino Mincho ProN", serif; font-size: clamp(18px, 2.6vw, 24px); margin-bottom: 16px; letter-spacing: .06em; }
.mission p { max-width: 680px; margin: 0 auto; color: #d4dbf0; font-size: 14.5px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 8px; font-weight: 700; font-size: 15px; display: flex; gap: 14px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; color: var(--navy); font-family: "Hiragino Mincho ProN", serif; flex-shrink: 0; }
.faq-item .a { padding: 0 8px 18px 44px; font-size: 14px; color: var(--gray); }
.faq-more { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--gray); }

/* お問い合わせ */
.contact { background: var(--alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; padding: 32px 28px; }
.contact-info h3 { font-family: "Hiragino Mincho ProN", serif; font-size: 18px; margin-bottom: 12px; }
.contact-info p { font-size: 14px; color: #d4dbf0; margin-bottom: 16px; }
.contact-tel { font-size: 26px; font-weight: 800; letter-spacing: .03em; }
.contact-tel small { display: block; font-size: 12px; font-weight: 400; color: #d4dbf0; }
.contact-promise { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; font-size: 13px; color: #d4dbf0; }
.contact-promise li { padding-left: 18px; position: relative; line-height: 1.9; }
.contact-promise li::before { content: ""; position: absolute; left: 0; top: .95em; width: 9px; height: 2px; background: #fff; }
.contact-form { background: #fff; border: 1px solid var(--line); padding: 32px; }
.contact-form .row { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.contact-form label .req { background: #a12b2b; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 8px; vertical-align: middle; }
.contact-form label .opt { background: var(--alt); color: var(--gray); font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 8px; vertical-align: middle; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"],
.contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); padding: 11px 14px; font-size: 15px; font-family: inherit; background: #fbfcfe;
}
.contact-form textarea { min-height: 96px; resize: vertical; }
.contact-form .submit {
  width: 100%; border: 1px solid var(--navy); cursor: pointer;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; padding: 15px; margin-top: 6px;
}
.contact-form .submit:hover { background: #fff; color: var(--navy); }
.form-note { font-size: 12px; color: var(--gray); margin-top: 10px; text-align: center; }

/* フッター */
footer { background: #10173f; color: #c9d0e6; padding: 48px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
/* ロゴは紺色文字の透過PNG。フッターの地色に合わせ、白抜きにして表示する */
.footer-logo img { height: 26px; filter: brightness(0) invert(1); }
/* filter 非対応環境では紺地に紺文字で消えるため、従来の白箱に戻す */
@supports not (filter: invert(1)) {
  .footer-logo { background: #fff; padding: 10px 16px; }
  .footer-logo img { filter: none; }
}
footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
footer a { font-size: 14px; }
footer a:hover { text-decoration: underline; }
footer li { margin-bottom: 6px; }
.footer-company { font-size: 13px; line-height: 2; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; text-align: center; font-size: 12px; color: #8a93b8; }

.fixed-cta { display: none; }

@media (max-width: 900px) {
  section { padding: 56px 0; }
  .gnav { display: none; }
  .menu-toggle { display: block; }
  .nav-open .gnav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 2px solid var(--navy); padding: 8px 0;
  }
  .nav-open .gnav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav-open .gnav .btn-cta { margin: 12px 24px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:last-child { border-right: none; }
  .problem-cards { grid-template-columns: 1fr; }
  .problem-card { border-left: none; border-top: 1px solid var(--line); }
  .problem-card:first-child { border-top: none; }
  .solution-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 10px 0; }
  .solution-points { grid-template-columns: 1fr; }
  .scroll-hint { display: block; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-card .ph { height: 220px; }
  .scenes-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .flow-badges { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
/* 固定CTAはグローバルナビが隠れる 900px から表示する */
@media (max-width: 900px) {
  .fixed-cta {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--navy); text-align: center; padding: 14px; color: #fff; font-weight: 700; font-size: 15px;
  }
  body { padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-left: none; }
}

/* ===================================================== */
/* 案2-C 没入スクロール演出                                */
/* ===================================================== */

section { position: relative; overflow: hidden; }
.inner { position: relative; z-index: 1; }
.stats { position: relative; overflow: hidden; }
.stats-grid { position: relative; z-index: 1; }

.progress-bar {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: 0 50%;
  z-index: 300; pointer-events: none;
}

.hero { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-inner { width: 100%; }

html.js .hero h1 .ch {
  display: inline-block; opacity: 0; transform: translateY(.7em);
  animation: ch-rise .7s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes ch-rise { to { opacity: 1; transform: translateY(0); } }
html.js .hero .lead-tag,
html.js .hero p.sub,
html.js .hero-btns { opacity: 0; animation: hero-fade .8s ease both; }
html.js .hero .lead-tag { animation-delay: .1s; }
html.js .hero p.sub { animation-delay: 1.2s; }
html.js .hero-btns { animation-delay: 1.4s; }
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.scroll-cue .cue-label {
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .32em;
  color: rgba(255,255,255,.85);
}
.scroll-cue .cue-line {
  width: 1px; height: 58px; background: rgba(255,255,255,.25);
  overflow: hidden; position: relative;
}
.scroll-cue .cue-line::before {
  content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 18px; background: #fff;
  animation: cue-slide 1.8s ease-in-out infinite alternate;
}
@keyframes cue-slide { from { transform: translateY(0); } to { transform: translateY(40px); } }
@media (max-width: 900px) { .scroll-cue { bottom: 78px; } }

.watermark {
  position: absolute; z-index: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 600;
  line-height: 1; letter-spacing: .04em; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.problem .watermark {
  left: -12px; bottom: 24px; font-size: clamp(84px, 15vw, 200px);
  color: rgba(26,35,128,.03); -webkit-text-stroke: 1px rgba(26,35,128,.08);
}
.mission .watermark {
  left: 0; right: 0; top: 50%; margin-top: -.55em; text-align: center;
  font-size: clamp(84px, 15vw, 200px);
  color: rgba(255,255,255,.02); -webkit-text-stroke: 1px rgba(255,255,255,.10);
}

.sec-num {
  position: absolute; top: 14px; right: 10px; z-index: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(88px, 14vw, 168px); line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(26,35,128,.16);
  pointer-events: none; user-select: none;
}
html.js .sec-num { opacity: 0; transform: translateY(56px); transition: opacity .9s ease, transform .9s ease; }
html.js .sec-num.is-visible { opacity: 1; transform: translateY(0); }

.marquee { overflow: hidden; padding: 40px 0; background: #fff; }
.marquee-track { display: flex; width: max-content; animation: marquee-flow 36s linear infinite; }
.marquee-group {
  display: flex; flex-shrink: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 600;
  font-size: clamp(26px, 4.6vw, 54px); letter-spacing: .1em; line-height: 1.4;
  color: rgba(26,35,128,.03); -webkit-text-stroke: 1px rgba(26,35,128,.18);
  white-space: nowrap;
}
.marquee-group span { padding-right: 1.6em; }
@keyframes marquee-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@supports not (-webkit-text-stroke: 1px #000) {
  .sec-num { color: rgba(26,35,128,.10); }
  .marquee-group { color: rgba(26,35,128,.22); }
  .problem .watermark { color: rgba(26,35,128,.06); }
  .mission .watermark { color: rgba(255,255,255,.08); }
}

html.js .reveal { opacity: 0; transition: opacity .8s ease, transform .8s ease; }
html.js .reveal-l { transform: translateX(-40px); }
html.js .reveal-r { transform: translateX(40px); }
html.js .reveal-u { transform: translateY(28px); }
/* 上から落ちてくる出現(実績バーを左から右へ順に落とすのに使う) */
html.js .reveal-d { transform: translateY(-30px); }
html.js .reveal.is-visible { opacity: 1; }
html.js .reveal-l.is-visible,
html.js .reveal-r.is-visible,
html.js .reveal-d.is-visible,
html.js .reveal-u.is-visible { transform: translateX(0) translateY(0); }

.case-card { background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
html.js .case-card.reveal { transition: opacity .8s ease, transform .3s ease, box-shadow .3s ease; }
.case-card .c-photo { overflow: hidden; }
@media (hover: hover) {
  .case-card .c-photo img { transition: transform 1s ease; }
  .case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,19,68,.14); }
  .case-card:hover .c-photo img { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal, html.js .sec-num,
  html.js .hero h1 .ch, html.js .hero .lead-tag,
  html.js .hero p.sub, html.js .hero-btns { opacity: 1 !important; transform: none !important; }
}


:root { color-scheme: light; }
html, body { background: #fff; }
body { color: var(--ink); }

/* ===================================================== */
/* 改訂2版 追加分                                          */
/* ===================================================== */

/* 表の記号を読み上げるための視覚的非表示テキスト */
.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;
}

/* 横スクロール領域をキーボードでも操作できるようにする */
.table-scroll:focus-visible, .strata-scroll:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 2px;
}

/* 断面図の前置き */
.strata-fig .fig-intro { font-size: 14px; color: var(--gray); margin-bottom: 18px; }

/* 主な納入実績（稟議への転記用の1行） */
.clients-line {
  margin-top: 26px; border: 1px solid var(--line); background: #fff;
  padding: 14px 20px; font-size: 14px;
}
.clients-line strong { color: var(--navy); font-weight: 700; margin-right: 10px; }

/* 製品カード下の補足 */
.prod-note { margin-top: 22px; font-size: 13.5px; color: var(--gray); }

/* 中間CTA帯 */
.cta-band { background: var(--navy); color: #fff; padding: 46px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band .cta-copy { flex: 1 1 440px; }
.cta-band h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(18px, 2.4vw, 25px); font-weight: 600; line-height: 1.6;
}
.cta-band p { font-size: 14px; color: #d4dbf0; margin-top: 6px; }
.cta-band .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-l { white-space: nowrap; }

/* 個人情報の取り扱い同意 */
.consent-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 13.5px; line-height: 1.8; }
.consent-label input { margin-top: .5em; width: 16px; height: 16px; flex-shrink: 0; }
.consent-label a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.contact-tel a { color: #fff; }

@media (max-width: 900px) {
  .cta-band .inner { flex-direction: column; align-items: stretch; }
  .cta-band .cta-btns .btn-l { display: block; text-align: center; }
}

/* ===================================================== */
/* 可読性の調整                                            */
/* 本文の色を濃くし、小さすぎた文字を底上げする              */
/* ===================================================== */

/* 補助テキストの色を 5.9:1 から 8.5:1 相当まで濃くする */
:root { --gray: #454f5c; }
body { font-size: 16px; }

/* ヘッダー / ファーストビュー */
.gnav a { font-size: 14.5px; }
.hero .lead-tag { font-size: 14px; }
.hero p.sub { font-size: 16.5px; color: #eaeefc; line-height: 2; }

/* 実績バー */
.stat p { font-size: 14px; line-height: 1.9; }
.stats-source { font-size: 12.5px; }

/* 見出しまわり */
.sec-lead { font-size: 16px; line-height: 2; margin-top: 16px; }

/* 課題 / 解決策 */
.problem-card h3 { font-size: 18px; }
.problem-card p { font-size: 15px; line-height: 1.95; }
.flow-box h3 { font-size: 19px; }
.flow-box p { font-size: 15px; line-height: 1.9; }
.sol-card h3 { font-size: 17px; }
.sol-card p { font-size: 15px; line-height: 1.95; }
.cycle-fig .fig-title, .strata-fig .fig-title { font-size: 16px; }
.cyc-step h4 { font-size: 15.5px; }
.cyc-step p { font-size: 13.5px; line-height: 1.9; }
.cycle-return { font-size: 14.5px; }
.strata-fig .fig-lead { font-size: 14.5px; line-height: 1.9; }
.strata-fig .fig-caption { font-size: 13.5px; }
.fig-intro { font-size: 15px; }

/* 表 */
table.grid-table { font-size: 15px; }
table.grid-table thead th { font-size: 14.5px; }
table.grid-table th, table.grid-table td { padding: 15px 16px; }
.compare-note { font-size: 14.5px; line-height: 1.95; }
.scroll-hint { font-size: 13px; }

/* 製品 */
.product-item h3 { font-size: 22px; }
.p-desc { font-size: 15px; line-height: 1.95; }
.p-features { font-size: 14.5px; color: #333c48; }
.p-spec dl { font-size: 14px; }
.prod-card h3 { font-size: 19px; }
.prod-note { font-size: 14.5px; line-height: 1.95; }

/* 活用シーン / 導入事例 */
.scene h3 { font-size: 15.5px; }
.scene p { font-size: 13px; }
.case-card h3 { font-size: 17px; }
.case-card dl { font-size: 14.5px; }
.case-card p { font-size: 14.5px; line-height: 1.95; }
.clients-line { font-size: 15px; }

/* 導入の流れ */
.step-row .st-body h3 { font-size: 17px; }
.step-row .st-body p { font-size: 14.5px; line-height: 1.9; }
.badge span { font-size: 13.5px; }
.cost-note h3 { font-size: 17px; }
.cost-note p { font-size: 15px; line-height: 1.95; }

/* 技術 / 理念 */
.tech-card h3 { font-size: 18px; }
.tech-card p { font-size: 15px; line-height: 1.95; }
.tech-card dl { font-size: 14px; }
.clients li { font-size: 14.5px; }
.mission p { font-size: 15.5px; color: #e3e8f7; line-height: 2; }

/* FAQ */
.faq-item summary { font-size: 16px; }
.faq-item .a { font-size: 15px; line-height: 2; }
.faq-more { font-size: 14.5px; }

/* CTA / お問い合わせ */
.cta-band p { font-size: 15px; color: #e0e6f7; }
.contact-info p { font-size: 15px; color: #e0e6f7; }
.contact-promise { font-size: 14px; color: #e0e6f7; }
.contact-form label { font-size: 14px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"],
.contact-form select, .contact-form textarea { font-size: 16px; }
.consent-label { font-size: 14.5px; }
.form-note { font-size: 13px; }

/* フッター */
footer a { font-size: 14.5px; }
.footer-company { font-size: 14px; }
.copyright { font-size: 13px; color: #a2abcd; }



/* ===================================================== */
/* 可読性の調整 その2                                      */
/* 補足テキストの灰色をさらに濃くし、13px 未満をなくす        */
/* ===================================================== */

/* 白背景の補助テキスト: コントラスト比 約11:1 */
:root { --gray: #333c48; }

/* 小さい説明文の底上げ（最小 13.5px） */
.stat p { font-size: 14.5px; }
.stats-source { font-size: 13px; line-height: 2; }
.scene p { font-size: 14px; }
.cyc-step p { font-size: 14.5px; }
.strata-fig .fig-caption { font-size: 14px; }
.strata-fig .fig-lead { font-size: 15px; }
.scroll-hint { font-size: 13.5px; }
.p-features { font-size: 15px; color: #2b3540; }
.p-spec dl { font-size: 15px; }
.p-spec dd { color: var(--gray); }
.prod-note { font-size: 15px; }
.compare-note { font-size: 15px; }
.case-card dl { font-size: 15px; }
.case-card dd { color: var(--gray); }
.clients-line { font-size: 15.5px; }
.step-row .st-body p { font-size: 15px; }
.badge span { font-size: 14px; }
.tech-card dl { font-size: 15px; }
.clients li { font-size: 15px; }
.faq-more { font-size: 15px; }
.contact-form label { font-size: 15px; }
.form-note { font-size: 13.5px; line-height: 1.9; }
.consent-label { font-size: 15px; }

/* 紺背景の上にのる文字は、ほぼ白まで明るくする */
.hero p.sub { color: #f2f4ff; }
.cta-band p { color: #eef1fc; }
.contact-info p { color: #eef1fc; }
.contact-promise { font-size: 15px; color: #eef1fc; }
.contact-tel small { color: #eef1fc; }
.mission p { color: #f0f3fd; }
.movie-ph span { color: #d6dcf2; }
footer { color: #dfe4f5; }
.footer-company { font-size: 15px; color: #dfe4f5; }
.copyright { font-size: 13.5px; color: #b9c0dd; }

/* ===== main内の追加スタイル ===== */

.prod-spec { margin-top: 44px; }
.cost-sim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 10px; }
.cs-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.cs-label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: .04em; margin-bottom: 10px; }
.cs-fig { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(20px, 2.4vw, 25px); color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
.cs-desc { font-size: 13px; color: var(--gray); line-height: 1.8; }
.company-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.company-table th, .company-table td { border: 1px solid var(--line); padding: 14px 18px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.8; }
.company-table th { background: var(--alt); width: 150px; white-space: nowrap; color: var(--ink); font-weight: 600; }
.cta-btns .btn-outline.on-navy { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.cta-btns .btn-outline.on-navy:hover { background: #fff; color: var(--navy); }
@media (max-width: 760px) { .cost-sim { grid-template-columns: 1fr; } .company-table th { width: 108px; } }

.story { background: var(--alt); }
.story-eyebrow { font-size: 13px; letter-spacing: .12em; color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.story-title { font-family: "Hiragino Mincho ProN","Yu Mincho",serif; font-size: clamp(24px,3.6vw,35px); font-weight: 600; line-height: 1.55; color: var(--ink); }
.story-body { max-width: 820px; margin-top: 28px; font-size: 16px; line-height: 2.05; color: var(--ink); }
.story-body p { margin-bottom: 20px; }
.story-body strong { color: var(--navy); font-weight: 700; }
.story-thesis { margin-top: 6px; padding: 22px 26px; background: #fff; border-left: 5px solid var(--navy); }
.story-thesis p { margin: 0; }
.grid-table th small { display: block; font-weight: 400; font-size: 11.5px; opacity: .8; margin-top: 3px; }
.p-tag.sub { background: #e7ebf1; color: var(--gray); }
.stats-head { max-width: 1040px; margin: 0 auto; padding: 40px 24px 6px; text-align: center; font-size: 15.5px; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
@media (max-width: 640px){ .story-thesis { padding: 18px 18px; } }

/* ===== ヒーロー：受賞チップ / 平面図 ===== */
.award-chip { display:table; margin:0 0 20px; padding:7px 16px; border:1px solid rgba(214,178,94,.85); color:#f0dcab; font-size:12.5px; font-weight:700; letter-spacing:.05em; }
.hero .lead-tag { margin-bottom:12px; }
.dim-figure { display:block; min-width:720px; width:100%; max-width:1000px; margin:0 auto; height:auto; }

/* ===================================================== */
/* WordPress テーマ用の追加分                              */
/* ===================================================== */

.screen-reader-text {
  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: absolute; left: 8px; top: -60px; z-index: 400;
  background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ログイン中の管理バーとヘッダーが重ならないようにする */
.admin-bar header { top: 32px; }
@media (max-width: 782px) { .admin-bar header { top: 46px; } }
.admin-bar .progress-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .progress-bar { top: 46px; } }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 2px;
}
.hero a:focus-visible, .cta-band a:focus-visible, .contact-info a:focus-visible, footer a:focus-visible {
  outline-color: #fff;
}

/* 導入の流れ：所要時間 */
.st-time { margin-top: 6px; font-size: 14px; color: var(--navy); font-weight: 700; }
.st-time::before { content: ""; display: inline-block; width: 8px; height: 2px; background: var(--navy); vertical-align: middle; margin-right: 8px; }

/* 定期点検 */
.inspect { margin-top: 14px; border: 1px solid var(--line); background: var(--alt); padding: 14px 18px; }
.inspect-title { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.inspect dl { font-size: 14.5px; }
.inspect dl > div { display: grid; grid-template-columns: 3.5em 1fr; gap: 8px; padding: 3px 0; }
.inspect dt { font-weight: 700; }
.inspect dd { color: var(--gray); }

/* 費用カードの注記 */
.cs-desc .cs-note { display: block; margin-top: 4px; }
.cost-sim .cs-desc { font-size: 14.5px; line-height: 1.9; }
.cs-label { font-size: 13px; }


/* 固定ページ（プライバシーポリシー等） */
.subpage { padding: 56px 0 80px; }
.subpage-title { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; line-height: 1.6; border-left: 5px solid var(--navy); padding-left: 20px; margin-bottom: 32px; }
.entry { max-width: 820px; line-height: 2; }
.entry h2 { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 22px; margin: 40px 0 12px; color: var(--navy); }
.entry h3 { font-size: 18px; margin: 28px 0 8px; }
.entry p { margin-bottom: 16px; }
.entry ul, .entry ol { margin: 0 0 16px 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.subpage-back { margin-top: 40px; }
.subpage-back a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===================================================== */
/* Contact Form 7                                         */
/* フォームの中身は CF7 側で作り、見た目はここで合わせる      */
/* ===================================================== */
.form-notice { font-size: 15px; line-height: 1.9; color: var(--gray); }
.form-notice a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]) { max-width: 100%; }
.contact-form textarea { height: auto; }

/* 入力エラー */
.contact-form .wpcf7-not-valid { border-color: #a12b2b; background: #fff6f5; }
.contact-form .wpcf7-not-valid-tip { display: block; margin-top: 5px; color: #a12b2b; font-size: 14px; line-height: 1.7; }

/* 個人情報の取り扱い同意（acceptance） */
.contact-form .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0; }
.contact-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; font-weight: 400; line-height: 1.8; }
.contact-form .wpcf7-acceptance input[type="checkbox"] { width: 16px; height: 16px; margin-top: .5em; flex-shrink: 0; }
.contact-form .wpcf7-acceptance a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* 送信ボタンと送信中の表示 */
.contact-form .wpcf7-submit { display: block; -webkit-appearance: none; appearance: none; border-radius: 0; }
.contact-form .wpcf7-submit:disabled { opacity: .6; cursor: wait; }
.contact-form .wpcf7-spinner { display: none; }
.contact-form form.submitting .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* 送信結果のメッセージ */
.contact-form .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 18px; border: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-color: #7fb08a; background: #eef6ef; color: #1f4a29; }
.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.aborted .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output { border-color: #d99a92; background: #fdf0ee; color: #7a2118; }
