/* base */

html,body{	height:100%;}
html{
	font-size:62.5%;
    overflow-y: scroll;
}

body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd,
table, th, td, img, form,figure{
	margin: 0;
	padding: 0;
	border: none;
	line-height: 100%;
	list-style-type: none;
	font-style: normal;
	font-weight: normal;
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    /* font-weight: 300; */
	text-align: left;
	color:#333333;
	letter-spacing: 1px;
}

a img {
    transition: opacity 0.3s ease-out;
}

img{
	vertical-align: bottom;
}

a{
    text-decoration: none;
}

iframe{
    width: 100%;
    height: 386px;
    filter: grayscale(100%);
}

@media screen and (max-width:768px){
    main{
        overflow-x: hidden;
    }
}

/* common */

.toploading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2F2725;
    opacity: 1;
    transition: all 1s ease;
}

.toploading img{
    width: 170px;
    height: auto;
}

.toploading_remove{
    opacity: 0;
    z-index: -1;
}

.pc{
    display: block;
}

.sp{
    display: none;
}

@media screen and (max-width:768px) {
    .pc{
        display: none;
    }

    .sp{
        display: block;
    }

    .toploading img{
        width: 102px;
        height: auto;
    }
}

/* mv */

.mv_container{
    height: 100vh;
    background-color: #000;
    background-image: url('../img/mv.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
}

@media screen and (max-width:768px){
    .mv_container{
        background-image: url('../img/mv_sp.png');
    }
}

/* header */

header{
    margin: 5rem auto 0;
    position: absolute;
    left: 5rem;
    z-index: 2;
}

.hd_snslogo{
    display: flex;
    gap: 2rem;
}

.mv_lefttxt{
    position: absolute;
    left: 5rem;
    top: 35vh;
    bottom: 0;
}

.mv_lefttxt img{
    width: 13px;
    height: 316px;
}

.mv_inr{
    margin: 0 auto;
    width: 995px;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.mv_logo{
    width: 289px;
    height: 314px;
    position: relative;
}

.mv_logo img {
    position: absolute;
    left: 0;
    top: 0;
    width: 289px;
    height: 314px;
    opacity: 0;
    transition: all 1s ease;
}

.mv_logo img.active {
    opacity: 1;
}

.mv_hdg h1{
    margin-bottom: 2rem;
    color: #fff;
    font-size: 7.5rem;
    line-height: 97px;
}

.mv_hdg h1 span{
    letter-spacing: -10px;
}

.mv_hdg p{
    margin-left: 1.1rem;
    color: #fff;
    font-family: "futura-pt", sans-serif;
    font-size: 1.4rem;
}

@media screen and (max-width:768px) {

    header{
        margin: 0;
        padding: 20px 15px;
        left: 0;
        position: fixed;
        width: 100%;
        background-color: #2F2725;
    }

    .sp_hd_logo a img{
        width: 133px;
        height: auto;
    }
    .mv_inr{
        flex-direction: column;
        justify-content: center;
        gap: 85px;
    }

    .mv_hdg{
        width: 90vw;
    }

    .mv_hdg h1{
        font-size: 3.73rem;
        line-height: 60px;
        letter-spacing: -1px;
    }

    .mv_hdg h1 span{
        letter-spacing: -5px;
    }

    .mv_logo{
        margin: 0 auto;
        width: 170px;
        height: 185px;
    }

    .mv_logo img{
        width: 200px;
        height: 220px;
    }

    .mv_hdg p{
        margin-left: .7rem;
        font-size: .9rem;
    }
}

/* mission */

.sec_mission{
    padding: 150px 0 120px;
    position: relative;
}

.sec_mission:before,
.sec_mission:after {
    position: absolute;
    display: inline-block;
    content: "";
    background: #DFDFDF;
    width: 1px;
    height: 1100px;
    right: 35%;
    top: 0;
    z-index: -1;
}

.sec_mission:before {
    transform: rotate(355deg);
}

.sec_mission:after {
    top: -5%;
    right: 30%;
    transform: rotate(337deg);
}

.mission_container{
    margin: 0 auto;
    width: 1200px;
    display: flex;
    gap: 105px;
}

.mission_lefttxt img{
    width: 40px;
    height: 446px;
}

.mission_ttl{
    margin-bottom: 7rem;
}

.mission_ttl h2{
    font-size: 6.4rem;
    font-family: "futura-pt", sans-serif;
    font-weight: 600;
    letter-spacing: .5rem;
}

.mission_maintxt{
    margin-bottom: 4.5rem;
}

.mission_maintxt p{
    font-size: 4.4rem;
    line-height: 66px;
}

.mission_maintxt span{
    font-size: 4.4rem;
    color: #4588BF;
}

.mission_subtxt p{
    font-size: 1.5rem;
    line-height: 28px;
}

.mission_subtxt p:first-of-type{
    margin-bottom: 4rem;
}

@media screen and (max-width:768px) {
    .mission_container{
        width: 100%;
        flex-direction: row-reverse;
        gap: 0;
        justify-content: space-around;
    }

    .sec_mission:before,
    .sec_mission:after {
        height: 736px;
    }

    .sec_mission:after {
        top: -5%;
        right: 50%;
        transform: rotate(326deg);
    }

    .sec_mission{
        padding: 65px 20px 55px;
    }

    .mission_ttl{
        margin-bottom: 2rem;
    }

    .mission_ttl h2{
        font-size: 3.5rem;
        letter-spacing: .3rem;
    }

    .mission_maintxt p{
        font-size: 2.2rem;
        line-height: 3.7rem;
        letter-spacing: -1px;
    }

    .mission_maintxt span{
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .mission_lefttxt img{
        width: 26px;
        height: auto;
    }

    .mission_maintxt{
        margin-bottom: 2rem;
    }

    .mission_subtxt p{
        font-size: 1.5rem;
        letter-spacing: -1px;
    }

    .mission_subtxt p:first-of-type{
        margin-bottom: 2rem;
    }
}

/* about */

.sec_about{
    position: relative;
}

.sec_about:before,
.sec_about:after {
    position: absolute;
    display: inline-block;
    content: "";
    background: #DFDFDF;
    width: 1px;
    height: 938px;
    left: 0;
    top: 0;
    z-index: 0;
}

.sec_about:before {
    left: 19%;
    top: -25px;
    transform: rotate(19deg);
}

.sec_about:after {
    left: 25%;
    top: -25px;
    transform: rotate(341deg);
}

.about_container{
    display: flex;
    background-color: #F6F5F1;
    justify-content: center;
    gap: 125px;
}

.about_left_container{
    padding-top: 9rem;
    width: 47%;
}

.about_left_inr{
    margin-left: auto;
    width: 540px;
}

.about_left_hdg{
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: space-between;
}

.about_left_hdg_sub{
    position: relative;
    z-index: 2;
}

.about_left_hdg_sub img{
    width: 40px;
    height: 238px;
}

.about_left_hdg_main img{
    width: 277px;
    height: 359px;
}

.about_left_txt{
    position: relative;
    z-index: 2;
}

.about_left_txt p{
    margin-bottom: 4rem;
    font-size: 1.5rem;
    line-height: 28px;
}

.about_right_container{
    flex-grow: 1;
}

.about_right_address{
    padding: 7rem 0 11rem 7rem;
    background: #2F2725;
}

.corporate_hdg{
    margin-bottom: 4.5rem;
}

.corporate_hdg p{
    font-size: 2rem;
    font-weight: 600;
    font-family: "futura-pt", sans-serif;
    color: #fff;
    letter-spacing: .2rem;
}

.corporate_name{
    margin-bottom: 2rem;
}

.corporate_name p{
    font-size: 1.5rem;
    color: #fff;
}

.corporate_name span{
    margin-right: 3rem;
    width: 110px;
    display: inline-block;
}

.corporate_address{
    margin-bottom: 2rem;
}

.corporate_address p{
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    line-height: 2.3rem;
}

.corporate_address span{
    margin-right: 3rem;
    width: 110px;
    display: inline-block;
}

.corporate_president{
    margin-bottom: 2rem;
}

.corporate_president p{
    font-size: 1.5rem;
    color: #fff;
}

.corporate_president span{
    margin-right: 3rem;
    width: 110px;
    display: inline-block;
}

.corporate_tel{
    margin-bottom: 2rem;
}

.corporate_tel p{
    font-size: 1.5rem;
    color: #fff;
}

.corporate_tel span{
    margin-right: 3rem;
    width: 110px;
    display: inline-block;
}

.corporate_tel a {
    text-decoration: none;
    color: #fff;
}

.corporate_capiral{
    margin-bottom: 2rem;
}

.corporate_capiral p{
    font-size: 1.5rem;
    color: #fff;
}

.corporate_capiral span{
    margin-right: 3rem;
    width: 110px;
    display: inline-block;
}

.corporate_mail{
    margin-bottom: 3.5rem;
}

.corporate_mail p{
    font-size: 1.5rem;
    color: #fff;
}

.corporate_mail span{
    margin-right: 3rem;
    width: 110px;
    display: inline-block;
}

.corporate_mail a {
    text-decoration: none;
    color: #fff;
}

.about_sns{
    display: flex;
    gap: 2rem;
}

@media screen and (max-width:768px) {
    .about_container{
        padding: 58px 25px 0;
        flex-direction: column;
        gap: 45px;
    }

    .about_left_container{
        padding: 0;
        width: 100%;
    }

    .about_left_inr{
        width: 100%;
    }

    .about_left_hdg{
        margin-bottom: 1.5rem;
    }

    .about_left_hdg_main img{
        width: 180px;
        height: auto;
    }

    .about_left_hdg_sub{
        z-index: 1;
    }

    .about_left_hdg_sub img{
        width: 26px;
        height: auto;
    }

    .about_left_txt{
        z-index: 1;
    }

    .about_left_txt p{
        margin-bottom: 1rem;
        font-size: 1.5rem;
        letter-spacing: -1px;
    }

    iframe{
        width: 100vw;
        height: 163px;
        margin: 0 calc(50% - 50vw);
    }

    .about_right_address{
        padding: 50px 0 50px;
        width: 100vw;
        margin: 0 calc(50% - 50vw);
        background: url('../img/corporate_bg.png');
        background-size: cover;
    }

    .corporate_hdg{
        margin-left: 25px;
    }

    .corporate_name {
        margin-left: 25px;
    }

    .corporate_name p{
        font-size: 1.2rem;
    }

    .corporate_name span{
        width: 95px;
    }

    .corporate_address{
        margin-left: 25px;
    }

    .corporate_address p{
        font-size: 1.2rem;
    }

    .corporate_address span{
        width: 95px;
    }

    .corporate_president{
        margin-left: 25px;
    }

    .corporate_president p{
        font-size: 1.2rem;
    }

    .corporate_president span{
        width: 95px;
    }

    .corporate_tel {
        margin-left: 25px;
    }

    .corporate_tel p{
        font-size: 1.2rem;
    }

    .corporate_tel span{
        width: 95px;
    }

    .corporate_capiral{
        margin-left: 25px;
    }

    .corporate_capiral p{
        font-size: 1.2rem;
    }

    .corporate_capiral span{
        width: 95px;
    }

    .corporate_mail{
        margin-left: 25px;
        margin-bottom: 0;
    }

    .corporate_mail p{
        font-size: 1.2rem;
    }

    .corporate_mail span{
        width: 95px;
    }

    .sec_about:before,
    .sec_about:after{
        height: 784px;
    }

    .sec_about:after{
        left: 57%;
        top: -19px;
        transform: rotate(341deg);
    }

    .sec_about:before {
        left: 22%;
        top: -14px;
        transform: rotate(16deg);
    }

}

/* service */

.sec_service{
    position: relative;
}

.service_hdg{
    position: absolute;
    top: 14%;
    left: 23%;
}

.service_hdg h2{
    font-size: 6.4rem;
    font-family: "futura-pt", sans-serif;
    font-weight: 600;
    letter-spacing: .5rem;
}

.service_img{
    margin: 0 auto;
    max-width: 990px;
    position: relative;
}

.service_subhdg{
    position: absolute;
    top: 15%;
    left: 19%;
}


.service_subhdg img {
    width: 33px;
    height: auto;
}

.service_img img{
    max-width: 990px;
}

.service_img:before{
    position: absolute;
    display: inline-block;
    content: "";
    background: #2F2725;
    width: 6px;
    height: 1109px;
    left: 33%;
    top: -129px;
    z-index: -1;
    transform: rotate(36.6deg);
}

@media screen and (max-width:768px) {

    .service_img{
        max-width: 100%;
    }

    .service_img img{
        width: 100%;
    }

    .service_img:before{
        display: none;
    }
}


/* footer */

footer{
    padding: 8rem 0 0;
    width: 100%;
    height:860px;
    background-color: #2F2725;
    background-image: url('../img/ft_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 60%;
}

.ft_container{
    margin: 0 auto;
    width: 1200px;
    height: 100%;
    position: relative;
}

.ft_hdg{
    margin-bottom: 4.5rem;
}

.ft_hdg h3{
    color: #fff;
    font-size: 5.2rem;
    line-height: 3.6rem;
    text-align: center;
    letter-spacing: -1px;
}

.ft_contact{
    margin: 0 auto 6rem;
    width: 490px;
}

.ft_contact img{
    width: 490px;
}

.ft_logo {
    margin-bottom: 29rem;
    text-align: center;
}

.ft_logo img{
    width: 225px;
    height: 186px;
}

.ft_inr_container{
    position: absolute;
    bottom: 60px;
    display: flex;
    align-items: center;
    width: 100%;
}

.ft_snslogo{
    margin-right: 3rem;
    display: flex;
    gap: 2rem;
}

.ft_privacy{

}

.ft_privacy a{
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: .2rem;
    font-family: "futura-pt", sans-serif;
    font-weight: 600;
    line-height: 10px;
}

.ft_copy{
    margin-left: auto;
}

.ft_copy p{
    color: #fff;
    font-size: 1.2rem;
    font-family: "futura-pt", sans-serif;
    font-weight: 600;
}

.fixed_icon{
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 9999;
    background-color: #4588BF;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
}

.fixed_icon img{
    width: 31px;
    height: 22px;
}

@media screen and (max-width:768px) {

    footer{
        height: 590px;
        background-image: url('../img/ft_bg_sp.png');
    }
    .ft_container{
        width: 100%;
    }

    .ft_contact{
        margin: 0 auto 23px;
        width: 370px;
    }

    .ft_contact img{
        width: 370px;
    }

    .fixed_icon{
        right: 20px;
        bottom: 20px;
        width: 43px;
        height: 43px;
    }

    .fixed_icon img{
        width: 16px;
        height: 12px;
    }

    .ft_hdg h3{
        font-size: 2.7rem;
        text-align: center;
    }

    .ft_logo img{
        width: 125px;
        height: 105px;
    }

    .ft_inr_container{
        flex-wrap: wrap;
        justify-content: center;
        gap: 13px;
        bottom: 23px;
    }

    .ft_copy{
        margin-left: 0;
    }

    .fixed_icon_bg{
        background-color: #2F2725;
    }
}

/*========= ナビゲーションのためのCSS ===============*/

@media screen and (max-width:768px){

    #g-nav{
        position:fixed;
        z-index: 999;
        top:0;
        right: -120%;
        width:100%;
        height: 100vh;
        background:#4588BF;
        transition: all 0.6s;
    }

    #g-nav.panelactive{
        right: 0;
    }

    #g-nav.panelactive #g-nav-list{
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav ul {
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -65%);
        width: 85vw;
    }

    #g-nav li{
        list-style: none;
    }

    #g-nav li a{
        font-size: 2.3rem;
        color: #fff;
        text-decoration: none;
        padding:30px 0;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 600;
        font-family: "futura-pt", sans-serif;
    }

    #g-nav li a.top{
        padding:0 0 30px;
    }

    #g-nav li a img{
        width: 200px;
        height: 42px;
    }

    #g-nav li.sp_hd_pp a{
        font-size: 1.2rem;
        font-family: "futura-pt", sans-serif;
        font-weight: 200;
    }

    .openbtn1{
        position:fixed;
        z-index: 9999;
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
    }

    .openbtn1 span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 55%;
    }

    .openbtn1 span:nth-of-type(1) {
        top:15px;
    }

    .openbtn1 span:nth-of-type(2) {
        top:23px;
    }

    .openbtn1 span:nth-of-type(3) {
        top:31px;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 50%;
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn1.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 50%;
    }

    .menu_right{
        position: absolute;
        right: 6%;
        top: 15%;
    }

    .menu_right img{
        width: 10px;
        height: auto;
    }
}