@charset "utf-8";
/* CSS Document */

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    position: relative;
}

.body_color.active::before {
    z-index: 10;
    content: "";
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 20, .5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.body_color_con.active::before {
    z-index: 110;
    content: "";
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 20, .5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.body_color_con01.active::before {
    z-index: 110;
    content: "";
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 20, .5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


main {
    background-color: #d2e6e4;
}

.fadeIn_up {
    opacity: 0;
    transform: translate(0, 5%);
    transition: 0.8s;
}

.fadeIn_up.is-show {
    transform: translate(0, 0);
    opacity: 1;
}

.fadeIn_up.is-show:nth-of-type(2) {
    -moz-transition-delay: 500ms;
    -webkit-transition-delay: 500ms;
    -o-transition-delay: 500ms;
    transition-delay: 500ms;
}


.top_area {
    content: "";
    background-image: url(../img/top_img@2x.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 900px;
    position: relative;

}

.top_icon {
    z-index: 12;
    width: 180px;
    position: fixed;
    left: 30px;
    top: 60px;
}

.top_icon img {

    width: 120px;
    height: auto;

}

.header_button span {
    content: "";
    width: 60px;
    height: 60px;

    border-radius: 999px;
    display: block;
    position: absolute;

    top: -20px;
    z-index: -1;
    left:-2px;


}


.header_button span::after {
    position: absolute;
    content: '';
    width: 60px;
    height: 60px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(81, 130, 125, .3);
    box-shadow: 0 0 5px 5px rgba(81, 130, 125, .3);
    border-radius: 999px;
}

.inview_button {
    display: none;
}

.header_list {
    z-index: 100;
    position: fixed;
    right: 0px;
    top: 0px;
}




.header_list button {
    z-index: 12;
    position: absolute;
    right: 60px;
    top: 60px;
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.header_list button:hover {
    opacity: 0.7;
}

.header_list button p {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    margin: 0;
   
}


.header_list button p::after {
    content: "";
    background-color: #fff;
    display: block;
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: -3px;
   left: 50%;
   transform: translateX(-50%);
}

.header_list button p.active {
    display: none;
}


.header_list button p.active::after {
    display: none;
}

.menu_list {
    opacity: 0;
    display: block;
    top: 0;
    right: -650px;
    list-style: none;
    width: 650px;
    background-color: #fff;
    padding: 0;
    padding-bottom: 100px;
    margin: 0;
    overflow: scroll;
    transition: 0.3s;
    position: absolute;
    z-index: 100;
    height: 80vh;
    -ms-overflow-style: none;
    scrollbar-width: none;


}
.menu_list::-webkit-scrollbar{
    display: none;
  }

.menu_list.active {
    opacity: 1;
    right: 0;
}

#close_button {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 80px;
    right: 100px;
    padding: 0;
}

.close_button {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: #333;
    margin-top: 0px;
    transform: rotate(45deg);
}

.close_button:nth-of-type(2) {
    transform: rotate(-45deg);
}

.menu_list_tx {
    margin-top: 100px;
    margin-left: 120px;

}

.menu_list_tx li {
    text-align: left;

}



.menu_list_tx li a {
    text-decoration: none;
    color: #333;
}


.menu_main {
    font-size: 2.0rem;
    font-weight: 600;
    padding-top: 40px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.menu_main:hover {
    opacity: 0.5;
}



.menu_sub {
    font-size: 1.6rem;
    margin-left: 100px;
    text-decoration: none;
    position: relative;
    margin-top: 35px;
}

.menu_sub::before {
    content: "";
    display: block;
    position: absolute;
    left: -20px;
    top: 10px;
    width: 10px;
    height: 1px;
    background-color: #333;

}

.menu_main_con {
    width: 300px;
    height: 80px;
    background-color: #619c95;
    border-radius: 999px;
    color: #fff;
    font-size: 1.6rem;
    margin-left: 50px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.menu_main_con:hover {
    opacity: 0.8;
}

.menu_contact_tx {
    color: #fff;
    font-size: 2.0rem;
    line-height: 80px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    letter-spacing: 0.1em;
}

.border_line::after {
    content: "";
    display: block;
    margin-top: 30px;
    width: 400px;
    height: 0.5px;
    background-color: #333;

}



.top_tx {
    font-size: 11.0rem;
    font-weight: 800;
    color: #fff;
    text-align: left;
   padding: 100px 150px 0; 

}

.top_tx01{
    margin-top: 100px;
}

.top_tx02{
    font-size: 8.0rem;
    text-align: right;
    margin-top: 150px;
}

.top_tx03{
    font-size: 18.0rem;
    text-align: left;
    margin-top: 250px;
    
}



@media only screen and (max-width: 972px) {


    .top_area {
        height: 80vh;
        min-height: 0;

    }

    .top_tx {
        font-size: 3.5rem;
        font-weight: 800;
        color: #fff;
        padding: 0px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .top_tx01{
        margin-top: 80px;
    }
    

    .top_tx02{
        font-size: 3.5rem;
        text-align:center;
        margin-top: 50px;
    }
    
    .top_tx03{
        font-size: 3.5rem;
        text-align: center;
        margin-top: 50px;
        
    }

    .menu_list {
        right: -100vw;
        overflow: scroll;
        width: 100vw;
        height: 80vh;
        padding-bottom: 0;
        -ms-overflow-style: none;
        scrollbar-width: none;

    }

    .menu_list::-webkit-scrollbar{
        display: none;
      }

    .menu_list.active {
        opacity: 1;
        right: 0;
    }

    #close_button {
        width: 30px;
        height: 30px;
        position: absolute;
        top: 30px;
        right: 30px;
        padding: 0;
    }

    .close_button {
        content: "";
        display: block;
        width: 30px;
        height: 1px;
        background-color: #333;
        margin-top: 0px;
        transform: rotate(45deg);
    }

    .menu_list_tx {
        margin-top: 50px;
        margin-left: 20%;
        margin-bottom: 50px;

    }

    .menu_main {
        font-size: 1.6rem;

        padding-top: 20px;

    }


    .menu_sub {
        font-size: 1.4rem;
        margin-left: 80px;
        margin-top: 15px;
    }


    .menu_main_con {
        width: 200px;
        height: 50px;
        font-size: 1.4rem;
        margin-left: 10%;
        -webkit-transition: all .3s;
        transition: all .3s;
    }

    .menu_main_con:hover {
        opacity: 0.8;
    }

    .menu_contact_tx {

        font-size: 1.6rem;
        line-height: 50px;
    }

    .border_line::after {
        width: 70%;

    }






}

@media only screen and (max-width: 450px) {
    .top_icon {
        z-index: 12;
        width: 100px;
        position: fixed;
        left: 50px;
        top: 50px;
    }

    .top_icon img {

        width: 130px;
        height: auto;
    }

    .header_list button {
        right: 30px;
        top: 50px;

    }

    .header_list button p {
        margin: 0;
        z-index: 12;
    }

}

/*main*/

.about {

    padding-bottom: 0px;
}

h1 {
    font-size: 8.0rem;
    margin: 0;
    padding-top: 160px;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 80px;
}

.tx_area_bkimg {
    background-image: url(../img/top_bk-img.gif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

}

.tx_area {
    padding-bottom: 140px;
}

.tx_area p {
    margin: 0;
}


.tx_area_01 {
    font-size: 1.4rem;
    padding-top: 5px;
}

.tx_area_02 {
    font-size: 1.6rem;
    line-height: 2;
    padding-top: 100px;
}

.tx_area_03 {
    font-size: 1.6rem;
    line-height: 2;
    padding-top: 100px;
    padding-bottom: 140px;
}

.company_button {
    display: block;
    width: 450px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;

    position: relative;
    text-decoration: none;


}

.company_button::after {
    content: "";
    display: block;
    position: absolute;
    width: 200px;
    height: 1px;
    background-color: #333;
    margin-top: -30px;
    right: 0;
}

.company_button span {
    width: 450px;
    height: 60px;
    color: #333;
    font-size: 1.6rem;
    line-height: 60px;
}

.company_button span::after {
    content: "";
    display: block;
    position: absolute;
    width: 450px;
    height: 1px;
    background-color: #333;
    margin-top: -5px;
    transform: scale(1, 1);
    transform-origin: left top;
    transition: transform 0.5s;
}



.company_button:hover span::after {
    transform: scale(0, 1);
    transform-origin: right top;
}



.company_button_line {
    position: relative;
    display: block;
    width: 450px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
}

.company_button_line::after {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: #333;
    margin-top: -19px;
    top: -14px;
    right: 0;
    transform: translateY(-44%) rotate(16deg);
}

.slideshow_area {
    position: relative;
}

.slideshow {
    height: 500px;
    overflow: hidden;
    position: relative;
}



.main_img {

    opacity: 0;
    width: 100%;
    height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 18s 0s infinite;
    animation: anime 18s 0s infinite;
}

.main_img:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}

.main_img:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 12s;
}

@keyframes anime {
    0% {
        opacity: 0;
    }

    17% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    45% {
        opacity: 0;
        transform: scale(1.05);

    }

    100% {
        opacity: 0
    }
}

.slideshow::after {
    content: "";
    display: block;
    position: absolute;
    width: 200px;
    height: 1px;
    background-color: #fff;
    margin-top: -19px;
    top: -14px;
    right: 0;
    transform: translateY(-44%) rotate(16deg);
}

.photos_tx {
    position: absolute;
    bottom: 20px;
    left: 50px;
    color: #fff;

    font-size: 2.5rem;
    font-family: "ivyora-display", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.br_pc {
    display: block;
}

.br_sp {
    display: none;
}

@media only screen and (max-width: 972px) {
    .br_pc {
        display: none;
    }

    .br_sp {
        display: block;
    }

    .tx_area {
        padding-bottom: 100px;
    }

    .tx_area p {
        margin: 0;
    }

    .tx_area_023 {
        padding: 0 20px;
    }

    .tx_area_02 {
        font-size: 1.6rem;
        line-height: 2;
        padding-top: 100px;
    }

    .tx_area_03 {
        font-size: 1.6rem;
        line-height: 2;
        padding-top: 50px;
        padding-bottom: 80px;
    }


    .company_button {
        display: block;
        width: 300px;
        height: 60px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        position: relative;


    }

    .company_button::after {
        width: 100px;
    }

    .company_button span {
        width: 300px;
        height: 60px;
        color: #333;
        font-size: 1.6rem;
        line-height: 60px;
    }

    .company_button span::after {
        width: 300px;

    }

    .company_button_line {
        width: 300px;
    }

    .company_button_line::after {
        content: "";
        display: block;
        position: absolute;
        width: 20px;
        height: 1px;
        background-color: #333;
        margin-top: -19px;
        top: -14px;
        right: 0;
        transform: translateY(-44%) rotate(16deg);
    }
}

/*service*/

.service {
    background-color: #619c95;
}

.service_area {
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}


.service_toptx {
    text-align: left;
}

.service_h1 {
    display: inline-block;
    color: #fff;
    padding-left: 50px;

}

.service_p1 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
    text-align: right;
    line-height: 14px;
    padding-top: 5px;
}

.service_tx {
    text-align: left;
    display: flex;
    justify-content: space-between;
    padding: 100px 100px 100px 100px;
}

.service_tx p {
    font-size: 1.6rem;
    line-height: 2;
    color: #fff;
    font-weight: 600;
}

.service_button-se {
    margin-top: auto;
    padding-bottom: 15px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.service_button-se::after {
    content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 0.75px;
    background-color: #fff;
    margin-top: 0px;
    right: 0;
    top: 20px;
}

.service_button-se span {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 1px;
    background-color: #fff;
    margin-top: 0px;
    top: 18px;
    right: 0;
    transform: translateY(-44%) rotate(16deg);
}


.service_button-se a {

    text-decoration: none;
    width: 280px;

}

.service_button-se p {
    text-align: left;
    font-weight: 300;
    font-size: 1.6rem;
    position: relative;

}

.service_button-se p::after {
    content: "";
    display: block;
    position: absolute;
    width: 280px;
    height: 1px;
    background-color: #fff;
    margin-top: 0px;
    left: 0;
    transform: scale(1, 1);
    transform-origin: right top;
    transition: transform 0.5s;
}

.service_button-se p:hover::after {
    transform: scale(0, 1);
    transform-origin: left top;
}



.service_three {
    margin-top: 50px;
    padding-bottom: 100px;
    background-color: #619c95;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 1200px;
    margin: 0 auto;
}



/*タブのスタイル*/
.tab_item {
    height: 70px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    background-color: #619c95;
    border-radius: 40px 40px 0px 0px;
    line-height: 70px;
    font-size: 1.6rem;
    text-align: center;
    color: #fff;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    padding: 20px 65px 70px 20px;
    position: relative;
    margin-right: 10px;

}

.tab_item span {
    position: absolute;
    display: inline-block;
    font-size: 1.2rem;
    padding: 3px 15px;
    text-align: center;
    line-height: 12px;
    border: 1px solid #fff;
    border-radius: 999px;
    top: 15px;
    left: 20px;
}

.tab_item::after {
    content: "";
    display: block;
    background-image: url(../img/top_yaji02.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 15px;
    right: 20px;
}


.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 100px 40px 40px;
    clear: both;
    overflow: hidden;
    background-color: #fff;
}

#system:checked~#system_co,
#aws:checked~#aws_co,
#it_shien:checked~#itshien_co {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.service_three input:checked+.tab_item {
    background-color: #fff;
    color: #333;
}

.service_three input:checked+.tab_item span {
    border: 1px solid #333;
}

.service_three input:checked+.tab_item::after {
    background-image: url(../img/top_yaji01.png);
}


.service_tx_box01 {
    display: flex;
    justify-content: space-between;
}

.service_tx_box01 p {
    padding: 0px 30px 50px 80px;
    font-size: 1.6rem;
    text-align: left;
}

.service_tx_box01 img {
    width: 50%;
    height: auto;
    padding-right: 80px;
    padding-left: 70px;
    padding-bottom: 0px;
    -webkit-transition: all .3s;
    transition: all .3s;

}



.service_more {
    width: 200px;
    height: 50px;
    background-color: #619c95;
    border-radius: 999px;
    margin-bottom: 50px;
    margin-left: 80px;
    border: 1px solid #619c95;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.service_more:hover {
    opacity: 0.7;
}

.service_more a {
    text-decoration: none;
    width: 200px;
    height: 50px;
    border-radius: 999px;

}

.service_more p {
    color: #fff;
    line-height: 50px;
    padding-right: 20px;
    position: relative;
    margin: 0;
}



.service_more p::after {
    content: "";
    display: block;
    background-image: url(../img/top_yaji02.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 15px;
    right: 20px;
    transform: rotate(-90deg);
    transition: 0.3s;
}

.service_three_sp {
    display: none;
}

@media only screen and (max-width: 972px) {

    .service_tx {
        display: block;
        padding-bottom: 50px;
    }

    .service_tx p {
        text-align: center;
    }

    .service_button-se {
        margin-top: auto;
        padding-top: 30px;
        padding-bottom: 15px;
        text-align: center;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .service_button-se::after {
        display: none;
    }

    .service_button-se span {
        display: none;
    }


    .service_button-se a {

        text-decoration: none;

    }

    .service_button-se p {
        text-align: center;
        font-weight: 300;
        font-size: 1.4rem;
        position: relative;

    }

    .service_button-se p::after {
        margin-top: 10px;
        width: 220px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .service_button-se p:hover::after {
        transform: scale(0, 1);
        transform-origin: left top;
    }




    .service_three {
        display: none;
    }


    .service_three_sp {
        display: block;
        padding: 50px 10px;

    }

    .theme_sp {
        margin-top: 10px;
    }

    #service_button_push {
        display: none;
    }

    #service_button_push02 {
        display: none;
    }

    #service_button_push03 {
        display: none;
    }

    /*01*/
    .system_sp_button {
        background-color: #619c95;
        padding: 20px 20px;
        position: relative;
        border-radius: 50px;
        border: 3px solid #fff;
        transition: 0.3s;
    }

    .system_sp_button.active {
        background-color: #fff;
    }


    .system_sp_button span {
        position: absolute;
        display: block;
        font-size: 1.2rem;
        padding: 3px 15px;
        text-align: center;
        line-height: 12px;
        border: 1px solid #fff;
        border-radius: 999px;
        top: 30px;
        left: 30px;
        color: #fff;

    }

    .system_sp_button span.active {
        color: #333;
        border: 1px solid #333;

    }

    .system_sp_button::after {
        content: "";
        display: block;
        background-image: url(../img/top_yaji02.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 27px;
        height: 27px;
        position: absolute;
        top: 30px;
        right: 40px;
    }

    .system_sp_button.active::after {
        background-image: url(../img/top_yaji01.png);
    }


    .system_sp_button_flex {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin-top: 50px;

    }

    .system_sp_button_flex h3 {
        font-size: 2.0rem;
        padding: 0px 0px 0px 0px;
        text-align: center;
        color: #fff;
    }

    .system_sp_button_flex h3.active {
        color: #333;
    }

    .system_sp_button_flex img {
        width: 40%;
        height: auto;
    }

    /*02*/
    .system_sp_button02 {
        background-color: #619c95;
        padding: 20px 20px;
        position: relative;
        border-radius: 50px;
        border: 3px solid #fff;
        transition: 0.3s;
    }

    .system_sp_button02.active {
        background-color: #fff;
    }


    .system_sp_button02 span {
        position: absolute;
        display: block;
        font-size: 1.2rem;
        padding: 3px 15px;
        text-align: center;
        line-height: 12px;
        border: 1px solid #fff;
        border-radius: 999px;
        top: 30px;
        left: 30px;
        color: #fff;

    }

    .system_sp_button02 span.active {
        color: #333;
        border: 1px solid #333;

    }

    .system_sp_button02::after {
        content: "";
        display: block;
        background-image: url(../img/top_yaji02.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 27px;
        height: 27px;
        position: absolute;
        top: 30px;
        right: 40px;
    }

    .system_sp_button02.active::after {
        background-image: url(../img/top_yaji01.png);
    }


    .system_sp_button_flex02 {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin-top: 50px;

    }

    .system_sp_button_flex02 h3 {
        font-size: 2.0rem;
        padding: 0px 0px 0px 0px;
        text-align: center;
        color: #fff;
    }

    .system_sp_button_flex02 h3.active {
        color: #333;
    }

    .system_sp_button_flex02 img {
        width: 40%;
        height: auto;
    }


    /*03*/
    .system_sp_button03 {
        background-color: #619c95;
        padding: 20px 20px;
        position: relative;
        border-radius: 50px;
        border: 3px solid #fff;
        transition: 0.3s;
    }

    .system_sp_button03.active {
        background-color: #fff;
    }


    .system_sp_button03 span {
        position: absolute;
        display: block;
        font-size: 1.2rem;
        padding: 3px 15px;
        text-align: center;
        line-height: 12px;
        border: 1px solid #fff;
        border-radius: 999px;
        top: 30px;
        left: 30px;
        color: #fff;

    }

    .system_sp_button03 span.active {
        color: #333;
        border: 1px solid #333;

    }

    .system_sp_button03::after {
        content: "";
        display: block;
        background-image: url(../img/top_yaji02.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 27px;
        height: 27px;
        position: absolute;
        top: 30px;
        right: 40px;
    }

    .system_sp_button03.active::after {
        background-image: url(../img/top_yaji01.png);
    }


    .system_sp_button_flex03 {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin-top: 50px;

    }

    .system_sp_button_flex03 h3 {
        font-size: 2.0rem;
        padding: 0px 0px 0px 0px;
        text-align: center;
        color: #fff;
    }

    .system_sp_button_flex03 h3.active {
        color: #333;
    }

    .system_sp_button_flex03 img {
        width: 40%;
        height: auto;
    }



    .service_button_content {
        height: 0px;
        background-color: #fff;
        padding: 0px 30px 0px 30px;
        margin-top: 10px;
        transition: 0.3s;
        overflow: hidden;
        opacity: 0;

    }

    .service_button_content p {
        text-align: center;
        padding: 0px 20px;
    }

    .service_more {
        margin-top: 30px;
        width: 200px;
        height: 50px;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
        -webkit-transition: all .3s;
        transition: all .3s;
    }


    .service_more a {
        width: 200px;
        height: 50px;


    }

    .service_more p {
        color: #fff;
        line-height: 50px;
        padding-right: 0;
        padding-left: 0;
        position: relative;
        margin: 0;
        width: 200px;
    }



    .service_more p::after {
        content: "";
        display: block;
        background-image: url(../img/top_yaji02.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 20px;
        height: 20px;
        position: absolute;
        top: 15px;
        right: 20px;
        transform: rotate(-90deg);
        transition: 0.3s;
    }


    input[type=checkbox]:checked~.service_button_content {
        height: auto;
        padding: 50px 30px 10px 30px;
        opacity: 1;
    }
}

@media only screen and (max-width: 972px) {

    .service_tx {
        display: block;
        padding: 100px 30px 50px 30px;
    }
}

/*contact*/

.contact {
    padding-top: 160px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;

}

/*00*/
.contact_box00 {
    position: fixed;
    width: 80vw;
    height: 80vh;
    background-color: #fff;
    top: 50%;
    left: 50%;
    /* 中央に配置 */
    transform: translate(-50%, -50%) scale(0.8);
    /* 初期状態を小さく */
    z-index: 120;
    border-radius: 10px;
    padding: 150px 100px 100px 100px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, transform 0.7s ease,visibility 0.7s ease;
    /* アニメーション効果 */

}

.contact_box00.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    /* 元のサイズに戻す */
    display: block;
    /* 表示する */

}



.contact_box00::after {
    content: "";

}

.contact_box00 p {
    text-align: left;
}

.contact_box00 button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}

#close_button_con {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 60px;
    right: 100px;
    padding: 0;
    transition: 0.3s;
}

#close_button_con:hover {
    opacity: 0.6;
}

.close_button_con {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #333;
    margin-top: -2px;
    transform: rotate(45deg);
}

.close_button_con:nth-of-type(2) {
    transform: rotate(-45deg);
    top: 2px;
}

/*01*/
.contact_box01 {
    position: fixed;
    width: 80vw;
    height: 80vh;
    background-color: #fff;
    top: 50%;
    left: 50%;
    /* 中央に配置 */
    transform: translate(-50%, -50%) scale(0.8);
    /* 初期状態を小さく */
    z-index: 120;
    border-radius: 10px;
    padding: 150px 100px 100px 100px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, transform 0.7s ease,visibility 0.7s ease;
    /* アニメーション効果 */

}

.contact_box01.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    /* 元のサイズに戻す */
    display: block;
    /* 表示する */



}



.contact_box01::after {
    content: "";

}

.contact_box01 p {
    text-align: left;
}

.contact_box01 button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}

#close_button_con01 {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 60px;
    right: 100px;
    padding: 0;
    transition: 0.3s;
}

#close_button_con01:hover {
    opacity: 0.6;
}

.close_button_con01 {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #333;
    margin-top: -2px;
    transform: rotate(45deg);
}

.close_button_con01:nth-of-type(2) {
    transform: rotate(-45deg);
    top: 2px;
}



/*スクロールバーの幅*/
.custom-scrollbar::-webkit-scrollbar {
    width: 12px;

}

/*スクロールバーの背景*/
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 999px;
}

/*スクロールバーのバーボタンの色*/
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 999px;
}

/*スクロールバーホバー時の色*/
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #555;
}




.contact_box {
    padding: 0 10px;
    position: relative;

}

.contact_box a {
    text-decoration: none;
}


.contact_boxes button {
    border: none;
    /* 枠線を消す */
    outline: none;
    /* クリックしたときに表示される枠線を消す */
    background: transparent;
    /* 背景の灰色を消す */
    
    text-underline-offset: 0.3em;
    padding-top: 10px;
    transition: 0.3s;
    color: #333;
    font-size: 1.6rem;

}

.contact_boxes button:hover {
    opacity: 0.6;
}



.button_contact {
    content: "";
    background-color: rgba(51, 51, 51, 0.5);
    /* 背景の透明度を調整 */
    border-radius: 10px;
    max-width: 1000px;
    height: 250px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: center;
    overflow: hidden;
    /* 子要素がはみ出さないように */
}

.button_contact::before {
    content: "";
    background-image: url(../img/bg_service.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    /* 絶対位置に設定 */
    top: 0;
    left: 0;
    width: 100%;
    /* 親要素に合わせる */
    height: 100%;
    transition: transform 0.5s ease;
    /* アニメーションを追加 */
    border-radius: 10px;
}

.button_contact:hover::before {
    transform: scale(1.1);
    /* ホバー時に拡大 */
}

.button_contact::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 20, .2);
    border-radius: 10px;
}



.button_contact h1 {
    z-index: 1;
    position: relative;
    font-size: 4.0rem;
    padding: 0;
    line-height: 250px;
    color: #fff;
}

.button_contact p {
    z-index: 1;
    display: block;
    line-height: 250px;
    color: #fff;
    position: absolute;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.4rem;
    top: 0;
    padding-top: 35px;
    right: 50%;
    transform: translateX(50%);

}

.contact_boxes {
    text-align: right;
    margin-top: 5px;

}

.link_box01 {
    font-size: 1.4rem;
    color: #333;
    position: relative;

}

.link_box01::after{
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(../img/out_link.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top:0;
    right: -20px;
}



@media only screen and (max-width: 972px) {
    .contact {
        padding-top: 80px;
        padding-bottom: 80px;


    }

    .button_contact {
        height: 200px;
        /* 子要素がはみ出さないように */
    }


    .button_contact h1 {
        z-index: 1;
        position: relative;
        font-size: 4.0rem;
        padding: 0;
        line-height: 200px;
        color: #fff;
    }

    .button_contact p {
        z-index: 1;
        line-height: 200px;
        padding-top: 35px;
    }

    .contact_box00 {
        width: 90%;
        height: 80vh;
        padding: 90px 20px 80px 20px;

    }

    .contact_box00 p {
       font-size: 1.4rem;
    }

    #close_button_con {
        top: 30px;
        right: 30px;
    }

    .contact_box01 {

        width: 90%;
        height: 80vh;
        padding: 90px 20px 80px 20px;

    }

    #close_button_con01 {
        top: 30px;
        right: 30px;
      
    }
}

@media only screen and (max-width: 450px) {

    .button_contact {
        height: 150px;
        /* 子要素がはみ出さないように */
    }


    .button_contact h1 {
        line-height: 150px;
    }

    .button_contact p {
        line-height: 150px;
        padding-top: 35px;
    }
}

footer {
    background-color: #619c95;

}

.scroll_top {
    width: 100%;
    height: 50px;
    background-color: #333;
    color: #fff;
    line-height: 50px;
    position: relative;

}

.scroll_top:hover {
    opacity: 0.8;
}

.scroll_top::after {
    content: "";
    background-image: url(../img/up_yaji.svg);
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 15px;
    margin-left: 10px;

}

#scroll_top {
    text-decoration: none;
}

.footer_tx {

    max-width: 1200px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 120px;
    padding-left: 30px;
    padding-right: 30px;

}

.footer_tx img {
    width: 150px;
    height: auto;
    position: absolute;
    top: 30px;
    left: 0;
    margin-left: 30px;
    padding: 10px 30px;
    background-color: #fff;
border-radius: 5px;


}

.footer_tx ul {
    list-style: none;
    display: flex;
    justify-content: end;
    text-align: left;

}



.footer_tx ul li {
    color: #fff;
    font-size: 2.0rem;
    margin-left: 80px;
}

.footer_tx ul li a {
    text-decoration: none;
    color: #fff;


}

.footer_tx ul li a:hover {
    opacity: 0.6;
}

.tx_big {
    font-weight: 600;
    text-decoration: none;
}

.tx_sm {

    font-weight: 300;
    font-size: 1.4rem;

}

small {
    bottom: 50px;
}


@media only screen and (max-width: 972px) {
    .footer_tx {

        max-width: 1200px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        padding-top: 100px;
        padding-bottom: 50px;
        padding-left: 30px;
        padding-right: 30px;
    
    }
    
    
    .footer_tx ul {
        list-style: none;
        display: block;

        text-align: left;
    
    }
    
    
    
    .footer_tx ul li {
        color: #fff;
        font-size: 2.0rem;
        margin-top: 15px;
        margin-left: 0px;
    }
    
    .footer_tx ul li a {
        text-decoration: none;
        color: #fff;
    
    
    }
    
    .footer_tx ul li a:hover {
        opacity: 0.6;
    }
    
    .tx_big {
        font-weight: 600;
        text-decoration: none;
    }
    
    .tx_sm {
    
        font-weight: 300;
        font-size: 1.4rem;
    
    }
    
    small {
        bottom: 50px;
    }
}


img {
    width: 100%;
}