/* ========================================
   アクアボルテックス LP - Style Sheet
   ========================================

   Table of Contents:
   1. CSS Variables & Reset
   2. Base & Typography
   3. Layout & Container
   4. Header / Navigation
   5. Hero Section
   6. Section Common
   7. Features (3つの特長)
   8. Recommend (こんな方におすすめ)
   9. About (アクアボルテックスとは)
   10. Reasons (選ばれている理由)
   11. Installation (工事について)
   12. Cost (費用の考え方)
   13. Voices (お客様の声)
   14. FAQ (よくあるご質問)
   15. Flow (導入までの流れ)
   16. Final CTA
   17. Footer
   18. Buttons
   19. Animations
   20. Responsive (Tablet)
   21. Responsive (Mobile)
   22. Utility
======================================== */

/* ----------------------------------------
   1. CSS Variables & Reset
---------------------------------------- */
:root {
  --color-bg: #F8FBFE;
  --color-white: #FFFFFF;
  --color-text: #1F2937;
  --color-text-secondary: #4B5563;
  --color-primary: #123D83;
  --color-light: #DCEAF8;
  --color-cta: #0F5DAA;
  --color-cta-hover: #0D4E94;
  --color-border: #E5EBF3;
  --color-bg-alt: #F0F6FD;
  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-family-en: "Cormorant Garamond", "Noto Sans JP", serif;
  --container-width: 1080px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(18, 61, 131, 0.06);
  --shadow-md: 0 4px 16px rgba(18, 61, 131, 0.08);
  --shadow-lg: 0 8px 32px rgba(18, 61, 131, 0.1);
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-cta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-cta-hover);
}

ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}


/* ----------------------------------------
   2. Base & Typography
---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------
   3. Layout & Container
---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ----------------------------------------
   4. Header / Navigation
---------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 251, 254, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-primary);
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.menu-toggle.active .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-cta {
  display: inline-block;
  background: var(--color-cta);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--color-cta-hover);
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin-left: 20px;
  transition: opacity var(--transition);
}

.header-phone:hover {
  opacity: 0.7;
}

.header-phone-icon {
  flex-shrink: 0;
  color: var(--color-cta);
}

.header-phone-number {
  font-family: var(--font-family);
}


/* ----------------------------------------
   5. Hero Section
---------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 80px);
  /* padding-bottom: 160px; */
  height: 68vh;
  background: url('/assets/images/kv-pc.jpg') center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(248, 251, 254, 0.92) 0%,
    rgba(248, 251, 254, 0.8) 45%,
    rgba(248, 251, 254, 0.3) 75%,
    rgba(248, 251, 254, 0) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 16%;
  padding-top: 4%;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}


/* ----------------------------------------
   6. Section Common
---------------------------------------- */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-family-en);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cta);
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.45;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-top: 12px;
}


/* ----------------------------------------
   7. Features (3つの特長)
---------------------------------------- */
.features {
  position: relative;
  overflow: hidden;
}

.features::after {
  content: '';
  position: absolute;
  right: 28%;
  bottom: 0;
  width: 40%;
  height: 100%;
  background: url('/assets/images/aquqvortex-01.png') right bottom / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.features > .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.feature-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}


/* ----------------------------------------
   8. Recommend (こんな方におすすめ)
---------------------------------------- */
.recommend {
  background: var(--color-white) !important;
}

.recommend-list {
  max-width: 680px;
  margin: 0 auto;
}

.recommend-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  font-size: 16px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.7;
}

.recommend-item:last-child {
  border-bottom: none;
}

.recommend-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.recommend-note {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-top: 32px;
  font-style: italic;
}


/* ----------------------------------------
   9. About (アクアボルテックスとは)
---------------------------------------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-diagram-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}


/* ----------------------------------------
   9.5. Structure (技術と内部構造)
---------------------------------------- */
.structure {
  background: var(--color-bg-alt);
}

.structure-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.structure-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.structure-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.structure-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.structure-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.structure-card-body {
  padding: 24px 28px 28px;
}

.structure-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
}

.structure-card-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* 仕様テーブル */
.structure-spec {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.structure-spec-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  text-align: center;
}

.structure-spec-info {
  margin-bottom: 32px;
}

.spec-dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-dl-item {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
}

.spec-dl-item dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.spec-dl-item dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.spec-table th {
  padding: 12px 16px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.spec-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.spec-table tbody tr:hover {
  background: rgba(15, 93, 170, 0.03);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}


/* ----------------------------------------
   10. Reasons (選ばれている理由)
---------------------------------------- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.reason-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.reason-number {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-light);
  line-height: 1;
  margin-bottom: 12px;
}

.reason-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.reason-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}


/* ----------------------------------------
   11. Installation (工事について)
---------------------------------------- */
/* 設置事例カードリスト */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}

.case-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: 0 2px 16px rgba(18, 61, 131, 0.06);
  border: 1px solid var(--color-border);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.case-number {
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.5;
}

.case-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.case-image-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0;
}

.case-note {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
}

.case-note p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
  border: 1px dashed var(--color-border);
  color: var(--color-text-secondary);
  font-size: 13px;
}


/* ----------------------------------------
   12. Cost (費用の考え方)
---------------------------------------- */
.cost-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.cost-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
}

.cost-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.cost-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.cost-comparison {
  max-width: 800px;
  margin: 0 auto;
}

.cost-comparison h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-align: center;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.comparison-table th {
  padding: 14px 16px;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: var(--color-bg-alt);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td strong {
  color: var(--color-cta);
}

.cost-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 20px;
  line-height: 1.8;
}


/* ----------------------------------------
   13. Voices (お客様の声)
---------------------------------------- */
/* Voice Swiper */
.voice-swiper-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px 20px;
}

.voice-swiper {
  overflow: hidden;
}

.voice-swiper .swiper-slide {
  height: auto;
}

.voice-slide-inner {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.voice-slide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.voice-img-figure {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.voice-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.voice-img-caption {
  padding: 6px 12px;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* 2枚画像レイアウト（縦並び） */
.voice-slide-img--double {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
}

.voice-slide-img--double .voice-img-figure {
  aspect-ratio: 16 / 9;
}

.voice-slide-img--double .voice-img {
  aspect-ratio: 16 / 9;
}

.voice-slide-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 設置地域 */
.voice-area {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

.voice-area-icon {
  font-size: 14px;
}

.voice-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
  flex: 1;
}

.voice-author {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  text-align: right;
}

.voice-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.voice-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(15, 93, 170, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* Swiper Navigation Buttons */
.voice-swiper-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
  padding: 0 4px;
}

.voice-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.voice-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* Swiper Pagination */
.voice-pagination {
  margin-top: 28px;
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.voice-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--color-border);
  opacity: 1;
  transition: all var(--transition);
}

.voice-pagination .swiper-pagination-bullet-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

.voice-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 32px;
}


/* ----------------------------------------
   14. FAQ (よくあるご質問)
---------------------------------------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  line-height: 1.6;
  font-family: var(--font-family);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 24px;
  height: 24px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 4px;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 4px;
  left: 50%;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  padding: 0 8px 22px;
  overflow: hidden;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  padding-left: 4px;
  border-left: 3px solid var(--color-light);
  padding-left: 16px;
}


/* ----------------------------------------
   15. Flow (導入までの流れ)
---------------------------------------- */
.flow-steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 36px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

/* 縦の接続線 */
.flow-step::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 20px;
  width: 2px;
  height: calc(100% - 44px);
  background: var(--color-light);
}

.flow-step:last-child::before {
  display: none;
}

.flow-step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-family-en);
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.flow-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  padding-top: 8px;
}

.flow-step-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}


/* ----------------------------------------
   16. Final CTA
---------------------------------------- */
.cta-final {
  background: linear-gradient(170deg, #E8F1FA 0%, #DCEAF8 100%) !important;
  padding: 80px 0 140px;
}

.cta-final-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.cta-final-text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-final-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* LINE CTA */
.line-cta {
  margin-top: 48px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 2px 16px rgba(18, 61, 131, 0.06);
  border: 1px solid var(--color-border);
  text-align: left;
}

.line-cta-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.line-cta-info {
  flex: 1;
}

.line-cta-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px;
}

.line-icon {
  flex-shrink: 0;
}

.line-cta-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.line-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.line-cta-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.line-cta-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #06C755;
  top: 0;
}

.line-cta-other {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-line:hover {
  background: #05b04c;
  transform: translateY(-1px);
}

.btn-line-icon {
  flex-shrink: 0;
}

.line-cta-qr {
  flex-shrink: 0;
  text-align: center;
}

.line-qr-img {
  width: 140px;
  height: 140px;
  display: block;
  border-radius: var(--radius-sm);
}

.line-qr-caption {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 10px;
  line-height: 1.6;
}


/* ----------------------------------------
   17. Footer
---------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(45deg, #0c2746 20%, #417597 80%);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-wave {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.footer-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-desc {
  font-size: 14px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand {
  text-align: center;
}

.footer-nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-copy {
  font-family: var(--font-family-en);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}


/* ----------------------------------------
   18. Buttons
---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-family);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 93, 170, 0.3);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-cta);
  border-color: var(--color-cta);
}

.btn-secondary:hover {
  background: var(--color-cta);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 93, 170, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
}


/* ----------------------------------------
   19. Animations
---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------
   20. Responsive (Tablet: ≤960px)
---------------------------------------- */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(248, 251, 254, 0.9) 0%,
      rgba(248, 251, 254, 0.75) 50%,
      rgba(248, 251, 254, 0.4) 100%
    );
  }

  .hero-inner {
    max-width: 100%;
    padding: 0;
  }

  .hero-title {
    font-size: 34px;
  }

  .features::after {
    right: 50%;
    transform: translateX(50%);
    bottom: auto;
    top: 0;
    width: 60%;
    height: 50%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .structure-features {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 40px;
    gap: 24px;
  }

  .structure-card-body {
    padding: 20px;
  }

  .structure-spec {
    padding: 24px 20px;
  }

  .spec-dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .case-card {
    padding: 28px 24px;
  }

  .case-images {
    gap: 12px;
  }

  .cost-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto 48px;
  }

  /* Navigation */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: calc(var(--header-height) + 24px) 32px 32px;
    transition: right var(--transition);
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .header-phone {
    display: none;
  }
}


/* ----------------------------------------
   21. Responsive (Mobile: ≤600px)
---------------------------------------- */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Hero */
  .hero {
    padding-top: 0;
    padding-bottom: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-inner {
    max-width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Feature cards */
  .feature-card {
    padding: 28px 20px;
  }

  /* Recommend */
  .recommend-item {
    padding: 16px 12px;
    font-size: 15px;
  }

  /* About diagram */
  /* Gallery */
  .case-list {
    gap: 32px;
    margin-bottom: 32px;
  }

  .case-card {
    padding: 24px 20px;
  }

  .case-number {
    font-size: 26px;
  }

  .case-title {
    font-size: 17px;
  }

  .case-images {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .case-desc {
    font-size: 14px;
  }

  .case-note {
    padding: 20px 16px;
  }

  /* Cost comparison table */
  .comparison-table th,
  .comparison-table td {
    padding: 10px 10px;
    font-size: 13px;
  }

  /* Flow steps */
  .flow-step {
    gap: 16px;
  }

  .flow-step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .flow-step::before {
    left: 17px;
    top: 38px;
    height: calc(100% - 38px);
  }

  .flow-step-content h3 {
    font-size: 16px;
    padding-top: 6px;
  }

  /* CTA Final */
  .cta-final-title {
    font-size: 24px;
  }

  .cta-final-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-final-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* LINE CTA SP */
  .line-cta {
    padding: 28px 20px;
    margin-top: 36px;
  }

  .line-cta-inner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .line-cta-info {
    text-align: center;
  }

  .line-cta-title {
    justify-content: center;
    font-size: 18px;
  }

  .line-cta-list {
    text-align: left;
    display: inline-block;
  }

  .btn-line {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .line-qr-img {
    width: 120px;
    height: 120px;
  }

  /* FAQ */
  .faq-question {
    padding: 18px 4px;
    font-size: 15px;
  }

  /* Voice */
  .voice-swiper-wrap {
    padding: 0 16px 20px;
  }

  .voice-slide-body {
    padding: 20px;
  }

  .voice-text {
    font-size: 14px;
  }

  .voice-swiper-nav {
    display: none;
  }

  .voice-nav-btn {
    width: 38px;
    height: 38px;
  }
}


/* ----------------------------------------
   22. Utility
---------------------------------------- */
.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }

  .hero-anchor-links.sp-only {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 28px;
  }

  .hero-anchor-link {
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
  }

  .hero-anchor-link:hover {
    opacity: 0.7;
  }

  .hero-anchor-divider {
    color: var(--color-primary);
    font-size: 14px;
    opacity: 0.4;
  }

  .pc-only {
    display: none;
  }
}

/* スクロール時のオーバーレイ（モバイルメニュー） */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* アクセシビリティ: フォーカスリング */
:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

/* プリントスタイル */
@media print {
  .site-header,
  .hero-wave,
  .menu-toggle,
  .nav-overlay {
    display: none !important;
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 40px 0;
    break-inside: avoid;
  }

  body {
    font-size: 14px;
    color: #000;
  }
}
