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

:root {
    --base: #F7EDD6;
    --main: #E81C1C;
    --sub1: #7D1313;
    --sub2: #F0B00C;
    --text: #332F28;
    --contentpadding__sp: 6.4%;
    --contentpadding__pc: 13%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Montserrat", "Zen Kaku Gothic Antique" , sans-serif;
    font-style: normal;
    color: var( --primary-black,#332F28);
    background-image: url(../image/watercolor-paper.webp);
    line-height: normal;
    width: 100%;
    display: none;
}

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

.section__title {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.maintitle {
    font-size: 4.8rem;
    font-weight: 600;
}

.jptitle {
    color: var(--primary-brown,#7D1313);
    font-size: 2rem;
    font-weight: 700;
}


.btn{
    display: flex;
    width: 144px;
    padding: 6px 0;
    flex-direction: column;
    align-items: center;
    border-radius: 36px;
    border: 2px solid var(--primary-red,#E81C1C);
    background: #FFF;
    color: var(--primary-red,#E81C1C);
    font-family: Montserrat;
    font-size: 2rem;
    font-weight: 500;
    transition: background-color 0.75s;
    backface-visibility: hidden;
}

.btn:hover{
    background: var(--primary-red,#E81C1C);
    color: #FFF;
}

/* common pc */
@media screen and (min-width:769px) {
    .maintitle{
        font-size: 7.2rem;
    }
    
    .jptitle{
        font-size: 2.4rem;
    }

    .btn{
        width: 210px;
        font-size: 3.2rem;
    }
}

/* :hoverが使える端末を想定 */
@media (hover: hover){
    .btn:hover{
        background: var(--primary-red,#E81C1C);
        color: #FFF;
    }

}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
    .btn:active{
        background: var(--primary-red,#E81C1C);
        color: #FFF;
    }
}


/* ==============
header
================= */
.header{
    padding: 0 6.4% ;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    z-index: 1000;
    background: rgba(255,255,255,0.3);
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    position: fixed;
}

.nav{
    width: 100%;
    height: 100vh;
    background: var(--primary-red,#E81C1C);
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
}


.nav__container{
    display: flex;
    width: 100%;
    height: 91.4%;
    padding-top: 164px;
    flex-direction: column;
    align-items: center;
    gap: 224px;
    flex-shrink: 0;
}

.nav__contents{
    display: flex;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 39px;
    align-self: stretch;
    flex-shrink: 0;
    padding-left: 10%;
}

.nav__list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.navitem{
    color: var(--base, #F7EDD6);
    font-weight: 600;
    transition: 0.7s;
    position: relative;
}

.navitem--header{
    color: var(--base, #F7EDD6);
    font-size: 48px;
}

.navsns--header{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.snslink--header{
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.snstext{
    color: var(--base, #F7EDD6);
}

.snstext--header{
    font-size: 2.4rem;
    font-weight: 600;
}

.link__icon{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.copy{
    color: var(--base, #F7EDD6);
    font-size: 1.5rem;
    font-weight: 500;
}

.header__logo{
    display: flex;
    align-items: center;    
    width: 100%;
    height: 72px;
    z-index: 100;
}


.logo--header{
    width: 148px;
    height: 41px;
}

.logo{
    transition: 0.7s;
}

.hamb {
    position: fixed;
    cursor: pointer;
    z-index: 300;
    right: 5.8%;
    top: 14px;
    width: 45px;
    height: 45px;
    padding: 15px;
    border-radius: 50px;
    background: var(--main,#E81C1C)
}

.line {
    position: absolute;
    left: 10px;
    width: 25px;
    height: 2px;
    background-color: #FFF;
    top: 13px;
    border-radius: 2px;
}

.line:nth-child(2)  {
    top: 22px;
}

.line:nth-child(3)  {
    top: 31px;
}

.nav.open {
    opacity: 1;
    visibility: visible;
}

#hamb .active .line {
    background-color: #FFF;
}
/*アニメーション*/
.nav {
    transition: opacity 0.35s, visibility 0.35s, width 0.35s;
}
#hamb.active .line:nth-child(1) {
    transform: translateY(9px) translateX(0) rotate(45deg);
}
#hamb.active .line:nth-child(2) {
    opacity: 0;
    background: #FFF;
}
#hamb.active .line:nth-child(3) {
    transform: translateY(-9px) translateX(0) rotate(-45deg);
}
.animation {
    transition: all 0.6s;
}

/* header tub  */
@media screen and (min-width: 769px) {
    .header{
        width: 100%;
        max-width: 1920px;
        height: 144px;
        padding: 40px 6.4%;
        margin: 0 auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        position: static;
    }

    .header__logo{
        position: static;
    }


    .hamb{
        display: none;
    }

    .nav{
        background: transparent;
        display: block;
        width: auto;
        max-width: 470px;
        height: auto;
        position: static;
        padding: 0;
        visibility: visible;
        align-items: center;
        transform: translateX(0);
        z-index: 100;
        flex-shrink: 1;
        opacity: 100;
        flex-grow: 1;
    }

    .nav__container{
        display: block;
        width: auto;
        height: auto;
        padding-top: 0;
        gap: 0;
        z-index: 100;
        flex-direction: row;
    }

    .nav__contents{
        flex-direction: row;
        padding-left: 0;
        margin: 0 auto;
    }

    .nav__list{
        width: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 24px;
        padding: 0;
        z-index: 100;
    }

    .navitem--header{
        width: auto;
        color: var(--main, #E81C1C);
        font-size: 2.4rem;
        font-weight: 700;
        z-index: 100;
        position: relative;
    }

    .navitem--header::after {
    background-color: var(--sub2,#F0B00C); /* 下線の色 */
    bottom: -10px; /* 要素の下端からの距離 */
    content: ""; /* 要素に内容を追加 */
    border-radius: 10px;
    height: 5px; /* 下線の高さ */
    left: 0; /* 要素の左端からの距離 */
    position: absolute; /* 絶対位置指定 */
    transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
    transform-origin: left top; /* 変形の原点を左上に指定 */
    transition: transform .3s; /* 変形をアニメーション化 */
    width: 100%; /*要素の幅*/
    }

    .navsns--header{
        display: none;
    }

    .copy{
        display: none;
    }
}

@media screen and (min-width: 1279px) {
    .header{
        padding: 40px 5.2%;
    }

    .logo--header{
        min-width: 228px;
        min-height: 64px;
    }

    .nav__contents{
        padding-left: 0;
    }

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

}


/* :hoverが使える端末を想定 */
@media (hover: hover){
    /* ナビゲーションにホバーした際の下線の表示 */
    .navitem--header:hover::after {
    transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
    }

    .logo:hover{
        opacity: 0.7;
    }

    .navitem:hover{
        opacity: 0.7;
    }
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {

    .logo:active{
        opacity: 0.7;
    }

    .navitem:active{
        opacity: 0.7;
    }
}


/* ==============
article header
================= */
.article__header{
    width: 100%;
    height: auto;
    padding: 144px 6.4%;
    position: relative;
}

.title__text{
    display: flex;
    flex-direction: column;
    color: var(--text, #332F28);
    font-weight: 500;
    line-height: 1.2;
}

.job{
    font-size: 2.4rem;
    letter-spacing: 2.4px;
}

.name{
    font-size: 6.4rem;
    letter-spacing: 6.4px;
}

.site{
    font-size: 3.6rem;
}

.fv__sp{
    display: block;
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 0 0 rgba(125, 19, 19, 0.75);
}

.fv__pc{
    display: none;
}

.about__link{
    position: absolute;
    width: 35%;
    top: 80%;
    right: 6.4%;
    transition: 0.5s;
    z-index: 20;
}



/* article header tab  */
@media screen and (min-width: 769px) {
    .article__header{
        padding: 80px 6.4% 144px;
    }

    .job{
        font-size: 4.8rem;
    }

    .name{
        font-size: 12rem;
    }

    .site{
        font-size: 6.4rem;
        letter-spacing: 4.4px;
    }


    .fv__pc{
        display: none;
    }
    .about__link{
        position: absolute;
        width: 30%;
        top: 87%;
        right: 6.4%;
        transition: 0.5s;
}

}


/* article header pc  */
@media screen and (min-width: 1279px) {
    .article__header{
        padding: 0 100px;
        max-width: 1600px;
        margin: 0 auto;
        height: auto;
        box-sizing: border-box;
    }

    .mainvisual{
        width: 100%;
        height: auto;
        padding: 0 0 0 2%;
        display: flex;
        flex-direction: row;
        align-items: center;
        position: relative;
    }

    .title__text{
        width: auto;
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .job{
        font-size: 4rem;
        letter-spacing: 2px;
    }

    .name{
        font-size: 12rem;
        letter-spacing: 10px;
    }

    .site{
        font-size: 6.4rem;
        letter-spacing: -1px;
    }

    .fv__sp{
        display: none;
    }

    .fv__pc{
        display: block;
        width: 43%;
        height: auto;
        border-radius: 20px;
        box-shadow: 20px 20px 0 0 rgba(125, 19, 19, 0.75);
        object-fit: contain;
        position: absolute;
        top: 60%;
        left: 70%;
        transform: translate(-45%,-70%);
    }

    
    .about__link{
        display: block;
        position: static;
        width: 20%;
        height: auto;
        margin: 600px 0 0 80%;

    }

}

/* :hoverが使える端末を想定 */
@media (hover: hover){
    .about__link:hover{
        transform: scale(1.1,1.1);
    }
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
    .about__link:active{
        transform: scale(1.1,1.1);
    }
}


/* ==============
news
================= */
.section--news{
    height: auto;
    padding: 120px 6.4% 37px;
}

.sectiontitle--news{
    margin-bottom: 19px;
    position: relative;
}

.sectiontitle--news::after{
    content: '';
    display: inline-block;
    background-image: url(../image/decoration_fixed.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 54px;
    height: 49px;
    z-index: 3;
    top: 22px;
    left: 124px;
    image-orientation: from-image; /* Safari対策 */
}

.maintitle--red{
    color: var(--main,#E81C1C);
}

.news__contents{
    display: flex;
    padding-right: 28px;
    flex-direction: column;
    align-items: flex-end;
}

.news__box{
    width: 100%;
    padding: 24px 0;
}

.news__article{
    display: flex;
    flex-direction: column;
    padding: 0 0 0 24px;
    gap: 10px;
}

time{
    color: var(--main, #E81C1C);
    font-size: 2rem;
    font-weight: 600;
}

.news__title__area{
    display: flex;
    justify-content: space-between;
    gap: 7%;
    padding: 0 0 10px 0 ;
    border-bottom: dashed 2px var(--main,#E81C1C); 
}


.news__title{
    color: var(--text, #332F28);
    font-family: "Zen Kaku Gothic Antique";
    font-size: 2rem;
    font-weight: 700;
}

.article__link{
    width: 30px;
    height: 30px;
}

/* news pc  */
@media screen and (min-width: 769px) {
    .sectiontitle--news::after{
    content: '';
    display: inline-block;
    background-image: url(../image/decoration.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 113px;
    height: 103px;
    z-index: 3;
    top: 15px;
    left: 172px;
}

}
/* news pc  */
@media screen and (min-width: 1279px) {

    .section--news{
        max-width: 1920px;
        margin: 0 auto;
        padding: 152px 12% 120px;
        display: flex;
        gap: 26%;
    }

    .sectiontitle--news::after{
    content: '';
    display: inline-block;
    background-image: url(../image/decoration.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 113px;
    height: 102px;
    z-index: 3;
    top: 15px;
    left: 172px;
}


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

    .news__box{
        padding: 48px 0;
    }

    .news__article{
        display: flex;
        flex-direction: row;
        align-items: center;
        border-bottom: dashed 4px var(--main,#E81C1C); 
        padding: 0 0 16px 0 ;
    }

    .news__title{
        font-size: 2.4rem;
    }

    .news__title__area{
        width: 100%;
        border: none;
        padding: 0;
        margin-left: 48px;
    }

}

/* :hoverが使える端末を想定 */
@media (hover: hover){
    .article__link:hover{
        opacity: 0.5;
        transition: 0.5s;
    }
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
    .article__link:active{
        opacity: 0.5;
        transition: 0.5s;
    }
}



/* ==============
works
================= */

.section--works{
    height: auto;
    position: relative;
    flex-shrink: 0;
    background: var(--sub2, #F0B00C);
    display: flex;
    flex-direction: column;
    padding: 32px 6.4%;
    margin: -1px 0;
    z-index: 10;
}

.wave__sp{
    width: 100%;
}

.wave__pc{
    display: none;
}

.sectiontitle--works{
    margin-bottom: 32px;
    position: relative;
}

.sectiontitle--works::after{
    content: '';
    display: inline-block;
    background-image: url(../image/decoration\ 2nd.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 54px;
    height: 49px;
    z-index: 3;
    top: 24px;
    left: 142px;
}

.maintitle--white{
    color: #FFF;
}

.works__img{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
}

.worksimg__sp{
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 0 0 rgba(125, 19, 19, 0.75);
}

.worksimg__pc{
    display: none;
}

/* works pc  */
@media screen and (min-width: 769px) {
    .section--works{
        width: auto;
        margin: -1px auto;
        padding: 104px 5.2%;
    }

    .wave__sp{
        display: none;
    }

    .wave__pc{
        display: block;
        width: 100%;
    }

    .sectiontitle--works::after{
    content: '';
    display: inline-block;
    background-image: url(../image/decoration\ 2nd.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 113px;
    height: 103px;
    z-index: 3;
    top: 20px;
    left: 199px;
}


    .works__img{
        gap: 48px;
    }

    .worksimg__sp{
        display: none;
    }

    .worksimg__pc{
        display: block;
        width: 100%;
        border-radius: 20px;
        box-shadow: 20px 20px 0 0 rgba(125, 19, 19, 0.75);
    }
}


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

.section--contact{
    padding: 160px var(--contentpadding__sp);
    gap: 24px;
}

.sectiontitle--contact{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 24px;
}

.maintitle--contact{
    display: flex;
    align-items: center;
    color: var(--main,#E81C1C);
}


.maintitle--contact::before, .maintitle--contact::after{
    content: '';
    display: block;
    background-image: url(../image/single-tulip.svg);
    width: 14px;
    height: 33px;
    z-index: 3;
}


.maintitle--contact::before{
    margin-right: 10px;
}

.maintitle--contact::after{
    margin-left: 10px;
}

.contact__contents{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact__text{
    color: var(--text, #332F28);
    font-size: 1.4rem;
    font-family: "Zen Kaku Gothic Antique";
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: 0.7px;
}

.btn--contact{
    width: 236px;
    font-family: "Zen Kaku Gothic Antique";
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    padding: 6px 0;
    letter-spacing: -0.5px;
}

/* contact tub */
@media screen and (min-width: 769px) {
    .section--contact{
        padding: 160px 20%;
    }

        .contact__text{
        font-size: 2rem;
    }


    .maintitle--contact::before, .maintitle--contact::after{
        width: 28px;
        height: 66px;
    }

}


/* contact pc  */
@media screen and (min-width: 1279px) {
    .section--contact{
        padding: 240px 31%;
    }

    .maintitle--contact{
        font-size: 12.8rem;
    }

    .maintitle--contact::before, .maintitle--contact::after{
    width: 39px;
    height: 91px;
    }

    .maintitle--contact::before{
        margin-right: 20px;
    }

    .maintitle--contact::after{
        margin-left: 20px;
    }

    .jptitle--contact{
        font-size: 3.6rem;
    }

    .contact__text{
        width: 100%;
        font-size: 2.4rem;
    }

    .btn--contact{
        width: 464px;
        font-size: 3.2rem;
        padding: 22px 50px;
        border-radius: 100px;
        
    }

}


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

.footer{
    display: flex;
    padding: 32px 81px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    align-self: stretch;
    background: var(--sub1,#7D1313);
}

.horizontal__footer{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.logo--footer{
    width: 100%;
    height: 64px;
}

.nav__list__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 18px;
    align-self: stretch;
}

.navitem--footer{
    font-size: 2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.navsns--footer{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}

.snslink--footer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.snstext--footer{
    color: var(--base, #F7EDD6);
    font-size: 2rem;
    font-weight: 600;
}

/* footer pc  */
@media screen and (min-width: 769px) {
    .footer{
        display: flex;
        max-width: 1920px;
        padding: 80px 5.3% 24px ;
        align-items: flex-start;
        gap: 55px;
    }

    .horizontal__footer{
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        
    }

    .nav__list__footer{
        align-self: auto;
        gap: 20px;
        flex-wrap: nowrap;
    }

    .navitem--footer{
        font-size: 2rem;
    }


    .snslink--footer{
        transition: 0.5s;
    }

    .copy--footer{
        display: block;
        width: 100%;
        text-align: center;
        
    }
}

/* :hoverが使える端末を想定 */
@media (hover: hover){
    .snslink--footer:hover{
        opacity: 0.7;
    }
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
    .snslink--footer:hover{
        opacity: 0.7;
    }
}


