/* リセットスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* カラー設定 */
:root {
    --main-color: #108234;
    --text-color: #333;
    --bg-color: #f4f4f4;
}

/* コンテナ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 40vh; /* ヒーローセクションの高さを大きく設定 */
    min-height: 280px; /* 最小高さを設定 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background-image.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4; /* 背景画像の透明度 */
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;  /* ヒーローセクション内の上部に配置 */
    left: 0;
    width: 100%;
    height: 100%; /* ヒーローセクションの全体を使用 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2; /* タイトル画像が背景の上に表示されるように */
}

.hero-title {
    width: 80%;  /* デフォルトは80%の幅で表示 */
    max-width: 800px; /* 最大幅を設定 */
    height: auto;
    opacity: 1.0; /* タイトル画像の透明度を1.0に設定 */
}

/* スマートフォン向けの調整 */
@media screen and (max-width: 768px) {
    .hero-section {
        height: 20vh;  /* スマートフォン向けにセクションの高さを調整 */
        min-height: 170px;
    }

    .hero-title {
        width: 100%;  /* スマートフォン向けに幅を100%に設定 */
        max-width: none; /* 最大幅を無効にする */
        height: auto;
    }
}


/* ヘッダーのスタイル */
.site-header {
    background: #ffffff;
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;  /* ロゴとSNSボタンを左右に配置 */
    align-items: center;
}

.site-header .logo {
    font-size: 1.2em;
}

.site-header nav ul {
    list-style: none;
    display: flex;
}

.site-header nav ul li {
    margin-left: 20px;
}

.site-header nav ul li a {
    color: #333;
    text-decoration: none;
}

.site-header .social-icons a {
    margin-left: 10px;
}

/* ロゴのアスペクト比を維持する */
.site-header img.img-fluid {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70px; /* ここで高さを固定しつつ、アスペクト比を維持 */
    object-fit: contain; /* 画像が枠内に収まるようにする */
}


/* リード文セクションのスタイル */
.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
    border-left: 5px solid #108234;
    padding-left: 15px;
}


/* 利用方法セクションのスタイル */
.usage-guide {
    background-color: #fff9e6; /* 薄い黄色の背景色で目立たせる */
    border: 2px solid #f5c600; /* 明るい黄色の枠線で強調 */
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    max-width: 800px; /* 最大幅を設定して読みやすく */
    margin-left: auto;
    margin-right: auto;
}

.usage-title {
    font-size: 1.5rem;
    color: #d44d00; /* 目立つオレンジ色でタイトルを強調 */
    margin-bottom: 15px;
    text-align: center;
}

.usage-steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.usage-step {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 0;
    color: #333;
    display: flex;
    align-items: center;
}

.step-number {
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 10px;
    color: #108234; /* キーカラーを使用 */
}

.step-arrow {
    font-size: 2rem;
    text-align: center;
    color: #d44d00; /* 矢印もオレンジ色で強調 */
    margin-bottom: 10px;
}

.step-description {
    font-size: 1.2rem;
}

/* 申込みフォームセクションのスタイル */
.application-form {
    background-color: #f9f9f9; /* 薄い背景色 */
    border: 2px solid #e0e0e0; /* グレーの枠線 */
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.form-title {
    font-size: 1.5rem;
    color: #108234; /* キーカラーで強調 */
    margin-bottom: 20px;
}

.form-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 影を付けて浮き上がらせる */
}

/* アコーディオンスタイル */
.accordion-toggle {
    background-color: #108234; /* キーカラー */
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

.accordion-toggle:hover {
    background-color: #0c6826; /* ホバー時の色 */
}

.accordion-content {
    display: none; /* 最初は非表示 */
    overflow: hidden;
    padding: 0 15px;
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 15px;
}

.form-container {
    max-width: 768px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 注意事項のスタイル */
.notice-box {
    background-color: #ffffff; /* 背景色を白色に変更 */
    color: #000000; /* 文字色を黒色に変更 */
    border: 2px solid #d9534f; /* 枠線を維持 */
    padding: 20px; /* パディングを適用 */
    border-radius: 5px; /* 角を丸める */
}

.notice-box h3 {
    color: #d9534f; /* 見出しの文字色を赤に維持 */
}


/* フッタースタイル */
.midnight-blue {
    background-color: #2C3E50;
    color: #ffffff;
    padding: 20px 0;
}

.midnight-blue .container {
    max-width: 1200px;
    margin: 0 auto;
}

.midnight-blue .col-sm-6 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.midnight-blue .pull-right {
    float: right;
    margin: 0;
    padding: 0;
    list-style: none;
}

.midnight-blue .pull-right li {
    display: inline;
    margin-left: 20px;
}

.midnight-blue .pull-right li a {
    color: #ffffff;
    text-decoration: none;
}

.midnight-blue .pull-right li a:hover {
    text-decoration: underline;
}

.gototop {
    color: #ffffff;
}

.gototop:hover {
    color: #d4d4d4;
    text-decoration: none;
}

.icon-chevron-up {
    font-size: 16px;
}
/* 注意事項の箇条書きスタイル */
.notice-list {
    list-style-type: none; /* ディスク型のリストマーカーを設定 */
    padding-left: 0.5em; /* リスト全体の左インデント */
    margin-left: 0; /* マージンをリセット */
}

.notice-list li {
    position: relative; /* インデントのために相対位置を使用 */
    padding-left: 1.5em; /* テキストの開始位置を調整 */
    text-indent: 0;
}

.notice-list li:before {
    content: "•"; /* リストマーカーを手動で追加 */
    position: absolute; /* リストマーカーの位置を手動で調整 */
    left: 0; /* リストマーカーを左に配置 */
    top: 0; /* リストマーカーを上に配置 */
    font-size: 1.2em; /* リストマーカーのサイズを調整 */
    line-height: 1.2; /* リストマーカーとテキストを縦方向に揃える */
}



.notice-list li p {
    text-indent: -1.5em; /* 1行目と2行目のインデントを揃える */
    margin-left: 1.5em; /* 全体のインデント調整 */
}
