/* ===================================
   Footer - 企業版ふるさと納税LP
   最大幅: 1950px
   =================================== */

/* フォント設定 */
@font-face {
    font-family: 'BestTen';
    src: url('../font/best-ten/BestTen-DOT.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BestTen CRT';
    src: url('../font/best-ten/BestTen-CRT.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* フッター基本設定 */
.site-footer {
    width: 100%;
    position: relative;
}

.footer-content {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-color: #2c3e50; /* フォールバック背景色 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景画像がない場合のデフォルトスタイル */
.footer-content:not([style*="background-image"]) {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* オーバーレイ */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.5;
    z-index: 1;
}

/* テキストコンテナ */
.footer-text-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1950px;
    margin: 0 auto;
    padding: 60px 40px;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* フッターテキスト */
.footer-text {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.8;
    font-family: "メイリオ", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ヒラギノ角ゴ ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "ヒラギノ角ゴ", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", "Arial", "sans-serif";
}

.footer-text p {
	padding: 20px;
    margin-bottom: 1em;
    font-family: "メイリオ", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ヒラギノ角ゴ ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "ヒラギノ角ゴ", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", "Arial", "sans-serif";
	background-color: rgba(0, 0, 0, 0.5);
}

.footer-text p:last-child {
    margin-bottom: 0;
}

.footer-text h2,
.footer-text h3,
.footer-text h4 {
    color: inherit;
    margin-bottom: 1em;
    font-weight: 700;
    font-family: "メイリオ", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ヒラギノ角ゴ ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "ヒラギノ角ゴ", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", "Arial", "sans-serif";
}

.footer-text h2 {
    font-size: 32px;
    font-family: "メイリオ", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ヒラギノ角ゴ ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "ヒラギノ角ゴ", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", "Arial", "sans-serif";
    line-height: 1.4;
}

.footer-text h3 {
    font-size: 24px;
    line-height: 1.4;
}

.footer-text h4 {
    font-size: 20px;
    line-height: 1.4;
}

.footer-text a {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-text a:hover {
    opacity: 0.8;
}

.footer-text strong {
    font-weight: 700;
}

.footer-text em {
    font-style: italic;
}

/* リスト */
.footer-text ul,
.footer-text ol {
    text-align: left;
    display: inline-block;
    margin-bottom: 1em;
}

.footer-text ul {
    list-style-type: disc;
    padding-left: 1.5em;
}

.footer-text ol {
    list-style-type: decimal;
    padding-left: 1.5em;
}

.footer-text li {
    margin-bottom: 0.5em;
}

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

/* タブレット（1024px以下） */
@media screen and (max-width: 1024px) {
    .footer-content {
        min-height: 350px;
    }

    .footer-text-container {
        padding: 50px 30px;
    }

    .footer-text {
        font-size: 24px;
    }

    .footer-text h2 {
        font-size: 28px;
    }

    .footer-text h3 {
        font-size: 22px;
    }

    .footer-text h4 {
        font-size: 18px;
    }
}

/* スマホ（768px以下） */
@media screen and (max-width: 768px) {
    .footer-content {
        min-height: 300px;
    }

    .footer-text-container {
        padding: 40px 20px;
    }

    .footer-text {
        font-size: 3.5vw;
    }

    .footer-text h2 {
        font-size: 24px;
    }

    .footer-text h3 {
        font-size: 20px;
    }

    .footer-text h4 {
        font-size: 17px;
    }
}

/* 小型スマホ（480px以下） */
@media screen and (max-width: 480px) {
    .footer-content {
        min-height: 250px;
    }

    .footer-text-container {
        padding: 30px 15px;
    }

    .footer-text h2 {
        font-size: 20px;
    }

    .footer-text h3 {
        font-size: 18px;
    }

    .footer-text h4 {
        font-size: 16px;
    }
}

/* ===================================
   カスタマイズオプション
   =================================== */

/* フッターテキストの最大幅を制限する場合 */
.footer-text.contained {
    max-width: 800px;
    margin: 0 auto;
}

/* フッターテキストを左寄せにする場合 */
.footer-text.text-left {
    text-align: left;
}

/* フッターテキストを右寄せにする場合 */
.footer-text.text-right {
    text-align: right;
}

/* フッターの高さを大きくする場合 */
.footer-content.tall {
    min-height: 600px;
}

/* フッターの高さを小さくする場合 */
.footer-content.short {
    min-height: 200px;
}
