@charset "utf-8";
/* =============================
common
============================== */

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    /* outline: 1px solid red; */
    line-height: 1.25;
}

body {
    font-family: "YakuHanJP", "Shippori Mincho B1", "Lora", "Source Sans 3", serif;
    font-weight: 400;
    line-height: 1.5;
    color: #494B4D;
    position: relative;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

h1 {
    font-family: "Source Sans 3", serif;
    font-weight: 700;
    color: #494B4D;
    font-size: 3.2rem;
    letter-spacing: 0.16rem;
}


h2 {
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: 3.6rem;
    letter-spacing: 0.18rem;

}


h3,
h4,
h5,
h6 {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
}

p {
    text-spacing-trim: space-all;
}

img {
    max-width: 100%;
    height: auto;
}


.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn__group {
    position: relative;
    padding-bottom: 6px;
    /* 筆線との距離 */
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 6px;
    padding-right: 6px;
}


/* .btn__group::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    bottom: 0;
    width: 0;
    /* 初期は非表示 */
    /* height: 30px; */
    /* 筆線画像の高さに合わせる */
    /* background: url("../img/underLine.png") no-repeat left center / cover;
    transition: width 0.5s cubic-bezier(.23, 1, .32, 1); */
/* }

@media (hover: hover) and (pointer: fine) {
    .btn:hover .works__btn::after {
        width: 100%;
    }
}

.btn:hover .btn__group::after {
    width: 212px; 
 }  */

/* =================================
共通クラス
================================== */

.pc__hidden {
    display: none;
}

.sp__hidden {
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover .btn__group::after {
        width: 212px;
    }
}

@media screen and (max-width: 1023px) {
    .btn:hover .btn__group::after {
        width: 0 !important;
    }
}

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

    .title h2{
        font-size: 3.2rem;
    }

    .sub{
        font-size: 1.2rem;
    }
}

.center{
    text-align: center;
}




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

.header {
    position: relative;
    background-color: transparent;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 2%;
    z-index: 100;
}

.logo__header {
    /* position: absolute;
    left: 2%; */
}

.logo__header p {
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.header__group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header__btn {
    display: flex;
    width: 200px;
    justify-content: end;
    position: relative; 
    z-index: 150; 
}

.menu__area {
    display: flex;
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.08rem;
    gap: 4rem;
}

.ja {
    color: #707070;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.06rem;
}


.menu__area a {
    text-align: center;
}

/* コンタクトボタン */
.contactBtn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #333;
    color: #fff;
    overflow: hidden;
    padding-left: 15px;
    font-family: "Shippori Mincho B1";
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.09rem;
    position: relative;
    transition: width 0.4s ease, padding 0.4s ease;
    cursor: pointer;
    pointer-events: auto;
}

.contactBtn:hover {
    width: 160px;
    padding: 10px 20px;
}

.contactBtn:after {
    content: "";
    position: absolute;
    top: 19px;
    left: 18px;
    width: 14px;
    height: 12px;
    background-image: url(../img/contact.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: left 0.4s ease;
}

.contactBtn:hover:after {
    left: 33px;
}

.contactBtn .hidden {
    margin-left: 38px;
    white-space: nowrap;
}

.contactBtn:hover .hidden {
}

.btn-trigger {
    display: none;
}

/* sp 768px */

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

    h1{
        font-size: 2.4rem;
    }

    .header {
        margin: 0 5% 0;
        display: flex;
        justify-content: flex-end;
        padding: 0;
        z-index: 100;
    }

    .logo__header p {
    font-size: 1.2rem;
    letter-spacing: 0.06rem;
    }


    .menu__area,
    .header__btn {
        display: none;
    }

    .btn-trigger {
        position: fixed;
        top: 39px;
        right: 8.8%;
        width: 22px;
        height: 22px;
        cursor: pointer;
        z-index: 200;
    }

    /* bodyのスクロールを止める */
    body.no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .btn-trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
    }

    .btn-trigger,
    .btn-trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }

    .btn-trigger span:nth-of-type(1) {
        top: 0;
    }

    .btn-trigger span:nth-of-type(2) {
        top: 10px;
    }

    .btn-trigger span:nth-of-type(3) {
        bottom: 0;
    }

    #btn07 span:nth-of-type(1) {
        -webkit-animation: btn07-bar01 .75s forwards;
        animation: btn07-bar01 .75s forwards;
    }

    @-webkit-keyframes btn07-bar01 {
        0% {
            -webkit-transform: translateY(10px) rotate(45deg);
        }

        50% {
            -webkit-transform: translateY(10px) rotate(0);
        }

        100% {
            -webkit-transform: translateY(0) rotate(0);
        }
    }

    @keyframes btn07-bar01 {
        0% {
            transform: translateY(10px) rotate(45deg);
        }

        50% {
            transform: translateY(10px) rotate(0);
        }

        100% {
            transform: translateY(0) rotate(0);
        }
    }

    #btn07 span:nth-of-type(2) {
        transition: all .25s .25s;
        opacity: 1;
    }

    #btn07 span:nth-of-type(3) {
        -webkit-animation: btn07-bar03 .75s forwards;
        animation: btn07-bar03 .75s forwards;
    }

    @-webkit-keyframes btn07-bar03 {
        0% {
            -webkit-transform: translateY(-10px) rotate(-45deg);
        }

        50% {
            -webkit-transform: translateY(-10px) rotate(0);
        }

        100% {
            -webkit-transform: translateY(0) rotate(0);
        }
    }

    @keyframes btn07-bar03 {
        0% {
            transform: translateY(-10px) rotate(-45deg);
        }

        50% {
            transform: translateY(-10px) rotate(0);
        }

        100% {
            transform: translateY(0) rotate(0);
        }
    }

    #btn07.active span:nth-of-type(1) {
        -webkit-animation: active-btn07-bar01 .75s forwards;
        animation: active-btn07-bar01 .75s forwards;
    }

    @-webkit-keyframes active-btn07-bar01 {
        0% {
            -webkit-transform: translateY(0) rotate(0);
        }

        50% {
            -webkit-transform: translateY(10px) rotate(0);
        }

        100% {
            -webkit-transform: translateY(10px) rotate(45deg);
        }
    }

    @keyframes active-btn07-bar01 {
        0% {
            transform: translateY(0) rotate(0);
        }

        50% {
            transform: translateY(10px) rotate(0);
        }

        100% {
            transform: translateY(10px) rotate(45deg);
        }
    }

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

    #btn07.active span:nth-of-type(3) {
        -webkit-animation: active-btn07-bar03 .75s forwards;
        animation: active-btn07-bar03 .75s forwards;
    }

    @-webkit-keyframes active-btn07-bar03 {
        0% {
            -webkit-transform: translateY(0) rotate(0);
        }

        50% {
            -webkit-transform: translateY(-10px) rotate(0);
        }

        100% {
            -webkit-transform: translateY(-10px) rotate(-45deg);
        }
    }

    @keyframes active-btn07-bar03 {
        0% {
            transform: translateY(0) rotate(0);
        }

        50% {
            transform: translateY(-10px) rotate(0);
        }

        100% {
            transform: translateY(-10px) rotate(-45deg);
        }
    }

    .nv__sp {
        background-color: #fff;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.4s;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nv__sp.active {
        transform: translateX(0%);
    }

    .inner {
        padding: 0 8.8%;
        box-sizing: border-box;
        width: 100%;
        height: auto;
        position: static;
    }

    .inner .logo__header {
        position: static;
        height: 100px;
    }

    .nav__item {
        position: relative;
        padding: 24px 0;
        list-style: none;
    }

    .nav__item p {
        font-size: 1.8rem;
        letter-spacing: 0.09rem;
    }

    .nav__item span {
        display: inline-block;
        font-size: 1.2rem;
        letter-spacing: 0.06rem;
        margin-top: 10px;
    }

    .nav__item:first-of-type {
        margin-top: 44px;
    }

    .arrow__nav {
        position: relative;
        display: inline-block;
        width: 15px;
        height: 1px;
        margin-left: auto;
        border-radius: 9999px;
        background-color: #494b4d;
    }

    .arrow__nav::before,
    .arrow__nav::after {
        content: "";
        position: absolute;
        top: calc(50% - 0.5px);
        right: 0;
        width: 5px;
        height: 1px;
        border-radius: 9999px;
        background-color: #494b4d;
        transform-origin: calc(100% - 0.5px) 50%;
    }

    .arrow__nav::before {
        transform: rotate(45deg);
    }

    .arrow__nav::after {
        transform: rotate(-45deg);
    }

    .nav__item a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        width: 100%;

    }

    .sp__btn {
        margin: 40px auto 0;
        display: flex;
        background: #333;
        color: #fff;
    }

    .sp__btn .spBtn {
        justify-content: center;
    }

    .sp__btn p {
        text-align: center;
    }

    .flex-start a {
        justify-content: flex-start;
        gap: 10px;
        border-bottom: solid 1px #ddd;
        padding-bottom: 12px;
    }

    .nav__item img {
        width: 15px;
        height: auto;
    }

    .arrow__center {
        align-self: center !important;
    }

    .nav__bottom {
        flex-direction: column;
    }
}

/* sp 768px */

/* =================================
contact
================================== */

.contact {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%), url(../img/contact__img.jpg) lightgray -9px -372.096px / 100.911% 205.593% no-repeat;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 79px 0;
    margin-top: 182px;
}

.title__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF;
}

.contact__group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8%;
    margin-top: 75px;
}

.contact__group p {
    color: #FFF;
}

.contact__l {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 447px;
}

.contact__l p {
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.06rem;
}

.contact__r {
    display: flex;
    border: 1px solid #FFF;
    padding: 11px 41px;
    box-sizing: border-box;
    text-align: center;
    width: 253px;
    height: 65px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background-color: transparent;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contact__r:hover {
    background-color: #FFF;
}

.contact__r p {
    color: #FFF;
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.06rem;
    transition: color 0.3s ease; 


}

.contact__r:hover p {
    color:#494B4D;
}

.contact span{
    margin-top: 10px;
}

/* sp 768px */
@media screen and (max-width:768px) {
    .contact {
        margin-top: 140px;
        padding: 79px 5.3%;
    }

    .title__center {
        align-items: baseline;
    }

    .contact__group {
        display: block;
        margin-top: 57px;
    }

    .contact__r {
        margin: 57px auto;
        width: 75%;
    }

}

/* sp 768px */

/* =================================
footer
================================== */

.footer {
    margin: 55px 8.8% 0;
}

.footer__group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 106px;

}

.footer__l {
    max-width: 252px;
}

.logo--txt {
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
    margin-top: 40px;
}

.footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
}

.copy {
    text-align: center;
    letter-spacing: 0.09rem;
    margin-top: 75px;
    margin-bottom: 100px;
}

.footer__scroll {
    position: relative;
    text-align: right;
    margin-left: auto;
}

.external-link {
    position: static;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* sp 913px */

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

    .footer__menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .logo--txt {
        margin-top: 24px;
    }
}

