/*
Theme Name: 東友エンジニアリング
Version: 1.1
Author: 巽 拓人
*/



@charset "UTF-8";
html{
    font-size : 62.5%;
    scroll-behavior: smooth;
}

body{
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 400;
    color: white;
    line-height: 1.5;
    background-color: #2A60AC;
}

img{
    max-width: 100%;
}

dt{
    font-weight: 400;
}

.btn{
    transition: 0.2s;
}

.btn:hover{
    transition: 0.2s;
    filter: drop-shadow(0 0 5px white) drop-shadow(0 0 10px white);
}

.notPc__1200{display: none;}
@media screen and (max-width:1200px) { .notPc__1200{display: block;} }

.notPc{ display: none; }
@media screen and (max-width:767px) { .notPc{display: block;} }

.notSP{ display: block; }
@media screen and (max-width:767px) { .notSP{display: none;} }

.top__title{
    color: #0C376A;
    font-family: Akshar;
    font-size: 10rem;
    font-weight: 500;
    line-height: 1;
}

.top__white__title{
    color: white;
}

.bread{
    display: flex;
    justify-content: flex-end;
    gap: 35px;
    margin: 40px 14.2% 40px 0;
}

.bread__item{
    font-size: 2rem;
    border-bottom: white 1px solid;
}

.bread__line{
    position: relative;
}

.bread__line::after{
    content: '';
    position: absolute;
    top: 50%;
    right: -24px;
    width: 15px;
    height: 1px;
    background-color: white;
}

.mt20{ margin-top: 20px; }
.mt30{ margin-top: 30px; }

span.mt20{ display: block; margin-top: 20px; }
span.mt30{ display: block; margin-top: 30px; }

/* ===================== common end ================== */


/* ===================== header ================== */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 700;
}

.header__eng{
    background-color: transparent;
    transition: 0.3s;
}

.header__eng.active{
    background-color: rgba(42,96,172,0.7);
    transition: 0.3s;
}

.header__main{
    display: flex;
    width: 100%;
    padding: 13px 0;
    justify-content: space-between;
    align-items: center;
}

.SPtype__logo{
    display: none;
}

.site__logo__box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 45px;
    font-size: 3rem;
    font-weight: 600;
}

.site__logo{
    width: 52px;
    height: auto;
    margin-left: 46px;
}

.nav__btn{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 46px;
    position: relative;
    z-index: 1000;
}

.nav__txt{
    font-size: 2rem;
    transition: 0.5s;
}

/* active */
.nav__txt.active{
    color: black;
    transition: 0.5s;
}

.nav__hamburger{
    width: 80px;
    height: 20px;
    position: relative;
}

.nav__hamburger::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: 0.5s;
}

.nav__hamburger::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: 0.5s;
}

/* active */
.nav__hamburger.active::after{
    background-color: black;
    transform: rotate(170deg)
    translateY(9.5px);
    transition: 0.5s;
}

/* active */
.nav__hamburger.active::before{
    background-color: black;
    transform: rotate(-170deg)
    translateY(-9.5px);
    transition: 0.5s;
}

.nav{
    position: fixed;
    top: 10px;
    right: 15px;
    width: 450px;
    height: 700px;
    background-color: rgba(255,255,255,0.9);
    color: black;
    z-index: 600;

    transform: translateX(120%);
    opacity: 0;
    transition: 0.5s;
}

/* active */
.nav.active{
    transform: translateX(0);
    opacity: 1;
    transition: 0.5s;
}

.nav__list{
    margin: 90px 15% 0;
    opacity: 0;
    transition: 0.5s;
}

/* active */
.nav__list.active{
    opacity: 1;
    transition: 0.5s;
}

.nav__item{
    font-size: 1.6rem;
    margin-top: 10px;
    padding-left: 35px;
    transition: 0.2s;
}

.nav__item__topics{
    font-size: 2rem;
    line-height: 1.5;
    position: relative;
    margin-top: 40px;
    padding-left: 35px;
    transition: 0.2s;
}

.nav__item__topics-en{
    font-size: 2.4rem;
}

.nav__item__topics::after{
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    transform: translateY(-40%);
    width: 12px;
    height: 12px;
    background-color: black;
}

.nav__item__topics-en::after{
    content: '';
    position: absolute;
    top: 20px;
    left: 15px;
    transform: translateY(-40%);
    width: 12px;
    height: 12px;
    background-color: black;
}

.nav__item__topics::before{
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #555;
}

.nav__item__topics:first-of-type::before{
    content: '';
    width: 0;
    height: 0;
}

.nav__item a:hover,
.nav__item__topics a:hover{
    border-bottom: 5px solid #222;
    transition: 0.2s
}

.header__contactList{
    position: fixed;
    top: 165px;
    right: 0;
    z-index: 550;
}

.header__contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 130px;
    height: 130px;
    border-radius: 20px 0 0 20px;
}

.header__contact{
    background-color: #359E3B;
    transition: 0.2s;
}

.header__contact:hover{
    transition: 0.2s;
    background-color: #17d320;
}

.header__contact__img{
    width: 36px;
    height: 42px;
    background-image: url(assets/images/contact_btn.png);
    background-size: 36px auto;
    background-repeat: no-repeat;
    background-position: center;
}

.SPtype__header{
    display: none;
}

/* ========================= header end ===================== */

section{
    padding: 80px 0 100px;
}

section.noPadding{
    padding: 0;
}

.error{
    margin-top: 30vh;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
}

.error__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 10px;
    margin: 20px auto 30vh;
    width: 300px;
    height: 60px;
    background-color: #0C376A;
}

.error__btn:hover{
    background-color: #B1CDE2;
}

@media screen and (max-width:767px) {
    .SPtype__logo{
        display: block;
    }

    .SPtype__header{
        display: block;
    }

    body{
        font-size: 1.4rem;
    }

    .top__title{
        font-size: 6.4rem;
        line-height: 0.8;
    }

    .site__logo{
        width: 50px;
        height: auto;
        margin-left: 20px;
    }

    .site__logo__txt{
        font-size: 1.6rem;
    }

    .nav__btn{
        margin-right: 20px;
    }
    
    .nav__txt{
        font-size: 1.4rem;
    }

    .nav__hamburger{
        width: 40px;
        height: 10px;
    }

    /* active */
    .nav__hamburger.active::after{
        transform: rotate(170deg)
        translateY(4px);
    }

    /* active */
    .nav__hamburger.active::before{
        transform: rotate(-170deg)
        translateY(-4.5px);
    }

    .nav{
        width: 400px;
        height: 650px;
        background-color: rgba(255,255,255,0.95);
    }

    .nav__list{
        margin: 50px 15% 0;
    }
    
    .header__contact{
        gap: 5px;
        width: 40px;
        height: 130px;
    }
    
    .header__contact__img{
        width: 20px;
        height: 20px;
        background-image: url(assets/images/contact_btn.png);
        background-size: 17px auto;
        background-repeat: no-repeat;
        background-position: center;
    }

    .header__contact__txt{
        width: 21px;
        line-height: 1.1;
    }
    
    .bread{
        gap: 15px;
        margin: 40px 14.2% 40px 0;
    }

    .bread__item{
        font-size: 1.4rem;
    }
    
    .bread__line{
        position: relative;
    }
    
    .bread__line::after{
        content: '';
        position: absolute;
        top: 50%;
        right: -12px;
        width: 8px;
        height: 1px;
        background-color: white;
    }
    /* ============================ header end ==================== */

    section{
        padding: 40px 0 60px;
    }
    

    .error{
        font-size: 1.6rem;
        margin-top: 50vh;
    }
    
    .error__btn{
        font-size: 1.4rem;
    }
}
@media screen and (max-width:500px) {
    .nav{        
        width: calc(100% - 30px);
    }
}



/* ======================== footer ======================== */
.footer{
    background-color: white;
    color: black;
    padding: 52px 0 100px;
}

.footer__main{
    width: 100%;
    height: 98.5px;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 42px;
}

.footer__logo{
    width: 113px;
    height: auto;
}

.site__logo__footer__title{
    font-size: 2.4rem;
    font-weight: 700;
}

.return__top__btn{
    position: fixed;
    z-index: 500;
    bottom: 100px;
    right: 100px;
    width: 75px;
    height: auto;
}

.return__top__btn:hover{
    transform: scale(1.2);
}

.copy{
    margin-top: 26px;
    width: 100%;
    max-width: 1440px;
    font-size: 1.2rem;
    letter-spacing: 1.2px;
}

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

    .footer__main{
        margin: 0 auto;
        display: flex;
        justify-content: center;
        gap: 26px;
        
        align-items: center;
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .footer__box{
        text-align: center;
    }

    .return__top__btn{
        bottom: 20px;
        right: 20px;
        width: 60px;
    }

    .copy{
        margin-top: 0px;
    }
}

/* =============== form ================= */
.dialog__btn{
    display: block;
    position: fixed;
    top: calc(50% + 70px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    background-color: #2A60AC;
    padding: 20px;
    transition: 0.2s;
    border-radius: 20px;
}

.dialog__btn:hover{
    transition: 0.2s;
    background-color: #3884ef;
}

.wpcf7 form.sent .wpcf7-response-output{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0C376A;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    padding-bottom: 150px;
}

@media screen and (max-width:767px) {
    .dialog__btn{        
        font-size: 1.6rem;
        top: calc(50% + 50px);
    }
    
    .wpcf7 form.sent .wpcf7-response-output{
        font-size: 1.6rem;
        width: 90%;
    }
}

/* ===================== contents-header ===================== */
.subpage__mv{
    width: 100vw;
    height: 290px;
    position: relative;

    background-image:url(../images/top_machine.png), url(../images/top_machine_back.jpg);
    background-repeat:no-repeat, no-repeat;
    background-position: bottom right 15%, center;
    background-size: 452px auto , cover;
}

.subpage__mv.service-othersP{
    background-image:url(assets/images/others-mv__sub.webp), url(assets/images/others-mv.webp);
    background-position: top right 15%, center;
    background-size: 400px auto , cover;
}

.subpage__mv__box{
    position: absolute;
    top: 112px;
    left: 13.5%;
    filter: drop-shadow(0 0 10px black);
}

.subpage__title__sub{
    margin-top: 15px;
    font-size: 2rem;
}

@media screen and (max-width:767px) {
    .subpage__mv {
        height: 200px;
        background-size: 252px auto, cover;
    }

    .subpage__mv.service-othersP{
        background-position: top right, center;
        background-size: 300px auto , cover;
    }

    .subpage__mv__box {
        top: 100px;
    }

    .top__title {
        font-size: 6.4rem;
        line-height: 0.8;
    }

    .subpage__title__sub {
        font-weight: 700;
        margin-top: 0;
    }
}

/* ===================== main inner(section) ===================== */
.main-inner                 { padding: 100px 5% 0; }
.main-inner.no-padding__tb  { padding: 0 5%; }
.main-inner.no-padding__lr  { padding: 100px 0 0; }
.main-inner.no-padding      { padding: 0; }

.wrap-container{
    max-width: 1440px;
    margin: 0 auto;
}

