/* 全体のスタイル */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

h1,
h2,
h3 {
    color: #2c3e50;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #004CA0, #2891B5);
    color: rgb(255, 255, 255);
    text-align: center;
 /*  border-radius: 0 0 50px 50px; */

    position: sticky;
    top: 0;
    z-index: 999;
    background-color: white;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
}

header h2 {
    font-size: 1.5em;
    margin-top: 10px;
}

/* 問題提起セクション */
#askmatter {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    color: rgb(0, 0, 0);
}

/* 表題のスタイル */
.section-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #000000;
}

/* メインコンテナのスタイル (左カードと右画像の部分) */
.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* これでレスポンシブ対応 */
}

/* 左側カードのスタイル */
.askmatter-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* 各カードのスタイル */
.askmatter-card {
    background: #004CA0;
    /* 薄い黄色 */
    border: 4px solid #ffffff;
    /* 白い枠線 */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    transition: transform 0.3s ease;
    text-align: center;
    /* 親要素で中央揃えを設定 */
}

.askmatter-card h2 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
    /* 中央揃え */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1.5);
    /* 黒影 */
    display: inline-block;
    /* 文字幅に合わせる */
    position: relative;
    /* アンダーライン用に相対配置 */
    margin: 0 auto;
    /* 中央寄せ用 */
}

/* 黄色のアンダーラインのスタイル */
.askmatter-card h2::after {
    content: "";
    display: block;
    width: 100%;
    /* h2 の幅に合わせる */
    height: 4px;
    /* アンダーラインの高さ */
    background-color: #f1c40f;
    /* 黄色 */
    position: absolute;
    /* 親要素に基づいて配置 */
    bottom: -5px;
    /* h2 の下に配置 */
    left: 0;
    /* 左端から開始 */
    border-radius: 2px;
    /* 丸みを付ける */
}

.askmatter-card p {
    font-size: 1em;
    margin-top: 10px;
    color: #f5f5f5;
    text-align: left;
    line-height: 1.6;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1.5);
    /* 黒影 */
}

/* 右側画像のスタイル */
.askmatter-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.askmatter-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.askmatter-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 解決文 */
.solution-container {
    text-align: center;
    margin-top: 30px;
}

.solution-title {
    font-size: 1.6em;
    color: #000000;
}



/* コンテナ */
.carousel-container {
    overflow: hidden;
    width: 100%;
    background-color: #effff0;
}

/* カード全体 */
.carousel {
    display: flex;
    animation: scroll 30s linear infinite;
}

/* 各カード */
.card {
    flex: 1 0 calc(25% - 10px);
    margin-right: 10px;
    padding: 10px;
    background: linear-gradient(to bottom, #004CA0, #2D6FB7);
    /* 上深緑→下黄緑 */
    border: 10px solid #ffcc00;
    /* 枠を黄色に */
    clip-path: inset(0 round 50px);
    /* 上下左右に丸みをつける */
    box-shadow: 0 5px 15px rgba(85, 254, 91, 0.2);
    /* 柔らかい影 */
    text-align: left;
    /* 全体を左揃えに変更 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* タイトルと本文の間を整える */
    color: #ffffff;
    /* テキストを白にして視認性を確保 */
}

/* 表題 */
.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    /* 太字 */
    color: #ffcc00;
    /* 黄色の枠と統一感を持たせた色 */
    margin-bottom: 15px;
    text-align: center;
    /* タイトルは中央揃えのまま */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    /* 黒の濃い影 */
}

/* 本文 */
.card-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    /* テキストは白で統一 */
    text-align: left;
    /* 本文を左揃え */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    /* 黒の濃い影 */
}


/* スライドアニメーション */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100%));
    }
}

/* レスポンシブ対応 */

/* スマホなど小さな画面用（最大幅600px） */
@media screen and (max-width: 600px) {
    .card {
        flex: 1 0 calc(100% - 10px);
        /* 1列表示 */
        margin-right: 0;
    }

    .card-title {
        font-size: 1.2rem;
        /* タイトルサイズを少し小さく */
    }

    .card-body {
        font-size: 0.9rem;
        /* 本文のフォントサイズを少し小さく */
    }
}

/* タブレット用（最大幅900px） */
@media screen and (max-width: 900px) {
    .card {
        flex: 1 0 calc(50% - 10px);
        /* 2列表示 */
        margin-right: 10px;
    }

    .card-title {
        font-size: 1.4rem;
        /* タイトルサイズを少し小さく */
    }

    .card-body {
        font-size: 1.2rem;
        /* 本文のフォントサイズを調整 */
    }
}

/* デスクトップ用（画面幅が900pxより大きい場合はそのまま） */
@media screen and (min-width: 900px) {
    .card {
        flex: 1 0 calc(25% - 10px);
        /* 4列表示 */
    }

    .card-title {
        font-size: 1.5rem;
        /* 通常のサイズ */
    }

    .card-body {
        font-size: 1.1rem;
        /* 通常のサイズ */
    }
}




/* 機能セクション */
#features {
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    padding: 20px 0;
    /* セクションの上下に余白を追加 */
    color: #ffffff;
    /* テキストを白に設定 */
}

#features .section-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* アイコンとテキストの間隔 */
    margin-bottom: 40px;
}

#features .section-title i {
    color: #f39c12;
    /* サーバーアイコンの色 */
    font-size: 1.5em;
    /* アイコンのサイズ */
}

#features .feature {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

#features .feature:nth-child(odd) {
    background: linear-gradient(to left, #004CA0, #2D6FB7);
    /* 青から白へのグラデーション */
}

#features .feature:nth-child(even) {
    background: linear-gradient(to right, #2D6FB7, #004CA0);
    /* 白から青へのグラデーション */
}

.feature-description {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.feature-image {
    flex: 0 0 260px;
    /* 画像サイズ固定 */
    display: flex;
    justify-content: center;
}

.feature-icon {
    width: 100%;
    height: auto;
}

/* --- レスポンシブデザイン (スマートフォン・タブレット対応) --- */

/* タブレットサイズ (幅が768px以下) */
@media (max-width: 768px) {
    #features .section-title {
        font-size: 1.8em;
        /* フォントサイズを小さく調整 */
    }

    #features .feature {
        flex-direction: column;
        /* 縦並びに変更 */
        text-align: center;
        /* 中央寄せ */
    }

    .feature-description {
        text-align: center;
        /* テキストを中央寄せ */
        padding: 10px;
    }

    .feature-image {
        margin-bottom: 20px;
        /* 画像と説明文の間に余白 */
    }
}

/* スマートフォンサイズ (幅が480px以下) */
@media (max-width: 480px) {
    #features .section-title {
        font-size: 1.5em;
        /* フォントサイズをさらに調整 */
    }

    .feature-image {
        flex: 0 0 200px;
        /* 画像サイズを縮小 */
    }

    .feature-description {
        padding: 10px;
        font-size: 0.9em;
        /* テキストサイズを小さく */
    }
}

/* デスクトップ用のスタイル */
.testimonial {
    display: flex;
    /* フレックスボックスで横並び */
    align-items: center;
    /* 縦位置を中央揃え */
    margin-bottom: 30px;
    /* 各項目の間に余白を追加 */
    color: #000000;
    /* 全体のデフォルトテキスト色を黒に設定 */
}


#testimonials {
    padding: 50px 0;
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    color: #000000;
    /* テキストを白にしてコントラストを確保 */
}

.container {
    max-width: 1200px;
    /* セクション幅を制限 */
    margin: 0 auto;
    /* セクションを中央配置 */
}

#testimonials h2 {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000000;
}

.testimonial-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    /* 見出しに黄色を使って目立たせる */
    margin-bottom: 10px;
}

.testimonial-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    /* 本文を黒に設定 */
    margin-bottom: 15px;
}

.container {
    max-width: 1200px;
    /* セクションの最大幅 */
    margin: 0 auto;
    /* セクションを中央配置 */
}

.testimonial {
    display: flex;
    /* フレックスボックスで横並び */
    align-items: center;
    /* 縦位置を中央揃え */
    margin-bottom: 30px;
    /* 各項目の間に余白を追加 */
}

.testimonial-image {
    flex: 0 0 300px;
    /* 画像の固定幅 */
    max-width: 500px;
    /* 最大横幅 */
    max-height: 800px;
    /* 最大縦幅 */
    width: auto;
    /* アスペクト比を保持 */
    height: auto;
    /* アスペクト比を保持 */
    border-radius: 10px;
    /* 角を丸くする */
    margin-right: 20px;
    /* 画像とテキスト間に余白を追加 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* 影を追加 */
}


/* モバイル対応: 画面幅が768px以下の場合 */
@media (max-width: 768px) {
    .testimonial {
        flex-direction: column;
        /* モバイルでは縦並びに変更 */
        text-align: center;
        /* テキストを中央揃え */
    }

    .testimonial-image {
        margin-bottom: 15px;
        /* 画像とテキスト間に余白を追加 */
        width: 100%;
        /* 画像の幅を100%にすることで、モバイルでも画像が親要素に収まるように */
    }

    .testimonial-text {
        width: 100%;
        /* テキストが画像に対して横幅いっぱいに表示される */
    }
}


/* 料金プランセクションのスタイル */
#pricing {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    color: #030303;
    text-align: center;
}

/* ヘッダー調整 */
#pricing h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #000000;
}

/* 基本料金とカスタマイズ部分 */
.pricing-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.basic-price-circle,
.custom-price-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.basic-price-circle {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.custom-price-circle {
    background: linear-gradient(135deg, #6f42c1, #4b0082);
    /* 紫色のグラデーション */
}

.basic-price-circle strong,
.custom-price-circle strong {
    font-size: 1.5rem;
}

/* "+" のデザイン */
.plus-sign {
    font-size: 2rem;
    color: #00eeff;
    font-weight: bold;
}

/* プランカードのコンテナ */
.pricing-cards {
    display: flex;
    gap: 30px;
    /* カード間の余白を広げる */
    justify-content: center;
    flex-wrap: wrap;
}

/* プランカード */
.pricing-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 350px;
    /* カードを大きくする */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 枠線の色をプランごとに設定 */
.pricing-card.mini {
    border: 4px solid #007bff;
    /* ベーシック: 青色 */
}

.pricing-card.basic {
    border: 4px solid #dbe300;
    /* ベーシック: 青色 */
}

.pricing-card.professional {
    border: 4px solid #28a745;
    /* プロフェッショナル: 緑色 */
}

.pricing-card.premium {
    border: 4px solid #6f42c1;
    /* プレミアム: 紫色 */
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card .description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pricing-card .price {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 20px;
}

/* プランカードのリスト */
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

/* 問い合わせボタンを中央揃え */
.pricing-card button {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 auto;
    /* 中央揃え */
    display: block;
    /* 中央揃えを効かせるため */
}

.pricing-card button:hover {
    background: #0056b3;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%;
        /* モバイルで幅を調整 */
    }
}



/* 導入までの流れセクション */
#process {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    text-align: center;
}

#process h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}



/* 流れのステップ */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.step {
    width: 250px;
    /* ステップの幅を広げる */
    padding: 10px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    margin-right: 5px;
    /* 各ステップ間の間隔を狭める */
    box-sizing: border-box;
    display: inline-block;
    position: relative;
}

.step:last-child {
    margin-right: 0;
    /* 最後のステップは右側の余白なし */
}

.step:hover {
    transform: scale(1.05);
}

/* アイコン */
.step-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.step-icon img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* ステップタイトル */
.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

/* ステップ説明 */
.step p {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
    /* テキストを左寄せ */
}

/* 矢印 */
.arrow {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0px;
    align-self: center;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .arrow {
        display: none;
    }

    .step {
        max-width: 100%;
    }
}



/* 基本設定 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#more {
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    padding: 2rem 1rem;
}

#more .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#more h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

#more h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

#more .description {
    font-size: 1rem;
    color: #424242;
    margin: 0.5rem 0 1.5rem;
}

/* カードコンテナ */
.more-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* 個別カードのスタイル */
.more-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0 50px 8px 8px;
    /* 右上に大きな丸みを追加 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    flex: 1 1 calc(25% - 1rem);
    /* 4列レイアウト */
    max-width: calc(25% - 1rem);
    overflow: hidden;
    /* 角丸の内側に収める */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* カードの表題部分 */
.more-card-header {
    background-color: #2D6FB7;
    /* 緑系の濃い色 */
    color: #fff;
    padding: 1rem;
    font-weight: bold;
    text-align: center;
}

/* カードの本文部分 */
.more-card-body {
    background-color: #DAE5F1;
    /* 緑系の薄い色 */
    padding: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .more-card {
        flex: 1 1 calc(33.333% - 1rem);
        /* 3列レイアウト */
        max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .more-card {
        flex: 1 1 calc(50% - 1rem);
        /* 2列レイアウト */
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .more-card {
        flex: 1 1 100%;
        /* 1列レイアウト */
        max-width: 100%;
    }
}



/* セクション全体のスタイル */
#demo {
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    padding: 3rem 1rem;
    /* セクション全体の余白 */
    color: #fff;
    /* テキストを白色に */
    text-align: center;
    /* セクション内の要素を中央揃え */
}

/* コンテナのスタイル */
#demo .container {
    max-width: 800px;
    /* 最大幅 */
    margin: 0 auto;
    /* 中央揃え */
    background-color: #2D6FB7;
    padding: 1rem;
    border-radius: 12px;
    /* 角を丸める */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* 軽い影を追加 */
}

/* メイン見出し */
#demo h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

/* 説明文 */
#demo .description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 0.2rem 0;
    /* ボタンとの間隔を広げるために下に余白追加 */
    color: #e8f5e9;
    /* 少し薄い緑系の白色 */
}

/* 「無料」の部分を強調 */
#demo .free {
    font-size: 2rem;
    /* フォントサイズを大きく */
    font-weight: bold;
    color: #ffeb3b;
    /* 明るい黄色に変更 */
    background-color: #004CA0;
    /* 濃い緑背景 */
    padding: 0.5rem 1rem;
    /* 背景とテキストの間に余白 */
    border-radius: 8px;
    /* 丸みをつける */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* 軽い影 */
    display: inline-block;
    /* 横並びにする */
}

/* 体験版お申込みボタン */
.demo-btn {
    display: inline-block;
    background-color: #DAE5F1;
    /* ボタンの背景色 */
    color: rgb(0, 0, 0);
    /* ボタンの文字色 */
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.8rem 2rem;
    /* 上下の余白と左右の余白 */
    border-radius: 30px;
    /* 楕円形にするための丸み */
    text-decoration: none;
    /* デフォルトの下線を削除 */
    text-align: center;
    /* テキストを中央揃え */
    transition: background-color 0.3s ease;
    /* 背景色が変わるアニメーション */
    margin-top: 2rem;
    /* ボタンの上に余白を追加 */
}

.demo-btn:hover {
    background-color: #004CA0;
    /* ホバー時に背景色を変更 */
    color: white;
    /* ボタンの文字色 */
    cursor: pointer;
    /* マウスカーソルをポインタに変更 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #demo {
        padding: 2rem 1rem;
    }

    #demo h2 {
        font-size: 1.5rem;
    }

    #demo .description {
        font-size: 1rem;
    }

    #demo .free {
        font-size: 1.5rem;
        /* モバイルでも大きすぎないよう調整 */
    }

    .demo-btn {
        font-size: 1rem;
        /* モバイルサイズではフォントサイズを少し小さく */
        padding: 0.6rem 1.5rem;
        /* モバイルではボタンの余白を調整 */
        margin-top: 1.5rem;
        /* モバイルでもボタンの上余白を調整 */
    }
}



/* FAQセクション全体 */
#faq {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
}

#faq h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
}

/* FAQアイテムのスタイル */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* Q部分のスタイル */
.faq-item h3 {
    margin: 0;
    padding: 15px 20px;
    background-color: #2D6FB7;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3:hover {
    background-color: #004CA0;
}

/* アイコンのスタイル */
.faq-item h3::after {
    content: "\25B6";
    /* 三角形アイコン */
    font-size: 1em;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

/* A部分のスタイル */
.faq-item p {
    margin: 0;
    padding: 15px 20px;
    background-color: #fff;
    color: #333;
    display: none;
    /* 初期は非表示 */
}

/* 展開時のスタイル */
.faq-item.open h3::after {
    transform: rotate(90deg);
    /* アイコンを回転 */
}

.faq-item.open p {
    display: block;
    /* 展開されたAを表示 */
}

@media (max-width: 480px) {
    #faq h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }

    .faq-item h3 {
        font-size: 0.9em;
        padding: 10px;
    }

    .faq-item p {
        font-size: 0.8em;
        padding: 10px;
    }
}


/* セクション全体の背景色を緑に */
#contact {
    background: linear-gradient(to bottom, #ffffff, #DAE5F1, #ffffff);
    padding: 40px 20px;
}

/* ボタンの基本スタイル */
form button {
    background-color: #ffffff;
    /* 初期の背景色（白） */
    color: #004CA0;
    /* テキストの初期色（緑） */
    border: 2px solid #004CA0;
    /* 緑色のボーダー */
    font-size: 1.2em;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    /* スムーズなエフェクト */
}

/* ボタンホバー時のエフェクト */
form button:hover {
    background-color: #004CA0;
    /* 背景色を緑に */
    color: #ffffff;
    /* テキストを白に */
    border: 2px solid #ffffff;
    /* ボーダーを白に */
    cursor: pointer;
    /* カーソルをポインターに */
}

#copyright {
    background-color: #333;
    /* 背景色を設定（任意） */
    text-align: center;
    /* 中央揃え */
    color: white;
    /* 文字色を白に設定 */
    padding: 10px 0;
    /* 上下の余白を調整 */
}

#scrollToTop {
    color: white;
    /* 文字色を白に設定 */
    text-decoration: none;
    /* リンクの下線を削除 */
    font-size: 1rem;
    /* フォントサイズを調整（任意） */
}

#scrollToTop:hover {
    text-decoration: underline;
    /* ホバー時に下線を追加 */
}

.menu-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width:100% !important;
}

.menu-item.inactive {
    background: linear-gradient(135deg, #DAE5F1, #DAE5F1) !important;
    color : #002044;
}

.menu-grid .menu-item {
    color : #FFF;
    border: 1px solid #DAE5F1;
}

.menu-grid .menu-item:nth-child(1) {
    background: linear-gradient(135deg, #004CA0, #0D63A7);
}

.menu-grid .menu-item:nth-child(2) {
    background: linear-gradient(135deg, #0D63A7, #1A7AAE);
}

.menu-grid .menu-item:nth-child(3) {
    background: linear-gradient(135deg, #1A7AAE, #2891B5);
}

.menu-item a:link {
    color: #002B5B;
}   

.menu-item a:visited {
    color: #002B5B;
}
       
.menu-item a:hover {
    text-decoration: underline;
}