@charset "utf-8";

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    text-align: center;
    color: #fff;
    background-image: url("../../images/etc/h1_bg.webp");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 500;
}

h2 {
    margin-bottom: 40px;
    padding: 9px 0 9px 0;
    text-align: center;
    color: #fff;
    background: #88a7af;
    font-size: 22px;
    font-weight: 500;

    filter: drop-shadow(1px 1px 0px #457998);
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

h3::after {
    content: "";
    display: block;
    width: calc(100% + (25px * 2));
    height: 2px;
    margin-top: 12px;
    margin-left: -25px;
    background-color: #a6bbc1;
}

.main_content section+section {
    margin-top: 50px;
}

section p {
    font-size: 14px;
    line-height: 175%;
}

.etc_inner {
    padding: 0 25px;
}

.contact_block {
    font-size: 18px;
    line-height: 195%;
}

.contact_block .text_block {
    text-align: center;
}

.contact_block ul {
    display: inline-block;
    text-align: left;
}

.breadcrumb {
    margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
    main {
        margin-bottom: 50px;
    }

    h1 {
        position: relative;
        left: 50%;
        width: 100vw;
        height: 60px;
        margin-bottom: 30px;
        transform: translateX(-50%);
        background-image: url("../../images/etc/h1_bg_sp.webp");
        font-size: 22px;
    }

    h2 {
        margin: 0 16px;
        margin-bottom: 15px;
        padding: 5px 0 5px 0;
        font-size: 18px;
    }

    h3 {
        margin-bottom: 5px;
        padding: 0 0 6px 0;
        font-size: 16px;
    }

    h3::before {
        left: 16px;
        width: 11px;
        height: calc(100% - 17px);
    }

    h3::after {
        width: 100%;
        margin-top: 7px;
        margin-left: 0;
    }

    .etc_inner {
        padding: 0 16px;
    }

    .main_content {
        padding-top: 0;
    }

    .main_content section+section {
        margin-top: 30px;
    }

    .mb20_sp {
        margin-bottom: 20px !important;
    }
}