@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --navy: #0f2342;
  --navy-light: #1b3664;
  --gold: #d4a84f;
  --gold-bright: #eab308;
  --gold-light: #fef3c7;
  --line-green: #06c755;
  --bg-cream: #faf8f5;
  --bg-alt: #f2eee7;
  --text-main: #1e293b;
  --text-sub: #475569;
  --white: #ffffff;
}

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

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

a { color: inherit; }

.nobr { display: inline-block; }

/* アニメーション */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes pulseArrow {
  0%, 100% { transform: translateX(0px) scale(1); }
  50% { transform: translateX(5px) scale(1.1); }
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pieceGather1 {
  0%, 100% { transform: translate(-14px, -10px) rotate(-6deg); opacity: 0.75; }
  45%, 70% { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
}
@keyframes pieceGather2 {
  0%, 100% { transform: translate(14px, -10px) rotate(6deg); opacity: 0.75; }
  45%, 70% { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
}
@keyframes pieceGather3 {
  0%, 100% { transform: translate(-12px, 10px) rotate(5deg); opacity: 0.75; }
  45%, 70% { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
}
@keyframes pieceGather4 {
  0%, 100% { transform: translate(12px, 10px) rotate(-5deg); opacity: 0.75; }
  45%, 70% { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
}
@keyframes appSnapIn {
  0%, 35% { transform: scale(0.95); }
  50%, 85% { transform: scale(1.02); box-shadow: 0 8px 28px rgba(212,168,79,0.45); }
  100% { transform: scale(0.95); }
}

.piece-1 { animation: pieceGather1 4.5s ease-in-out infinite; }
.piece-2 { animation: pieceGather2 4.5s ease-in-out infinite; }
.piece-3 { animation: pieceGather3 4.5s ease-in-out infinite; }
.piece-4 { animation: pieceGather4 4.5s ease-in-out infinite; }
.app-snap-box { animation: appSnapIn 4.5s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-anim { animation: floatSlow 4.2s ease-in-out infinite; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.icon-svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ヘッダー */
header {
  background-color: var(--navy);
  color: var(--white);
  padding: 10px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  flex-wrap: wrap;
  gap: 10px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-area img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  border: 2px solid var(--gold);
}

.logo-title-group {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text { font-size: 1.25rem; font-weight: 900; letter-spacing: 0.04em; }
.logo-sub-jp { font-size: 0.72rem; color: var(--gold); font-weight: 700; }

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8eef7;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--gold); }

.nav-line {
  background: var(--line-green);
  color: #fff !important;
  padding: 7px 15px;
  border-radius: 30px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-cta {
  background: linear-gradient(135deg, #f3cd6d, #c89632);
  color: var(--navy) !important;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
}

/* 共通セクション */
section { padding: 64px 5%; }
.bg-alt { background-color: var(--bg-alt); }

.section-header-block {
  text-align: center;
  margin-bottom: 36px;
}

.jp-sub-label {
  display: inline-block;
  background: var(--gold-light);
  color: #92400e;
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.88rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 900;
  line-height: 1.38;
}

.section-desc {
  color: var(--text-sub);
  max-width: 740px;
  margin: 0 auto;
  font-size: 0.98rem;
}

.highlight-marker {
  background: linear-gradient(transparent 55%, #fde047 55%);
  font-weight: 700;
  padding: 0 3px;
}

.recommend-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* ファーストビュー */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0e6 100%);
  padding: 44px 5% 60px;
  border-bottom: 4px solid var(--gold);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-sub {
  display: inline-block;
  background-color: var(--navy);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-sub-gold {
  display: inline-block;
  background-color: var(--gold-light);
  color: #92400e;
  border: 1.5px solid var(--gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 900;
}

.hero h1 span {
  background: linear-gradient(transparent 60%, #fde047 60%);
}

.hero-lead {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.trust-pill {
  background: var(--white);
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 26px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.28);
  transition: transform 0.2s;
}

.btn-line:hover { transform: translateY(-2px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 14px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: var(--white);
  padding: 12px 26px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 24px;
  transition: all 0.2s;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f6d376, #c89632);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-visual {
  text-align: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 370px;
  border-radius: 20px;
  border: 3px solid var(--white);
  box-shadow: 0 14px 34px rgba(15, 35, 66, 0.18);
}

.roid-name-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 10px;
}

/* 1ピースずつ vs パッと1つにまとまるアニメーションステージ */
.puzzle-stage {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 26px rgba(15, 35, 66, 0.08);
}

.puzzle-stage-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 16px;
  align-items: center;
}

.puzzle-side {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.puzzle-side.after {
  background: linear-gradient(180deg, #0f2342 0%, #1b3664 100%);
  border: 2.5px solid var(--gold);
  color: var(--white);
}

.puzzle-pieces-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 280px;
  margin: 14px auto;
}

.puzzle-piece {
  background: var(--white);
  border: 1.5px dashed #94a3b8;
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.unified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 12px;
  max-width: 280px;
  margin: 14px auto;
}

.unified-cell {
  background: rgba(255,255,255,0.96);
  color: var(--navy);
  border-radius: 6px;
  padding: 7px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stage-arrow {
  text-align: center;
  color: var(--gold-bright);
  font-size: 1.8rem;
  font-weight: 900;
  animation: pulseArrow 1.8s ease-in-out infinite;
}

/* コンセプト・3つの方針（人の目で確認） */
.concept-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 6px 24px rgba(15,35,66,0.06);
  border-top: 5px solid var(--navy);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.policy-card {
  background: var(--bg-cream);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
}

.policy-card strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
}

.roid-speech {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-cream);
  padding: 18px 22px;
  border-radius: 14px;
  border: 2px solid var(--gold);
}

.roid-speech img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  background: var(--white);
}

/* 比較ブロック */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.compare-card-old {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
}

.compare-card-new {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
  padding: 30px;
  border-radius: 14px;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(15,35,66,0.12);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* できること5選 */
.cards-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.card-item {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.card-head {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  padding: 10px;
  font-size: 1.05rem;
}

.card-icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 2px solid var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body { padding: 18px 14px; }
.card-main-task { font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 0.95rem; text-align: center; }
.card-sub-task { font-size: 0.85rem; color: var(--text-sub); }

/* シリーズカード */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
  gap: 24px;
}

.detail-card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  border-left: 6px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-card.featured {
  border: 2px solid var(--gold);
  border-left: 8px solid var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
  box-shadow: 0 6px 20px rgba(212, 168, 79, 0.22);
}

.series-card-img-wrap {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
}

.series-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.badge-name {
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 6px;
  font-size: 1.06rem;
}

.badge-target { font-weight: 700; color: var(--navy); font-size: 0.95rem; }

.detail-card p { font-size: 0.92rem; color: var(--text-sub); margin-bottom: 12px; }

.example-box {
  background: var(--bg-cream);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.example-box strong { color: var(--navy); display: block; margin-bottom: 4px; }

.card-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px;
  border-radius: 6px;
  margin-top: 14px;
  border: 1px solid var(--gold);
}

/* 3つの頼み方＆費用・期間目安カード */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.price-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 2px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.popular {
  border: 3px solid var(--gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
  box-shadow: 0 10px 26px rgba(212, 168, 79, 0.25);
}

.price-tag {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  margin: 10px 0 4px;
}

.price-period {
  font-size: 0.86rem;
  font-weight: 700;
  color: #b45309;
  background: var(--gold-light);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* 体験版（インタラクティブ・モックアップ） */
.mockup-frame {
  background: #1e293b;
  padding: 14px;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15, 35, 66, 0.22);
  max-width: 900px;
  margin: 0 auto;
}

.mockup-screen {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.mockup-topbar {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 8px;
}

.mockup-tabs {
  display: flex;
  background: #e2e8f0;
  padding: 8px 12px 0;
  gap: 6px;
  font-size: 0.85rem;
  overflow-x: auto;
}

.mockup-tab {
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  background: #cbd5e1;
  color: #475569;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.mockup-tab.active {
  background: #fff;
  color: var(--navy);
}

.mockup-panel {
  display: none;
  background: #fff;
  padding: 20px;
  overflow-x: auto;
}

.mockup-panel.active {
  display: block;
  animation: fadeInPanel 0.25s ease;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 560px;
}

.mockup-table th {
  background: #f1f5f9;
  color: var(--navy);
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #cbd5e1;
}

.mockup-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-ok { background: #dcfce7; color: #166534; }
.status-warn { background: #fee2e2; color: #991b1b; }
.status-wait { background: #fef9c3; color: #854d0e; }
.status-blue { background: #dbeafe; color: #1e40af; }

/* よくある質問（FAQアコーディオン） */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 20px 24px;
}

.faq-q {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.04rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-q-badge {
  background: var(--navy);
  color: var(--gold);
  padding: 1px 9px;
  border-radius: 6px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-a {
  color: var(--text-sub);
  font-size: 0.94rem;
  padding-left: 34px;
}

/* サポート＆事業の節目（画像サイズ・バランス改善版） */
.support-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-feature-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.milestone-mini-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.milestone-mini-item {
  background: var(--bg-cream);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.84rem;
}

.milestone-mini-item strong {
  color: var(--navy);
  display: inline-block;
  margin-right: 4px;
}

/* チラシ紹介カード */
.flyer-showcase {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  box-shadow: 0 6px 20px rgba(15,35,66,0.06);
}

.flyer-showcase img {
  width: 100%;
  height: auto; /* width/height属性による縦伸びを防ぐ */
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  border: 1px solid #cbd5e1;
}

/* 4つの窓口・運営会社情報ボックス */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.channel-card {
  background: var(--white);
  color: var(--text-main);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  border: 2px solid var(--gold);
}

.channel-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.company-info-box {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.company-table th {
  width: 28%;
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-cream);
  color: var(--navy);
  border-bottom: 1px solid #cbd5e1;
}

.company-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #cbd5e1;
}

/* 下層ページヘッダー */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 46px 5%;
  border-bottom: 4px solid var(--gold);
}

.page-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.page-header-split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.page-header .sub-badge {
  display: inline-block;
  background: rgba(212, 168, 79, 0.22);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.page-header h1 { font-size: 2.25rem; margin-bottom: 12px; font-weight: 900; }
.page-header p { color: #dce4f0; font-size: 0.98rem; }

.series-hero-photo {
  display: flex;
  justify-content: center;
}

.series-hero-photo img {
  width: 100%;
  max-width: 290px;
  border-radius: 18px;
  border: 3px solid var(--gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  background: var(--white);
}

/* 失注リスク vs 守れる売上 */
.loss-gain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.loss-box {
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  border-radius: 12px;
  padding: 24px;
}

.loss-box-title {
  color: #c53030;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.gain-box {
  background: linear-gradient(180deg, #fffff5 0%, #fef9c3 100%);
  border: 2.5px solid var(--gold);
  border-radius: 12px;
  padding: 24px;
}

.gain-box-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* 使い方ガイドステップ */
.guide-step {
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  align-items: start;
  border-left: 6px solid var(--navy);
}

.step-time {
  background: var(--bg-cream);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.step-time span { display: block; font-size: 0.8rem; color: var(--text-sub); font-weight: 700; }
.step-time strong { font-size: 1.1rem; color: var(--navy); }

/* フォーム */
.form-wrapper {
  background: var(--white);
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 5px solid var(--gold);
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.required { background: #c0392b; color: #fff; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.form-group textarea { min-height: 130px; }
.btn-submit {
  width: 100%; background: var(--navy); color: var(--white); border: 2px solid var(--gold);
  padding: 16px; font-size: 1.1rem; font-weight: 700; border-radius: 8px; cursor: pointer;
}

/* クロージングCTA＆フッター */
.cta-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  border-top: 5px solid var(--gold);
}

.cta-section h2 { font-size: 1.9rem; color: var(--gold); margin-bottom: 10px; }
.cta-sub { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.cta-desc { max-width: 680px; margin: 0 auto 24px; color: #e0e6f0; font-size: 0.96rem; }

footer {
  background: #091529;
  color: #aab6c8;
  text-align: center;
  padding: 36px 5%;
  font-size: 0.88rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gold);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a { color: #dce4f0; text-decoration: none; }
footer a.corp-link { color: var(--gold); text-decoration: none; }

@media (max-width: 768px) {
  .hero-inner, .support-split-grid, .guide-step, .flyer-showcase, .page-header-split, .puzzle-stage-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 1.92rem; }
  .stage-arrow { transform: rotate(90deg); }
  .milestone-mini-list { grid-template-columns: 1fr; }
  .flyer-showcase img, .series-hero-photo img { max-width: 250px; margin: 0 auto; }
  .form-wrapper { padding: 24px; }
}

/* === V13 チラシの温かみ・イラスト復帰・5つの動作アイコン・余白調整 === */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, .section-title, .section-desc, .hero-lead, .cta-desc {
  text-wrap: balance;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

p, li, dd, dt, td, th, .plan-desc, .support-desc, .flyer-desc, .faq-a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-h1-nowrap {
  white-space: nowrap;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.16s ease, transform 0.16s ease !important;
}

/* 冒頭：チラシ中央のタブレット＆案内役イラスト */
.hero-tablet-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-tablet-img {
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.hero-tablet-caption span {
  display: inline-block;
  background: #fffdf5;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

/* チラシ下段の5つのアイコン横並び */
.five-actions-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.five-action-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.five-action-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.five-action-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

/* デモ直下の相談ボタン */
.demo-cta-row {
  text-align: center;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* 統合セクション：短い導入文＋案内役メッセージ吹き出し＋比較欄 */
.section-title-left {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.philosophy-prose {
  max-width: 660px;
}

.philosophy-prose p {
  margin: 0 0 14px;
  line-height: 1.75;
}

.helper-bubble {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0 20px;
}

.helper-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: #fff;
}

.helper-title {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.merged-compare {
  margin-top: 24px;
}

.compare-card-old h3,
.compare-card-new h3 {
  margin: 0 0 16px;
}

.compare-card-old {
  border: 1px solid #cbd5e1 !important;
  background: #f8fafc !important;
}

.compare-badge-old {
  background: #64748b;
  color: #fff;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.compare-card-new {
  border: 2px solid var(--gold) !important;
  background: #fffdf5 !important;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.compare-icon-x {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 3px;
}

.compare-icon-check {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 3px;
}

/* シリーズ3枚：案内役イラスト復帰・型統一 */
.series-uniform-grid {
  align-items: stretch;
}

.series-uniform-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
}

.series-card-body {
  display: flex;
  flex-direction: column;
}

.series-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.series-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  background: #f8fafc;
}

.series-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.series-industry {
  font-size: 0.84rem;
  color: #475569;
  font-weight: 600;
  margin: 0 0 6px;
}

.series-uniform-card h3 {
  margin: 0 0 8px;
}

.series-uniform-card p {
  margin: 0 0 16px;
  line-height: 1.65;
}

.center-action {
  text-align: center;
  margin-top: 24px;
}

/* 料金カード */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.popular {
  border: 2px solid var(--gold) !important;
  background: #fffdf5 !important;
}

.plan-label {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.price-monthly {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 6px;
}

.price-monthly span,
.price-tag span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #475569;
}

.price-annual-example {
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 6px;
  margin: 6px 0 10px;
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.price-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 16px;
}

.pricing-buyout-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.65;
}

/* サポート欄・チラシ欄の余白調整 */
.support-split-grid {
  align-items: stretch;
}

.support-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-desc {
  font-size: 0.93rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.support-btn {
  text-align: center;
  margin-top: 18px;
}

.flyer-content h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin: 0 0 10px;
}

.flyer-desc {
  font-size: 0.94rem;
  color: var(--text-sub);
  margin: 0 0 20px;
  line-height: 1.7;
}

.flyer-btn {
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* 窓口4つ：LINE枠の幅を少し狭めて文字とQRの間隔を詰める */
.contact-channels-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.channel-card-line-lead {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 18px 22px;
  border: 2px solid var(--line-green) !important;
  background: #f3fbf6 !important;
  text-align: left;
}

.line-lead-badge {
  display: inline-block;
  background: var(--line-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.line-lead-info {
  flex: 1 1 auto;
  min-width: 0;
}

.line-lead-info p {
  margin: 6px 0 12px;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.line-id-inline {
  white-space: nowrap;
}

.line-lead-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  font-size: 0.92rem;
}

.line-lead-qr {
  flex-shrink: 0;
}

.line-lead-qr img {
  width: 116px;
  height: 116px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.contact-sub-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-sub {
  font-size: 0.84rem;
  color: var(--text-sub);
  margin: 6px 0 10px;
}

.phone-link {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  margin: 4px 0;
}

.phone-note {
  font-size: 0.78rem;
  color: #475569;
}

.mail-link {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  margin-top: 4px;
}

.channel-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.company-info-box {
  text-align: left;
  color: var(--text-main);
}

.company-info-box h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
}

@media (max-width: 767px) {
  header {
    padding: 10px 14px;
    gap: 8px;
  }

  nav.main-nav {
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }

  nav.main-nav a {
    font-size: 0.82rem;
    padding: 6px 8px;
  }

  .hero {
    padding: 28px 16px 36px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .five-actions-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .contact-sub-three,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .channel-card-line-lead {
    flex-direction: column;
    align-items: flex-start;
  }

  .line-id-inline {
    white-space: normal;
  }

  .line-lead-qr {
    align-self: center;
  }

  .mockup-table {
    min-width: 520px;
  }
}


/* === V14 FV画像拡大（半面サイズ）・LINE枠の幅縮小＆ID改行整形 === */
.hero-inner {
  grid-template-columns: 0.95fr 1.15fr !important;
  gap: 28px !important;
  align-items: center !important;
}

.hero-tablet-visual {
  width: 100%;
  max-width: 100%;
}

.hero-tablet-img {
  width: 100% !important;
  max-width: 660px !important;
  border-radius: 16px;
}

.channel-card-line-lead {
  max-width: 580px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.line-lead-desc {
  margin: 6px 0 12px;
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.line-id-block {
  display: block;
  margin-top: 4px;
  font-size: 0.96rem;
  color: var(--navy);
  white-space: nowrap;
}

.line-id-block strong {
  display: inline !important;
  font-size: 1.05rem;
  color: var(--navy);
  margin-left: 2px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .channel-card-line-lead {
    max-width: 100%;
  }

  .line-id-block {
    white-space: normal;
  }
}


/* === V15 線画アイコン5点・カード内折り返し自然化 === */
.five-action-item {
  padding: 16px 10px;
  gap: 6px;
}

.five-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.five-action-icon svg {
  width: 22px;
  height: 22px;
}

.five-action-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.five-action-sub {
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.4;
}

.policy-card strong {
  display: block;
  margin-bottom: 6px;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.policy-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .five-actions-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* === V16 FVレイアウト調整（左側コンパクト化・画像列拡大・枠と影なし） === */
.hero-inner {
  max-width: 1220px !important;
  grid-template-columns: 0.78fr 1.22fr !important;
  gap: 24px !important;
  align-items: center !important;
}

.hero-copy-col {
  min-width: 0;
}

.hero-trust-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 18px !important;
}

.hero-trust-pills .trust-pill {
  padding: 5px 10px !important;
  font-size: 0.8rem !important;
  white-space: nowrap;
}

.hero-cta-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.hero-cta-group a {
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
}

.hero-tablet-visual {
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-tablet-img {
  width: 100% !important;
  max-width: 740px !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
  }

  .hero-trust-pills .trust-pill,
  .hero-cta-group a {
    white-space: normal;
  }
}


/* === V17 のーとページ（福祉・保育・介護統一版）スタイル === */
.note-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.note-hero-img {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
}

.note-compact-card h3,
.note-step-card h3 {
  margin: 6px 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
}

.note-compact-card p,
.note-step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.note-screen-frame {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.note-ui-shot {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.note-ui-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.note-ui-caption {
  margin: 12px 0 0;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #0369a1;
  line-height: 1.65;
}

.note-screen-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-sub);
  margin: 10px 0 0;
}

.note-five-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.note-type-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px 14px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, transform 0.2s;
}

.note-type-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.note-type-target {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.note-type-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
}

.note-type-card p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.note-type-go {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
}

.note-adjust-lead {
  max-width: 680px;
  margin: 0 0 18px;
  line-height: 1.75;
}

.note-adjust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.note-options-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.note-option-row {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.note-option-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-option-info strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.note-option-info span {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.btn-sm-link {
  flex-shrink: 0;
  padding: 9px 16px !important;
  font-size: 0.86rem !important;
  margin-top: 0 !important;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .note-five-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .note-five-grid,
  .note-adjust-grid {
    grid-template-columns: 1fr;
  }

  .note-option-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* === V19 のーと詳細ページ内「ふりかえり」ブロック === */
.furikaeri-box {
  background: #f5f8f6;
  color: #182a30;
  border: 1px solid #c4d8cf;
  border-radius: 18px;
  padding: clamp(20px, 4vw, 38px);
  margin: 24px auto 0;
  max-width: 960px;
  line-height: 1.85;
}

.furikaeri-box .fr-tag {
  display: inline-block;
  font-size: 12px;
  color: #796020;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.furikaeri-box .fr-main-heading {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  margin: 10px 0 14px;
  color: #18364a;
  border-left: 4px solid #235449;
  padding-left: 14px;
}

.furikaeri-box .fr-lead {
  margin: 0 0 18px;
  font-size: 0.96rem;
}

.furikaeri-box .fr-screen h4 {
  color: #235449;
  font-size: 18px;
  margin: 0 0 6px;
}

.furikaeri-box .fr-note {
  font-size: 13px;
  color: #42564d;
  margin: 6px 0 12px;
}

.furikaeri-box .fr-screen-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c4d8cf;
  border-radius: 12px;
  background: #ffffff;
}

.furikaeri-box .fr-open-link {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.furikaeri-box .fr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.furikaeri-box .fr-card {
  background: #ffffff;
  border: 1px solid #d8e2dc;
  border-radius: 12px;
  padding: 18px;
}

.furikaeri-box .fr-card h4 {
  color: #235449;
  font-size: 16px;
  margin: 0 0 8px;
}

.furikaeri-box .fr-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.furikaeri-box .fr-body-note {
  margin: 10px 0 14px;
  font-size: 0.94rem;
}

.furikaeri-box .fr-accordions {
  margin: 18px 0 14px;
}

.furikaeri-box details {
  padding: 12px 0;
  border-top: 1px solid #d1ded6;
}

.furikaeri-box summary {
  cursor: pointer;
  font-weight: 700;
  color: #18364a;
}

.furikaeri-box details p {
  margin: 10px 0 4px;
  font-size: 0.92rem;
}

.furikaeri-box a {
  color: #235449;
  font-weight: 700;
  text-decoration: underline;
}

.furikaeri-box .fr-quote-link {
  margin: 10px 0 0;
}

@media (max-width: 767px) {
  .furikaeri-box .fr-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   FV（冒頭）: 大きな画像＋濃紺グラデーションのカード型  [v25 追加]
   対象: .hero.hero--photo（トップ・のーと） / .page-header.page-header--photo（各サービス）
   画像を替えるときは、各HTMLの冒頭の <img src="..."> だけを書き換えてください。
   ===================================================================== */
body .hero.hero--photo,
body .page-header.page-header--photo {
  background: var(--bg-cream) !important;
  padding: 22px 22px 10px !important;
  border-bottom: 0 !important;
}
body .hero--photo .hero-inner,
body .page-header--photo .page-header-split {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  grid-template-columns: none !important;
  max-width: 1240px !important;
  min-height: clamp(460px, 44vw, 580px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy) !important;
  box-shadow: 0 18px 44px rgba(15, 35, 66, 0.22);
  isolation: isolate;
}
/* 画像: 右側いっぱいに敷く */
body .hero--photo .hero-visual,
body .page-header--photo .series-hero-photo {
  position: absolute !important;
  top: 0; right: 0; bottom: 0; left: auto;
  width: 64% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  z-index: 0;
}
body .hero--photo .hero-visual img,
body .page-header--photo .series-hero-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 16% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
  animation: none !important;
  transform: none !important;
}
body .note-hero.hero--photo .hero-visual img { object-position: 62% 30% !important; }
/* 文字を読みやすくする濃紺のグラデーション */
body .hero--photo .hero-inner::after,
body .page-header--photo .page-header-split::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #0f2342 0%, #0f2342 38%,
    rgba(15, 35, 66, 0.9) 47%,
    rgba(15, 35, 66, 0.45) 60%,
    rgba(15, 35, 66, 0) 76%);
}
/* 文章の列 */
body .hero--photo .hero-copy-col,
body .page-header--photo .page-header-split > div:first-child {
  position: relative !important;
  z-index: 2;
  width: 100% !important;
  max-width: min(580px, 52%) !important;
  padding: 52px 20px 52px 56px !important;
  margin: 0 !important;
  text-align: left !important;
  color: #fff;
}
body .hero--photo h1,
body .page-header--photo h1 {
  color: #fff !important;
  font-size: clamp(1.7rem, 3.3vw, 2.6rem) !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em;
  margin-bottom: 18px !important;
}
body .hero--photo h1 span { background: none !important; padding: 0 !important; }
body .hero--photo h1 .highlight-marker {
  background: linear-gradient(transparent 86%, rgba(243, 205, 109, 0.75) 86%) !important;
}
body .hero--photo .hero-lead,
body .page-header--photo .page-header-split p {
  color: #e6edf7 !important;
  font-size: 1rem !important;
  line-height: 1.95 !important;
  max-width: 30em;
}
body .hero--photo .hero-badge-row { justify-content: flex-start !important; margin-bottom: 14px !important; }
body .hero--photo .hero-sub {
  background: transparent !important;
  color: #f3cd6d !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.12em;
}
body .hero--photo .hero-trust-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 18px 0 24px !important;
}
body .hero--photo .trust-pill {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #fff !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
body .hero--photo .hero-cta-group {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}
body .hero--photo .hero-cta-group a { width: auto !important; flex: 0 1 auto !important; justify-content: center; }
body .hero--photo .btn-primary {
  background: linear-gradient(135deg, #f3cd6d, #c89632) !important;
  color: #0f2342 !important;
  border-color: transparent !important;
}
body .hero--photo .btn-primary svg { stroke: #0f2342; }

/* スマホ・縦長画面: 画像を上、文章を下に */
@media (max-width: 820px) {
  body .hero.hero--photo,
  body .page-header.page-header--photo { padding: 12px 12px 6px !important; }
  body .hero--photo .hero-inner,
  body .page-header--photo .page-header-split {
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    border-radius: 18px;
  }
  body .hero--photo .hero-inner::after,
  body .page-header--photo .page-header-split::after { display: none; }
  body .hero--photo .hero-visual,
  body .page-header--photo .series-hero-photo {
    position: relative !important;
    order: -1;
    width: 100% !important;
    height: 64vw !important;
    max-height: 380px !important;
  }
  body .hero--photo .hero-visual::after,
  body .page-header--photo .series-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 35, 66, 0) 58%, #0f2342 100%);
  }
  body .hero--photo .hero-copy-col,
  body .page-header--photo .page-header-split > div:first-child {
    max-width: none !important;
    padding: 14px 20px 28px !important;
  }
  body .hero--photo h1,
  body .page-header--photo h1 { font-size: clamp(1.5rem, 6.4vw, 2.1rem) !important; }
  body .hero--photo .hero-cta-group a { flex: 1 1 100% !important; }
}


/* === [v31 追加] 4サービス（つどい・おくり・おかえり・あずかり） === */
.four-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.four-svc-card { display: flex; flex-direction: column; justify-content: space-between; }
.four-svc-card .badge-target { display: inline-block; margin-top: 10px; }
.four-svc-card h3 { margin: 8px 0 6px; font-size: 1.2rem; color: var(--navy); font-weight: 900; }
.four-svc-card p { font-size: 0.88rem; line-height: 1.7; margin: 0 0 12px; }
.four-svc-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.four-svc-demo { font-size: 0.84rem; font-weight: 700; color: var(--navy); text-align: center; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .four-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .four-services-grid { grid-template-columns: 1fr; } }
.four-svc-card .series-card-img-wrap { aspect-ratio: 3 / 2; height: auto; }
.four-svc-card .series-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
#new-services .series-card-img-wrap img { object-position: 75% center; }
