@charset "utf-8";

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
        'Noto Sans JP',
        Arial,
        'Noto Serif JP';
    font-style: normal;
    color: #5c5c5c;
    background-color: white;
    line-height: 1.6;
}

main {
    padding: 0 20% 0;
}

h2 {
    font-size: 2.0rem;
    font-weight: 700;
    text-align: center;
    padding-top: 85px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
    padding-top: 85px;
}

p {
    font-size: 1.6rem;
    line-height: 2.0;
}

.textcolor_red {
    color: #CF5151;
}

.brSp {
        display: none;
    }

.otlogo {
    height: 30px;
    width: auto;
}

.sdlogo {
    height: 30px;
    width: auto;
}

.subheader {
    margin-top: 65px;
    height: 300px;
    width: 100%;
    background-image: url(../images/backimage_pagetitle.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.subheader_firsttext {
    padding-top: 50px;
    font-size: 4.0rem;
    font-weight: 900;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
}

.subheader_secondtext {
    font-size: 5.0rem;
    font-weight: 900;
    text-align: center;
    color: rgba(255, 255, 255);
}

/* style sp */
@media screen and (max-width:768px) {
    main {
    padding: 0 5%;
    margin-top: 65px;
}

    .brSp {
        display: initial;
    }

    .subheader {
        height: 180px;
    }

    .subheader_firsttext {
        padding-top: 50px;
        font-size: 1.6rem;
        font-weight: 700;
    }

    .subheader_secondtext {
    font-size: 2.4rem;
    font-weight: 700;
}


}/* sp 768px */

/* ここからheadder pc */

.headerlogo {
    padding-top: 30px;
    padding-bottom: 20px;
}

.headerlogo img {
    height: 25px;
    width: auto;
    margin-right: 10px;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #DEE6E9;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.header_list {
    display: flex;
    margin-top: 8px;

}

.header_item {
    padding: 22px 15px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #5C5C5C;
    transition: 0.5s;
}

.header_item_contact {
    padding: 10px 15px;
    text-align: center;
    background-color: #5C5C5C;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
    margin-left: 15px;
    transition: 0.5s;
}

.header_item:hover {
    text-shadow: 4px 4px 4px #A7B2B5;
    transition: 0.5s;
    transform: translate(-4px, -4px);
}

.header_item_contact:hover {
    box-shadow: 4px 4px 4px #A7B2B5;
    transition: 0.5s;
    transform: translate(-4px, -4px);
    /* background-color: #E87272; */
    background-color: #FFBE8D;
}

.nav__header {
    display: none;
}

.nav__header img {
    height: 25px;
    width: auto;
    margin-right: 10px;
}

.nav {
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    position: static;
    transform: translate(0);
}

.header__btn {
    display: none;
}

.mainvisual_sp {
    display: none;
}

.arrow {
    display: none;
}

.header_telicon {
    width: 15px;
    height: auto;
    margin: 5px 2px 5px 2px;
}

.header_smalltext {
    font-size: 1.2rem;
    padding: 0 0 10px 10px;
}

/* style sp */
@media screen and (max-width:1024px) {

.nav {
    background: rgba(255, 255, 255, 0.85);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav.active {
    transform: translateX(0);
}

.nav__header {
    padding: 23px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__btn {
    display: initial;
}

.header_list {
    display: block;
}

.header_item {
    font-size: 1.8rem;
    color: #5c5c5c;
    margin-top: 0;
}

.header_item:hover {
    color: #5C5C5C;
    text-shadow: none;
    transform: none;
}

.header_item_contact {
    font-size: 1.8rem;
    color: #5c5c5c;
    margin-top: 15px;
    margin-left: 0;
    background-color: initial;
    padding: 10px 15px;
}

.header_item_contact:hover {
    color: #5C5C5C;
    box-shadow: none;
    transform: none;
    background-color: initial;
}

.arrow {
    display: initial;
    width: auto;
    height: 28px;
}

.contacttextbox_tel {
    display: none;
}

.header_item_contact {
    text-align: left;
}

}/* sp 1024px */

/* TOPメニュー */

.smalltext {
    font-size: 1.0rem;
}


.back {
    margin-top: 80px;
}

.back a {
    color: #5c5c5c;
    transition: 0.5s;
}

.back a:hover {
    color: #8BACD7;
    text-decoration: underline solid 1px #8BACD7;
}

.back span {
    font-weight: bold;
}

/* ここからアンカーリンク */
.anchorlink {
    color: white;
    text-align: center;
    padding: 15px;
}

.anchorlink span {
    padding: 0 15px;
    transition: 0.5s;
}

.anchorlink span:hover {
    text-decoration: underline solid 2px white;
    transition: 0.5s;
}

/* アンカーリンク sp */
@media screen and (max-width:1024px) {
    .anchorlink {
        font-size: 1.2rem;
        padding: 15px 5px;
    }
    
    .anchorlink span {
        padding: 0 8px;
    }

}/* sp 1024px */

/* ここからフッター */

.footer {
    background-color: #DEE6E9;
    padding: 45px 75px;
    margin-top: 85px;
}

.footer__logo {
    width: auto;
    height: 30px;
}

.footer_text {
    font-size: 1.2rem;
    font-weight: 200;
    line-height: 1.4;
}

.fotterbox1 {
    display: flex;
    justify-content: space-between;
}

.footer_menu_item {
    display: flex;
    padding-left: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer_menu_item a:hover {
    color: #8BACD7;
    text-decoration: underline #8BACD7;
    transition: 0.5s;
}

.footer_information {
    padding-top: 30px;
}

.copyright {
    text-align: end;
}

/* footer sp */
@media screen and (max-width:1024px) {
    .footer {
    padding: 45px 45px;
}
    
    .fotterbox1 {
        display: initial;
        text-align: center;
    }

    .footer_menu_item {
        display: none;
    }

    .copyright {
        text-align: center;
    }

    small {
        font-size: 1.2rem;
    }

}/* sp 879px */

/* ここからボタン */

.button {
    text-align: center;
    margin-top: 60px;
}
.button a {
    display: inline-block;
    width: 60%;
    padding: 10px 30px;
    color: #FDFDFD;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: 15px;
    transition: 0.5s;
}

.button01 {
    background-color: #E87272;
    box-shadow: 0 5px 15px -5px rgba(194, 99, 99, 0.8);
}

.button02 {
    background-color: #8bd7c0;
    box-shadow: 0 5px 15px -5px rgba(89, 121, 163, 0.8);
}

.button a:hover {
    color: #FDFDFD;
    opacity: 0.6;
    transition: 0.5s;
    transform: translate(-4px, -4px);
}

/* ボタンsp */
@media screen and (max-width:1024px) {

    .button a {
    display: inline-block;
    width: 320px;
    padding: 10px 30px;
    font-size: 1.4rem;

}
    
}/* sp 879px */

/* ここからページスクロールボタン */
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #DEE6E9;
    border: solid 2px #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(8, 8, 8, 0.3);
}

.pagetop {
    height: 35px;
    width: 35px;
    position: fixed;
    right: 35px;
    bottom: 35px;
    background: #fff;
    border: solid 2px #8C8C8C;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(35, 37, 39, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .pagetop:hover {
        background-color: rgb(255, 255, 158);
        transition: 0.5s;
    }
}

