@charset "UTF-8";

/* =========================================
   共通
========================================= */
strong {
    font-weight: bold;
}

footer {
    padding: 0;
}

p,
li {
    line-height: 1.7;
    margin: 0;
}

@media (767px < width) {
    .sp-br {
        display: none;
    }
}

/* =========================================
   ヒーローセクション (.hero)
========================================= */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    background-size: cover;
    background-position: center;
}

/* .movie-title h1 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: bold;
} */

/* .movie-title h1 span {
    display: block;
    font-size: 48px;
    margin-top: 10px;
}

.movie-title h1::after {
    content: "";
    display: block;
    width: 160px;
    height: 4px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: #d32f2f;
} */

/* ヒーロー内のボタン */
.hero__button {
    margin: 30px 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #d32f2f;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: #d32f2f 2px solid;
}

.btn-download:hover {
    background-color: #ffffff;
    transform: scale(1.01);
    color: #d32f2f;
}

/* アイコンを右側に配置 */
.btn-download__icon {
    margin-left: 15px;
    order: 2;
}

/* リード文 */
.lead-text p {
    font-size: 15px;
    max-width: 900px;
    margin: 0 auto 10px;
    color: #222;
}


/* =========================================
   ガイドセクション (.guide)
========================================= */
.guide {
    padding: 20px 0 60px;
}

.guide-box {
    display: flex;
    background-color: #fff;
    border: 2px solid #e2edfb;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    max-width: 90%;
    margin-right: auto;
    margin-left: auto;
}

/* SVGアイコン用スタイル */
.guide-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: #4A76C0;
}

/* 左側のタイトルエリア */
.guide-title {
    width: 25%;
    background-color: #eaf1fa;
    color: #003366;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
}

.guide-title i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #5b86c6;
}

.guide-title h2 {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

/* 右側のコンテンツエリア */
.guide-content {
    width: 75%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guide-heading {
    font-weight: bold;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.guide-content p {
    margin: 0 0 10px 0;
}

/* ガイド内のリスト装飾 */
.guide-content ol,
.guide-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-content ol {
    counter-reset: step-counter;
}

.guide-content ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
}

.guide-content ol li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    background-color: #3a68ce;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.guide-content ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 12px;
}

.guide-content ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* =========================================
   フォームセクション (.form-section)
========================================= */
.form-section {
    padding: 0 0 80px;
}

.form-box {
    background-color: #fff;
    border: 2px solid #e2edfb;
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 90%;
    height: auto;
    margin: 0 auto;
}

.form-box iframe {
    display: block;
    width: 100%;
    height: 1610px;
    border: 0;
}

.form-title {
    text-align: center;
    color: #003366;
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
}

.form-lead {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-bottom: 40px;
}


/* =========================================
   ダウンロード資料セクション (.download-materials)
========================================= */
.download-materials {
    padding: 60px 0;
}

/* ヘッダー部分 */
.materials-header {
    text-align: center;
    margin-bottom: 40px;
}

.materials-title {
    font-size: 24px;
    color: #003366;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
}

.materials-title .badge {
    display: inline-block;
    background-color: #1a56c8;
    color: #fff;
    font-size: 16px;
    padding: 4px 16px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.materials-title .title-large {
    display: block;
    font-size: 40px;
    margin-top: 5px;
}

.materials-notice {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    display: inline-block;
    text-align: left;
    background-color: #fff;
    border-left: 4px solid #1a56c8;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* グリッドレイアウト */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 5em;
}

/* 個別のカードデザイン */
.material-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #c5c5c5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/*透かし背景アイコンの設定 */
.card-bg-icon {
    position: absolute;
    right: -15px;
    bottom: -15px;
    font-size: 130px;
    color: #003366;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg);
    transition: transform 0.5s ease;
}

/* ホバー時に透かしアイコン少し動く */
.material-card:hover .card-bg-icon {
    transform: rotate(-5deg) scale(1.1);
}

/* 各カードの背景グラデーション */
.card-default {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.card-yellow {
    background: linear-gradient(135deg, #fffdf2 0%, #fff4c2 100%);
}

.card-blue {
    background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 100%);
}

.card-pink {
    background: linear-gradient(135deg, #fff0f3 0%, #fce1e6 100%);
}

.card-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.card-orange {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.card-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

/* テキストエリア */
.card-body {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
    margin-bottom: 24px;
    font-size: 17px;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.4;
    background-color: transparent;

    position: relative;
    z-index: 1;
}

/* ダウンロードボタンエリア */
.card-download-btn {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #1b1b1b;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;

    position: relative;
    /* z-index: 1; */
}

/* ホバー時の挙動 */
.card-download-btn:hover {
    background-color: #d32f2f;
    color: #ffffff;
    transform: scale(1.04);
    box-shadow: 0 8px 15px rgba(211, 47, 47, 0.25);
}

/* ダウンロードアイコン */
.dl-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}


/* =========================================
   レスポンシブ対応（画面サイズ別調整）
========================================= */

/* タブレット・小さめのPC向け */
@media screen and (max-width: 1050px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }

    .empty-cell {
        display: none;
    }
}

/* スマホ・タブレット向け */
@media screen and (max-width: 768px) {

    /* ガイドセクション */
    .guide-box {
        flex-direction: column;
    }

    .guide-title {
        width: 100%;
        padding: 20px;
        flex-direction: row;
        gap: 15px;
    }

    .guide-title i {
        margin-bottom: 0;
    }

    .guide-content {
        width: 100%;
        padding: 20px;
    }

    .guide-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
    }

    /* ヒーローセクション */
    .movie-title h1 span {
        font-size: 32px;
    }

    /* フォームセクション */
    .form-box {
        padding: 30px 5px;
    }

    .form-box iframe {
        margin-top: 2em;
    }

    .form-title {
        font-size: 20px;
    }
}

/* スマホ向け */
@media screen and (max-width: 600px) {

    /* ダウンロード資料セクション */
    .materials-title .title-large {
        font-size: 32px;
    }

    .materials-grid {
        grid-template-columns: minmax(280px, 360px);
        justify-content: center;
    }

    .materials-notice {
        font-size: 13px;
        padding: 12px;
    }
}
