/* アジャスト・シャード 新サイト 共通スタイル */
:root {
  /* 色は旧 WordPress サイトのメインカラー #9F886E とサブ #C5B8A8 を広く使い、ロゴの赤・灰は差し色に */
  --main: #9f886e;      /* 旧サイトのメインカラー（ボタン・帯・見出し） */
  --main-d: #7d6850;    /* メインを濃くした色（白地の文字・ボタンを押す時） */
  --sub: #c5b8a8;       /* 旧サイトのサブカラー（線・点） */
  --navy: #2d2b2b;      /* 本文の見出し（ロゴの濃い灰） */
  --navy-2: #3a3838;
  --text: #4a4848;
  --muted: #787777;     /* ロゴの中間の灰 */
  --line: #e4ddd2;
  --bg: #ffffff;
  --soft: #f5f1eb;      /* ベージュをごく薄くした地 */
  --red: #d4121d;       /* ロゴの赤（差し色） */
  --beige: #9f886e;     /* 旧名。--main と同じ */
  --beige-d: #7d6850;   /* 旧名。--main-d と同じ */
  --grad: linear-gradient(90deg, #9f886e, #c5b8a8);
  --shadow: 0 10px 24px -8px rgba(45, 43, 43, .22), 0 4px 10px -6px rgba(0, 0, 0, .18);
  --shadow-s: 0 2px 6px -1px rgba(45, 43, 43, .16), 0 1px 3px -1px rgba(0, 0, 0, .16);
  --radius: 6px;
  --w: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.4; margin: 0 0 .6em; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }

/* ヘッダー */
/* 現行サイトと同じく、白いヘッダーの左上にロゴ・右にメニュー */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff; transition: box-shadow .25s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .logo img { height: 28px; width: auto; }
.site-header.is-solid, .site-header.is-open { box-shadow: 0 1px 0 var(--line), 0 6px 16px -10px rgba(0, 0, 0, .25); }
.gnav { display: flex; align-items: center; gap: 4px; }
/* メニューは旧サイトと同じく英語だけ */
.gnav a { color: var(--navy); font-size: 15px; letter-spacing: .08em; padding: 8px 16px; position: relative; transition: color .25s; }
.gnav a:hover { text-decoration: none; color: var(--main); }
.gnav a[aria-current="page"] { color: var(--main); }
.gnav a[aria-current="page"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--main); }
.gnav a.btn-nav { background: var(--main); color: #fff !important; margin-left: 12px; padding: 8px 22px; border-radius: 3px; }
.gnav a.btn-nav:hover { background: var(--main-d); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .2s; }
.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .gnav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 8px 16px 20px; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .2); }
  .site-header.is-open .gnav { display: flex; }
  .gnav a { color: var(--navy); padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav a[aria-current="page"]::after { display: none; }
  .gnav a.btn-nav { margin: 12px 0 0; text-align: center; border-radius: 999px; }
}

/* トップのヒーロー（現行トップと同じ写真2枚＋中央の白い丸にロゴ。写真はゆっくり動かす） */
.hero {
  position: relative; overflow: hidden; margin-top: 72px;
  height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 420px;
  background: #1e1d1d;
}
.hero-slides { position: absolute; inset: 0; }
/* 旧サイトと同じ動き: 写真が表示されている間、10秒かけて 1 → 1.1 倍にズーム（2枚目は 1.1 → 1 倍）。8秒ごとに切り替え */
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slides img.is-active { opacity: 1; animation: heroZoomIn 10s linear forwards; }
.hero-slides img:nth-child(2).is-active { animation-name: heroZoomOut; }
@keyframes heroZoomIn { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes heroZoomOut { from { transform: scale(1.1); } to { transform: scale(1); } }
/* 下層ページ上部の写真（ゆっくり動かす） */
@keyframes heroDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.hero-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
/* 旧サイトと同じ 260px の白い丸。丸ごと押すと下へ進み、カーソルを乗せると薄くなる */
.hero-circle {
  pointer-events: auto; position: relative; width: 260px; height: 260px; border-radius: 50%;
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25); transition: background .5s;
  animation: heroPulse 6s ease-in-out infinite;
}
.hero-circle:hover { background: rgba(255, 255, 255, .5); text-decoration: none; }
.hero-circle:focus-visible { outline: 3px solid var(--sub); outline-offset: 4px; }
@keyframes heroPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.hero-logo { width: 118px; height: auto; margin-top: -14px; }
/* 点が集まってロゴになる演出（JavaScript が動くときだけ。ロゴの画像は点が集まりきるまで隠す） */
.hero-dots-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; pointer-events: none; }
.hero-circle.is-dots .hero-logo { visibility: hidden; }
.hero-down {
  position: absolute; bottom: 42px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border: solid var(--main); border-width: 0 2px 2px 0; transform: rotate(45deg); animation: heroDown 2s ease-in-out infinite;
}
@keyframes heroDown { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 14px; z-index: 2; }
.hero-dots i { width: 12px; height: 12px; border-radius: 50%; background: #fff; display: block; transition: background .4s; }
.hero-dots i.is-active { background: var(--sub); }
@media (max-width: 640px) {
  .hero { height: 62vh; height: 62svh; min-height: 380px; }
  .hero-circle { width: 200px; height: 200px; }
  .hero-logo { width: 92px; margin-top: -10px; }
  .hero-down { bottom: 28px; }
}
.intro h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: .04em; color: var(--main); }
.intro p { font-size: 17px; text-wrap: balance; }
.intro-cta { margin-top: 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--beige-d); text-transform: uppercase; margin-bottom: 12px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 3px; font-weight: 700; font-size: 15px; transition: .2s; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--main); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--main-d); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-light:hover { background: rgba(255, 255, 255, .24); }
.btn-ghost { background: var(--soft); color: var(--navy); }
.btn-ghost:hover { background: #efe9e0; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 700; color: var(--main-d); }
.text-link::after { content: " →"; }

/* 下層ページのヘッダー */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--main-d);
  padding: 140px 0 72px; margin-top: 0;
}
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: heroDrift 30s ease-in-out infinite alternate; }
/* 写真の上にベージュを重ねる */
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(110, 92, 70, .92), rgba(159, 136, 110, .55)); }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sub); z-index: 3; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 12px; }
/* 大見出しは build.py が入れた <wbr>（語の切れ目）でだけ折り返す。それでも入りきらない時だけ途中で折る */
.page-hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.page-hero p { color: #f6f1ea; max-width: 720px; margin: 0; font-size: 17px; }
.page-hero .eyebrow { color: #efe7dc; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 13px; }
.breadcrumb li { color: #ece4d9; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #d8cdbf; }
.breadcrumb a { color: #fff; }

/* セクション */
.section { padding: 96px 0; position: relative; }
.section.soft { background: var(--soft); }
.section.skew { background: var(--soft); }
.section.dark { background: var(--main); color: #fff; }
.section.dark .eyebrow { color: #f3ece2; }
@media (max-width: 640px) { .section { padding: 72px 0; } }
/* 日本語の改行を文節で（1文字だけ次の行に落ちるのを防ぐ） */
h1, h2, h3, h4 { text-wrap: pretty; word-break: auto-phrase; }
p, li, td, summary { text-wrap: pretty; }
/* 短い文の所だけ文節で改行（長い本文に使うと行の右端がでこぼこになるため使わない） */
.stat span, ul.checks li, .ocr-arrow, .faq dt,.footer-grid li, .page-hero p, .table td, .info-card h3, .read-item p, .section-head p, .pillar ul li { word-break: auto-phrase; }
.nowrap { white-space: nowrap; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); color: var(--main); }
.section.dark .section-head h2 { color: #fff; }
.section-head p { font-size: 17px; }
.center { text-align: center; margin-inline: auto; }

/* 3本柱 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform .25s; }
.pillar:hover { transform: translateY(-4px); text-decoration: none; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.pillar .icon { width: 56px; height: 56px; margin-bottom: 18px; }
.pillar h3 { font-size: 22px; margin-bottom: 4px; }
.pillar .en { font-size: 12px; letter-spacing: .16em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.pillar ul { margin: 0 0 20px; padding-left: 1.2em; font-size: 14px; }
.pillar .text-link { margin-top: auto; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* 製品の紹介（左右交互） */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.rev .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(22px, 2.8vw, 30px); }
.feature-text .tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 12px; margin-bottom: 14px; }
.feature-text .tag.red { background: var(--red); }
.feature-text ul.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.feature-text ul.checks li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.feature-text ul.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.feature-text ul.checks li::after { content: ""; position: absolute; left: 5px; top: calc(.5em + 4px); width: 6px; height: 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.feature-visual { position: relative; isolation: isolate; }
/* 2026-12-01 飾りの四角は写真の後ろに置く（z-index が無いと写真の上に透けて見えていた） */
.feature-visual::before { content: ""; position: absolute; inset: 14% 0 -6% 8%; background: var(--beige); border-radius: 4px; opacity: .28; z-index: -1; }
.browser { position: relative; background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.browser .bar { height: 30px; background: #ece7df; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6cfc4; display: block; }
.browser .bar span { margin-left: 10px; font-size: 11px; color: var(--muted); background: #fff; border-radius: 4px; padding: 1px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.rev .feature-text { order: 0; }
}

/* 文字起こしの説明用の画面（CSSで描画） */
.ocr-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; background: linear-gradient(160deg, #faf8f5, #f0ebe3); }
.ocr-doc, .ocr-txt { background: #fff; border-radius: 6px; box-shadow: var(--shadow-s); padding: 14px; font-size: 10.5px; line-height: 1.7; color: #33475b; min-height: 210px; }
.ocr-doc .stamp { display: inline-block; border: 2px solid var(--red); color: var(--red); font-weight: 700; font-size: 10px; padding: 0 6px; border-radius: 3px; transform: rotate(-6deg); margin-bottom: 6px; }
.ocr-doc b { display: block; font-size: 12px; margin-bottom: 6px; color: var(--navy); }
.ocr-doc .ln { height: 6px; background: #e6e1d9; border-radius: 3px; margin: 6px 0; }
.ocr-txt { font-family: Consolas, "Courier New", monospace; background: #1e1d1d; color: #e9dcc8; }
.ocr-txt .fname { color: var(--beige); display: block; margin-bottom: 6px; }
.ocr-txt .cursor { display: inline-block; width: 6px; height: 12px; background: #e9dcc8; vertical-align: middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ocr-arrow { grid-column: 1 / -1; text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .1em; }
@media (max-width: 520px) { .ocr-mock { grid-template-columns: 1fr; } }

/* BANSOH の説明用カード */
.saas-mock { padding: 22px; background: linear-gradient(160deg, #faf8f5, #f0ebe3); }
.saas-mock .row { display: flex; gap: 10px; margin-bottom: 10px; }
.saas-mock .card { flex: 1; background: #fff; border-radius: 8px; box-shadow: var(--shadow-s); padding: 12px; font-size: 12px; }
.saas-mock .card b { display: block; font-size: 20px; color: var(--navy); }
.saas-mock .bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 8px; }
.saas-mock .bars i { flex: 1; background: var(--grad); border-radius: 3px 3px 0 0; opacity: .85; display: block; }
.saas-mock .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px; }
.saas-mock .cal i { height: 14px; border-radius: 3px; background: #eef2f6; display: block; }
.saas-mock .cal i.on { background: #d6c9b6; }
.saas-mock .cal i.on2 { background: #f2b8bb; }

/* 数字の帯 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-left: 2px solid rgba(255, 255, 255, .45); padding-left: 18px; }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 40px); color: #fff; line-height: 1.2; margin-bottom: 6px; }
.stat b small { font-size: .5em; margin-left: 2px; }
.stat span { font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

/* サービスのカード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; scroll-margin-top: 90px; }
.card-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-item:target { outline: 3px solid var(--main); outline-offset: 3px; }
.card-item .thumb { aspect-ratio: 725 / 420; object-fit: cover; width: 100%; }
.card-item .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-item h3 { font-size: 18px; margin-bottom: 8px; }
.card-item p { font-size: 14px; margin-bottom: 10px; }
/* カードの「できること」（2026-11-16 「詳しく見る」の代わり）。トップの紹介と同じ丸いチェックの印 */
.card-item ul.checks { list-style: none; padding: 12px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.card-item ul.checks li { position: relative; padding-left: 24px; margin-bottom: 6px; line-height: 1.6; }
.card-item ul.checks li:last-child { margin-bottom: 0; }
.card-item ul.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 15px; height: 15px; border-radius: 50%; background: var(--grad); }
.card-item ul.checks li::after { content: ""; position: absolute; left: 4.5px; top: calc(.35em + 4px); width: 6px; height: 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* サービス一覧のチップ（トップ） */
.chips-group { margin-bottom: 28px; }
.chips-group h3 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.chips-group h3::before { content: ""; width: 18px; height: 3px; background: var(--grad); border-radius: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--navy); }
.chips a:hover { border-color: var(--main); background: var(--main); color: #fff; text-decoration: none; }

/* 事例カード */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: transform .25s; }
.case:hover { transform: translateY(-4px); text-decoration: none; }
.case .thumb { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--line); }
.case .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case .client { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.case h3 { font-size: 20px; }
.case .nums { display: flex; flex-wrap: wrap; gap: 18px; margin: 4px 0 16px; }
.case .nums div { font-size: 12px; }
.case .nums b { display: block; font-size: 22px; color: var(--navy); line-height: 1.2; }
.case .text-link { margin-top: auto; }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }

/* 流れ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 22px 18px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 700; font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.steps h3 { font-size: 16px; margin-bottom: 6px; }
.steps p { font-size: 13px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* 2列の文章＋画像 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.split:last-child { margin-bottom: 0; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h3 { font-size: 24px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } .split.rev > :first-child { order: 0; } }

/* 表 */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); font-size: 15px; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { width: 30%; color: var(--navy); background: var(--soft); font-weight: 700; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .table th, .table td { display: block; width: 100%; } .table th { border-bottom: 0; padding-bottom: 4px; } }

/* お問い合わせの窓口 */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; display: flex; flex-direction: column; }
.contact-card img { aspect-ratio: 725 / 420; object-fit: cover; width: 100%; }
.contact-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.contact-card h3 { font-size: 18px; }
.contact-card p { font-size: 14px; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
/* 2026-11-20 受託開発の制作事例のページ */
.case-intro { max-width: 820px; }
.case-intro .client { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.case-badge { display: inline-block; background: var(--red); color: #fff; font-weight: 700; border-radius: 999px; padding: 4px 16px; margin-bottom: 14px; }
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.case-stats > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 20px 22px; border-top: 3px solid var(--beige); }
.case-stats b { display: block; font-size: clamp(24px, 3vw, 34px); color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.case-stats span { font-size: 13px; }
.case-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.case-imgs.one { grid-template-columns: 1fr; max-width: 760px; margin: 8px auto 0; }
.case-imgs.one .case-fig img { max-height: 720px; width: auto; max-width: 100%; margin: 0 auto; }
.case-fig { margin: 0; }
.case-fig img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.case-fig figcaption { font-size: 13px; margin-top: 10px; color: var(--muted); text-align: center; }
.case-fig figcaption b { display: inline-block; color: #fff; background: var(--navy); border-radius: 4px; font-size: 11px; letter-spacing: .08em; padding: 1px 8px; margin-right: 8px; }
/* 2026-11-21 BEFORE / AFTER の対比: BEFORE は小さく控えめ、AFTER は大きく強調。見出しは画像の上 */
.case-ba { display: grid; grid-template-columns: minmax(0, 34fr) 56px minmax(0, 60fr); align-items: start; margin-top: 8px; }
.case-ba figure { margin: 0; }
.ba-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ba-head b { font-size: 13px; letter-spacing: .14em; color: #fff; border-radius: 4px; padding: 4px 12px; }
.ba-head span { font-size: 14px; font-weight: 700; }
.ba-before .ba-head b { background: #8a8f99; }
.ba-before .ba-head span { color: var(--muted); }
.ba-after .ba-head b { background: var(--red); font-size: 15px; padding: 5px 16px; }
.ba-after .ba-head span { color: var(--navy); font-size: 17px; }
.case-ba img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.ba-before img { filter: saturate(.75); opacity: .92; }
.ba-after img { box-shadow: 0 24px 60px rgba(20, 30, 60, .28); border-color: transparent; }
.ba-pts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ba-pts li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.6; }
.ba-before .ba-pts li { color: var(--muted); font-size: 13px; }
.ba-before .ba-pts li::before { content: "×"; position: absolute; left: 4px; top: 0; color: #8a8f99; font-weight: 700; }
.ba-after .ba-pts li { font-weight: 700; }
.ba-after .ba-pts li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--red); font-weight: 700; }
.ba-arrow { align-self: stretch; display: flex; justify-content: center; padding-top: 140px; }
.ba-arrow span { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; box-shadow: var(--shadow-s); }
@media (max-width: 760px) {
  .case-ba { grid-template-columns: 1fr; }
  .ba-before { max-width: 78%; }
  .ba-arrow { padding: 18px 0; justify-content: flex-start; padding-left: 20px; }
  .ba-arrow span { transform: rotate(90deg); }
}
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-fig.plan figcaption { text-align: left; }
.case-fig.plan.chosen img { outline: 3px solid var(--red); outline-offset: 2px; }
.case-fig.plan.chosen figcaption b { background: var(--red); }
/* 2026-11-21 各案の画像は、実際に動くページへのリンク */
.case-fig.plan a { display: block; border-radius: 6px; transition: transform .25s, box-shadow .25s; }
.case-fig.plan a:hover img { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 30, 60, .22); }
.case-fig.plan img { transition: transform .25s, box-shadow .25s; }
.case-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.case-compare > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 22px 24px; }
.case-compare .label { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.case-compare b { display: block; font-size: clamp(28px, 3.6vw, 40px); color: var(--red); line-height: 1.2; margin-bottom: 8px; }
.case-compare p { font-size: 14px; margin: 0; }
.case-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.case-checks li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 16px 20px; font-size: 15px; }
.case-checks li b { display: inline-block; min-width: 9em; color: var(--navy); margin-right: 12px; }
.table-scroll { overflow-x: auto; margin-top: 28px; }
.case-table { min-width: 560px; }
.case-table th { width: auto; }
.case-after { text-align: center; font-size: 20px; font-weight: 700; color: var(--navy); margin: 28px 0 0; }
@media (max-width: 900px) { .case-stats, .plan-grid { grid-template-columns: 1fr 1fr; } .case-compare { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .case-imgs { grid-template-columns: 1fr; } .case-checks li b { display: block; margin-bottom: 4px; } }
/* スマートフォンでは表を 1 行ずつのカードにし、各値の前に見出しを出す（数字だけの表 compact は表のまま小さくする） */
@media (max-width: 640px) {
  .case-table { min-width: 0; }
  .case-table:not(.compact) thead { display: none; }
  .case-table:not(.compact) tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .case-table:not(.compact) tr:last-child { border-bottom: 0; }
  .case-table:not(.compact) td { padding: 3px 0; border: 0; }
  .case-table:not(.compact) td:empty { display: none; }
  .case-table:not(.compact) td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .case-table:not(.compact) td:first-child { font-weight: 700; color: var(--navy); font-size: 16px; }
  .case-table:not(.compact) td:first-child::before { display: none; }
  .case-table.compact { font-size: 13px; }
  .case-table.compact th, .case-table.compact td { display: table-cell; width: auto; padding: 10px 8px; }
  .case-table.compact th { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
}

/* 2026-11-20 お問い合わせは 1 つのフォーム */
.contact-one { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 32px; max-width: 760px; margin: 0 auto; text-align: center; }
.contact-one .contact-from { background: var(--soft, #f6f3ef); border-radius: 6px; padding: 12px 16px; font-weight: 700; color: var(--navy); }
.contact-one h3 { font-size: 16px; margin: 28px 0 8px; }
.contact-one ul.checks { display: inline-block; text-align: left; margin: 0; }
@media (max-width: 600px) { .contact-one { padding: 24px 18px; } }
@media (max-width: 1000px) { .contacts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .contacts { grid-template-columns: 1fr; } }
.notice { background: #fff4f4; border-left: 4px solid var(--red); padding: 18px 22px; border-radius: 6px; margin-bottom: 40px; }
.notice h2 { font-size: 18px; margin-bottom: 4px; }
.notice p { margin: 0; }

/* 規約などの文章 */
.doc { max-width: 820px; margin-inline: auto; }
.doc h2 { font-size: 22px; margin-top: 2.2em; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.doc h3 { font-size: 17px; margin-top: 1.8em; }
.doc p { white-space: pre-line; }
.doc .lead { font-size: 17px; color: var(--navy); }

/* 比較表（レンタルサーバーとVPS） */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 24px; }
.compare h3 { font-size: 18px; }
.compare h4 { font-size: 14px; margin: 14px 0 4px; }
.compare h4.good { color: #1a7f4b; }
.compare h4.bad { color: var(--red); }
.compare p { font-size: 14px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* お問い合わせの帯 */
.cta-band { position: relative; overflow: hidden; background: var(--main); color: #fff; padding: 80px 0; border-top: 4px solid var(--sub); }
.cta-band .btn-primary { background: #fff; color: var(--main-d); }
.cta-band .btn-primary:hover { background: #f3ece2; }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 620px; }
/* スマートフォンでは「迷ったら」の帯の文字とボタンを真ん中ぞろえ */
@media (max-width: 700px) {
  .cta-band .wrap { flex-direction: column; justify-content: center; text-align: center; }
  .cta-band p { margin-inline: auto; }
}

/* フッター */
/* フッター: 左にロゴだけ、右に英語のリンク（旧サイトと同じ英語の書き方）。住所などは会社情報のページへ */
.site-footer { background: var(--soft); padding: 72px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 0 auto 48px; max-width: 880px; }
/* ロゴはメニューの下、コピーライトの上に真ん中ぞろえ */
.footer-logo { text-align: center; margin-bottom: 40px; }
.footer-logo img { height: 28px; width: auto; display: inline-block; }
.footer-grid h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--main-d); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text); letter-spacing: .06em; }
.footer-grid a:hover { color: var(--main-d); }
.footer-company img { height: 26px; width: auto; }
.footer-company p { margin: 0 0 6px; font-size: 13px; }
/* 旧サイトと同じく、いちばん下はメインカラーの帯 */
.site-footer { padding-bottom: 0; }
.copyright { background: var(--main); color: #fff; margin: 0 calc(50% - 50vw); padding: 16px; font-size: 12px; text-align: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* サイトマップ */
.sitemap-list { columns: 2; column-gap: 48px; }
.sitemap-list > li { break-inside: avoid; margin-bottom: 18px; }
.sitemap-list ul { font-size: 14px; }
@media (max-width: 700px) { .sitemap-list { columns: 1; } }

/* 自社専用AI 文字起こしのページ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card, .read-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 22px 24px; border-top: 3px solid var(--beige); }
.info-card h3, .read-item h3 { font-size: 17px; margin-bottom: 6px; }
.info-card p, .read-item p { font-size: 14px; margin: 0; }
.info-card .en { font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--beige-d); margin-bottom: 6px; }
.read-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 10px; border-radius: 3px; background: #ece7df; color: var(--muted); margin-bottom: 8px; }
.read-tag.ok { background: var(--main); color: #fff; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.faq { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 16px 22px; margin-bottom: 12px; }
/* 2026-11-19 FAQ は答えを最初から見せる（開閉しない）。Q と A の印を左に置く */
.faq-list { margin: 0; }
.faq dt, .faq dd { position: relative; padding-left: 34px; margin: 0; }
.faq dt { font-weight: 700; color: var(--navy); }
.faq dd { margin-top: 10px; font-size: 15px; }
.faq dt::before, .faq dd::before { position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; }
.faq dt::before { content: "Q"; background: var(--navy); color: #fff; }
.faq dd::before { content: "A"; background: var(--main); color: #fff; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; } .steps.steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .info-grid, .steps.steps-4 { grid-template-columns: 1fr; } }

/* 見出しの後ろで動く点（トップの4か所と、全ページのお問い合わせの帯。文字の後ろに敷く） */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; display: block; }
.section > .wrap { position: relative; z-index: 1; }
/* 輪は上下に回り込むので、描く範囲をセクションの上下にはみ出して広げる（下の余白まで使い、輪の下側が切れないように） */
#intro .fx { top: -40px; bottom: auto; height: calc(100% + 150px); }
/* 3つの柱のカード: 上に短い見出し、カードの残り全部を点の絵が埋める。いちばん下に「〜を見る」 */
.pillar { min-height: 560px; background: linear-gradient(180deg, #fff 0, #faf6f0 100%); }
.pillar h3 { font-size: 26px; }
.pillar > p:not(.en) { font-size: 14px; }
.pillar .card-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillar > :not(canvas) { position: relative; z-index: 1; }
.pillar::before { z-index: 2; }
.pillar .text-link { align-self: flex-start; background: rgba(255, 255, 255, .92); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-s); }
@media (max-width: 900px) { .pillar { min-height: 480px; } }
/* 5本柱: 6列の格子に、上の段は3枚（2列ずつ）、下の段は2枚（3列ずつ）。幅が狭いときは2列、スマホは1列 */
.pillars.five { grid-template-columns: repeat(6, 1fr); }
.pillars.five .pillar { grid-column: span 2; min-height: 500px; }
.pillars.five .pillar:nth-child(n+4) { grid-column: span 3; min-height: 440px; }
.pillars.five .pillar h3 { font-size: 23px; }
@media (max-width: 1000px) {
  .pillars.five { grid-template-columns: 1fr 1fr; }
  .pillars.five .pillar, .pillars.five .pillar:nth-child(n+4) { grid-column: auto; min-height: 460px; }
  .pillars.five .pillar:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pillars.five { grid-template-columns: 1fr; }
  .pillars.five .pillar, .pillars.five .pillar:nth-child(n+4) { min-height: 440px; }
}
/* メニューが 7 つになったので、幅が狭い PC ではすき間を詰める */
@media (min-width: 901px) and (max-width: 1180px) {
  .gnav { gap: 0; }
  .gnav a { font-size: 14px; letter-spacing: .04em; padding: 8px 9px; }
  .gnav a[aria-current="page"]::after { left: 9px; right: 9px; }
  .gnav a.btn-nav { margin-left: 6px; padding: 8px 16px; }
}
/* 「3つの柱で、…」の見出しと文のあいだの帯（絡まった点が整う） */
.section-head .band-fx { position: relative; inset: auto; display: block; width: 100%; height: 110px; margin: 6px 0 10px; }
.cta-band .wrap { z-index: 2; }

/* 表示のアニメーション */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slides img, .hero-slides img.is-active, .hero-slides img:nth-child(2).is-active, .hero-circle, .hero-down, .page-hero .bg { animation: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* サービスの別ページ（2026-11-17） */
.card-item .card-more { margin-top: 14px; align-self: flex-start; font-size: 14px; }
.service-intro p { margin-bottom: 1em; }
.service-intro .service-note { font-size: 12px; color: var(--muted); margin-top: 1.5em; }
.info-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .info-grid.two { grid-template-columns: 1fr; } }
/* 管理画面のイメージ（実際の画面ではない） */
.admin-mock { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; background: #f6f3ee; font-size: 12px; }
.am-nav { list-style: none; margin: 0; padding: 14px 0; background: #2d2b2b; color: #d8d0c4; }
.am-nav li { padding: 7px 14px; }
.am-nav li.on { background: rgba(255, 255, 255, .1); color: #fff; border-left: 3px solid #d4121d; padding-left: 11px; }
.am-main { padding: 16px; }
.am-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.am-card { background: #fff; border-radius: 6px; box-shadow: var(--shadow-s); padding: 10px; color: var(--muted); }
.am-card b { display: block; font-size: 16px; color: var(--navy); margin-top: 2px; }
.am-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-s); }
.am-table th, .am-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.am-table th { background: #faf6f0; color: var(--muted); font-weight: 700; }
.am-table td:last-child { color: var(--main); letter-spacing: 1px; }
.am-note { margin: 8px 0 0; font-size: 11px; color: var(--muted); text-align: right; }
@media (max-width: 520px) { .admin-mock { grid-template-columns: 1fr; } .am-nav { display: flex; flex-wrap: wrap; padding: 6px; } .am-nav li { padding: 4px 8px; } .am-nav li.on { border-left: 0; border-bottom: 2px solid #d4121d; padding-left: 8px; } }
