/* 基本的なリセットとフォント設定 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

a {
    color: #007bff; /* リンクの色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3; /* ホバー時のリンクの色 */
    text-decoration: underline;
}

/* コンテナ設定 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky; /* スクロールしても追従 */
    top: 0;
    z-index: 1000; /* 他の要素より手前に表示 */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* 広めに設定 */
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-size: 24px;
    font-weight: bold;
}

.site-logo a {
    color: #333;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px; /* メニュー間のスペース */
}

/* PC表示用のナビゲーション間隔調整 */

/* 1. リンク要素の左右のパディングを調整 */
/* これで、各メニュー項目（ボタンのように見える部分）の横幅とクリック範囲を調整します */
/* PCとスマホ共通の基本設定 (スマホはこの設定が主に適用される) */
.main-nav ul li a {
    font-size: 16px; /* スマホや基本は16pxで読みやすくする */
    padding: 10px 15px; /* 基本のパディング */
}

/* 画面幅が一定以上（例: 768px以上）になったらPC用の設定を適用 */
@media (min-width: 768px) {
    .main-nav ul li a {
        /* PCで折り返しを防ぐための設定を上書き */
        font-size: 14px; /* PCでは少し小さくして横幅を節約 */
        padding: 10px 5px; /* PCでは左右のパディングを詰める */
    }
/* 2. リスト項目（li）の左右のマージンを調整 */
/* これで、メニュー項目と項目自体の間隔を調整します */
    .main-nav ul li {
        margin: 0 0; /* PCではマージンも詰める */
    
    /* 横並びになっていることを確認 */
    display: inline-block; /* または、親のulでdisplay: flex;を使用 */
    }
}


.main-nav a {
    color: #555;
    font-weight: 500;
    padding: 5px 0;
    position: relative; /* 下線アニメーション用 */
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease-in-out;
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-primary-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap; /* ボタン内のテキストの改行を防ぐ */
}

.btn-primary-header:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* メインコンテンツのセクション共通スタイル */
section {
    padding: 80px 0; /* 上下の余白 */
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    display: inline-block; /* 下線のためにインラインブロック化 */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.section-bg-light {
    background-color: #f0f4f7;
}

/* ヒーローセクション */
.hero {
    background-color: #e0f2f7; /* 明るい青緑系の背景 */
    color: #333;
    padding: 120px 0;
    position: relative;
    overflow: hidden; /* 背景模様がはみ出さないように */
}

/* 背景に模様を追加（例: CSS gradients） */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(255,255,255,0) 70%),
                linear-gradient(45deg, rgba(0,200,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-subheading {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #2c3e50;
}

.hero-title .pc-only {
    display: block; /* PCでは改行 */
}

.hero-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.btn-cta {
    display: inline-block;
    background-color: #28a745; /* 強調したい緑色 */
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(40,167,69,0.3);
}

.btn-cta:hover {
    background-color: #218838;
    transform: translateY(-2px); /* 少し浮き上がるエフェクト */
    text-decoration: none;
}

.btn-large {
    font-size: 26px; /* より大きく */
}

.small-text {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
}

/* 課題解決セクション */
.problem-list, .solution-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.problem-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.problem-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.problem-item h3 {
    font-size: 24px;
    color: #dc3545; /* 問題点は赤系 */
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.problem-item h3::before {
    content: "×";
    color: #dc3545;
    font-size: 28px;
    position: absolute;
    left: 0;
    top: 0;
}

.problem-item p {
    font-size: 16px;
    color: #555;
}

.solution-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.solution-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.solution-item img {
    width: 80px; /* アイコンのサイズ */
    height: 80px;
    margin-bottom: 20px;
}

.solution-item h3 {
    font-size: 24px;
    color: #28a745; /* 解決策は緑系 */
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.solution-item h3::before {
    content: "?";
    color: #28a745;
    font-size: 28px;
    position: absolute;
    left: 0;
    top: 0;
}

.solution-item p {
    font-size: 16px;
    color: #555;
}

/* 機能一覧セクション */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left; /* テキストは左寄せ */
}

.feature-item img {
    max-width: 100%; /* 画像を親要素に合わせる */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee; /* 下線で区切り */
    padding-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #555;
}

/* ご利用の流れセクション */
.flow-steps {
    display: flex;
    flex-wrap: wrap; /* スマホで折り返す */
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.flow-step {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    flex: 1 1 calc(33% - 60px); /* 3列表示の基本 */
    max-width: 350px;
    position: relative;
    text-align: center;
}

.flow-step .step-number {
    background-color: #007bff;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -70px auto 20px; /* ボックスの上にはみ出すように配置 */
    border: 5px solid #f0f4f7; /* 背景色と同じボーダーで馴染ませる */
}

.flow-step h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.flow-step p {
    font-size: 16px;
    color: #555;
}

.btn-flow {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn-flow:hover {
    background-color: #218838;
    text-decoration: none;
}

/* 導入事例セクション */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.voice-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
    position: relative;
}

.voice-item::before {
    content: "“"; /* 引用符の装飾 */
    font-size: 60px;
    color: #e0e0e0;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.voice-text {
    font-size: 17px;
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 30px; /* 引用符のスペース確保 */
}

.voice-info {
    font-size: 15px;
    color: #777;
    text-align: right;
    font-weight: bold;
}

.btn-secondary {
    display: inline-block;
    background-color: #6c757d; /* グレー系 */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
}

/* FAQセクション (アコーディオン) */
.accordion {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: left;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* アコーディオンコンテンツの隠す部分 */
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background-color: #f7f7f7;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    background-color: #e9ecef;
}

.accordion-header.active::after {
    transform: rotate(45deg); /* 開いた時にバツ印に */
}

.accordion-content {
    max-height: 0; /* 初期状態で非表示 */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 20px 25px;
    color: #555;
    font-size: 16px;
    border-top: 1px solid #eee;
}

/* お問い合わせセクション */
.contact-form {
    max-width: 600px;
    margin: 50px auto 0;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left; /* フォーム要素は左寄せ */
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group textarea {
    resize: vertical; /* 縦方向のみリサイズ可能 */
    min-height: 120px;
}

.required {
    color: #dc3545; /* 必須項目は赤色 */
    font-size: 14px;
    margin-left: 5px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* 最下部のCTAセクション */
.section-cta-bottom {
    background-color: #007bff;
    color: #fff;
    padding: 60px 0;
}

.section-cta-bottom .cta-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #fff; /* 親要素が白なので明示的に */
}
.section-cta-bottom .cta-title::after {
    display: none; /* 下線を非表示 */
}


.section-cta-bottom .cta-description {
    font-size: 20px;
    margin-bottom: 30px;
}

/* フッター */
footer {
    background-color: #2c3e50; /* 濃いめの背景色 */
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    opacity: 0.8;
}

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

.copyright {
    color: #bbb;
}

/* レスポンシブデザインの調整 */
@media (max-width: 992px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .btn-primary-header {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-title .pc-only {
        display: inline; /* スマホでは改行しない */
    }
    .section-title {
        font-size: 30px;
    }
    .problem-list, .solution-grid, .feature-grid, .voice-grid {
        grid-template-columns: 1fr; /* 1列表示に */
    }
    .flow-step {
        flex-basis: 100%; /* 1列表示 */
        max-width: 400px; /* 中央に寄せるための最大幅 */
    }
    .accordion-header {
        font-size: 16px;
        padding: 15px 20px;
    }
    .accordion-content p {
        padding: 15px 20px;
    }
    .section-cta-bottom .cta-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero {
        padding: 80px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .btn-cta {
        padding: 15px 30px;
        font-size: 20px;
    }
    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
  }
}

/* main1.css の既存のスタイルに追記 */

/* 導入事例セクションの概要説明 */
.section-voice .section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* 個別事例への「詳細を見る」リンク */
.read-more-voice {
    display: block;
    text-align: right;
    font-size: 15px;
    color: #007bff;
    font-weight: bold;
    margin-top: 15px; /* 必要に応じて調整 */
    text-decoration: none;
}

.read-more-voice:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* レスポンシブ対応の調整（既存のメディアクエリ内に追加または新規作成） */
@media (max-width: 768px) {
    .section-voice .section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

/* ========================================
   1. 価格表（Pricing.html専用）
   ======================================== */

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 45%;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card.featured-plan {
    border: 3px solid #007bff;
    transform: scale(1.03);
}

.price-box {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.price-basic {
    display: block;
    font-size: 1rem;
    color: #777;
    font-weight: 500;
    margin-bottom: 5px;
}

.price-value {
    font-size: 3rem;
    font-weight: 900;
    color: #007bff;
    line-height: 1;
}

.price-unit {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 5px;
    color: #007bff;
}

.alert-info {
    background-color: #e6f7ff;
    color: #0056b3;
    border: 1px solid #99d8ff;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* モバイル対応のための調整 */
@media (max-width: 992px) {
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        width: 80%;
    }
}

/* ========================================
   最下部のCTAセクション (料金プランへの誘導)
   ======================================== */

/* section-cta-middle, section-bg-dark クラスの定義 */
/* ヒーローセクション（.hero）とフッター（footer）の中間色（#2c3e50）を使って信頼感を出す */
.section-cta-middle,
.section-bg-dark {
    background-color: #2c3e50; /* 濃い青（フッターの色）を使って信頼感と目立ちやすさを両立 */
    color: #fff;
    padding: 60px 0;
}

/* 濃い背景色でのセクションタイトル */
.cta-title-dark {
    /* 既存の .section-title のスタイルを上書き */
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff !important; /* 文字色を白に */
    display: block; /* 下線のために設定されていた display: inline-block; を解除 */
}

/* 濃い背景色のタイトルから下線を削除 */
.cta-title-dark::after {
    display: none;
}

/* 濃い背景色での説明文 */
.cta-description-dark {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e0f2f7; /* 明るい青緑系（ヒーロー背景色）を少し使い、柔らかさを出す */
}

/* 濃い背景色でのCTAボタン (btn-large-dark) */
.btn-large-dark {
    /* メインのCTA（.btn-cta）と同じ形にし、色だけ調整 */
    background-color: #28a745; /* 緑色 (メインCTAと同じ) を使うことで、一貫性と目立ちやすさを確保 */
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* 濃い背景でも目立つ影 */
    display: inline-block;
}

.btn-large-dark:hover {
    background-color: #218838;
    transform: translateY(-2px);
    text-decoration: none;
}

/* 濃い背景色での小さなテキスト */
.small-text-dark {
    font-size: 14px;
    color: #ccc;
    margin-top: 15px;
}

/* スマートフォンでの調整（既存の @media (max-width: 768px) 内に追加） */
@media (max-width: 768px) {
    .cta-title-dark {
        font-size: 26px; /* 小さな画面では文字を小さく */
    }
    .cta-description-dark {
        font-size: 16px;
    }
    .btn-large-dark {
        font-size: 20px;
        padding: 15px 30px;
    }
}

/* ========================================
   ハンバーガーメニュー関連
   ======================================== */

/* ハンバーガーアイコンの基本スタイル */
.menu-toggle {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* ナビゲーションの上に表示 */
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* モバイルでのみハンバーガーアイコンを表示 */
@media (max-width: 992px) {
    .header-inner {
        /* モバイルではロゴとボタンを左右に配置 */
        justify-content: space-between;
        gap: 0;
    }
    .menu-toggle {
        display: block; /* モバイルでのみ表示 */
    }
    
    /* モバイルでのナビゲーションの初期状態（非表示） */
    .main-nav {
        position: absolute;
        top: 100%; /* ヘッダーの真下に配置 */
        left: 0;
        width: 100%;
        background-color: #fff; /* 背景を白にしてコンテンツと区別 */
        border-top: 1px solid #eee;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        
        /* ★★ 重要: 初期状態を非表示にする ★★ */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        
        /* 既存のレイアウトを上書き */
        padding: 0; 
    }
    
    /* ★★ ハンバーガーがアクティブになった時のスタイル ★★ */
.main-nav.active {
    /* 修正前: max-height: 400px; */
    max-height: 100vh; /* 画面の高さまで広がるように変更 */
    overflow-y: auto;  /* 内容が多い場合にスクロールできるように追加 */
    padding: 10px 0;   /* デザイン上の余白（必要に応じて残す） */
}
    
    .main-nav ul {
        flex-direction: column; /* 縦に並べる */
        text-align: left;
        padding: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav li a {
        padding: 15px 20px;
        display: block;
        color: #333;
    }
    
    .main-nav a:hover::after {
        display: none; /* モバイルでは下線のアニメーションは不要 */
    }
    
    /* トライアルボタンの調整 */
    .btn-primary-header {
        /* モバイルでのナビゲーションの外に置いて、常に表示・クリックできるようにする */
        margin-left: 15px;
    }
}

/* ハンバーガーアイコンのアニメーション */
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0; /* 中央の線を非表示 */
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* 上の線を回転 */
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* 下の線を回転 */
}
/* 追加CSSファイルがある場合はここに追記するか、additional.cssに記載 */
/* .pc-only { display: block; } */
/* .sp-only { display: none; } */
/* @media (max-width: 768px) { .pc-only { display: none; } .sp-only { display: block; } } */

.accordion-header {
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  padding: 15px;
  font-size: 1rem;
  text-align: left;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #f5f5f5;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
  border: 1px solid #eee;
  border-top: none;
  padding: 0 15px;
}

.accordion-item.active .accordion-content {
  padding: 15px;
}

/*20251224追加*/
section {
    margin: 80px auto;
    max-width: 1100px;
    padding: 0 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 80%;
    background-color: #007bff;
    border-radius: 3px;
}

.problems,
.solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-list li::before {
    content: "?";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.comparison-list {
    margin-top: 20px;
    padding-left: 20px;
}

.comparison-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.flow-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.flow-list li {
    counter-increment: step;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.flow-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
}

/*20251224*/
.faq {
    max-width: 900px;
    margin: 0 auto 80px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 28px;
}

.faq-item h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-weight: bold;
}

.faq-item p {
    font-size: 16px;
    color: #555;
}

/* FAQ アコーディオン */
.faq {
    max-width: 900px;
    margin: 0 auto 80px;
}

.faq-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f7f7f7;
    border: none;
    padding: 20px 25px;
    font-size: 17px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.faq-question::before {
    content: "Q";
    color: #007bff;
    font-weight: bold;
    margin-right: 10px;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 25px;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.faq-answer p {
    padding: 20px 25px;
    font-size: 16px;
    color: #555;
}

/* アンカー位置のズレ防止 */
section[id] {
    scroll-margin-top: 150px;
}

html {
    scroll-behavior: smooth;
}

/* ナビの active 表示 */
.main-nav a.active {
    color: #007bff;
    font-weight: 700;
    position: relative;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

/* =========================
   スマホ用ナビ調整
========================= */
@media (max-width: 768px) {

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block;
        padding: 18px 24px;
        font-size: 18px;
    }

    /* CTAは目立たせる */
    .btn-primary-header {
        display: none;
    }
}

/* =========================
   CTA 強調アニメーション
========================= */
.btn-cta {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta.cta-active {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ================= 共通スタイル ================= */
body { font-family: "Noto Sans JP", sans-serif; margin: 0; padding: 0; color: #333; }
h1, h2, h3 { margin: 0; }
a { color: #ff6600; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ================= ファーストビュー ================= */
.hero { padding: 80px 20px; text-align: center; background-color: #f4f4f4; }
.hero h1 { font-size: 2em; line-height: 1.4; margin-bottom: 20px; }
.hero .lead { font-size: 1.2em; line-height: 1.6; }

/* ================= お悩み ================= */
.problems { padding: 50px 20px; background-color: #f9f9f9; }
.problems h2 { text-align: center; margin-bottom: 40px; font-size: 2em; }
.problem-items { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.problem-item {
  background-color: #fff; padding: 30px 20px; border-radius: 12px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); flex: 1 1 250px; max-width: 300px; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-item:hover { transform: translateY(-5px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.problem-item .icon { font-size: 2.5em; color: #ff6600; margin-bottom: 15px; }
.problem-item h3 { margin-bottom: 10px; font-size: 1.2em; }
.problem-item p { color: #555; line-height: 1.6; }

/* ================= 解決策 ================= */
.solutions { padding: 50px 20px; }
.solutions h2 { text-align: center; margin-bottom: 40px; font-size: 2em; }
.solution-item { margin-bottom: 30px; text-align: center; }
.solution-item h3 { font-size: 1.3em; margin-bottom: 10px; }
.solution-item p { color: #555; line-height: 1.6; }

/* ================= 機能 ================= */
.feature-list { list-style: disc; padding-left: 20px; margin: 20px 0; }
.feature-list li { margin-bottom: 10px; }

/* ================= 流れ ================= */
.flow-list { counter-reset: step; padding-left: 0; list-style: none; margin: 20px 0; }
.flow-list li {
  position: relative; padding-left: 40px; margin-bottom: 15px;
}
.flow-list li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; 
  width: 30px; height: 30px; border-radius: 50%; background-color: #ff6600; color: #fff; 
  text-align: center; line-height: 30px; font-weight: bold;
}

/* ================= FAQ ================= */
.faq { padding: 50px 20px; background-color: #f9f9f9; }
.faq h2 { text-align: center; margin-bottom: 40px; font-size: 2em; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question { width: 100%; text-align: left; padding: 15px; font-size: 1.1em; cursor: pointer; background: none; border: none; outline: none; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 15px; }
.faq-item.active .faq-answer { padding: 15px; }

/* ================= CTA ================= */
.cta { text-align: center; padding: 50px 20px; background-color: #fff; margin-top: 40px; }
.cta h2 { font-size: 2em; margin-bottom: 20px; }
.cta p { font-size: 1.2em; margin-bottom: 30px; }
.btn-primary { background-color: #ff6600; color: #fff; padding: 15px 40px; border-radius: 50px; font-size: 1.2em; display: inline-block; transition: 0.3s; }
.btn-primary:hover { background-color: #e55b00; }

/* ================= お悩み・解決策 横並び + CTA ================= */
.problems, .solutions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.problems h2, .solutions h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.problem-item, .solution-item {
    flex: 1 1 300px; /* 最小300pxで横並び */
    max-width: 350px;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-item:hover, .solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.problem-item h3::before {
    content: "×";
    color: #dc3545;
    font-size: 28px;
    margin-right: 8px;
}

.solution-item h3::before {
    content: "?";
    color: #28a745;
    font-size: 28px;
    margin-right: 8px;
}

/* CTAボタン */
.cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.cta-bottom .btn-cta {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    font-size: 1.5em;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta-bottom .btn-cta:hover {
    background-color: #e55b00;
    transform: translateY(-3px);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .problems, .solutions {
        flex-direction: column;
        align-items: center;
    }
}

