
/* ========================================
   過去問データベース リニューアル案内
   PC版
======================================== */

/* ========================================
   01. メインコンテンツ
======================================== */

.kakomon-main {
    width: 100%;
    padding-top: 30px;
    background-color: #fff;

    /* 本サイトに合わせた基本フォント */
    font-family: 'Noto Sans JP', sans-serif;
}

.kakomon-content {
    width: 1000px;
    margin: 0 auto;
}


/* ========================================
   02. URL利用終了のお知らせ
======================================== */

.kakomon-notice {
    width: 100%;
    padding: 18px 30px;
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid #333;
}

.kakomon-notice-title {
    margin: 0 0 7px;
    color: #d60000;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.kakomon-notice-text {
    margin: 0;
    color: #222;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
}

.font-color {
    color: #222;
}

.kakomon-guide-link {
    color: #0066cc;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* ========================================
   03. メインビジュアル
======================================== */

.kakomon-db-hero {
    position: relative;
    isolation: isolate;

    width: 100%;
    margin: 18px auto 30px;
    padding: 55px 30px 35px;

    background: none;
    border: none;

    text-align: center;
    overflow: visible;
}


/* ========================================
   04. MV背景・グラデーション
======================================== */

.kakomon-db-hero::after {
    content: "";
    position: absolute;

    top: 0;
    left: 50%;

    width: 100vw;
    height: 100%;

    transform: translateX(-50%);

    /* 左右から中央のグレーボックスへ */
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.85) calc(50% - 615px),
            rgba(255, 255, 255, 0) calc(50% - 465px),
            rgba(255, 255, 255, 0) calc(50% + 465px),
            rgba(255, 255, 255, 0.85) calc(50% + 615px)
        ),
        url("../img/bg_mv_pc.png");

    background-repeat: no-repeat;
    background-position: center center, center top;
    background-size: 100% 100%, 2550px 478px;
    background-color: #f3f7f6;

    z-index: -1;
    pointer-events: none;
}


/* ========================================
   05. MV装飾画像
======================================== */

/* 「新しくなりました！」 */
.kakomon-db-hero::before {
    content: "";
    position: absolute;

    top: -24px;
    left: 0;

    width: 360px;
    height: 120px;

    background-image: url("../img/mv-ctr-txt.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;

    z-index: 2;
    pointer-events: none;
}


/* ========================================
   06. MVログインボタン
======================================== */

.kakomon-db-login {
    position: absolute;
    top: 12px;
    right: 25px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 30px;

    background-color: #d60000;
    border-radius: 10px;
    color: #fff;

    /* 本サイトと同じフォント */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;

    text-decoration: none;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        opacity 0.2s;
}

.kakomon-db-login:visited {
    color: #fff;
}

.kakomon-db-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.kakomon-db-login:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* ========================================
   07. MV内部のグレーボックス
======================================== */

.kakomon-db-hero-inner {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 930px;
    margin: 0 auto;

    padding: 15px 20px 20px;
    background-color: rgba(241, 241, 241, 0.8);
}


/* ========================================
   08. MVロゴ
======================================== */

.kakomon-db-logo {
    width: 760px;
    max-width: 100%;
    margin: 0 auto 20px;
}

.kakomon-db-logo img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   09. MVキャッチコピー
======================================== */

.kakomon-db-catch {
    margin: 15px auto;

    /* 本サイト：M PLUS 1 Medium */
    font-family: 'M PLUS 1', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: -0.3px;
}

.kakomon-db-catch strong {
    color: #d60000;
}


/* ========================================
   10. MV説明文
======================================== */

.kakomon-db-description {
    /* 本サイト：Noto Sans JP Bold */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.8px;
}


/* ========================================
   11. WEB会員登録のお知らせ
======================================== */

.kakomon-register-notice {
    width: 100%;
    margin: 25px auto;
    padding: 18px;

    background-color: #fff;
    border: 1px solid #ccc;

    color: #222;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
}


/* ========================================
   12. 会員登録エリア
======================================== */

.kakomon-register {
    position: relative;
    width: 850px;
    margin: 45px auto 50px;
    padding-top: 32px;

    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
}


/* 会員登録の見出し */

.kakomon-register-title {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;

    transform: translateX(-50%);

    width: 55%;
    padding: 10px;

    background-color: #009380;
    color: #fff;

    border-radius: 5px 5px 0 0;

    font-size: 25px;
    font-weight: bold;
}


/* 会員登録本文 */

.kakomon-register-body {
    padding: 65px 35px 30px;

    background-color: #fff5df;
    border: 3px solid #009380;
    border-radius: 5px;
}


/* 会員登録の説明文 */

.kakomon-register-description {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.7;
}


/* 無料登録の注釈 */

.kakomon-register-free {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
}


/* 利用登録手順 */

.kakomon-register-guide {
    margin: 10px 0 20px;
    font-size: 15px;
}

.kakomon-register .kakomon-guide-link {
    color: #0066cc;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kakomon-register .kakomon-guide-link:hover {
    color: #004a99;
}


/* 新規登録ボタン */

.kakomon-register-button {
    display: block;
    width: 80%;

    margin: 25px auto 0;
    padding: 15px 20px;

    background-color: #d60000;
    color: #fff;
    border-radius: 5px;

    font-size: 22px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.kakomon-register-button:hover {
    opacity: 0.8;
}


/* ========================================
   13. 現在、東進で実施中のイベント
======================================== */

.kakomon-events {
    width: 850px;
    max-width: 100%;
    margin: 35px auto 50px;
}

.kakomon-events-title {
    margin: 0;
    padding: 0 0 10px;

    border-bottom: 2px solid #666;

    color: #222;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
}

.kakomon-events .rmk-width {
    width: 100%;
    margin: 15px auto 0;
}


/* ========================================
   14. パンくずリスト
======================================== */

.kakomon-main .breadcrumb-list {
    margin: 50px auto 30px;
}
