﻿:root {
    --blue1: #001E62;
    --blue2: #D8DDEB;
    --blue3: #EBF0FA;
}
body {
    text-align: left;
}
html[data-browse-mode="P"] .pc {display: block;}
html[data-browse-mode="P"] .sp {display: none;}
html[data-browse-mode="S"] .pc {display: none;}
html[data-browse-mode="S"] .sp {display: block;}


/* PC */
html[data-browse-mode="P"] #topClose {
    /* main */
    .topClose-main {
        padding-top: 48px;
    }
    /* lead */
    .topClose-lead-inner {
        width: 1120px;
        margin: 0 auto;
    }
    .topClose-lead-tag {
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
        height: 30px;
        font-size: 14px;
        font-weight: bold;
        color: var(--blue1);
        padding: 0 16px;
        border-radius: 18px;
        background-color: var(--blue2);
    }
    .topClose-lead-title {
        font-size: 28px;
        font-weight: bold;
        margin-top: 16px;
    }
    .topClose-lead-text {
        font-size: 16px;
        font-weight: 500;
    }
    .topClose-lead-list {
        display: flex;
        align-items: center;
        column-gap: 16px;
        margin-top: 45px;
    }
    .topClose-lead-list-i {
        width: 280px;
        height: 48px;
    }
    .topClose-lead-list-i a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 16px;
        color: var(--blue1);
        font-weight: bold;
        border-radius: 4px;
        border: 1px solid var(--blue1);
    }
    /* topClose-info */
    .topClose-info {
        background-color: var(--blue3);
        padding: 48px 0 80px;
        margin-top: 56px;
    }
    .topClose-info-inner {
        width: 1152px;
        border-radius: 6px;
        background-color: #fff;
        margin: 0 auto;
        padding: 30px;
    }
    .topClose-info-title {
        font-size: 20px;
        font-weight: bold;
        color: #f00;
    }
    .topClose-info-text {
        font-size: 16px;
        font-weight: 500;
        margin-top: 10px;
    }
    .topClose-info-text + .topClose-info-text {
        margin-top: 20px;
    }
    .topClose-info-h3 {
        font-size: 20px;
        font-weight: bold;
        margin: 20px 0 10px;
    }
    /* topClose-service */
    .topClose-service {
        padding-top: 49px;
    }
    .topClose-service-inner {
        width: 1120px;
        margin: 0 auto;
    }
    .topClose-service-title {
        font-size: 20px;
        font-weight: bold;
        margin: 0;
        padding-left: 20px;
        border-left: 4px solid var(--blue1);
    }
    .topClose-service-row {
        display: flex;
        margin-top: 30px;
    }
    .topClose-service-col {
        display: flex;
        flex-direction: column;
        width: calc(100% / 3);
    }
    .topClose-service-col:nth-child(1),
    .topClose-service-col:nth-child(2) {
        padding-right: 52px;
    }
    .topClose-service-col + .topClose-service-col {
        border-left: 1px solid var(--blue2);
        padding-left: 40px;
    }
    .topClose-service-col-title {
        display: flex;
        align-items: center;
        column-gap: 16px;
        font-size: 20px;
        font-weight: bold;
        margin: 0 0 16px;
    }
    .topClose-service-col-title::before {
        display: block;
        content: "";
        width: 48px;
        height: 48px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
    }
    .topClose-service-col-title.-contact::before {
        background-image: url(/img/usr/freepage/top_close/service_contact.png);
    }
    .topClose-service-col-title.-faq::before {
        background-image: url(/img/usr/freepage/top_close/service_faq.png);
    }
    .topClose-service-col-title.-mypage::before {
        background-image: url(/img/usr/freepage/top_close/service_mypage.png);
    }
    .topClose-service-col-text {
        font-size: 16px;
        font-weight: 500;
    }
    .topClose-service-col-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 180px;
        height: 40px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 4px;
        border: 1px solid var(--blue1);
        margin-top: auto;
    }
    .topClose-service-col-list {
        display: flex;
        flex-direction: column;
        row-gap: 16px;
        margin-bottom: 32px;
    }
    .topClose-service-col-list-i {
        border-bottom: 1px solid var(--blue2);
        padding-bottom: 9px;
    }
    .topClose-service-col-list-i a {
        display: flex;
        align-items: center;
        column-gap: 8px;
        font-size: 16px;
        font-weight: bold;
    }
    .topClose-service-col-list-i a::before {
        display: block;
        content: "";
        width: 28px;
        height: 28px;
        background: url(/img/usr/freepage/top_close/service_faq_q.png) no-repeat center / contain;
    }
    /* topClose-news */
    .topClose-news {
        margin-top: 50px;
    }
    .topClose-news-inner {
        width: 1120px;
        margin: 0 auto;
    }
    .topClose-news-title-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .topClose-news-title {
        font-size: 20px;
        font-weight: bold;
        margin: 0;
        padding-left: 20px;
        border-left: 4px solid var(--blue1);
    }
    .topClose-news-link {
        display: block;
        width: fit-content;
        text-decoration: underline;
        font-size: 14px;
        font-weight: 500;
    }
    .topClose-news-list {
        margin-top: 23px;
    }
    .topClose-news-list-i {
        border-bottom: 1px solid var(--blue2);
    }
    .topClose-news-list-i a {
        display: flex;
        align-items: flex-start;
        padding: 20px 0;
    }
    .topClose-news-list-i-date {
        width: 100px;
        font-size: 14px;
        font-weight: 500;
    }
    .topClose-news-list-i-icon {
        width: 68px;
        height: 20px;
    }
    .topClose-news-list-i-icon img {
        display: block;
        width: auto;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
    .topClose-news-list-i-title {
        flex: 1;
        padding-left: 32px;
        font-size: 14px;
        font-weight: 500;
    }
}

/* SP */
html[data-browse-mode="S"] {
    font-size: calc(10 / var(--base) * 100vw);
    a {
        text-decoration: none;
    }
}
html[data-browse-mode="S"] #topClose {
    width: 100%;
    overflow: hidden;
    /* main */
    .topClose-main {
        padding-top: 2rem;
    }
    /* lead */
    .topClose-lead-inner {
        width: 100%;
        padding: 0 2rem;
    }
    .topClose-lead-tag {
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
        height: 3rem;
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--blue1);
        padding: 0 1.2rem;
        border-radius: 1.8rem;
        background-color: var(--blue2);
    }
    .topClose-lead-title {
        font-size: 1.8rem;
        font-weight: bold;
        margin-top: 2rem;
    }
    .topClose-lead-text {
        font-size: 1.4rem;
        font-weight: 500;
        margin-top: 3rem;
    }
    .topClose-lead-list {
        display: flex;
        align-items: center;
        column-gap: 1.6rem;
        margin-top: 4rem;
    }
    .topClose-lead-list-i {
        width: 100%;
        height: 4.8rem;
    }
    .topClose-lead-list-i a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 1.2rem;
        color: var(--blue1);
        font-weight: bold;
        text-align: center;
        border-radius: .4rem;
        border: 1px solid var(--blue1);
        text-decoration: none;
    }
    /* topClose-info */
    .topClose-info {
        background-color: var(--blue3);
        padding: 5rem 2rem;
        margin-top: 5rem;
    }
    .topClose-info-inner {
        width: 100%;
        border-radius: .6rem;
        background-color: #fff;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    .topClose-info-title {
        font-size: 1.6rem;
        font-weight: bold;
        color: #f00;
    }
    .topClose-info-text {
        font-size: 1.4rem;
        font-weight: 500;
        margin-top: 1rem;
    }
    .topClose-info-text + .topClose-info-text {
        margin-top: 2rem;
    }
    .topClose-info-h3 {
        font-size: 1.4rem;
        font-weight: bold;
        margin: 2rem 0 1rem;
    }
    /* topClose-service */
    .topClose-service {
        padding-top: 5rem;
    }
    .topClose-service-inner {
        width: 100%;
        padding: 0 2rem;
    }
    .topClose-service-title {
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0;
        padding-left: 1rem;
        border-left: .4rem solid var(--blue1);
    }
    .topClose-service-row {
        margin-top: 3rem;
    }
    .topClose-service-col {}
    .topClose-service-col + .topClose-service-col {
        border-top: 1px solid var(--blue2);
        padding-top: 3rem;
        margin-top: 3rem;
    }
    .topClose-service-col-title {
        display: flex;
        align-items: center;
        column-gap: 1rem;
        font-size: 1.6rem;
        font-weight: bold;
        margin: 0 0 1.6rem;
    }
    .topClose-service-col-title::before {
        display: block;
        content: "";
        width: 4rem;
        height: 4rem;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
    }
    .topClose-service-col-title.-contact::before {
        background-image: url(/img/usr/freepage/top_close/service_contact.png);
    }
    .topClose-service-col-title.-faq::before {
        background-image: url(/img/usr/freepage/top_close/service_faq.png);
    }
    .topClose-service-col-title.-mypage::before {
        background-image: url(/img/usr/freepage/top_close/service_mypage.png);
    }
    .topClose-service-col-text {
        font-size: 1.4rem;
        font-weight: 500;
    }
    .topClose-service-col-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 18rem;
        height: 4rem;
        font-size: 1.4rem;
        font-weight: 500;
        border-radius: .4rem;
        border: 1px solid var(--blue1);
        margin: 3.2rem auto 0;
    }
    .topClose-service-col-list {
        display: flex;
        flex-direction: column;
        row-gap: 1.6rem;
        margin-top: 2rem;
    }
    .topClose-service-col-list-i {
        border-bottom: 1px solid var(--blue2);
        padding-bottom: .9rem;
    }
    .topClose-service-col-list-i a {
        display: flex;
        align-items: center;
        column-gap: .8rem;
        font-size: 1.4rem;
        font-weight: bold;
    }
    .topClose-service-col-list-i a::before {
        display: block;
        content: "";
        width: 2rem;
        height: 2rem;
        background: url(/img/usr/freepage/top_close/service_faq_q.png) no-repeat center / contain;
    }
    /* topClose-news */
    .topClose-news {
        margin-top: 10rem;
    }
    .topClose-news-inner {
        width: 100%;
        padding: 0 2rem;
    }
    .topClose-news-title-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .topClose-news-title {
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0;
        padding-left: 1rem;
        border-left: .4rem solid var(--blue1);
    }
    .topClose-news-link {
        display: block;
        width: fit-content;
        text-decoration: underline;
        font-size: 1.4rem;
        font-weight: 500;
    }
    .topClose-news-list {
        margin-top: 1rem;
    }
    .topClose-news-list-i {
        border-bottom: 1px solid var(--blue2);
    }
    .topClose-news-list-i a {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        column-gap: 2rem;
        row-gap: 1rem;
        padding: 2rem 0;
    }
    .topClose-news-list-i-date {
        font-size: 1.4rem;
        font-weight: 500;
    }
    .topClose-news-list-i-icon {
        width: 6.8rem;
        height: 2rem;
    }
    .topClose-news-list-i-icon img {
        display: block;
        width: auto;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
    .topClose-news-list-i-title {
        width: 100%;
        font-size: 1.4rem;
        font-weight: 500;
    }
}