:root {
  --navy: #141A3D;
  --navy-2: #1C2550;

  --accent: #DD762C;
  --accent-cta: #EF8838;
  --btn-hover: #CC6821;

  --bg: #FAF9F7;
  --white: #FFFFFF;

  --gray-text: #E9E6E1;
  --border-light: rgba(255, 255, 255, .16);

  --ink: #24282D;
  --ink-muted: #70757A;

  --line: #E5E1DC;

  /* --navy: #0B2A4A;
  --navy-2: #123558;
  --accent: #e67e22;
  --accent-cta: #F28C28;
  --btn-hover: #D96F14; */
  /* --bg: #F8F6F2;
  --white: #FFFFFF;
  --gray-text: #DCE5EF;
  --border-light: rgba(255, 255, 255, .16);

  --ink: #22384D;
  --ink-muted: #667788;
  --line: #E6E0D5; */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--btn-hover);
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 共通レイアウト ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.45;
}

.section-lead {
  font-size: 16px;
  margin-top: 18px;
  color: var(--ink-muted);
}

.on-dark .section-title {
  color: var(--white);
}

.on-dark .section-lead {
  color: var(--gray-text);
}

#pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--ink-muted);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 9999;
}

#pagetop.show {
  opacity: 1;
  visibility: visible;
}

#pagetop:hover {
  opacity: 0.8;
}

/* ---------- 右端CTA（追従） ---------- */
.side-cta {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 60;
  writing-mode: vertical-rl;
  background: var(--accent-cta);
  color: var(--navy);
  font-weight: 900;
  padding: 28px 15px;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 6px 22px rgba(35, 56, 78, .28);
  display: flex;
  align-items: center;
}

.side-cta:hover {
  background: var(--btn-hover);
  color: var(--navy);
}

.side-cta .icon {
  writing-mode: horizontal-tb;
  font-size: 20px;
}

/* ---------- ヘッダー（追従） ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.logo-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .01em;
  color: var(--navy);
}

.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.nav a:hover {
  color: var(--accent);
}

.btn-header {
  background: var(--accent-cta);
  color: var(--navy);
  font-weight: 900;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(216, 165, 74, .35);
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--btn-hover);
  color: var(--navy);
}

/* ---------- ヒーロー ---------- */
/* .hero {
  position: relative;
  height: 800px;
  overflow: hidden;
  background: var(--bg);
} */

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
}

.hero .slab-navy {
  position: absolute;
  inset: 0;
  background: var(--navy);
  clip-path: polygon(0px 0px, 100% 0px, 100% 78%, 0px 100%);
}

.hero .slab-navy-2 {
  position: absolute;
  inset: 0;
  background: var(--navy-2);
  clip-path: polygon(0 78%, 100% 36%, 100% 58%, 0 100%);
}

.hero .slab-accent {
  position: absolute;
  inset: 0;
  background: var(--accent);
  clip-path: polygon(0 99%, 100% 76%, 100% 80%, 0 100%);
}

.hero-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(600px, 800px);
  /* grid-template-columns: minmax(400px, 1fr) minmax(600px, 800px); */
  gap: 40px;
  padding: 0px 0px 60px 20px;
  /* padding-bottom: 60px; */
  /* align-items: start; */
}

.hero-copy {
  min-width: 0;
  padding-top: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(200, 154, 74, .16);
  border: 1px solid var(--border-light);
  color: var(--accent-cta);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-weight: 900;
  font-size: 60px;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 12px;
}

.hero h1.accent {
  color: var(--accent);
  margin-bottom: 30px;
}

.hero-text {
  font-size: 17px;
  line-height: 1.95;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  /* flex-wrap: wrap; */
}

.btn-accent {
  background: var(--accent-cta);
  color: var(--navy);
  font-weight: 900;
  font-size: 17px;
  padding: 18px 33px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(216, 165, 74, .4);
}

.btn-accent:hover {
  background: var(--btn-hover);
  color: var(--navy);
}

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-weight: 900;
  font-size: 17px;
  padding: 18px 33px;
  border-radius: 10px;
  border: 1.5px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .2);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-width: 0;
  animation: floatUp 3s ease .15s both;
  /* align-items: center; */
}

.image-box {
  position: relative;
  display: inline-block;
  margin: 20px 0px 40px 0px;
}

.image-box img {
  display: block;
  width: 100%;
  height: auto;
}

.image-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.image-text {
  font-size: 16px;
  /* font-weight: 700; */
  margin: 0 0 8px;
}

.count {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.count span {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}

.count small {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.note {
  font-size: 13px;
  margin-top: 8px;
  opacity: .8;
}

/* ---------- 課題提起 ---------- */
.bubbles {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
}

.bubble {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 32px;
  max-width: 640px;
  box-shadow: 0 6px 20px rgba(35, 56, 78, .07);
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
}

.bubble:nth-child(even) {
  align-self: flex-end;
}

.bubble::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 46px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.bubble:nth-child(even)::after {
  left: auto;
  right: 46px;
}

.bubble .face {
  /* flex: none; */
  width: 55px;
  /* border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; */
}

.bubble p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy);
}

.problems {
  background: var(--bg);
}

.problems-cta {
  margin-top: 48px;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.7;
}

.problems-cta span {
  color: var(--accent);
}

/* ---------- サービス内容 ---------- */
.service {
  background: var(--navy);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 30px;
}

.service-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.service-card .ic {
  font-size: 34px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  /* border-bottom: solid 1px var(--accent); */
}

.service-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-text);
}

.service-card .watermark {
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: rgba(200, 154, 74, 0.137);
}

.rpSide {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin: 40px 0px 40px 0px;
}

.rpSide .label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.rpSide h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.rpSide p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--gray-text);
}

.rpSide p strong {
  color: var(--accent);
  font-weight: 700;
}

.rpSide .cap {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 12px;
}


/* ============ 案C 左右分割・データベース像 ============ */
.aboutC {
  background: var(--navy);
}

.aboutC-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 48px;
  padding-top: 50px;
}

.aboutC-txt .tag {
  display: inline-flex;
  background: rgba(216, 165, 74, .16);
  border: 1px solid var(--border-light);
  color: var(--accent-cta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.aboutC-txt h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 20px;
}

.aboutC-txt h3 span {
  color: var(--accent-cta);
}

.aboutC-txt p {
  font-size: 16px;
  line-height: 2;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.aboutC-txt .stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.aboutC-txt .stats .v {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-cta);
  line-height: 1;
}

.aboutC-txt .stats .l {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 8px;
}

.aboutC-diagram {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px 34px;
}

.aboutC-db {
  background: var(--accent-cta);
  color: var(--navy);
  border-radius: 12px;
  padding: 22px 26px;
  text-align: center;
}

.aboutC-db .name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.aboutC-db .sub {
  font-size: 12px;
  font-weight: 700;
}

.aboutC-pipe {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
}

.aboutC-pipe .line {
  width: 2px;
  height: 20px;
  background: rgba(216, 165, 74, .5);
}

.aboutC-pipe .chip {
  background: rgba(216, 165, 74, .18);
  border: 1px solid rgba(216, 165, 74, .5);
  color: var(--gold-cta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 7px 18px;
  border-radius: 999px;
  margin: 6px 0;
}

.aboutC-sites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.aboutC-site {
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.aboutC-site .bar {
  height: 20px;
  background: rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.aboutC-site .bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(216, 165, 74, .7);
}

.aboutC-site .body {
  padding: 14px 10px;
  text-align: center;
}

.aboutC-site .body .ic {
  font-size: 18px;
  margin-bottom: 6px;
}

.aboutC-site .body .t {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

.aboutC-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.aboutC-point {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 28px;
}

.aboutC-point .ic {
  font-size: 26px;
  margin-bottom: 14px;
}

.aboutC-point h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.5;
}

.aboutC-point p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-text);
}

/* ---------- リアプロ連携の仕組み ---------- */
.flow-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px 20px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: sans-serif;
}

.flow-title {
  text-align: center;
  font-size: 20px;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 30px;
}

.flow-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flow-text {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 30px;
  text-decoration: underline;
  text-decoration-color: var(--accent-cta);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* カード共通 */
.flow-card {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-muted);
  color: var(--white);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: bold;
  white-space: nowrap;
}

.card-title {
  font-weight: bold;
  font-size: 16px;
  color: var(--navy);
  margin: 20px;
}

.card-text {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #475569;
  text-align: left;
  display: inline-block;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.arrow-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.arrow-text .badge {
  background: var(--navy-2);
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 12px;
}

.arrow-text .sub-text {
  font-size: 12px;
  color: var(--navy);
  font-weight: bold;
}

.arrow-line {
  position: relative;
  width: 100%;
  height: 4px;
  background: var(--navy-2);
  margin: 12px 0;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -5px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--navy-2);
}


/* ---------- 選ばれる理由 ---------- */
.reasons {
  background: var(--white);
}

.reason-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.reason-row:last-child {
  border-bottom: none;
}

.reason-row .no {
  font-family: 'Noto Serif JP', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: .9;
}

.reason-row h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.reason-row p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-muted);
  max-width: 780px;
}

/* 
.rpSide {
  background-color: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
}
.rpSide .label {
  font-size: 11px; font-weight: 900; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 8px;
}
.rpSide h4 {
  font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.rpSide p { font-size: 14px; line-height: 1.95; color: var(--ink-muted); }
.rpSide p + p { margin-top: 10px; }
.rpSide p strong { color: var(--navy); font-weight: 900; }

.rpSide .diagram {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: 0; margin-top: 20px;
}
.rpSide .diagram .node {
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  padding: 18px 14px; text-align: center;
}
.rpSide .diagram .node.mid { background: var(--navy); border-color: var(--navy); }
.rpSide .diagram .node .ic { font-size: 22px; margin-bottom: 8px; }
.rpSide .diagram .node .t { font-size: 13px; font-weight: 900; color: var(--navy); line-height: 1.5; }
.rpSide .diagram .node.mid .t { color: var(--white); }
.rpSide .diagram .node .s { font-size: 11px; color: var(--ink-muted); line-height: 1.6; margin-top: 5px; }
.rpSide .diagram .node.mid .s { color: var(--gray-text); }
.rpSide .diagram .ar {
  display: flex; align-items: center; justify-content: center;
  width: 34px; font-size: 14px; font-weight: 900; color: var(--gold-text);
}
.rpSide .cap { font-size: 12px; color: var(--ink-muted); margin-top: 12px; } */


/* ---------- 表示イメージ ---------- */
.preview {
  background: var(--bg);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(35, 56, 78, .07);
}

.preview-shot {
  margin: 30px 20px 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer !important;
  transition: transform .2s, box-shadow .2s;
  /* box-shadow: 0 10px 24px rgba(35, 56, 78, .14); */
}

.preview-shot img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.preview-shot:hover {
  transform: translateY(-5px);
}

.preview-body {
  padding: 22px 26px 28px;
}

.preview-body .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 8px;
}

.preview-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.preview-body p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

/* ---------- 画像モーダル ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(11, 25, 40, .86);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: translateY(16px) scale(.98);
  transition: transform .25s;
}

/* .modal-box {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: translateY(16px) scale(.98);
  transition: transform .25s;
} */

.modal-box img {
  display: block;
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.modal.open .modal-box {
  transform: translateY(0) scale(1);
}

/* .modal-bar {
  height: 38px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  flex: none;
}

.modal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.modal-bar .d1 {
  background: var(--gold);
}

.modal-bar .d2,
.modal-bar .d3 {
  background: rgba(255, 255, 255, .28);
}

.modal-img {
  background: #E7E1D6;
  min-height: 300px;
  flex: 1;
  overflow: auto;
}

.modal-img .mk-placeholder {
  min-height: 460px;
} */

.modal-cap {
  padding: 24px 30px;
  border-top: 1px solid var(--line);
  flex: none;
}

.modal-cap .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 6px;
}

.modal-cap h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-cap p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--accent-cta);
  color: var(--navy);
  border-color: var(--accent-cta);
}

body.modal-open {
  overflow: hidden;
}

/* ---------- 料金 ---------- */
.camp-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--navy);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 16px 28px;
  margin-bottom: 34px;
}

.camp-banner .flag {
  background: var(--accent-cta);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.camp-banner .msg {
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
}

.camp-banner .msg strong {
  color: var(--accent);
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
}

.camp-banner .term {
  font-size: 13px;
  color: var(--gray-text);
}

.was {
  text-decoration: line-through;
  opacity: .55;
}

.price {
  background: var(--white);
}

.price-inner {
  max-width: 900px;
  margin: 0 auto;
}

.price-rows {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(35, 56, 78, .08);
  margin-bottom: 30px;
}

.price-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.is-camp .rlabel {
  background: rgba(200, 154, 74, .12);
}

.price-row .rlabel {
  background: var(--bg);
  padding: 28px 30px;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  height: 100%;
  display: flex;
  align-items: center;
}

.price-row .rvalue {
  font-family: 'Noto Serif JP', serif;
  padding: 28px 34px;
}

.price-row .rvalue .value-small {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-right: 12px;
}

.price-row .rvalue .value {
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-row .rvalue .free {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.price-row .rvalue .unit {
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
  margin-left: 4px;
}

.price-row .rvalue .memo {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 8px;
}

.price-incl {
  background: var(--navy);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 30px;
}

.price-incl .head {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.price-incl .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 34px;
}

.price-incl .grid div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
}

.price-incl .check {
  color: var(--accent);
  font-weight: 900;
  flex: none;
}

.price-cta {
  text-align: center;
}

.price-cta .btn {
  display: inline-block;
  background: var(--accent-cta);
  color: var(--navy);
  font-weight: 900;
  font-size: 18px;
  padding: 19px 52px;
  border-radius: 11px;
  box-shadow: 0 10px 26px rgba(216, 165, 74, .4);
}

.price-cta .btn:hover {
  background: var(--btn-hover);
  color: var(--navy);
}

.price-cta .note {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 16px;
}


/* ---------- 流れ ---------- */
.flow {
  background: var(--bg);
}

.flow-inner {
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.flow-step .num {
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 23px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(35, 56, 78, .25);
}

.flow-step .body {
  flex: 1;
  padding-top: 6px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.flow-step:last-child .body {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.flow-step h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.faq-q .q-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-q .q-mark {
  font-family: 'Noto Serif JP', serif;
  color: var(--accent);
  font-weight: 900;
  font-size: 20px;
}

.faq-q .q-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.faq-q .toggle {
  flex: none;
  color: var(--navy);
  font-size: 22px;
  transition: transform .25s;
}

.faq-item.open .faq-q .toggle {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-a {
  max-height: 320px;
}

.faq-a p {
  padding: 0 28px 26px 66px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
}

/* ---------- 問い合わせ ---------- */
.contact {
  padding: 100px 32px;
  background: var(--navy);
  color: var(--white);
}

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--white);
}

.contact h2 span {
  color: var(--accent);
}

.contact-lead {
  font-size: 17px;
  line-height: 2;
  color: var(--gray-text);
  margin: 0 auto 44px;
  max-width: 640px;
}

.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 48px;
  text-align: left;
  color: var(--navy);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field label,
.form-full label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 8px;
}

.form-field label span,
.form-full label span {
  color: var(--accent);
}

.form-field input,
.form-full textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D6D0C4;
  border-radius: 9px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
}

.form-field input:focus,
.form-full textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-full {
  margin-bottom: 28px;
}

.form-full textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--accent-cta);
  color: var(--navy);
  font-weight: 900;
  font-size: 18px;
  padding: 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(216, 165, 74, .4);
  font-family: inherit;
}

.form-submit:hover {
  background: var(--btn-hover);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 16px;
}

.form-note a {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

/* ---------- フッター ---------- */
.footer {
  background: var(--navy-2);
  color: #9BAABA;
  padding: 56px 32px 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col .head {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-col .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col .links a {
  color: #9BAABA;
}

.footer-col .links a:hover {
  color: var(--accent);
}

.footer-copy {
  padding-top: 24px;
  font-size: 13px;
  color: #6E8093;
}

.footer-info .info-list {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: #9BAABA;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-info .info-list p {
  margin: 0;
}

.footer-info .company-name {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}

@media (max-width: 1299px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0px 80px 50px;
    gap: 10px;
    align-items: center;
  }
}

/* レスポンシブ：タブレット */
@media (max-width: 1024px) {

  /* 共通 */
  .problems-grid,
  .service-grid,
  .preview-grid,
  .pricing-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 24px;
  }

  .section-title {
    font-size: 30px;
  }

  /* ヘッダー */
  .nav {
    display: none;
  }

  /* ヒーロー */
  .hero {
    min-height: auto;
  }

  /* .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0px 80px 50px;
    gap: 10px;
    align-items: center;
  } */

  .hero h1 {
    font-size: 42px;
  }

  .count span {
    font-size: 40px;
  }

  .btn-accent {
    font-size: 15px;
    padding: 20px;
  }

  .btn-ghost {
    font-size: 15px;
    padding: 20px;
  }

  /* 選ばれる理由 */
  .reason-row {
    grid-template-columns: 68px 1fr;
    gap: 20px;
  }
}

/* レスポンシブ：スマホ */
@media (max-width: 767px) {

  /* ヘッダー */
  .header-inner {
    padding: 0 18px;
    height: 68px;
  }

  .logo-icon {
    display: none;
  }

  .logo-text {
    font-size: 17px;
  }

  .btn-header {
    font-size: 13px;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(216, 165, 74, .35);
    white-space: nowrap;
  }

  /* 右側cta */
  .side-cta {
    font-size: 13px;
    padding: 20px 11px;
    letter-spacing: .1em;
  }

  /* ヒーロー */
  .hero-inner {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    width: 80%;
  }

  .image-box {
    padding: 20px;
  }

  .count span {
    font-size: 33px;
  }

  .btn-accent,
  .btn-ghost {
    font-size: 18px;
    text-align: center;
  }

  /* 料金 */
  .price-row {
    grid-template-columns: 1fr;
  }

  .price-row .rlabel {
    padding: 18px 24px;
  }

  .price-incl .grid {
    grid-template-columns: 1fr;
  }

  /* 課題提起 */
  .bubble {
    max-width: 100%;
  }

  .contact h2 {
    font-size: 28px;
  }

  /* 画像モーダル */
  .modal {
    padding: 10px;
  }

  .modal-box {
    width: 100%;
    /* max-width: none;
    max-height: 100vh; */
  }

  .modal-close {
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .modal-cap {
    padding: 18px 20px;
  }

  .modal-cap h3 {
    font-size: 16px;
  }

  .modal-cap p {
    font-size: 12px;
  }


  /* サービス内容 */
  .flow-container {
    width: 80%;
  }

  .flow-wrapper {
    flex-direction: column;
  }

  .flow-card {
    width: 80%;
    box-sizing: border-box;
  }

  .flow-arrow {
    padding-bottom: 20px;
  }

  .arrow-line {
    width: 4px;
    height: 30px;
    margin: 8px 0;
  }

  .arrow-line::after {
    right: -5px;
    top: auto;
    bottom: -10px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid var(--navy-2);
  }

  /* 問い合わせ */
  .form-card {
    padding: 32px 24px;
  }

  /* フッター */
  .footer-top {
    flex-direction: column;
  }
}