/* 全体 */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", "Noto Sans JP", "Zen Kaku Gothic New", "Montserrat", "Roboto", "Hiragino Sans", "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    background-color: #FFFDF1;
    cursor: url(/image/cursor.png),default;
}

/*基準を1rem=10pxに設定*/
html {
    font-size: 62.5%;
}

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


/* 字間調整 */
span .letter-spacing{
    letter-spacing: 2px;
}


/* *******共通パーツ****** */

.wrapper {
    background-image: url(/image/background.png);
    background-position: center;
    background-repeat: no-repeat;
}

.middle-wrapper{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.min-wrapper{
    width: 95%;
    max-width: 1080px;
    margin: 0 auto;
}

@media screen and (max-width:768px){
    .wrapper{
    min-width: 320px;
}
}

/* セクションスペース */
.section-space{
    margin-top: 150px;
}

@media screen and (max-width:768px) {
.section-space {
        margin-top: 100px;
    }
}


/* セクションタイトル */
.section-title{
    text-align: center;
    letter-spacing: 0.5rem;
}

.section-title h2{
    font-size: 6rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #70AF3D;
}

.section-title p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #70AF3D;
}

@media screen and (max-width:768px){
    .section-title h2{
    font-size: clamp(2rem, 3rem + 6.46vw, 9.7rem);
    margin: 0 auto ;
    }

    .section-title p {
        font-size: clamp(1.6rem, 0.25rem + 2.46vw, 2rem);
    }
}

/* 文字※レスポンシブ対応 */

@media screen and (max-width:768px) {
        p {
            line-height: 1.7;
        }
}
    

/* ボタン */
.btn{
    text-align: center;
    max-width: 218px;
    width: 100%;
    padding: 18px 39px;
    font-size: 1.8rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #70AF3D;
    border-radius: 30vh;
    transition: 0.3s ease;
}

.btn:hover {
    opacity: 0.7;
}

.contact-btn{
    text-align: center;
    max-width: 1180px;
    width: 100%;
    padding: 12px 59px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #70AF3D;
    background-color: #fff;
    border-radius: 30vh;
    transition: 0.5s ease;
}

.contact-btn:hover{
    color: #fff;
    background-color: #70AF3D;
}



@media screen and (max-width:768px){
    .btn {
        width: 100%;
        max-width: 720px;
        font-size: 1.8rem;
        padding: 18px 53px;
    }
}

/* タブレット */
@media screen and (max-width:470px) {

    .btn{
    max-width: 340px;
    width: 100%;
    padding: 12px 39px;
    }
}

/* 表示アニメーション */
.fadeIn {
    transform: translate3d(0, 50px, 0);
    transition: 1s;
    opacity: 0;
}

.fadeIn.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}


/********下層ページ共通のファーストビュー（FV） *********/

.mv {
    width: 100%;
    height: auto;
    position: relative;
}

.mv-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.mv-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mv-title {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 40%;
    left: 0;
    margin: auto;
    color: #70AF3D;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.mv-title h1 {
    font-size: 14rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5rem;
}


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

    .mv-title h1 {
        font-size: 17.72vw;
        letter-spacing: 1.5vw;
    }

    .mv-title h2 {
        font-size: 5.25vw;
    }

    .mv-container {
        height: 60vh;
    }
}

/******** ヘッダー *********/
header {
    width: 100%;
    height: 110px;
    position: fixed;
    top: 0px;
    z-index: 100; /*動画の上に表示するため */
}

.header-inner{
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    z-index: 20;
    position: relative;
    display: inline-block;
}

.header-logo img {
    width: 63px;
    max-width: 103px;
    height: auto;
    transition: 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.header-items {
    display: flex;
    padding: 1.4375vw 3.875vw 1.5vw 7.5vw;
    justify-content: space-between;
    transition: 0.3s;
}

.header-link img {
    height: auto;
}

.header-link-border{
    display: block;
}

.header-link {
    display: flex;
    gap: 2.625vw;
    align-items: center;
    font-size: 1.6rem;
}

.nav-list  {
    font-size: 1.4rem;
    display: flex;
    gap: 2.5vw;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-list a{
    transition: 0.3s ease;
}

.nav-list a:hover,
.nav-list a:active {
    font-size: 1.8rem;
    color: #70AF3D;
}

.header-sns {
    display: flex;
    gap: 26px;
    align-items: center;
}

.hamburger {
    display: none;
}


header .instagram {
    width: 30px;
    height: auto;
    transition: 0.3s ease;
}

header .jttf {
    width: 50px;
    height: auto;
    transition: 0.3s ease;
}

header .jttf:hover{
    transform: scale(1.2);
}

header .instagram:hover{
    transform: scale(1.2);
}

.header-privacy-policy{
    display: none;
}



/* tab */
@media screen and (max-width:1023px) {

}

/* sp */
@media screen and (max-width:570px) {

}


@media screen and (max-width:768px) {
    
    /* スマホメニュー */
    .sp-button {
        position: relative;
    }

    .hamburger {
        position: absolute;
        display: block;
        top: 24px;
        right: 20px;
    }

    .hamburger-line {
        position: absolute;
        z-index: 2;
        right: 19px;
        width: 30px;
        height: 30px;
    }

    .hamburger-line span {
        position: absolute;
        display: block;
        width: 27px;
        height: 2px;
        background-color: #70AF3D;
        transition: .3s ease;
    }


    .hamburger-line span:nth-child(1) {
        top: 15px;
        right: 0px;
    }

    .hamburger-line span:nth-child(2) {
        top: 23px;
        right: 0px;
    }


    .hamburger-line span:nth-child(2) {
        top: 23px;
        right: 0px;
    }

    .active .hamburger-line span:nth-child(1) {
        top: 15px;
        right: 0px;
        rotate: 25deg;
    }

    .active .hamburger-line span:nth-child(2) {
        top: 15px;
        right: 0px;
        rotate: -25deg;
    }

    .header-items {
        position: absolute;
        width: 100%;
        height: 120vh;
        top: 0;
        left: 0;
        background-color: #fff;
        justify-content: unset;
        flex-direction: column;
        transform: translateX(100%);
        padding: 117px 42px 0;
    }

    .active .header-items {
        transform: translateX(0%);
    }

    .header-link{
        flex-direction: column;
        transition: all 0.3s ease;
    }

    .header-sns{
        gap: 3.2%;
        margin-top: 30px;
        width: 100%;
        max-width: 240px;
    }

    .header-link-border{
    display: none;
    }

    .header-privacy-policy{
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .header-privacy-policy p{
        width: 100%;
        font-size: 1.2rem;
        font-weight: 700;
        color: #70AF3D;
        font-family: "Zen Kaku Gothic New", sans-serif;;
    }

    .header-privacy-policy img{
        width: 21px;
        height: auto;
    }

    .header-nav {
        display: block;
        width: 100%;
    }

    .active .header-link {
    flex-direction: column;
    transform: translateX(0);
    }

    .nav-list  {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }

    .nav-list  li{
        position: relative;
    }


    /* メニューの黒丸 */

    .hamburger-acoordion-icon span{
        position: absolute;
        content: "";
        top: 2px;
        right: 6px;
        display: block;
        background-color: #604E4F;
        border-radius: 50%;
        width: 11px;
        height: 11px;
    }
    
    .nav-list a {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(96, 78, 79, 0.4);
        color: #604E4F;
        font-family: serif;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        font-weight: 700;
        transition: .3s ease;
        display: block;
    }

    .hamburger-acoordion-icon span :active{
        width: 23px;
        height: auto;
        background-image: url(/image/spin_grey.png);
        aspect-ratio: 1;
        background-size: 100%;
        background-repeat: no-repeat;
    }
}


/* プロジェクト */
.project-list{
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 50px;
}

.project-item{
    display: flex;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 30px;
    gap: 6.8%;
    align-items: center;
}

.project-item-image{
    border-radius: 30px;
}

.project-text{
    width: calc(100% - 52% - 179px);
    /* padding: 1.906% 0; */
}

.project-text h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.7;
}

.project-text p {
    font-family: "Noto Sans JP", sans-serif;
    /* ボタンのマージントップも兼用 */
    margin: 10.12145% 0;
    line-height: 1.8;
}

.project-btn{
    width: 90%;
    transition: 0.3s ease;
}

.project-jttf {
    width: 52%;
}

.project-jttf-pd{
    padding: 52px 0;
}

.project-jttf img{
    margin: 0 auto;
}

.project-jttf-link{
    width: 120%;
    margin-top: 50px;
    display: flex;
    gap: 31px;
    align-items: center;
}

.project-jttf-sns  {
    display: flex;
    gap: 31px;
    align-items: center;
}

.project-jttf-sns img{
    width: 38px;
    height: auto;
    transition: 0.3s ease;
}

.project-jttf-sns img {
    transition: 0.3s ease;
}

.project-jttf-sns img:hover{
    transform: scale(1.1);
}

@media screen and (max-width:1024px){
    .project-list {
        width: 90%;
        margin: 50px auto 0;
    }

    .project-item{
        flex-direction: column;
        width: 100%;
    }

    .project-item-image {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: cover;
    }

    .project-text  {
        width: 100%;
        margin: 0 auto 6.08856%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: unset;
    }

    .project-text h3 {
        width: 88%;
        margin-top: 50px;
        padding: unset;
        font-size: clamp(2rem, 0.8rem + 3.6vw, 3rem);
        text-align: center;
    }

    .project-text p {
        width: 90%;
        margin: 30px 0 0 0;
        font-size: 1.6rem;
        line-height: 1.7
        }

    .project-btn {
        width: 90%;
        max-width: 1030px;
        margin-top: 25px;
    }

    .project-jttf{
        padding: 7% 0 0;
    }

    .project-jttf img {
        width: 100%;
        }

    .project-jttf-link {
        margin-top: 0;
        width: 100%;
        flex-direction: column;
        gap: 25px;
    }

    .project-jttf-sns-img{
        width: 35%;
    
    }

}

/* お問い合わせ */

.contact-container{
    width: 100% ;
    height: 516px;
    position: relative;
    background-image: url(/image/contact.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 50px;
}


.contact-content{
    text-align: center;
    color: #fff;
    width: 496px;
    margin:0 auto;
    line-height: 1.8;
    padding: 73px 0;
}

.contact-content h4{
    margin-top: 50px;
}

.contact-content h3{
    font-size: 3.5rem;
    font-weight: 700;
}

.contact-text{
    font-family: "Noto Sans JP", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

@media screen and (max-width:768px) {
    .contact-container {
        height: auto;
    }

    .contact-content {
        width: 87%;
        }

    .contact-content h3 {
        font-size: clamp(1.8rem, 0.366rem + 3.79vw, 3.5rem);;
    }

    .contact-text ul p{
        width: 70%;
        font-size: clamp(0.75rem, 0.482rem + 1.34vw, 1.125rem);
    }
}

/* フッター */
footer{
    position: relative;
    width: 100%;
    height: auto;
    background-color: #70AF3D;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

/* ページトップに戻るボタン */
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #70AF3D;
    border: solid 2px #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.3s ease;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
    transition: 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .pagetop:hover,
    .pagetop:hover .pagetop__arrow {
        background: #fff;
        border-color:  #70AF3D;
    }

    .footer-sns a:hover {
        opacity: 0.5;
        
    }
}

.footer-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    color: #fff;
}

.footer-content h2{
    margin-top: 70px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5rem;
    font-size: 4.5rem;
}

.footer-sns{
    display: flex;
    gap: 20px;
    align-items: center;
}


.footer-sns a{
    transition: 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .footer-sns a:hover {
        transform: scale(1.1);
    }
}

.copyright{
    text-align: center;
    margin: 70px auto ;
    color: #fff;
}

@media screen and (max-width:768px){
    .pagetop {
        bottom: 30px;
        }

}