@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* section_1 */
#section_1 {
    width: 100%;
    padding-bottom: 5vw;
    background-color: var(--color-gray);
}
#section_1 .container_fluid {
    display: flex;
    width: 100vw;
    justify-content: flex-end;
}
#section_1 .container_fluid .container_text {
    display: flex;
    width: auto;
    padding-bottom: 40px;
    margin: 0 10vw 0 50px;
    align-items: flex-end;
    border-bottom: 1px solid #000000;
}
#section_1 .container_fluid .container_text p {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: var(--color-black);
    font-size: clamp(14px,2vw,16px);
    font-weight: 300;
}
#section_1 .container_text .ja {
    margin-right: 20px;
}
#section_1 .container_fluid .container_text p:first-of-type {
    font-size: clamp(28px,2vw,34px);
    font-weight: 600;
}
#section_1 .container_fluid img {
    width: 70vw;
    height: 35vw;
    object-fit: cover;
    border-radius: 0 0 0 30px;
}
@media screen and (max-width: 768px) {
    #section_1 .container_fluid img {
        height: 90vw;
    }
}

/* section_2 */
#section_2 {
    width: 100%;
    padding-bottom: min(3vw, 70px);
    background-color: var(--color-gray);
}
#section_2 .container {
    width: min(45%, 800px);
}
#section_2 .container .flex {
    gap: 7vw;
}
#section_2 .container .flex .box-01,
#section_2 .container .flex .box-02 {
    display: block;
    width: 100%;
    line-height: 2;
}
#section_2 .container .flex .box-01 a,
#section_2 .container .flex .box-02 a {
    transition: .3s;
}
#section_2 .container .flex .box-01 a .nouen-img-01,
#section_2 .container .flex .box-02 a .nouen-img-02 {
    width: 100%;
    margin-bottom: 20px;
}
#section_2 .container .flex .box-01 a:hover,
#section_2 .container .flex .box-02 a:hover {
    opacity: .6;
}
#section_2 .container .flex .box-01 p,
#section_2 .container .flex .box-02 p {
    color: var(--color-sub);
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    text-align: center;
}
#section_2 .container .flex .box-01 .j-button,
#section_2 .container .flex .box-02 .j-button {
    background-color: var(--color-sub);
    margin: 30px auto;
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}
#section_2 .container .flex .box-01 .j-button::before,
#section_2 .container .flex .box-02 .j-button::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(135deg);
    margin-top: -3px;
}
#section_2 .container .flex .box-01 .j-button:hover,
#section_2 .container .flex .box-02 .j-button:hover {
    background-color: var(--color-main);
}
@media screen and (max-width: 768px) {
    #section_2 .container {
        width: 60%;
    }
    #section_2 .container .flex .box-01,
    #section_2 .container .flex .box-02 {
        width: 100%;
        margin-bottom: 0;
    }
    #section_2 .container .flex .box-01 .j-button,
    #section_2 .container .flex .box-02 .j-button {
        margin: 20px auto;
    }
    #section_2 .container .flex .box-02 {
        order: 1;
    }
}

/* section_3, section_5 */
#section_3, #section_5 {
    width: 100%;
    padding: min(5.73vw, 110px) 0 0 0;
    background-color: var(--color-white);
}
#section_3 .container, #section_5 .container {
    width: 100%;
    padding-inline: 0;
}
#section_3 .container .flex .p-box,
#section_5 .container .flex .p-box {
    position: relative;
}
#section_3 .container .flex .p-box p,
#section_5 .container .flex .p-box p {
    position: absolute;
    top: 18%;
    left: 30px;
    color: var(--color-white);
    font-size: 24px;
}
@media screen and (max-width: 768px) {
    #section_3 .container .flex .img-box,
    #section_5 .container .flex .img-box {
        display: none;
    }
}

/* section_4, section_6 */
#section_4, #section_6 {
    width: 100%;
    padding: min(5.73vw, 110px);
    background-color: var(--color-white);
}
#section_4 {
    padding-bottom: 0;
}
#section_6 {
    padding-bottom: min(5.73vw, 110px);
}
#section_4 .container, #section_6 .container {
    width: 100%;
}
#section_4 .container .flex, #section_6 .container .flex {
    align-items: flex-end;
}
#section_4 .container .flex .box-01,
#section_6 .container .flex .box-01 {
    width: 30%;
    text-align: center;
}
#section_4 .container .flex .box-01 p,
#section_6 .container .flex .box-01 p {
    line-height: 2;
}
#section_4 .container .flex .box-01 .btn,
#section_6 .container .flex .box-01 .btn {
    text-align: center;
}
#section_4 .container .flex .box-01 .btn a,
#section_6 .container .flex .box-01 .btn a {
    padding: 10px 30px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    transition: .3s;
    display: inline-block;
    width: 80%;
}
#section_4 .container .flex .box-01 .btn :hover,
#section_6 .container .flex .box-01 .btn :hover {
    background-color: var(--color-main);
}
#section_4 .container .flex .box-02,
#section_6 .container .flex .box-02 {
    width: 70%;
}
#section_4 .container .flex .box-02 span,
#section_6 .container .flex .box-02 span {
    color: var(--color-sub);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}
#section_4 .container .flex .box-02 p,
#section_6 .container .flex .box-02 p {
    line-height: 2;
}
#section_4 .container .flex .box-02 img,
#section_6 .container .flex .box-02 img {
    width: 100%;
    margin-top: 30px;
}
@media screen and (max-width: 768px) {
    #section_4, #section_6 {
        padding: min(10vw, 110px) 0;
    }
    #section_4 .container .flex,
    #section_6 .container .flex {
        display: block;
    }
    #section_4 .container .flex .box-01,
    #section_6 .container .flex .box-01 {
        width: 100%;
        margin-bottom: 30px;
    }
    #section_4 .container .flex .box-01 .btn,
    #section_6 .container .flex .box-01 .btn {
        margin: 40px auto;
    }
    #section_4 .container .flex .box-02,
    #section_6 .container .flex .box-02 {
        width: 100%;
    }
}

/* footer */
footer {
    padding: min(5.73vw, 110px) 0;
    background-color: var(--color-main);
    color: var(--color-white);
}
footer .container {
    width: min(80%, 1170px);
    display: flex;
    column-gap: 40px;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}
footer .container .contact_text {
    text-align: center;
}
footer .container .contact_text .tel_text {
    font-size: clamp(18px,8vw,30px);
}
footer .container .contact_text .mail_btn {
    margin-top: 30px;
}
footer .container .contact_text .mail_btn a {
    color: var(--color-main);
    background-color: var(--color-white);
    padding: 20px 30px;
    border-radius: 100px;
    transition: .3s;
    box-shadow: 2px 2px 10px #729a15,-2px -2px 10px #729a15;
}
footer .container .contact_text .mail_btn :hover {
    color: var(--color-white);
    background-color: var(--color-sub);
}
footer .container .border {
    width:1px;
    height:60px;
    background-color: var(--color-white);
}
footer .container img {
    width: clamp(200px, 3vw, 300px);
    height: auto;
}
footer .container .footer_nav_box {
    line-height: 2;
}
footer .container .footer_nav_box li:nth-child(-n+5) a {
    position: relative;
}
footer .container .footer_nav_box li:nth-child(-n+5) a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1.4px;
    background: var(--color-white);
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}
footer .container .footer_nav_box li:nth-child(-n+5) a:hover::after {
    transform: scale(1, 1);
}
footer .container .footer_nav_box li:nth-child(n+5) a {
    transition: transform 0.3s;
}
footer .container .footer_nav_box li:nth-child(n+5) a:hover {
    opacity: 0.7;
}
footer .container .footer_nav_box img {
    width: 35px;
    margin-top: 20px;
}
footer .border_beside {
    height: 1px;
    background-color: var(--color-white);
    margin: 0 10%;
}
footer .footer_text {
    font-size: clamp(14px, 0.93vw, 18px);
    line-height: 1.77;
    text-align: center;
    margin-top: 30px;
}
@media screen and (max-width: 1000px) {
    footer .container {
        display: block;
    }
    footer .container .contact_text {
        margin: 40px 0;
    }
    footer .container .contact_text .mail_btn {
        margin: 30px auto;
    }
    footer .container .border {
        width: 200px;
        height:1px;
        background-color: var(--color-white);
        margin: 0 auto;
    }
    footer .container .footer_nav_box {
        margin-top: 40px;
    }
    footer .container .footer_logo {
        display: flex;
        margin: 0 auto;
    }
}
