@charset "UTF-8";

/* ==========================================================================
   1. 変数定義 (Variables)
   ========================================================================== */
:root {
  /* カラーパレット */
  --color-primary: #e25f3b;      /* 鮮やかなブランドブルー */
  --color-primary-hover: #ff8e6f;
  --color-text-main: #333333;    /* 基本のテキストカラー */
  --color-text-sub: #666666;     /* 補助的なテキストカラー */
  --color-bg-light: #f4f7fb;     /* 薄いグレーブルーの背景色 */
  --color-white: #ffffff;
  --color-border: #e0e0e0;

  /* タイポグラフィ */
  --font-family-base: "LINE Seed JP", "Noto Sans JP", sans-serif;
  
  /* レイアウト */
  --content-width: 1100px;       /* コンテンツの最大幅 */
  --section-padding-pc: 80px;
  --section-padding-sp: 50px;
}

/* ==========================================================================
   2. リセット & ベース (Reset & Base)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.6;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, button, textarea, select, optgroup {
  font-family: var(--font-family-base);
}

/* 4. 見出し（h1-h6）を太字（700）にする設定 */
h1, h2, h3, h4, h5, h6, .btn {
  font-family: var(--font-family-base);
  font-weight: 700; /* LINE Seed JP の Bold ウェイトを適用 */
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. レイアウトユーティリティ (Layout Utilities)
   ========================================================================== */
.inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px; /* スマホ時の余白 */
  position: relative;
}

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

section {
  padding: var(--section-padding-sp) 0;
}

@media screen and (min-width: 768px) {
  section {
    padding: var(--section-padding-pc) 0;
  }
}

/* ==========================================================================
   4. 見出し (Typography)
   ========================================================================== */
.section-title {
  display: flex;
  flex-direction: column; /* 要素を縦に並べる */
  font-size: 28px;
  font-weight: bold;
  align-items: center;    /* 中央揃え */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

/* 1. 一番上のアイコン (item.svg) */
.section-title::before {
  content: "";
  display: block;
  width: 32px;            /* アイコンのサイズ */
  height: 32px;
  background-image: url("../img/item.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 12px;    /* 英文字との隙間 */
}

/* 2. 英文字 (EN) */
.section-title__en {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #e25f3b;         /* サービスメインカラー */
  letter-spacing: 0.2em;  /* 文字間隔を広げて高級感を出す */
  text-transform: uppercase; /* 強制的に大文字にする */
  margin-bottom: 8px;     /* 日本語タイトルとの隙間 */
  font-family: 'Arial', sans-serif;
}

/* 3. 日本語タイトル (JA) */
.section-title__ja {
  display: block;
  font-size: 32px;        /* PCサイズ */
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

/* --- スマホ表示時の調整 --- */
@media (max-width: 768px) {
  .section-title {
    margin-bottom: 40px;
  }
  .section-title__ja {
    font-size: 24px;      /* スマホでは文字を少し小さく */
  }
  .section-title::before {
    width: 24px;          /* スマホではアイコンも少し小さく */
    height: 24px;
  }
}

@media screen and (min-width: 768px) {
  .section-title {
    font-size: 36px;
    margin-bottom: 60px;
  }
}

/* ==========================================================================
   5. ボタン (Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px; /* 角丸（ピルシェイプ） */
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  border: none;
  line-height: 1.4;
  transition: all 0.3s ease;
}

/* プライマリーボタン（青背景） */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 68, 255, 0.2);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 6px 15px rgba(0, 68, 255, 0.3);
  color: var(--color-white);
}

/* アウトラインボタン（白背景・青フチ） */
.btn--outline {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-bg-light);
}

/* 小さいボタン（お知らせセクション用など） */
.btn--small {
  padding: 6px 16px;
  font-size: 13px;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  border-radius: 20px;
}

/* ==========================================================================
   6. バッジ・タグ (Badges & Tags)
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.badge img {
  width: 16px;
  margin-right: 8px;
}

/* ==========================================================================
   7. ヘッダー (Header)
   ========================================================================== */
.header {
  position: fixed; /* スクロールしても上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100; /* 最前面に配置 */
  height: 70px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px; /* 全体幅より少し広め */
  margin: 0 auto;
  padding: 0 20px;
}

.header__logo img {
  height: 24px; /* ロゴのサイズ調整 */
}

/* --- PC表示 --- */
@media screen and (min-width: 768px) {
  .header__nav ul {
    display: flex;
    gap: 30px;
  }

  .header__nav a {
    font-size: 14px;
    font-weight: bold;
    color: var(--color-text-main);
  }

  .header__actions {
    display: flex;
    gap: 15px;
  }

  .header__hamburger {
    display: none; /* PCではハンバーガーメニューを隠す */
  }
}

/* --- スマホ表示 --- */
@media screen and (max-width: 767px) {
  .header__nav {
    display: none; /* スマホではナビゲーションを隠す（後でJSで開閉） */
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* お問い合わせボタンはスマホヘッダーでは隠す */
  .header__actions .btn--outline {
    display: none; 
  }
  
  /* スマホ版ヘッダーの資料ダウンロードボタンを少し小さく */
  .header__actions .btn--primary {
    padding: 8px 16px;
    font-size: 12px;
  }
  .header__actions .btn--login {
    padding: 8px 8px;
    font-size: 12px;
  }

  /* ハンバーガーアイコン */
  .header__hamburger {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
  }

  .header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }

  .header__hamburger span:nth-child(1) { top: 0; }
  .header__hamburger span:nth-child(2) { top: 9px; }
  .header__hamburger span:nth-child(3) { bottom: 0; }
}


/* ==========================================================================
   8. ヒーローセクション (Hero / Main Visual)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 120px; /* 固定ヘッダーの高さ分を下げる */
  padding-bottom: 80px;
  background-color: var(--color-bg-light); /* 右側の薄い背景色 */
  z-index: 1;
  overflow: visible;
}

/* 青い曲線背景を疑似要素で作成 */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 85%;
  background: linear-gradient(135deg, #e25f3b, #ff6236);
  z-index: -1;
  /* スマホ用の丸み（左下を大きく曲げる） */
  border-bottom-left-radius: 120px;
  border-bottom-right-radius: 20px;
}

.hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__content {
  color: var(--color-white);
}

.hero__title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__image video {
  display: block;
  margin: 0 auto; /* スマホで動画を中央に配置 */
  width: 90%;     /* スマホで横幅の90%サイズに */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* 動画にリッチな影をつける */
}

/* ヒーロー下部の浮いているボタン群 */
.hero__bottom-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

/* バッジ風ラベル付きボタンのベース */
.btn--download-large,
.btn--contact-large {
  position: relative;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column; /* ラベルを上に配置するために追加を推奨 */
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* 吹き出しラベル */
.btn__label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 16px;
  white-space: nowrap;
  font-weight: bold;
}

.btn--download-large {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 68, 255, 0.3);
}

/* バッジを包むコンテナに下方向の余白を追加 */
.hero__badges {
  display: flex;
  gap: 10px;              /* バッジ同士の隙間 */
  margin-bottom: 40px;    /* ★ここでボタンとの間の余白を調整（お好みで30px〜50px程度） */
  align-items: center;    /* 中央揃え */
}

/* もしバッジを横に並べている場合はこちら */
@media (min-width: 768px) {
  .hero__badges {
    flex-direction: row;
  }
}

.btn--contact-large {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  color: white;
  border: 2px solid var(--color-bg-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* --- PC表示 --- */
@media screen and (min-width: 768px) {
  .hero {
    padding-top: 150px;
    padding-bottom: 120px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center; /* space-betweenからcenterに変更して全体を中央寄せ */
    gap: 5%; /* テキストと動画の間に5%の隙間を作る */
  }

  .hero__content {
    width: 45%;
  }

  .hero__content {
    width: 45%;
  }

  .hero__title {
    font-size: 56px;
    margin-bottom: 24px;
  }

  .hero__desc {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .hero__image {
    width: 25%; /* PC表示時に全体の約50%の枠を確保 */
  }

  .hero__image video {
    width: 100%; /* 親要素（50%の枠）に対して100%広げる */
    max-width: 600px; /* PCで動画が大きくなりすぎるのを防ぐ（お好みで調整してください） */
  }

  /* PCではボタンを横並びにし、セクション境界に重ねる */
  .hero__bottom-cta {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    position: absolute;
    bottom: -35px; /* セクションの下端に半分かかるように配置 */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .btn--download-large,
  .btn--contact-large {
    width: auto;
    min-width: 320px;
  }
}

/* ==========================================================================
   9. お悩みセクション (Problems)
   ========================================================================== */
.problems {
  background-color: var(--color-white);
  padding-top: 100px; /* ヒーローセクションのボタンにかぶらないように余白を多めに */
}

.problems__list {
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列 */
  gap: 20px;
  margin-bottom: 40px;
}

.problems__item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.problems__item:hover {
  transform: translateY(-5px); /* ホバーで少し浮き上がる動き */
}

.problems__item img {
    height: 60px;
    margin: 0 auto 20px; /* margin-bottom: 20px を含めつつ、左右を auto にして中央揃え */
    display: block;      /* imgをブロックレベルにして中央揃えを効かせる */
  }

.problems__item h3 {
  font-size: 23px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.problems__arrow {
  text-align: center;
  margin-top: 40px;
}

.problems__arrow p {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 600;
}

.problems__arrow strong {
  color: var(--color-primary);
  font-size: 24px;
}

.problems__arrow img {
    width: 36px;
    margin: 0 auto;      /* 左右を auto にして中央揃え */
    display: block;      /* imgをブロックレベルにして中央揃えを効かせる */
    animation: bounce 2s infinite; /* 矢印を上下に動かすアニメーション */
  }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* --- PC表示 --- */
@media screen and (min-width: 768px) {
  .problems__list {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 30px;
  }
}

/* ==========================================================================
   10. 特徴セクション (Features)
   ========================================================================== */
.features {
  background-color: var(--color-bg-light); /* 背景を薄い色に */
  position: relative;
  overflow: hidden;
}

/* 背景の斜めあしらい（疑似要素で簡易表現） */
.features::before,
.features::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 300px;
  background-color: rgba(0, 68, 255, 0.03);
  border-radius: 50px;
  transform: rotate(-15deg);
  z-index: 0;
}

.features::before { top: 10%; left: -100px; }
.features::after { bottom: 10%; right: -100px; }

.features .inner {
  z-index: 1; /* 背景図形より前に出す */
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 50px;
}

.features__item {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.features__text h3 {
  font-size: 24px;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* --- PC表示 --- */
@media screen and (min-width: 768px) {
  .features__list {
    gap: 50px;
  }

  .features__item {
    flex-direction: row; /* 横並びに */
    justify-content: space-between;
  }

  /* 左右入れ替えクラス */
  .features__item--reverse {
    flex-direction: row-reverse;
  }

  .features__text {
    width: 45%;
  }

  .features__text h3 {
    font-size: 32px;
  }

  .features__image {
    width: 50%;
  }
}

/* ==========================================================================
   11. 機能セクション (Functions)
   ========================================================================== */
.functions {
  background-color: var(--color-white);
}

.functions__grid {
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列 */
  gap: 20px;
}

.functions__card {
  background-color: var(--color-white);
  border: 1px solid var(--color-bg-light);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  border-left: 4px solid var(--color-primary); /* 左側に青いアクセントライン */
  transition: all 0.3s ease;
}

.functions__card:hover {
  box-shadow: 0 5px 20px rgba(0, 68, 255, 0.1);
  border-left-width: 8px; /* ホバーでラインを少し太く */
}

.functions__card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- タブレット・PC表示 --- */
@media screen and (min-width: 768px) {
  .functions__grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
    gap: 24px;
  }
}

@media screen and (min-width: 1024px) {
  .functions__grid {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 30px;
  }
}

/* ==========================================================================
   12. 導入事例セクション (Cases)
   ========================================================================== */
.cases {
  background-color: var(--color-bg-light);
}

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

.cases__card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden; /* 画像のはみ出しを防ぐ */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.cases__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 68, 255, 0.1);
}

.cases__card img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* 画像を枠に合わせてトリミング */
}

.cases__card-body {
  padding: 24px;
  position: relative;
}

.cases__tag {
  display: inline-block;
  background-color: var(--color-bg-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.cases__card h3 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.cases__company {
  color: var(--color-text-sub);
  text-align: right;
}

@media screen and (min-width: 768px) {
  .cases__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ==========================================================================
   13. 料金プランセクション (Pricing)
   ========================================================================== */
   .pricing {
    background-color: var(--color-white);
  }
  
  .pricing__single {
    max-width: 900px; /* PCで広がりすぎないように適度な最大幅を設定 */
    margin: 0 auto;
    padding: 0 10px;
  }
  
  /* --- カード全体のベース（スマホ時は縦並び） --- */
  .pricing__card--wide {
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 16px;
    padding: 40px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(226, 95, 59, 0.15);
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  /* --- 左側（料金エリア） --- */
  .pricing__card-left {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px dashed var(--color-border); /* スマホ時の区切り線 */
  }
  
  .pricing__badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 16px;
  }
  
  .pricing__card-left h3 {
    font-size: 22px;
    color: var(--color-text-main);
    margin-bottom: 12px;
  }
  
  .pricing__card-left .price {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1;
  }
  
  .pricing__card-left .price span {
    font-size: 18px;
    color: var(--color-text-sub);
    font-weight: normal;
  }
  
  .pricing__note {
    font-size: 14px;
    color: var(--color-text-sub);
    font-weight: bold;
  }
  
  /* --- 右側（機能・ボタンエリア） --- */
  .pricing__card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .pricing__card-right ul {
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
  }
  
  .pricing__card-right li {
    font-size: 16px;
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
  }
  
  /* チェックマークのアイコン */
  .pricing__card-right li::before {
    content: "✓";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 16px;
    font-weight: bold;
    background-color: var(--color-bg-light);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  .pricing__card-right .btn {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 15px rgba(226, 95, 59, 0.3);
  }
  
  /* --- PC表示時の横並びレイアウト --- */
  @media screen and (min-width: 768px) {
    .pricing__card--wide {
      flex-direction: row; /* 横並びに変更 */
      align-items: center;
      padding: 50px;
      gap: 50px;
    }
  
    .pricing__card-left {
      flex: 1; /* 左右を均等の幅に */
      padding-bottom: 0;
      border-bottom: none;
      border-right: 1px dashed var(--color-border); /* PC時は縦の区切り線に */
      padding-right: 30px;
    }
  
    .pricing__card-right {
      flex: 1; /* 左右を均等の幅に */
      align-items: flex-start; /* PC時は左寄せにして整える */
      padding-left: 20px;
    }
  
    .pricing__card-right ul {
      max-width: none;
    }
    
    .pricing__card-right .btn {
      margin: 0; /* 中央寄せを解除 */
    }
  }

/* ==========================================================================
   14. ご利用の流れセクション (Flow)
   ========================================================================== */
.flow {
  background-color: var(--color-bg-light);
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.flow__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.flow__step {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2; /* 少し透かしてデザインのアクセントに */
  line-height: 1;
}

.flow__content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

@media screen and (min-width: 768px) {
  .flow__step {
    font-size: 40px;
  }
}

/* ==========================================================================
   15. FAQセクション (FAQ)
   ========================================================================== */
.faq {
  background-color: var(--color-white);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-white);
}

/* ネイティブのアコーディオン（details/summary）のスタイリング */
.faq__item summary {
  display: block; /* デフォルトの三角形を消すための準備 */
  padding: 20px 50px 20px 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  list-style: none; /* デフォルトの三角形を消す */
}

.faq__item summary::-webkit-details-marker {
  display: none; /* Safari用の三角形消去 */
}

/* カスタムの開閉アイコン（＋と－） */
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-primary);
  font-weight: normal;
}

.faq__item[open] summary::after {
  content: "-"; /* 開いた時はマイナスに */
}

.faq__item[open] summary {
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
}

.faq__answer {
  padding: 20px;
  background-color: var(--color-bg-light);
  line-height: 1.8;
}

/* ==========================================================================
   16. お知らせセクション (News)
   ========================================================================== */
.news {
  background-color: var(--color-white);
}

.news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.news__header .section-title {
  margin-bottom: 0;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.news__header .section-title span {
  font-size: 16px;
  color: var(--color-border);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.news__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.news__card img {
  border-radius: 8px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  color: var(--color-white);
}

.tag--event { background-color: var(--color-primary); }
.tag--update { background-color: #ff8665; }
.tag--release { background-color: #e25f3b; }

.news__meta time {
  font-size: 13px;
  color: var(--color-text-sub);
}

.news__content h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news__content p {
  font-size: 14px;
  color: var(--color-text-sub);
}

@media screen and (min-width: 768px) {
  .news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .news__card {
    border-bottom: none; /* PCでは下線を消す */
  }
}

/* ==========================================================================
   17. ボトムCTA / フォームエリア (Bottom CTA)
   ========================================================================== */
.bottom-cta {
  background: linear-gradient(135deg, #e25f3b, #ff9679); /* 鮮やかな青グラデーション */
  padding: 60px 0;
  color: var(--color-white);
}

.bottom-cta__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bottom-cta__text h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}

.bottom-cta__form-wrapper {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
}

.form__group {
  margin-bottom: 24px;
}

.form__group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.form__group label span {
  color: #ff3366; /* 必須マークの赤 */
}

.form__group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form__group input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 14px;
}

.btn--submit {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  padding: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

@media screen and (min-width: 768px) {
  .bottom-cta {
    padding: 100px 0;
  }
  
  .bottom-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .bottom-cta__text {
    width: 45%;
  }

  .bottom-cta__text h2 {
    font-size: 56px;
  }

  .bottom-cta__form-wrapper {
    width: 50%;
  }
}

/* ==========================================================================
   18. フッター (Footer)
   ========================================================================== */
.footer {
  background-color: var(--color-white);
  padding: 60px 0 40px;
  border-top: 1px solid var(--color-bg-light);
}

.footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer__logo img {
  height: 24px;
  margin-bottom: 16px;
}

.copyright {
  font-size: 12px;
  color: var(--color-text-sub);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.footer__nav a {
  font-size: 14px;
  color: var(--color-text-sub);
}

.footer__nav a:hover {
  color: var(--color-primary);
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr; /* スマホは2列 */
  gap: 20px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--color-text-sub);
}

.footer__links a:hover {
  color: var(--color-primary);
}

@media screen and (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__logo {
    width: 30%;
  }

  .footer__links {
    width: 60%;
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  }
}

/* ==========================================================================
   法定ページ (Legal pages)
   ========================================================================== */
.legal-page {
  padding: 110px 20px 80px;
  background-color: var(--color-bg-light);
  min-height: calc(100vh - 70px);
}

.legal-page__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.legal-page__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 32px;
}

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

.legal-page__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-page__list dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
}

.legal-page__list dd {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.legal-page__pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 24px;
  border: 1px solid var(--color-bg-light);
  border-radius: 8px;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s, opacity 0.2s;
}

.legal-page__pdf-link:hover {
  opacity: 0.85;
  background-color: #fff;
}

.legal-page__pdf-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #dc2626;
}

@media screen and (max-width: 767px) {
  .legal-page {
    padding: 90px 16px 60px;
  }

  .legal-page__inner {
    padding: 32px 24px;
  }

  .legal-page__title {
    font-size: 24px;
  }
}

/* 控えめなログインボタン（テキストのみ・ホバーで薄い背景） */
.btn--login {
    background-color: transparent;
    color: var(--color-text-main);
    padding: 12px 16px;
    font-weight: bold;
  }
  
  .btn--login:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-light);
  }