@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
/* parts */
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background-color: #f5f8fb;
  color: #333;
  line-height: 1.6;
}

img {
  height: auto;
  max-width: 100%;
}

.breadcrumb {
  font-size: 0.875rem;
  margin: 1rem 1.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li::after {
  content: "›";
  margin-left: 0.5em;
  color: #999;
}

.breadcrumb li:last-child::after {
  content: "";
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

h1, h2, h3 {
  color: #002c5f;
  margin-bottom: 1rem;
  font-weight: 700;
}

strong {
  font-weight: 700;
}

/* デフォルト（スマホ）：改行しない */
.responsive-br {
  display: none;
}

/* PCサイズ以上で改行する */
@media screen and (min-width: 768px) {
  .responsive-br {
    display: inline;
  }
}

.partial-highlight {
  background: linear-gradient(
    to top,
    #fff176 25%,
    rgba(255, 241, 118, 0.5) 26%,
    rgba(255, 241, 118, 0) 50%
  );
  border-radius: 6px;
  padding: 0 0.2em;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.image-modal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.image-modal .modal-content {
  width: auto;
  background-color: #fff; /* 背景白で透過画像も見やすく */
  padding: 1rem;
  border-radius: 8px;
  max-width: 90%;
  max-height: 80vh;
  margin: auto;
  display: block;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.definition-image {
  position: relative;
  display: inline-block;
}

.definition-image .zoom-hint {
    position: absolute;
    bottom: -29px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
}

section {
  padding: 4rem 1.5rem;
}

/* 共通の三角形スタイル（位置や形） */
.section-with-arrow-hero,
.section-with-arrow-problems,
.section-with-arrow-usecase,
.section-with-arrow-noren-value,
.section-with-arrow-steps {
  position: relative;
}

.section-with-arrow-hero::before,
.section-with-arrow-problems::before,
.section-with-arrow-usecase::before,
.section-with-arrow-noren-value::before,
.section-with-arrow-steps::before {
  content: "";
  position: absolute;
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 30px solid transparent; /* 初期化しておく */
  z-index: 1;
}

/* セクションごとの色のみ上書き */
.section-with-arrow-hero::before {
  border-top-color: #f5f8fb;
}

.section-with-arrow-problems::before {
  border-top-color: #e6f2ff;
}

.section-with-arrow-usecase::before {
  border-top-color: #f7fafd;
}

.section-with-arrow-noren-value::before {
  border-top-color: #e6f2ff;
}

.section-with-arrow-steps::before {
  border-top-color: #f1f8fc;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ヘッダー */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 1.5rem;
  position: relative;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.logo img {
  display: block;
  height: auto;
  max-width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.0rem;
  font-weight: 700;
  color: #0074c8;
  padding-bottom: 0.25rem;
}

.logo-sub {
  font-size: 0.8rem;
  color: #555;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #002c5f;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-button {
  background-color: #0074c8;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 116, 200, 0.2);
}

.nav-button:hover {
  background-color: #005fa3;
  color: #fff;
  text-decoration: none;
}

/* ハンバーガー初期状態は非表示（PCのみ） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: #002c5f;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイル対応 */
@media screen and (max-width: 960px) {
  .hamburger {
    display: flex;
  }

  .nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    width: 220px;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav ul {
    flex-direction: column;
    align-items: center; /* ← 追加：中央揃え */
  }
	
  .nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #002c5f;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav ul li a:hover {
    color: #0074c8;
  }

  .nav-button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 180px;
    padding: 0.5rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
  }
}

.scroll-nav {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 999;
  display: none; /* モバイル非表示 */
}

.scroll-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scroll-nav li {
  margin-bottom: 0.5rem;
}

.scroll-nav a {
  text-decoration: none;
  color: #0074c8;
  font-weight: bold;
  font-size: 0.85rem;
  display: block;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.scroll-nav a:hover,
.scroll-nav a.active {
  background-color: #e0f0ff;
  color: #002c5f;
}

/* PCのみ表示 */
@media screen and (min-width: 1024px) {
  .scroll-nav {
    display: block;
  }
}

/* ヒーローセクション */
.hero {
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 3rem 1.5rem 3rem;
  color: #002c5f;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}


.highlight {
  background: #fff176;
  padding: 0 0.2em;
  margin: 0 0.3em;
  border-radius: 10px;
  display: inline-block;
  color: #002c5f;
}

.hero p {
  font-size: 1.3rem;
  margin: 1rem 0 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn.primary {
  background: #0074c8;
  color: #fff;
}

.btn.primary:hover {
  background-color: #005fa3;
}

.btn.secondary {
  background-color: #fff;
  color: #0074c8;
  border: 2px solid #0074c8;
}

.btn.secondary:hover {
  background-color: #e0f0ff;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  max-width: 560px;
  text-align: center;
}

.hero-video {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 12px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .hero {
    min-height: auto;
  }
	
  .hero-content-wrapper {
    flex-direction: column;
    padding: 1rem;
  }

  .hero-text {
    text-align: center;
  }
}

/* お悩みセクション */
.problems {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: #e6f2ff;
}

.problems h2{
  font-size: 2rem;
}

.problem-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.problem-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1rem 3.5rem;
  width: 260px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
}

.problem-title {
  font-size: 1rem;
  color: #0074c8;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.problem-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #002c5f;
  margin-bottom: 1rem;
  text-align: center;
  min-height: 60px;
}

.problem-card img {
  position: absolute;
  bottom: -75px;
  width: 200px;
  height: auto;
}

/* 解決セクション */
.solution {
  background-color: #f7fafd;
  text-align: center;
}

.solution h2{
  font-size: 2rem;
}

/* のれん分け定義の2カラム */
.definition-container {
  display: flex;
  flex-wrap: wrap;
  align-items: ;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;}

.definition-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  border-radius: 6px;
}

.definition-text h3 {
  font-size: 1.5rem;
  color: #002c5f;
  text-align: center;
}

.definition-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

.definition-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.section-noren-explanation {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

.section-noren-explanation .container {
  max-width: 1080px;
  margin: 0 auto;
}

.noren-features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.noren-features li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid #ccc; /* アンダーラインを追加 */
  padding-bottom: 0.5rem;
}

.noren-features li::before {
  content: "◯";
  position: absolute;
  left: 0;
  top: 0.2em;
  color: #007B8A; /* お好きな強調色に */
  font-size: 1.2em;
}

/* ノート風背景全体に適用 */
.definition-container.notebook-style {
  background-image: 
    linear-gradient(to right, #e5e7eb 1px, transparent 1px),
    linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* 画像とのバランス調整（必要に応じて） */
.definition-container .definition-image {
  position: relative;
  margin-top: 1.5rem;
}

.definition-container .definition-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .definition-container {
    flex-direction: column;
    text-align: center;
  
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;}
}

/* ユースケース */
.usecase {
  background-color: #f7fafd;
  text-align: center;
  color: #002b4e;
  margin-top: -64px;
}

.usecase h2 {
    font-size: 2rem;
}

.usecase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.usecase-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.usecase-header {
  background-color: #e6f4f1;
  color: #007b8a;
  font-weight: bold;
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.usecase-topic {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  text-align: left;
}

.usecase-image {
  text-align: center;
  margin: 1rem 0;
  min-height: 180px;
}

.usecase-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* 提供価値 */
.noren-value-section {
  background-color: #e6f2ff;
  padding: 4rem 1rem;
  text-align: center;
}

.noren-value-title {
  font-size: 2rem;
  color: #002b4e;
  margin-bottom: 1rem;
}

.noren-value-lead {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.noren-value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.noren-value-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0074c8;
  color: #fff;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.noren-value-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  max-width: 320px;
  flex: 1 1 280px;
  text-align: left;
  transition: transform 0.3s ease;
  position: relative;
  padding-top: 2rem;
}

.noren-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(135deg, #0090e0 0%, #0074c8 50%, #005fa3 100%);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.noren-value-card:hover {
  transform: translateY(-5px);
}

.noren-value-card h3 {
  font-size: 1.25rem;
  color: #002b4e;
  margin-bottom: 0.75rem;
}

.noren-value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .noren-value-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* 支援の流れ */
.steps {
  background-color: #f1f8fc;
  padding: 4rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #002b4e;
  margin-bottom: 2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f5a623;
}

.step-title {
  font-size: 1.5rem;
  color: #002b4e;
  margin: 0;
}

.step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.steps-cta-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}

.steps-cta-button {
  display: inline-block;
  background-color: #feca43;
  color: #002b4e;
  font-weight: bold;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.steps-cta-button:hover {
  background-color: #e0ae2a;
}

.step-image img {
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  margin-top: 1rem;
}

.steps-subsection {
  margin-top: 4rem;
  text-align: center;
}

.subsection-title {
  font-size: 1.75rem;
  color: #002b4e;
  margin-bottom: 0.5rem;
}

.subsection-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.subsection-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 1080px; /* 必要に応じて調整 */
  display: block;
  margin: 0 auto;
}

.steps-diagram {
  background: #eaf6ff;
  padding: 3rem 1rem;
  text-align: center;
}

.steps-diagram .diagram-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto 3rem;
}

.steps-diagram .diagram-step {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0.6rem 1.2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps-diagram .diagram-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(135deg, #0090e0 0%, #0074c8 50%, #005fa3 100%);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.steps-diagram .diagram-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.steps-diagram .step-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #0074c8;
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.steps-diagram .diagram-title {
  font-size: 1rem;
  color: #002b4e;
  margin: 0.5rem 0;
}

.steps-diagram .step-desc {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.steps-diagram .step-arrow {
  font-size: 2.5rem;
  color: #0074c8;
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  font-weight: bold;
  opacity: 0.5;
  z-index: 2;
}

.steps-diagram .support-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  border-top: 5px solid #fca311; /* ← 追加 */
}

.steps-diagram .support-plus {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  background: #fff;
  color: #fca311;
  font-weight: bold;
  padding: 0 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #eaf6ff;
}

.steps-diagram .support-title {
  font-size: 1.3rem;
  color: #002b4e;
  font-weight: bold;
  margin-bottom: 1rem;
}

.steps-diagram .support-icon img {
  width: 200px;
  height: auto;
  margin-top: 1rem;
}

.steps-diagram .support-description {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .steps-diagram .diagram-container {
    gap: 1rem;
  }

  .steps-diagram .step-arrow {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .steps-diagram .diagram-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  .steps-diagram .diagram-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.note-section {
  background-color: #f7fafd;
  padding: 4rem 1rem;
  text-align: center;
  color: #002c5f;
}

.note-container {
  max-width: 800px;
  margin: 0 auto;
}

.note-heading {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.note-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

.note-button {
  display: inline-flex;
  align-items: center;
  background-color: #41c9b4;
  color: #fff;
  font-weight: bold;
  padding: 0.9rem 2rem;
  font-size: 1.125rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.note-button:hover {
  background-color: #36b3a1;
  text-decoration: none;
}

.note-icon {
  display: inline-flex;
  margin-right: 0.6rem;
}

.note-icon svg {
  display: block;
}

@media screen and (max-width: 768px) {
  .note-heading {
    font-size: 1.5rem;
  }

  .note-text {
    font-size: 1rem;
  }

  .note-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}


.faq-section {
  background-color: #f0f8ff;
  padding: 4rem 1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  color: #002b4e;
  margin-bottom: 2rem;
  font-weight: bold;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  color: #002b4e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

.faq-icon {
  background-color: #e6f2ff;
  color: #0074c8;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* プラスをバツに */
}

.faq-answer {
  display: none;
  padding: 0 2rem 1.5rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(135deg, #0090e0 0%, #0074c8 50%, #005fa3 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.cta-container {
  max-width: 720px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff; /* ← 追加 */
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  background-color: #feca43;
  color: #002c5f;
  padding: 1rem 2rem;
  font-weight: bold;
  border-radius: 9999px;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background-color: #e0ae2a;
}

@media screen and (max-width: 768px) {
  .cta-heading {
    font-size: 1.5rem;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    display: inline-block;
  }
}


/* フッター */
.footer {
  background: #e6f2ff;
  color: #002c5f;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

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

.footer-operator {
  margin-bottom: 1.5rem;
}

.footer-operator h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-operator p {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8rem;
  color: #555;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #002c5f;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-credits {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #555;
}
.footer-credits a {
  color: #0074c8;
  text-decoration: none;
}
.footer-credits a:hover {
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .hero {
    padding: 3rem 1rem 2rem;
    min-height: auto;
    background-image: url('../img/hero-mobile.webp');
  }

  .hero-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .hero h1 {
    font-size: 1.6rem;
  }

  .nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* モーションに敏感なユーザー（てんかん・乗り物酔いなど）にアニメーションを抑制 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}