/* ----------------全体設定-------------------------------- */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* ----------------見出し & pタグ-------------------------------- */

h1, h2 {
    text-align: center; /* 見出しを中央揃えに */
}

h2 {
    color: #5393d9;
    margin: 30px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #5393d9;
}

p {
    margin-bottom: 40px; /* pタグのボトムに間隔をつける */
}


/* ----------------セクション & コンテナ-------------------------------- */


/* リストを中央配置にするためのコンテナスタイル */
.list-container {
    display: flex;
    justify-content: center;
}

/* 中央配置されたリスト */
ul.centered-list {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
    max-width: 420px;
    width: 100%;
}

li {
    padding: 5px 0;
}


/* ----------------画像設定はじまり-------------------------------- */

.image-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.image-row img {
    flex: 0 0 auto;
    width: 250px;
    height: auto;
    margin: 0 10px 20px;
}

/* レスポンシブデザイン */

@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
        align-items: center;
    }

    .image-row img {
        flex: 1 1 80%; /* スマホでは画像を大きく表示 */
        margin-bottom: 20px;
    }
}

/* ----------------画像設定おわり-------------------------------- */

/* ----------------イントロセクションはじまり-------------------------------- */

#introduction {
    background-color: #feeeee;
    padding: 20px;
    text-align: center;
    margin: 20px auto; /* マージンを調整 */
    max-width: 768px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */

@media (max-width: 768px) {
    #introduction .intro-highlight {
        padding: 15px;
    }
}

/* ----------------イントロセクションおわり-------------------------------- */

/* ----------------インフォセクションはじまり-------------------------------- */

#info {
    background-color: #fffef7;
    padding: 20px;
    text-align: center;
    margin: 20px auto; /* マージンを調整 */
    max-width: 768px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#info img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ----------------インフォセクションおわり-------------------------------- */


/* ----------------ベネフィットセクションはじまり-------------------------------- */

#benefits {
    background-color: #e9eff1;
    padding: 20px;
    text-align: center;
    margin: 20px auto; /* マージンを調整 */
    max-width: 768px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


#benefits img {
    max-width: 50%;
    height: auto;
    padding: 0 0 20px 0;
    display: block;
    margin: 0 auto;
}

.benefit-row {
    display: flex;
    justify-content: space-between; /* カラム間のスペースを均等にする */
    flex-wrap: wrap; /* 必要に応じて折り返す */
}

.benefit-column {
    flex: 0 0 22%; /* 各カラムの幅を約22%に設定 (余白含む) */
    max-width: 22%; /* 最大幅も22%に設定 */
    margin-bottom: 20px; /* 下部の余白 */
}

.benefit-column img {
    width: 100%; /* 画像をカラム幅いっぱいに表示 */
    height: auto;
}

.subtext {
    font-size: 0.8em; /* テキストのサイズを小さく */
    color: #777; /* 薄い色に */
    margin-bottom: 1px; /* サブテキストの下部マージンを縮める */
}

.benefit-column p {
    margin-top: 1px; /* メリット説明文の上部マージンを縮める */
}

/* ----------------インフォセクションはじまり-------------------------------- */

/* ----------------システムセクションはじまり-------------------------------- */

#system {
    background-color: #f0f8ff;
    padding: 20px;
    text-align: center;
    margin: 20px auto; /* マージンを調整 */
    max-width: 768px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#system img {
    max-width: 70%;
    height: auto;
    padding: 20px 0;
    display: block;
    margin: 0 auto;
}

/* ----------------システムセクションおわり-------------------------------- */

/* ----------------FAQセクションはじまり-------------------------------- */

#faq {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    margin: 20px auto; /* マージンを調整 */
    max-width: 768px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#faq .faq-item {
    text-align: left;
    margin: 20px auto;
    background-color: #f3f3f3; /* 背景色を変更 */
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を追加 */
    border-radius: 8px; /* 角を丸くする */
    max-width: 768px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    margin: 0;
    text-align: left;
}

.faq-answer {
    color: #666;
    margin-top: 1px; /* 回答のマージンを調整 */
    overflow: hidden;
    text-align: left;
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    padding: 0;
}

.faq-question.active + .faq-answer {
    max-height: 1000px;
    padding-bottom: 10px;
}

/* ----------------FAQセクションおわり-------------------------------- */


/* ----------------CTAセクションはじまり-------------------------------- */

#cta {
    background-color: #faf9ee;
    padding: 20px;
    text-align: center;
    margin: 20px auto; /* マージンを調整 */
    max-width: 768px; /* 質問箇所の枠の最大幅を1000pxに設定 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ボタン関連 */

#cta a {
    display: inline-block; /* リンク(ボタン)をインラインブロック要素として扱う */
    margin: 0 auto; /* 自動マージンで中央揃え */
}


#cta button {
    background: #5393d9; /* ボタンの背景色を変更 */
    color: #fff;
    border: none;
    padding: 12px 25px; /* パディングを調整 */
    font-size: 16px; /* フォントサイズを調整 */
    border-radius: 4px; /* ボタンの角を丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 影を追加 */
    transition: background-color 0.3s ease; /* ホバー時のアニメーションを追加 */
    cursor: pointer; /* ホバー時にカーソルをポインターに変更 */
}

#cta button:hover {
    background: #4178be; /* ホバー時の背景色を変更 */
    transition: transform 0.3s ease;
}

/* ----------------CTAセクションおわり-------------------------------- */

/* ----------------フッターセクションはじまり-------------------------------- */

footer {
    text-align: center;
    padding: 1em 0;
    background: #333;
    color: #fff;
}

/* ----------------フッターセクションおわり-------------------------------- */