/* =================================================================
   NRI社会情報システム「シルニアス」LP用スタイルシート (完全版)
   ================================================================= */

/* --------------------------------
 * :root 変数定義 & 基本設定
 * -------------------------------- */
 :root {
    --color-main: #00196E;
    --color-primary-cta: #F5A000;
    --color-secondary-cta: #004196;
    --color-text: #333333;
    --color-subtext: #555555;
    --color-white: #ffffff;
    --color-bg-light: #f7f9fc;
    --color-bg-nri: #DCE6F0;
    --color-border: #e0e0e0;
    --container-width: 1100px;
    --container-padding: 24px;
    --section-padding-pc: 80px;
    --section-padding-sp: 60px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* ヘッダー分のスクロール位置調整 */
}
body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 70px; /* 固定ヘッダー分の余白 */
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--color-main); text-decoration: none; transition: opacity 0.3s; }
a:hover, .is-imghover:hover { opacity: 0.8; }
ul, li { list-style: none; }

/* =================================================================
   【修正】資料ダウンロードリスト 2カラム化 ＆ ボタン下部配置スタイル
   ================================================================= */
/* リスト全体を2カラム化 */
.download-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 60px !important;
}

/* カードを縦並び（中身を上下レイアウト）に変更 */
.download-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* コンテンツとボタンを上下に綺麗に分ける */
    align-items: stretch !important; /* 子要素の横幅をいっぱいまで広げる */
    height: 100% !important;
    padding: 25px 30px !important;
    box-sizing: border-box !important;
}

/* テキストエリアの余白調整 */
.download-item__content {
    width: 100% !important;
    flex-grow: 1 !important;
    margin-bottom: 20px !important; /* 下側のボタンとの間に適切なスキマを確保 */
}

/* アクションエリア（ボタンの親）をカード下部に配置 */
.download-item__action {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: auto !important; /* 常にカードの最下部に固定 */
}

/* ダウンロードボタンを横幅いっぱいに広げて押しやすく */
.download-item__link {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px !important;
}

/* スマートフォン環境（768px以下）では1カラムに切り替え */
@media (max-width: 768px) {
    .download-list {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .download-item {
        padding: 20px !important;
    }
}

/* --------------------------------
 * 汎用クラス (inner, sp-only, pc-only)
 * -------------------------------- */
.fv__inner, .problem__inner, .solution__inner, .trust__inner, .case-studies__inner, .features__inner, .flow__inner, .faq__inner, .cta-section__inner, .footer__inner {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}
.pc-only { display: block; }
.sp-only { display: none; }

/* --------------------------------
 * 汎用コンポーネント (ボタン, セクションタイトル)
 * -------------------------------- */
/* ボタン共通 */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 25, 110, 0.2);
}

/* ボタンサイズ */
.btn--small {
    padding: 8px 24px;
    font-size: 14px;
}
.btn--large {
    min-width: 300px;
    padding: 16px 24px;
}

/* ボタンタイプ */
.btn--primary {
    background-color: var(--color-primary-cta);
    color: var(--color-main);
    border-color: var(--color-primary-cta);
}
.btn--primary:hover {
    background-color: #ffb82e; /* 少し明るく */
}
.btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn--secondary:hover {
    background-color: var(--color-white);
    color: var(--color-main);
}
.header .btn--secondary {
    color: var(--color-secondary-cta);
    border-color: var(--color-secondary-cta);
}
.header .btn--secondary:hover {
    background-color: var(--color-secondary-cta);
    color: var(--color-white);
}

/* 複数行ボタンテキスト */
.btn__main-text {
    font-size: 20px;
    line-height: 1.2;
}
.btn__sub-text {
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title__sub {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-cta);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.section-title__main {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--color-main);
}
.section-title--white .section-title__main {
    color: var(--color-white);
}
/* ファイルタイプごとの色分け */
.fa-file-pdf { color: #D32F2F!important;} /* PDFレッド */
.fa-file-excel { color: #1D6F42!important;} /* Excelグリーン */
.fa-file-powerpoint { color: #D24726!important;} /* PPTオレンジ */
/* --------------------------------
 * ヘッダー
 * -------------------------------- */
 .header {
    width: 100vw;
    padding: 0 30px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: fixed;
    top: 0; left: 0;
    z-index: 999; /* ← 999にしました */
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    width: 100%;
  }
  
  .header__logo img {
    height: 32px;
    width: 240px;
  }
  .header__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 40px;
  }
  /* --- ヘッダーダウンロードボタン --- */
  .header-download-btn {
    /* 見た目の設定 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px; /* 少し縦を細く調整 */
    background-color: transparent; /* 背景を透明に */
    color: #007bff; /* 文字色を青に */
    border: 2px solid #007bff; /* 枠線を青に */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease; /* アニメーションを滑らかに */
  }
  
  /* アイコンと文字の間の余白 */
  .header-download-btn .fa-solid {
    margin-right: 8px;
  }
  
  /* マウスを乗せた時の動き */
  .header-download-btn:hover {
    background-color: #007bff; /* 背景色を青に */
    color: #ffffff; /* 文字色を白に */
    transform: translateY(-2px); /* 少し上に浮き上がる（任意） */
  }

/* --------------------------------
 * ファーストビュー (FV)
 * -------------------------------- */
.fv {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: var(--section-padding-pc) 0;
}
.fv__inner {
    text-align: center;
}
.fv__award {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
}
.fv__award span {
    font-size: 12px;
    margin-left: 4px;
}
.fv__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.fv__subtitle {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}
.fv__cta-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.fv__note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 24px;
}

/* --------------------------------
 * dashboard
 * -------------------------------- */
/* --- スペシャルバナー --- */
.special-banner {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-secondary-cta) 100%);
    border-radius: 12px;
    padding: 32px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 25, 110, 0.15);
    margin: 40px 0;
}

.special-banner__label {
    display: inline-block;
    background-color: var(--color-primary-cta);
    color: var(--color-main);
    font-size: 12px;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.special-banner__title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
}

.special-banner__title i {
    margin-right: 8px;
    color: var(--color-primary-cta);
}

.special-banner__title small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 6px;
}

.special-banner__description {
    font-size: 15px;
    max-width: 90%;
    margin-bottom: 28px;
    color: var(--color-white);
    opacity: 0.9;
    line-height: 1.7;
}

.special-banner__footer {
    display: flex;
    align-items: center;
    gap: 24px;
}

.view-tag {
    font-size: 13px;
    color: var(--color-primary-cta);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    border-radius: 4px;
}

.special-banner__button {
    background-color: var(--color-white);
    color: var(--color-main) !important;
    text-decoration: none !important;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0px var(--color-bg-nri);
    display: inline-flex;
    align-items: center;
}

.special-banner__button:hover {
    background-color: var(--color-primary-cta);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 160, 0, 0.3);
}

@media (max-width: 768px) {
    .special-banner { padding: 24px; }
    .special-banner__title { font-size: 20px; }
    .special-banner__description { max-width: 100%; font-size: 14px; }
    .special-banner__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* 2column化のためのスタイル追加 */
.download-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}
@media (max-width: 768px) {
    .download-list {
        grid-template-columns: 1fr !important;
    }
}

/* 料金目安ボタン専用（自動付与されるダウンロードアイコンを打ち消し） */
.btn-price-toggle {
    cursor: pointer;
    background-color: #D24726 !important;
    color: #fff !important;
    transition: opacity 0.2s;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: none !important;
}
.btn-price-toggle::after,
.btn-price-toggle::before {
    display: none !important; /* 既存CSSのダウンロードアイコンを非表示 */
}
.btn-price-toggle:hover {
    opacity: 0.85;
}

/* 料金目安モーダル（ポップアップ）用スタイル */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.modal-overlay.is-open {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    padding: 28px 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    box-sizing: border-box;
    animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #888;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.modal-close-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}
.modal-header {
    border-bottom: 2px solid #022c5e;
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #022c5e;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.price-subtext {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}
.price-box {
    background-color: #f7f9fc;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
}
.price-item {
    margin-bottom: 12px;
}
.price-item:last-child {
    margin-bottom: 0;
}
.price-label {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}
.price-val {
    font-size: 16px;
    font-weight: bold;
    color: #022c5e;
    padding-left: 10px;
    border-left: 3px solid #ff7700;
}
.price-note {
    background-color: #fff8eb;
    border: 1px solid #ffe0b2;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    color: #d84315;
    line-height: 1.5;
    font-weight: bold;
}


/* --------------------------------
 * 悩み・共感 (Problem)
 * -------------------------------- */
.problem {
    background-color: var(--color-bg-nri); 
    padding: 60px 0;
    /* ▼▼▼ zindexの順位調整 ▼▼▼ */
    position: relative;
    z-index: 0;
}
.problem__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.problem__item {
    background-color: var(--color-white);
    padding: 0 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 25, 110, 0.07);
    border-bottom: 4px solid var(--color-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.problem__icon-wrapper {
    font-size: 36px;
    color: var(--color-main);
    margin-bottom: 20px;
}
.problem__item strong {
    font-size: 20px;
    color: var(--color-main);
    display: block;
    margin-bottom: 15px;
}
.problem__summary {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 50px;
}
.problem__summary .text-highlight {
    background: linear-gradient(transparent 60%, var(--color-primary-cta) 60%);
    padding: 0 4px;
}

/* --------------------------------
 * 解決策・ベネフィット (Solution)
 * -------------------------------- */
.solution {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: var(--section-padding-pc) 0;
}
.solution__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card { /* solutionセクション内のカード */
    background-color: var(--color-white);
    color: var(--color-text);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.solution__icon-wrapper {
    font-size: 36px;
    color: var(--color-primary-cta);
    margin-bottom: 20px;
}
.card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-main);
}
.card__text {
    font-size: 16px;
}
.card__text strong, .card__text b {
    color: var(--color-secondary-cta);
}

/* --------------------------------
 * 信頼性の根拠 (Trust)
 * -------------------------------- */
 .trust {
    padding: var(--section-padding-pc) 0;
    background-color: var(--color-white);
}
.trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.trust__item {
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background-color: var(--color-white); /* カード自体は白背景に */
}
.trust__icon-wrapper {
    font-size: 32px;
    color: var(--color-primary-cta);
    margin-bottom: 15px;
}
.trust__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-subtext);
}
.trust__keyword, .trust__number {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-main);
    line-height: 1.2;
    margin: 5px 0;
    display: block;
}
.trust__unit {
    font-size: 20px;
    font-weight: 700;
    margin-left: 4px;
}
.trust__text {
    font-size: 15px;
    color: var(--color-subtext);
    margin-top: 10px;
}


/* --------------------------------
 * データで見る特徴 (Swiper)
 * -------------------------------- */
/* .problemクラスを流用しているので、その上で上書き */
.data-slider {
    overflow: hidden;
    position: relative;
    padding: 0 40px; /* 矢印のスペース確保 */
}

.swiper-slide {
    height: auto; /* Swiperに高さを自動計算させるためautoに設定 */
}

.data-slider .problem__item {
    height: 100%; /* 親要素(swiper-slide)の高さに合わせ、高さを揃える */
    justify-content: flex-start; /* 中身を上から詰めるように配置 */
    /* display: flex; と flex-direction: column; は元の.problem__itemで指定済み */
}

.problem-data__icon-wrapper {
    font-size: 2rem;
    color: var(--color-main);
    margin-bottom: 15px;
}

.data-slider h4 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--color-main);
}

.problem-data__img-wrapper {
    margin-bottom: 20px;
    /* height: 180px;  <- 原因となっていた固定の高さをコメントアウト（または削除） */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 念のため最小高さを設定しておくと画像がない場合もレイアウトが安定します */
    min-height: 150px;
}

/* 説明文(p)が余ったスペースを埋めるように設定 */
.data-slider .problem__item > p {
    flex-grow: 1;
    font-size: 1.3rem;
    font-weight: 600;
}
/* h4が持つデフォルトの上下マージンをリセット */
.problem-item__header h4 {
    margin: 0;
  }
.problem-item__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0;
  }
  
  /* ② ヘッダーの中にある要素のスタイルを「上書き」するためのスタイル【追記による上書き】*/
  .problem-item__header .problem-data__icon-wrapper,
  .problem-item__header h4 {
    margin-bottom: 0;
  }

.data-slider .swiper-button-prev,
.data-slider .swiper-button-next {
    color: var(--color-main);
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.data-slider .swiper-button-prev { left: 0; }
.data-slider .swiper-button-next { right: 0; }

.data-slider .swiper-button-prev::after,
.data-slider .swiper-button-next::after {
    font-size: 18px;
    font-weight: 900;
}
.data-slider .swiper-pagination {
    position: static; /* デフォルトの下ではなく、スライドの下に配置 */
    margin-top: 30px;
}
.data-slider .swiper-pagination-bullet {
    background-color: var(--color-main);
    opacity: 0.3;
    width: 10px;
    height: 10px;
}
.data-slider .swiper-pagination-bullet-active {
    opacity: 1;
}


/* --------------------------------
 * 活用事例 (Case Studies) & 調査ネットワーク
 * -------------------------------- */
.case-studies {
    padding: var(--section-padding-pc) 0;
    background-color: var(--color-white);
}
.case-studies__inner img { /* 調査ネットワークの地図用 */
    display: block;
    margin: -30px auto 0; /* タイトルとのマージンを調整 */
    max-width: 800px;
}
.case-studies__list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.case-studies__list li {
    border-bottom: 1px solid var(--color-border);
}
.case-studies__list a {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    transition: background-color 0.3s;
}
.case-studies__list a:hover {
    background-color: #eef3fa;
}
.case-studies__date {
    font-weight: 500;
    color: var(--color-subtext);
    width: 100px;
}
.case-studies__category {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    flex-shrink: 0;
}
.case-studies__category--case {
    background-color: #e0f2f1;
    color: #00796b;
}
.case-studies__category--column {
    background-color: #e3f2fd;
    color: #1565c0;
}
.case-studies__title {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    flex-grow: 1;
}

/* --------------------------------
 * 対応領域 (Features)
 * -------------------------------- */
.features {
    padding: var(--section-padding-pc) 0;
    background-color: var(--color-bg-light);
}
.features__tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 23px 10px;
    max-width: 900px;
    margin: 0 auto;
}
.features__tag-list a {
    background-color: var(--color-white);
    color: var(--color-main);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}
.features__tag-list a:hover {
    background-color: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

/* --------------------------------
 * ご利用の流れ (Flow)
 * -------------------------------- */
.flow {
    background-color: var(--color-bg-nri);
    padding: var(--section-padding-pc) 0;
}
.flow__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}
/* ステップ間の矢印 */
.flow__steps > .flow-step:not(:last-child)::after {
    content: '\f054'; /* Font Awesome の矢印 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    right: -25px; /* gapの半分 + 矢印の幅 */
    font-size: 24px;
    color: var(--color-primary-cta);
    opacity: 0.5;
}
.flow-step {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}
.flow-step__number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-cta);
    margin-bottom: 20px;
}
.flow-step__img-wrapper {
    font-size: 36px;
    color: var(--color-main);
    margin-bottom: 20px;
}
.flow-step__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}


/* =================================================================
   スタイルシート【3/3】FAQ・CTA・フッター・レスポンシブ
   ================================================================= */

/* --------------------------------
 * よくある質問 (FAQ)
 * -------------------------------- */
 .faq {
    padding: var(--section-padding-pc) 0;
    background-color: var(--color-white);
}
.faq__list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.faq__item {
    border-bottom: 1px solid var(--color-border);
}
.faq__question {
    font-size: 18px;
    font-weight: 700;
    padding: 25px 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 15px;
}
.faq__question::-webkit-details-marker { display: none; } /* Safariの矢印を消す */
.faq__question { list-style: none; } /* Firefoxの矢印を消す */

.faq__question span:first-child {
    color: var(--color-primary-cta);
}
/* 開閉アイコン */
.faq__question::after {
    content: '\f078'; /* Font Awesome 下向き矢印 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: var(--color-main);
}
.faq__item[open] > .faq__question::after {
    transform: translateY(-50%) rotate(180deg); /* 開いたときに上向きに */
}

.faq__answer {
    padding: 0px 40px 30px 55px; /* Qの文字幅を考慮 */
    background-color: #fdfdfd;
}
.faq__answer span:first-child {
    font-weight: 700;
    color: var(--color-secondary-cta);
    margin-right: 8px;
}

/* --------------------------------
 * クロージング・CTAセクション
 * -------------------------------- */
.cta-section {
    padding: var(--section-padding-pc) 0;
    background-color: var(--color-main);
    color: var(--color-white);
}
.cta-section__message {
    max-width: 800px;
    margin: -40px auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}
.cta-section__blocks {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.cta-block {
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}
.cta-block--primary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-block--secondary {
    background-color: var(--color-secondary-cta);
}
.cta-block__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
.cta-block__description {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
    min-height: 48px; /* 高さを揃える */
}
/* 資料リストのアイテムを少し浮かせて、クリックしやすくする */
.download-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e0e0e0; /* 境界線を少しだけ明示 */
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 25, 110, 0.1);
    background-color: #fff;
}

/* 関連コラムリンクの装飾 */
.related-link {
    color: #004196;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
}

.related-link:hover {
    border-bottom: 1px solid #004196;
}
/* --------------------------------
 * フッター
 * -------------------------------- */
.footer {
    background-color: #F0F0F2;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 30px;
    margin-bottom: 30px;
}
.footer__nav a {
    color: #232323;
}
.footer__copyright {
    text-align: center;
    font-size: 12px;
    color:#232323;
}

/* =================================================================
   レスポンシブ対応 (768px以下)
   ================================================================= */
@media (max-width: 768px) {
    .download {
        padding: 0!important;
      }
    /* --------------------------------
     * 基本設定（SP）
     * -------------------------------- */
    :root {
        --container-padding: 20px;
        --section-padding-pc: var(--section-padding-sp); /* PC用をSP用に上書き */
    }
    body { padding-top: 60px; }
    .pc-only { display: none; }
    .sp-only { display: block; }
    .section-title { margin-bottom: 40px; }
    .section-title__main { font-size: 26px; }

    /* --------------------------------
     * ヘッダー（SP）
     * -------------------------------- */
    .header { height: 60px; }
    .header__inner { justify-content: center; /* ロゴを中央に */ }
    .header__logo img { height: 28px; }

    /* --------------------------------
     * ファーストビュー（SP）
     * -------------------------------- */
    .fv__title { font-size: 32px; }
    .fv__subtitle { font-size: 16px; }
    .fv__cta-area { flex-direction: column; gap: 15px; }
    .btn--large { width: 100%; max-width: 80%; min-width: auto; margin: 0 auto;}
    .btn__main-text { font-size: 18px; }

    /* --------------------------------
     * Problem / Solution / Trust / Flow (SP)
     * -------------------------------- */
    .problem__list,
    .solution__cards,
    .trust__grid,
    .flow__steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .problem__summary { font-size: 18px; }
    .flow__steps > .flow-step:not(:last-child)::after {
        content: '\f078'; /* 下向き矢印 */
        top: auto;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
    }
    .flow__steps {
        gap: 40px;
    }

    /* --------------------------------
     * データスライダー（SP）
     * -------------------------------- */
    .data-slider { padding: 0; }
    .data-slider .swiper-button-prev,
    .data-slider .swiper-button-next { display: none; } /* 矢印は非表示に */

    /* --------------------------------
     * 活用事例（SP）
     * -------------------------------- */
    .case-studies__list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .case-studies__title { font-size: 16px; }

    /* --------------------------------
     * FAQ（SP）
     * -------------------------------- */
    .faq__question { font-size: 16px; padding: 20px; }
    .faq__answer { padding: 0px 20px 20px 40px; }

    /* --------------------------------
     * CTA（SP）
     * -------------------------------- */
    .cta-section__blocks { grid-template-columns: 1fr; }
    .cta-section__message { font-size: 16px; }
    .cta-block__description { min-height: auto; }

    /* --------------------------------
     * フッター（SP）
     * -------------------------------- */
    .footer__nav {
        flex-direction: column;
        gap: 20px;
    }
}


/* =================================================================
   【追記】資料ダウンロードページ用スタイル
   ================================================================= */
.download-faq {
    padding: var(--section-padding-pc) 0;
}
/* --------------------------------
 * 資料ダウンロードページ全体 (Download)
 * -------------------------------- */
 .download {
    padding: var(--section-padding-pc) 0;
    background-color: var(--color-bg-light);
}

.download__inner {
    max-width: 900px; /* 少し幅を狭めて見やすく */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.download__lead {
    text-align: center;
    font-size: 16px;
    margin: -40px auto 50px;
    line-height: 1.8;
    max-width: 800px;
}

/* --------------------------------
 * 資料リスト (Download List)
 * -------------------------------- */
 .related-link {
    color: var(--color-main); /* サイトのメインカラー */
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.95em;
}
.related-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

 .download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    padding: 25px 30px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.download-item:hover {
    box-shadow: 0 8px 25px rgba(0, 25, 110, 0.1);
    transform: translateY(-4px);
}

.download-item__content {
    flex-grow: 1;
}

.download-item__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-item__title i {
    font-size: 2rem; /* 文字より一回り大きく */
    margin-right: 8px;   /* アイコンと文字の間のスキマ */
    color: #ec2a2a;      /* PDFっぽい赤色に近く */
}

.download-item__description {
    font-size: 15px;
    color: var(--color-subtext);
    padding-left: 36px; /* アイコンの分インデント */
    line-height: 1.6;
}

.download-item__action {
    flex-shrink: 0;
    margin-left: 30px;
}

.download-item__link {
    display: inline-block;
    background-color: var(--color-secondary-cta);
    color: var(--color-white);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-sizing: border-box; 
}

.download-item__link::after {
    content: ' \f019'; /* Font Awesome Download Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
}

.download-item__link:hover {
    background-color: var(--color-main);
    opacity: 1; /* 親要素のhover effectを打ち消す */
}
/* --------------------------------
 * 戻るリンク・相談ボタン
 * -------------------------------- */
 .download__back-link {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.download__back-link p {
    margin-bottom: 25px;
    font-weight: 500;
}


/* =================================================================
   【追記】レスポンシブ対応 (768px以下)
   ================================================================= */
@media (max-width: 768px) {

    /* --------------------------------
     * 資料ダウンロードページ（SP）
     * -------------------------------- */
    .download__lead {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .download-list {
        gap: 15px;
    }

    .download-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .download-item__content {
        width: 100%;
    }

    .download-item__title {
        font-size: 17px;
    }

    .download-item__description {
        font-size: 14px;
        padding-left: 0; /* SPではインデント不要に */
        margin-top: 10px;
    }

    .download-item__action {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .download-item__link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .download__back-link {
        padding: 25px 20px;
        margin-top: 40px;
    }
}