/* ブレイクポイントは、大きめのタブレット：991px、タブレット：768px、スマホ：575px */


html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100%;
    font-family: "Noto Sans JP","Roboto","Zen Kaku Gothic New", sans-serif;
    color: #3C3C3C;
    background-color: #FDFDFD;
}

html.is-fixed,
html.is-fixed body {
    height: 100%;
    overflow: hidden;
}

/* アニメーションスタイル */


/* アニメーション前 */
.u-fade-type-up {
    transform: translateY(100px);
    opacity: 0;
}


/* トリガー発火でis-activeを付与 */
.u-fade-type-up.is-active {
    transition: .6s;
    transform: translateY(0);
    opacity: 1;
}

.is-active .u-fade-type-up:nth-child(2) {
    transition-delay: .6s;
}

.is-active .u-fade-type-up:nth-child(3) {
    transition-delay: .9s;
}

.is-active .u-fade-type-up:nth-child(4) {
    transition-delay: 1.5s;
}

.is-active .u-fade-type-up:nth-child(5) {
    transition-delay: 1.5s;
}

.is-active .u-fade-type-up:nth-child(6) {
    transition-delay: 2.1s;
}



/* カーソル */



/* フォント */
.roboto{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.noto-sans-jp {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
}

.zen-kaku-gothic-antique-light {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.zen-kaku-gothic-antique-regular {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kaku-gothic-antique-medium {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.zen-kaku-gothic-antique-bold {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zen-kaku-gothic-antique-black {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 900;
    font-style: normal;
}

/* テキスト */
p{
    font-size: 1.6rem;
    font-family: "Zen Kaku Gothic Antique", sans-serif;;
    font-weight: 400;
    line-height: 180%;
}

@media screen and (max-width: 575px) {
    p{
        line-height: 170%;
    }
}

.pc{
    display: block;
}

.sp{
    display: none;
}

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

    .sp{
        display: block;
    }
}

/* 共通パーツ */
.wrapper{
    width: 89%;
    max-width: 1280px;
    margin: 0 auto;
}

.min-wrapper{
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
}

.works-wrapper{
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}

.section-space{
    margin-top: 160px;
}


.section-title {
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    margin-bottom: 64px;
    text-align: center;
}

.section-title h2 {
    font-size: 8rem;
    letter-spacing: 1rem;
}

.section-title p{
    letter-spacing: .5rem;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
}

.header-sns a,
.footer-sns img {
    transition: all 0.7s;
}

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

/* ページトップボタン */

.page-top{
    position: fixed;
    content: '';
    bottom: 5%;
    right: 4%;
    width: 100%;
    max-width: 74px;
    z-index: 120;
    transition: all .5s;
}

.page-top:hover{
    opacity: .5;
}

.page-top img{
    width: 100%;
    max-width: 74px;
    height: auto;
    object-fit: contain;
}

/* トップボタンのバウンド */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
        /* 初期位置 */
    }

    40% {
        transform: translateY(-16px);
        /* 一番高く跳ねる位置 */
    }

    60% {
        transform: translateY(-8px);
        /* 少し低めで跳ね返る位置 */
    }
}

/* アニメーション設定 */
.page-top{
    animation: bounce 5s infinite;
    /* 5秒間隔で無限にバウンド */
}


@media screen and (max-width: 575px) {
    .section-title{
        margin-bottom: 40px;
    }

    .section-title h2{
    font-size: 4.5rem;
    letter-spacing: .5rem;
    }

    .section-title p{
    font-size: 1.4rem;
    }

    .section-space{
        margin-top: 100px;
    }
}

/* 下層ページ共通パーツ */
/* ページタイトル */
.page-title{
    color: #3C3C3C;
    font-weight: 700;
    width: 100%;
    /* padding: 188px 819px 288px 78px; */
    /* padding: 29% 57% 45% 5%; */
}

.page-title p{
    font-size: 3.2rem;
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 16px;
}

.page-title h2{
    font-size: 12rem;
    font-family: "Roboto", sans-serif;
    letter-spacing: 1rem;
    text-transform: uppercase;
}


/******** ヘッダー *********/
header{
    position: absolute;
    z-index: 200;
    padding-top: 20px;
    margin: 0 auto;
    width: 90%;
    transform: translateX(-50%) translateY(-50%);
    left: 50%;
    top: 8%;

}

#fixed-header {
    position: fixed;
    z-index: 200;
    padding-top: 20px;
    margin: 0 auto;
    width: 90%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: -150px;
    transition: .5s;
    /* アニメーションタイミング */
}

#fixed-header.is-show {
    top: 10%;
}


.header-inner{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo{
    z-index: 100;
    transition: all .5s;
}

.header-logo:hover{
    opacity: .7;
}

.header-logo a{
    position: relative;
    width: 100%;
    max-width: 83px;
}

.header-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 82px;
}


.header-nav{
    display: flex;
    gap: 104px;
    align-items: center;
}

.header-nav ul{
    display: flex;
    gap: 72px;
    list-style: none;
    padding: 0;
}

.nav-list li{
    font-size: 2.4rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    padding-bottom: 5px;
    position: relative;
}

.nav-list li::before {
    background: #3c3c3c;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.nav-list li:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.header-sns{
    display: flex;
    gap: 8px;
}

.hamburger,
.header-sns-sp {
    display: none;
}


@media screen and (max-width: 768px){
    header{
        width: 100%;
        position: fixed;
        z-index: 200;
        padding-top: 20px;
        margin: 0 auto;
        top: 5%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    #fixed-header {
    display: none;
    }

    #fixed-header.is-show {
    display: none;
    } 

    .header-inner{
        width: 90%;
        margin: 0 auto;
    }

    .header-logo img {
        max-width: 44px;
    }

    .header-nav ul{
        gap: 40px;
    }
    
    /* ハンバーガーメニュー */
    .sp-button {
        position: relative;
        display: inline-block;
        cursor: pointer;
        top: 19px;
        right: -24px;
        width: 100%;
        height: 100%;
    }

    .hamburger{
        position: absolute;
        top: 23px;
        right: 20px;
        transition: all .5s;
        cursor: pointer;
        width: 100%;
        height: 100%;
    }

    .hamburger-line span{
        position: absolute;
        content: '';
        z-index: 2;
        top: -36px;
        right: 26px;
        width: 44px;
        height: 3px;
        background-color: #3C3C3C;
        transition: all .5s;
    }

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

    .hamburger-line  span:nth-child(3){
        top: -14px;
    }

    .nav-list,
    .header-nav{
        flex-direction: column;
    }

    .nav-list li{
        font-size: 4.8rem;
    }

    .header-nav {
    align-items: flex-start;
    padding-left: 25%;
    padding-top: 320px;
    width: 100%;
    position: absolute;
    top: 20%;
    left: 0;
    height: 1400%;
    transform: translateY(-110%);
    transition-duration: 0.7s;
    background-color: #F8EB77;
    gap: 120px;
    }

    .active .header-nav {
        transform: translateY(-10%);
    }

        .active .hamburger-line span:nth-child(1) {
            transform: translateY(12px) rotate(-45deg);
        }
    
    
        .active .hamburger-line span:nth-child(2) {
            opacity: 0;
        }
    
        .active .hamburger-line span:nth-child(3) {
            transform: translateY(-9px) rotate(45deg);
        }

    .header-sns{
        display: none;
    }

    .header-sns-sp .header-sns{
        display: block;
    }


    .header-nav img{
        width: 70px;
        height: 70px;
    }

    .header-sns-sp{
        display: block;
    }

    .header-sns-sp p{
        margin-bottom: 16px;
        font-size: 2.4rem;
        font-weight: 700;
        text-transform: capitalize;
    }


    .header-sns-sp img{
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 575px) {
    .header-nav{
        padding-top: 200px;
        gap: 80px;
    }

    .header-nav ul{
        gap: 24px;
    }

    .nav-list li{
        font-size: 3.2rem;
    }

    .sp-button{
        top: 22px;
    }

    .hamburger-line span{
        width: 36px;
    }

    .header-sns-sp p{
        font-size: 1.4rem;
    }

    .header-sns-sp img{
        width: 28px;
        height: 28px;
    }
}



/* WORKS */
.works-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 40px;
    row-gap: 80px;
}

.works-box{
    width: 100%;
    max-width: 620px;
    height: 100%;
    padding: 24px;
    background-color: #F8EB77;
    border-radius: 2rem;
    transition: all 0.2s;
}

.works-box:hover{
    opacity: 0.7;
}

.works-box img{
    width: 100%;
    max-width: 574px;
    height: auto;
    object-fit: contain;
    border-radius: 1.6rem;
    margin-bottom: 16px;
}

.works-label {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.works-label span{
    font-size: 1.6rem;
    padding:8px 16px;
    border: solid #3c3c3c 1px;
    border-radius: 3rem;
}

.works-box h3 {
    font-size: 2.4rem;
    font-weight: 700;
}

@media screen and  (max-width: 991px){
    .works-label span{
    font-size: 1.4rem;
    padding:8px 16px;
    }

}

@media screen and (max-width: 768px) {
    .works-list{
    display: flex;
    flex-direction: column;
    gap: 40px;
    }

    .works-box{
    width: 100%;
    max-width: 686px;
    padding: 24px;
    background-color: #F8EB77;
    }

    .works-box img{
    max-width: 638px;
    }
}

@media screen and (max-width: 575px) {
    .works-list{
    gap: 24px;
    }

    .works-box{
    width: 100%;
    max-width: 686px;
    padding: 16px;
    background-color: #F8EB77;
    }

    .works-box img{
    max-width: 638px;
    }

    .works-label span{
    font-size: 1rem;
    padding:6px 10px;
    }

    .works-box h3 {
    font-size: 1.6rem;
    }
}

/* PROFILE */

.profile-container{
    display: flex;
    justify-content: space-between;
}

.profile-content{
    width: 40%;
    max-width: 511px;
}

.profile-content h3{
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.profile-text{
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 1.6rem;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    line-height: 180%;
    margin-bottom: 40px;
}

.profile-button{
    font-size: 1.6rem;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
    align-items: center;
    display: flex;
    gap: 14px;
    /* ホバー用設定 */
    padding-bottom: 5px;
    position: relative;
    padding-bottom: 10px;
}

.profile-button::before {
    background: #3c3c3c;
    content: '';
    width: 100%;
    max-width: 143px;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.profile-button:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}



.profile-image-pc,
.profile-image-sp{
    object-fit: contain;
    width: 50%;
    max-width: 720px;
    min-width: 410px;
}

.profile-image-sp{
    display: none;
}

/* 詳しくはこちらのボタン */
.profile-aroow {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    width: 1em;
    height: 0.1em;
    background: currentColor;
}

.profile-aroow::before {
    content: '';
    width: 0.65em;
    height: 0.65em;
    border: 0.15em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    transform-origin: top right;
    position: absolute;
    top: 50%;
    right: -0.05em;
    box-sizing: border-box;
}


@media screen and (max-width: 991px) {
    .profile-content {
    width: 100%;
    max-width: 971px;
    }
    
    .profile-image-pc{
    display: none;
    }
    
    .profile-image-sp{
    display: inline-block;
    width: 100%;
    max-width: 980px;
    height: auto;
    }
}

@media screen and (max-width: 575px) {
    .profile .section-title{
        margin-bottom: 8px;
    }
    
    .profile-content {
        margin: 0 auto;
    }

    .profile-content h3 {
        font-size: 2.4rem;
        margin-bottom: 32px;
    }

    .profile-text {
        gap: 12px;
        font-size: 1.4rem;
        margin-bottom: 32px;
    }

    .profile-button {
        font-size: 1.4rem;
    }
    
    .profile-image-sp {
        width: 100%;
        max-width: 980px;
        min-width: 120px;
    }

}

/* フッター */
footer{
    background-image: url(/image/footer.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 150%;
}

.footer-container{
    width: 100%;
    max-width: 418px;
    margin:0 auto;
    text-align: center;
    padding: 160px 0 40px;
}

footer h2{
    margin-bottom: 6.4rem;
}

.btn-border {
    color: #3c3c3c;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 2px solid #3C3C3C;
    border-radius: 50px;
    padding: 24px;
}

.btn-border::after {
    background: #FDFDFD;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.btn-border:hover {
    color: #3C3C3C;
}

.btn-border:hover::after {
    transform: scale(1, 1);
}

.contact-mail{
    display: inline-block;
    width: 100%;
    font-size: 2.4rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-decoration: none;
    margin-bottom: 4rem;
}

.footer-sns{
    display: flex;
    justify-content: center;
    gap: 38px;
    margin-bottom: 8rem;
}

.x{
    width: 100%;
    max-width: 30px;
    height: auto;
    object-fit: contain;
}

footer small{
    font-size: 2.4rem;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .footer-container{
    padding: 80px 0 40px;
    }
}

@media screen and (max-width: 575px) {
    footer{
        background-size: 230%;
    }

    footer h2{
    margin-bottom: 4rem;
    }

    .btn-border {
        width: 210px;
        padding: 12px 24px;
    }

    .contact-mail{
    font-size: 1.4rem;
    margin-bottom: 4rem;
    }

    .footer-sns{
    margin-bottom: 4rem;
    }


    footer small{
    font-size: 1.4rem;
    }
}