@charset "UTF-8";

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP";
    color: #3B3B3B;
}

.container {
    background-image: url(../images/main_background.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.background_container {
    display: flex;
    align-items: center;
    height: 100vh;
    max-height: 1020px;
    background-image: url(../images/back_opacity.png);
    /* background-size: 100%; */
    background-position-x: 45%;
    background-position-y: 25%;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    background-color: rgba(255,255,255,0.9);
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background_container::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 33px;
    background-image: url(../images/yonezawa_rightbottom.png);
    background-size: 100% ;
    background-repeat: no-repeat;
    width: clamp(17.5rem, -1.321rem + 71.7vw, 41.25rem);
    height: clamp(15rem, -0.7rem + 59.81vw, 34.813rem);
    z-index: 1;
}

.main-content_container {
    max-width: 690px;
    width: 85%;
    margin: auto;
    position: relative;
    z-index: 2;
}

.main-title_container {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
    text-align: center;
}

.title-year {
    font-size: clamp(1.313rem, -0.203rem + 4.85vw, 2.125rem);
}

.title-img {
    max-width: clamp(14.5rem, -5.323rem + 63.43vw, 25.125rem);
    width: 100%;
    margin: auto;
}

.bottom-title {
    font-size: clamp(1.313rem, -0.203rem + 4.85vw, 2.125rem);
}

.border-center {
    height: 7px;
    background-color: #FF9D00;
    border: none;
}

.content-textarea {
    max-width: 670px;
    margin: auto;
    text-align: center;
    font-size: clamp(0.875rem, 0.292rem + 1.87vw, 1.188rem);
    font-weight: 400;
    line-height: 2;
}

.info_container {
    margin-top: 38px;
    text-align: center;
}

.tel-text {
    font-size: clamp(1.5rem, 0.33rem + 3.75vw, 2.125rem);
    font-weight: 500;
}

.text-small {
    font-size: clamp(0.75rem, 0.516rem + 0.75vw, 0.875rem);
    font-weight: 400;
    margin-left: 6px;
}

.bottom-text-small {
    font-size: clamp(0.75rem, 0.633rem + 0.37vw, 0.813rem);
}

.button_container {
    margin-top: 40px;
    text-align: center;
}

.page-link-button {
    position: relative;
    margin-right: 75px;
    padding: 16px 46px;
    border-radius: 5px 0 0 5px;
    box-shadow: 5px 5px 0px 0px rgba(227, 227, 227, 1);
    background-color: #084288;
    color: #ffffff;
    transition: all 0.3s;
    text-decoration: none;
}

.page-link-button:hover {
    box-shadow: none;
}

.page-link-button:hover::after {
    box-shadow: none;
}

.page-link-button::after {
    position: absolute;
    top: 0;
    right: -75px;
    width: 75px;
    height: 100%;
    border-radius: 0 5px 5px 0;
    box-shadow: 5px 5px 0px 0px rgba(227, 227, 227, 1);
    background-color: #ffffff;
    background-image: url(../images/link-arrow_right.png);
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    transition: all 0.3s;
}

@media screen and (max-width: 767px) {
    .main-content_container {
        margin-top: 36px;
    }
    .border-center {
        height: 4px;
    }
    .content-textarea br:nth-child(2) {
        display: none;
    }
    .info_container {
        margin-top: 16px;
    }
    .button_container {
        margin-top: 28px;
    }
    .page-link-button {
        position: relative;
        margin-right: 55px;
        padding: 12px 26px;
        border-radius: 5px 0 0 5px;
        box-shadow: 5px 5px 0px 0px rgba(227, 227, 227, 1);
        background-color: #084288;
        color: #ffffff;
        transition: all 0.3s;
        text-decoration: none;
    }
    .page-link-button::after {
        width: 55px;
        right: -55px;
    }
    .page-link-button-text {
        font-size: 14px;
    }
}