@charset "UTF-8";

/* 基本設定
---------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    color: #222;
    background-color: #fff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        "Yu Gothic",
        "YuGothic",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    line-height: 1.8;
}

a {
    color: #145d9c;
}

a:hover {
    text-decoration: none;
}

/* ヘッダー
---------------------------------------- */
.site-header {
    padding: 24px 50px;
}

.site-name {
    display: inline-block;
    margin: 0;
    line-height: 1.3;
}

.site-name-prefix {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.site-name-main {
    display: block;
    font-size: 26px;
    font-weight: 700;
}

/* 共通レイアウト
---------------------------------------- */
.main-content {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 80px;
}

.notice,
.contact-page {
    width: 100%;
}

/* お詫びページ
---------------------------------------- */
.notice-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.5;
    text-align: center;
}

.notice-text {
    max-width: 760px;
    margin: 45px auto 0;
    font-size: 16px;
}

.notice-text p {
    margin: 0 0 1.25em;
}

.contact-link-wrap {
    margin: 42px 0 0;
    text-align: center;
}

.contact-link {
    display: inline-block;
    padding: 13px 24px;
    border: 1px solid #145d9c;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.contact-link:hover {
    color: #fff;
    background-color: #145d9c;
}

/* 問い合わせ先ページ
---------------------------------------- */
.contact-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.5;
    text-align: center;
}

.contact-section {
    max-width: 760px;
    margin: 50px auto 0;
}

.contact-section-title {
    margin: 0 0 24px;
    padding: 8px 12px;
    border-left: 5px solid #333;
    background-color: #f3f3f3;
    font-size: 22px;
    line-height: 1.5;
}

.contact-item {
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid #ddd;
}

.contact-item h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.6;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    white-space: nowrap;
}

.back-link-wrap {
    margin: 45px 0 0;
    text-align: center;
}

.back-link {
    display: inline-block;
    padding: 10px 18px;
}

/* スマートフォン
---------------------------------------- */
.sp-only {
    display: none;
}

@media screen and (max-width: 767px) {
    .site-header {
        padding: 18px 20px;
    }

    .site-name-prefix {
        font-size: 12px;
    }

    .site-name-main {
        font-size: 21px;
    }

    .main-content {
        width: calc(100% - 32px);
        padding: 45px 0 60px;
    }

    .notice-title,
    .contact-title {
        font-size: 25px;
    }

    .notice-text {
        margin-top: 34px;
        font-size: 15px;
    }

    .contact-link-wrap {
        margin-top: 34px;
    }

    .contact-link {
        width: 100%;
        padding: 12px 15px;
    }

    .contact-section {
        margin-top: 38px;
    }

    .contact-section-title {
        font-size: 19px;
    }

    .contact-item h3 {
        font-size: 16px;
    }

    .contact-item p {
        font-size: 15px;
    }

    .sp-only {
        display: block;
    }
}



/* バナー広告
---------------------------------------- */
.banner-area {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 50px;
    border-top: 1px solid #ddd;
}

.banner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-banner {
    width: 180px;
    height: 46px;
}

.footer-banner a {
    display: block;
    width: 180px;
    height: 46px;
}

.footer-banner img {
    display: block;
    width: 180px;
    height: 46px;
    border: 0;
    object-fit: contain;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    .banner-area {
        width: calc(100% - 32px);
        padding: 20px 0 40px;
    }

    .banner-list {
        gap: 10px;
    }
}

.banner-title {
    margin: 0 0 5px;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.banner-note {
    margin: 0 0 18px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}
