@charset "utf-8";

/* -----------------------------------------------全体の設定----------------------------------------------- */
html{
    scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
}

body{
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fbfbfb;
    font-size: 14px;
    line-height: 1.5;
    color: #4C473C;
}

@media screen and (min-width: 768px) {
    body{
        font-size: 22px;
    }

    small{
        font-size: 16px;
    }
}

.button-design{
    background-color: #174412;
    color: #fbfbfb;
    text-decoration: none;
    font-size: 20px;
    padding: 0.5em 2em;
    margin: 1em auto;
    border-radius: 45px;
    display: block;
    width: 90%;
    text-align: center;
}

.long-button{
    width: auto;
    font-size: 18px;
}

.cs-button{
    background-color: #fbfbfb;
    border: #174412 2px solid;
    color: #174412;
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .button-design{
        width: 60%;
        padding: 0,5em;
        font-size: 30px;
    }

    .long-button:hover{
        background-color: #ecf772;
        color: #4C473C;
        filter: drop-shadow(4px 4px 4px #525252);
        cursor: pointer;
    }
}



/* ----------------------------------------------レスポンシブル共通設定---------------------------------------------- */
.sp-only{
    display: block;
}

.pc-only{
    display: none;
}

@media screen and (min-width: 768px) {
    .sp-only{
        display: none;
    }

    .pc-only{
        display: block;
    }
}




/* -----------------------------------------------Header----------------------------------------------- */
header{
    background-color: #FBFEDF;
    height: 10vh;
    width: 100%;
    display: flex;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    align-items: center;
}


.header-logo{
    width: 40%;
    padding-left: 1.5em;
    height: 9vh;
}

.header-logo a img{
    padding: 0.5em;
}

.header-button{
    position: fixed;
    right: 0;
    top:0;
    display: flex;
    align-items: center;
    border: none;
    width: 75px;
    height: 10vh;
    background-color: transparent;
    color: #4C473C;
}

.header-button span{
    display: block;
    position: relative;
    top: 0;
    margin: 0 auto;
    width: 35px;
    height: 3px;
    background-color: #4C473C;
    transition: 0.3s ease;
}

.header-button span::after,
.header-button span::before{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    transition:  all 0.3s ease;
    background-color: inherit;
}

.header-button span::before{
    top: -12px;
}

.header-button span::after{
    top: 12px;
}

body.open.header-button{
    z-index: 200;
}

body.open .header-button span{
    width: 30px;
    background-color: transparent;
}

body.open .header-button span::after,
body.open .header-button span::before{
    top: 0;
    background-color: #4C473C;
}

body.open .header-button span::after{
    transform: rotate(45deg);
}

body.open .header-button span::before{
    transform: rotate(-45deg);
}


.gnav-toggle img{
    display: inline-block;
    width: 100%;
}

.gnav-list{
    display: flex;
    position: absolute;
    height: 90vh;
    top: 10vh;
    left: 0;
    width: 100%;
}

.header-nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100vh;
    width: 70%;
    right: 0;
    font-size: 20px;
    background-color:rgba(251,251,251,0.5)
}

.gnav-list{
    transform: translateX(150%);
    transition: 0.5s ease;
}

body.open .gnav-list{
    transform: translateX(0%);
}

.header-nav-item{
    background-color: #fbfbfb;
    color: #4C473C;
    height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
}

.header-nav-item:not(:last-child){
    margin-bottom: 1em;
}

#businessActivities,
#aboutMe,
#gallery,
#content{
    padding-top: 10vh;
}



@media screen and (min-width: 768px) {
    header{
        justify-content: space-between;
    }

    .header-nav-pc{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-right: 1em;
        width: 56vw;
    }

    .header-nav-item-pc a{
        display: block;
        font-size: 20px;
        text-decoration: none;
        text-align: center;
        color: #4C473C;
        height: 100%;
        padding: 1em 2em;
        line-height: 1;
    }

    .header-nav-item-pc a:hover{
        background: #ecf772;
        color: #4C473C;
        font-weight: bold;
        height: 10vh;
    }
}




/* -----------------------------------------------mv-area-----------------------------------------------*/
#mv-area{
    margin-top: 10vh;
    height: 90vh;
    position: relative;
    width: 100%;
}

.slider {
    position: relative;
}

.slider ul li{
    position: absolute;
    animation-duration: 10s;
}

.mv-logo{
    position: absolute;
    bottom: -88vh;
    right: 1em;
    z-index: 200;
    width: 40vw;
}

@media screen and (min-width: 768px) {
    .mv-logo{
        width: 20vw;
    }
}

/* 1枚目設定 */
.mv1-main-text{
    position: absolute;
    top: 10vh;
    width: 85%;
    margin-left: 1.5em;
}

.mv1-text{
    padding-bottom: 1.5em;
}


.mv1-main{
    height: 90vh;
    object-fit: cover;
}

@media screen and (min-width: 768px) {
    .mv1{
        width: 100%;
    }

    #mv1-main-pc{
        width: 100%;
    }

    .mv1-text{
        display: block;
        width: 40%;
        margin-left: auto;
        margin-right: 0;
    }

    .mv1-main-text{
        width: 90%;
        filter: drop-shadow(4px 4px 4px #525252);
    }
}


/* 2枚目設定 */
.mv2-main{
    height: 90vh;
    object-fit: cover;
    object-position: 40% 50%;
}

.mv2-main-text{
    position: absolute;
    top: 10vh;
    width: 90%;
    padding-left: 1.5em;
}

@media screen and (min-width: 768px) {
    .mv2-text{
        width: 50%;
        filter: drop-shadow(4px 4px 4px #525252);
        margin-left: 10vw;
    }
}

/* 3枚目設定 */
.mv3-main-text{
    position: absolute;
    top: 35vh;
    width: 100%;
    text-align: center;
    filter: drop-shadow(4px 4px 4px #525252);
}

.mv3-main-text img{
    width: 80%;
}

.mv3-main{
    height: 90vh;
    width: 100%;
    object-fit: fill;
}

@media screen and (min-width: 768px) {
    .mv3-main{
        object-fit: cover;
    }

    .mv3-main-text img{
        width: 40%;
        margin-left: 39vw;
    }

}

/* 4枚目設定 */
.slider ul li:nth-child(4) {
    width: 100%;
}
#mv4-main{
    height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
}

#mv4-center{
    margin: 100px auto;
    width: 80%;
}

.mv4-image{
    text-align: center;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .mv4-image{
        display: flex;
        flex-direction: column;
    }

    .mv4-image img{
        width: 55%;
        margin: 0 auto;
    }

    #mv4-center{
        width: 30%;
        margin: 25px auto;
    }
}

/* animationの設定 */
.slider ul li:nth-child(1){
    animation: mv-slider 5s ease 1;
    animation-delay: -1s;
    opacity: 0;
}

.slider ul li:nth-child(2){
    animation: mv-slider 4s ease 1;
    animation-delay: 3s;
    opacity: 0;

}

.slider ul li:nth-child(3){
    animation: mv-slider 4s ease 1;
    animation-delay: 6s;
    opacity: 0;

}
.slider ul li:nth-child(4){
    animation: mv-slider-end 4s ease 1;
    animation-delay: 9s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes mv-slider{
    0%{opacity: 0;}
    40%{opacity: 1;}
    70%{opacity: 1;}
    100%{opacity: 0;}
}

@keyframes mv-slider-end{
    0%{opacity: 0;}
    40%{opacity: 0.7;}
    70%{opacity: 1;}
    100%{opacity: 1;}
}



/* --------------------------------------------businessActivities--------------------------------------------*/
/* list */
#businessActivities h2{
    padding-bottom: 2em;
    width: 80%;
    margin: 0 auto;
}

.ba-list{
    width: 270px;
    margin: 0 auto;
}

.ba-list ul p{
    font-size: 22px;
}

.ba-list ul p img,.ba-list ul p span{
    vertical-align: middle;
}

.ba-list ul small{
    margin-left: 4em;
}

.ba-list ul p img{
    margin-right: 0.3em;
    margin-left: 1em;
}

.ba-list ul li{
    margin-bottom: 1em;
}

/* message */
.ba-message{
    text-align: center;
    padding: 2em 1em;
    background-image: url(../img/header/gnav-picture.jpg);
    background-size: cover;
    background-position: 50% 45%;
}

.ba-message p{
    padding: 1em 0;
    color: #fbfbfb;
    font-weight: bold;
    background-color: rgba(251,251,251,0.5);
    filter: drop-shadow(4px 4px 4px #525252);
    border-radius: 30px;
    width: 60%;
    right: 1.5em;
    position: relative;
    left: 35%;
}

@media screen and (min-width: 768px) {
    #businessActivities h2{
        width: 25%;
    }

    .ba-message{
        width: 50vw;
        background-size: cover;
        background-position: 50% 45%;
        margin: 0 auto;
        margin-bottom: 2em;
    }

    .ba-message p{
        font-size: 24px;
    }

    .ba-list{
        padding-bottom: 2em;
    }

    #businessActivities{
        padding-bottom: 2em;
    }
}




/* ------------------------------------------aboutMe【introduction】------------------------------------------ */
#aboutMe h2{
    padding-bottom: 2em;
    width: 80%;
    margin: 0 auto;
}

.introduction{
    display: flex;
    justify-content: center;
    margin: 0 auto 2em auto;
}

.introduction img{
    width: 50%;
    padding-left: 1em;
}

.introduction_text h3{
    font-size: 24px;
    font-weight: bold;
}

.introduction_name{
    padding-bottom: 1em;
    padding-top: 0.5em;
}

.introduction_work{
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    #aboutMe h2{
        width: 25%;
    }

    .introduction img{
        width: 20%;
    }

    .introduction_text{
        letter-spacing: 0.05em;
    }

    .introduction_text h3{
        font-size: 36px;
    }

    .introduction{
        padding-bottom: 2em;
    }
}



/* --------------------------------------------aboutMe【career】-------------------------------------------- */
.career h3::before{
    content: url(../img/watage32px.png);
    padding-right: 1em;
}

.career h3::after{
    content: url(../img/watage-right.png);
    padding-left: 1em;
}

.career h3{
    text-align: center;
    padding-bottom: 1em;
}

.career p{
    width: 80%;
    margin: 0 auto;
    padding-bottom: 2em;
}

@media screen and (min-width: 768px) {
    .career h3 img{
        width: 10%;
    }

    .career p{
        width: 60%;
        margin: 0 auto;
        line-height: 2.0;
    }
}



/* --------------------------------------------aboutMe【skill】-------------------------------------------- */
.skill h3::before{
    content: url(../img/watage32px.png);
    padding-right: 1em;
}

.skill h3::after{
    content: url(../img/watage-right.png);
    padding-left: 1em;
}

.skill h3{
    text-align: center;
    padding-bottom: 1em;
}

.container img{
    width: 95%;
}

#javascript{
    height: 80%;
}

.container_logo{
    text-align: center;
    justify-content: center;
}

.container_logo{
    margin: 0 auto;
    display: -ms-grid;
    display: grid;
    grid-template-columns: 30vw 30vw 30vw;
    grid-template-rows:  30vw 15vw 30vw 15vw 30vw 15vw;
    place-items: center;
}

.container_logo h4{
    line-height: 1.0;
    font-size: 12px;
}

.skill-message{
    width: 80%;
    margin: 0 auto;
    padding-top: 1em;
}

@media screen and (min-width: 768px) {
    .skill h3 img{
        width: 7%;
    }

    .container{
        margin: 0 auto;
    }
    

    .container_logo{
        grid-template-columns: 25vw 25vw 25vw;
        grid-template-rows:  10vh 20vh 10vh 20vh 10vh 20vh;
        align-items: start;
        grid-gap: 5px;

    }

    .container img{
        height: 10vh;
    }

    .container_logo h4{
        font-size: 1.5vw;
        color: #a3ac47;
        padding-bottom: 0.5em;
    }

    .container_logo li{
        align-items: center;
    }

    .container_logo p{
        font-size: min(1.8vh);
        
        text-align: start;
        width: 80%;
        margin: 0 auto;
    }

    .skill-message{
        font-size: 2vw;
        text-align: center;
    }
}



/* --------------------------------------------aboutMe【gallery】-------------------------------------------- */
#gallery h2{
    padding-bottom: 2em;
    width: 80%;
    margin: 0 auto;
}

#gallery h3{
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 1em;
}

@media screen and (min-width: 768px) {
    #gallery h2{
        width: 25%;
    }
}

/* ◆Webサイト制作◆ */
.web-site-inner{
    width: 80%;
    margin: 0 auto;
}

.web-site button{
    margin-bottom: 2em;
}

@media screen and (min-width: 768px) {
    .web-site-inner{
        width: 60%;
    }
}

/* ◆バナー制作◆ */
.banner img{
    width: 50%;
    
}

.banner{
    padding-bottom: 2em;
    margin: 0 auto;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .banner-img img{
        width: 30%;
        object-fit: contain;
    }

    .banner-img{
        display: flex;
        justify-content: center;
    }

    #banner-img1{
        margin-right: 2em;
    }
}

/* ◆ロゴ制作◆ */
.logo img{
    width: 90%;
    margin: 0 auto;
}

.logo{
    padding-bottom: 2em;
    margin: 0 auto;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .logo img{
        width: 40%;
    }
}

/* ◆DTP制作◆ */
.dtp{
    padding-bottom: 2em;
    margin: 0 auto;
    text-align: center;
}

.dtp img{
    width: 90%;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .dtp img{
        width: 40%;
    }
}

/* ◆LPデザイン制作◆ */




/* -----------------------------------------------content----------------------------------------------- */
#content h2{
    padding-bottom: 2em;
    width: 80%;
    margin: 0 auto;
}


.contact-image{
    width: 30%;
}

.contact-innner{
    width: 50%;
}

.contact-message{
    width: 90%;
    margin: 0 auto;
}

.contact-top{
    display: flex;
    justify-content: center;
    place-items: center;
    padding-bottom: 1em;
}

.sns-icon{
    display: flex;
    justify-content: center;
}

.sns-icon img{
    width: 60px;
    padding-left: 1.5em;
}

.contact-innner p{
    font-size: 24px;
}

.contact-myname{
    margin-bottom: 1em;
    text-align: center;
}

.cm-space{
    text-align: center;
    margin-bottom: 1em;
}

.contact-mail-text {
    font-size: 20px;
}

.content-message p{
    padding: 1em 0 1em 0
}

@media screen and (min-width: 768px) {
    #content h2{
        width: 25%;
    }

    .contact-top{
        width: 650px;
        margin: 0 auto;
    }

    .contact-image{
        margin-left: 3em;
    }

    .sns-icon img{
        width: 90px;
        margin-right: 1em;
    }

    .sns-icon{
        justify-content: center;
    }

    .contact-innner p{
        font-weight: bold;
    }

    .content-message a{
        position: relative;
        display: inline-block;
        border-radius: 30px;
        line-height: 60px;
        overflow: hidden;
    }

    .contact-mail{
        position: relative;
        display: inline-block;
        width: 60%; /* 横幅 */
        height: 2.5vw; /* 縦幅 */
        line-height: 2.5vw; /* 行の高さ(heightと同じ値にする) */
        overflow: hidden; /* はみ出し部分を隠す */
        cursor: pointer; /* カーソルをポインターにする */
    }
    
    .contact-mail-text{
        position: absolute;
        left: 0;
        display: block;
        height: 100%; /* 縦幅をボタンと同じにする */
        width: 100%; /* 横幅をボタンと同じにする */
        color: blue; /* 文字色 */
        text-decoration: underline;
        font-size: 2vw; /* 文字サイズ */
        font-weight: bold; /* 文字の太さ */
        text-align: center; /* テキストを中央揃え */
        transition: all 0.5s; /* アニメーション実行時間 */
    }
    
    .contact-mail-text:nth-child(1) {
        top: 0;
    }
    
    .contact-mail-text:nth-child(2) {
        top: -100%;
    }
    
    .contact-mail:hover .contact-mail-text:nth-child(1) {
        top: 100%;
    }
    
    .contact-mail:hover .contact-mail-text:nth-child(2) {
        top: 0;
    } 

    .contact-message p{
        margin: 0 auto;
        width: 80%;
        padding-left: 8vw;
    }
}



/* -------------------------------------------------footer------------------------------------------------- */
footer{
    font-weight: normal;
    text-align: center;
    margin-bottom: 1em;
    font-size: 0.7em;
}



/* -------------------------------------------------motion------------------------------------------------- */
