@charset "UTF-8";

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-feature-settings: "palt";
    letter-spacing: 0.075em;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    color: #604C3F;
    font-weight: 400;
}

video {
    width: 100%;
}

.for-desktop {
    display: none;
}

.text-1 {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.text-1 span {
    display: block;
}

/* bg */
#about, #works, footer {
    background-color: #F6F6EC;
    position: relative;
    padding: 32px 24px;
}

#service, #profile{
    padding: 40px 24px;
}

#about .bg-top, #works .bg-top, footer .bg-top {
    z-index: -1;
    display: block;
    width: 100%;
    position: absolute;
    top: -10px;
    left: 0;
}

#about .bg-bottom, #works .bg-bottom {
    z-index: -1;
    display: block;
    width: 100%;
    position: absolute;
    bottom: -0.5em;
    left: 0;
}

/* common */

#section1, #section2, #section3, #section4 {
    padding-top: 40px;
    margin-top: -40px;
}

h2 {
    font-size: 20px;
    font-weight: bolder;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

h2 span {
    display: block;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    color: #FCDC4B;
    text-transform: uppercase;
    padding: 4px 0;
}

.text-2 {
    font-size: 12px;
}

.text-2 span {
    display: block;
}

/* header */

header {
    width: 100%;
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 8px 16px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}

h1 {
    width: 196px;
}

#open {
    width: 40px;
    cursor: pointer;
}

/* menu */

#menu {
    background-color: white;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    text-decoration: none;
    letter-spacing: 0.1em;
    padding: 8px 16px;
}

#menu.hidden {
    transform: translateY(-100%);
}

#close {
    width: 40px;
    margin-right: 0;
    margin-left: auto;
    cursor: pointer;
}

#menu .menu-list {
    padding-top: 24px;
    margin-bottom: 32px;
}

#menu .menu-item {
    padding: 16px;
}

#menu a {
    color: #604C3F;
}

#menu .menu-contact {
    background-color: #FCDC4B;
    display: block;
    width: 200px;
    padding: 12px 0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
}

/* main visual */

#mainvisual {
    padding-top: 16px;
    margin-bottom: 24px;
}

/* service */

.service-list {
    padding-top: 8px;
}

.service-item {
    width: 100%;
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; 
    margin-bottom: 32px;
}

.service-img {
    width: 100px;
    margin-right: 16px;
}

.service-cap {
    flex: 1;
}

h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

/* works */

.works-list {
    font-weight: bolder;
    font-size: 14px;
    margin-bottom: 1em;
}

#works hr {
    margin: 24px 0;
}

/* profile */

.photo {
    text-align: center;
    margin-bottom: 16px;
}

.photo .img {
    width: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
}

.photo .name {
    font-size: 16px;
    font-weight: bolder;
}

.photo .name span {
    display: block;
    color: #FCDC4B;
    font-family: 'Kanit', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
}

/* contact button */

.btn-contact {
    display: block;
    padding: 12px 36px;
    color: white;
    background-color: #604C3F;
    border-radius: 24px;
    font-weight: bolder;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 248px;
    font-size: 16px;
    letter-spacing: 0.1em;
    margin-bottom: 64px;
}

/* footer */

footer {
    padding-bottom: 64px;
}

.footer-logo {
    width: 184px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

small {
    display: block;
    text-align: center;
}

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

    .for-desktop {
        display: block;
    }

    .for-mobile {
        display: none;
    }

    .text-1 {
        font-size: 16px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
        
    /* bg */
    #about, #works, footer {
        padding: 64px 0;
    }
    
    #service, #profile{
        padding: 64px 0;
    }
    
    #about .bg-top, #works .bg-top, footer .bg-top {
        top: -24px;
    }
    
    #about .bg-bottom, #works .bg-bottom {
        bottom: -24px;
    }
    
    /* common */

    #section1, #section2, #section3, #section4 {
        padding-top: 64px;
        margin-top: -64px;
    }
    
    h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 32px;
    }
    
    h2 span {
        font-size: 18px;
    }
    
    .text-2 {
        font-size: 16px;
    }
    
    /* header */
    
    header {
        padding: 24px 32px;
    }
    
    h1 {
        width: 400px;
    }

    .header-right {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        align-items: center;
    }

    .header-contact {
        display: block;
        padding: 8px 24px;
        color: #604C3F;
        background-color: #FCDC4B;
        border-radius: 24px;
        font-weight: bolder;
        text-align: center;
        font-size: 16px;
        letter-spacing: 0.1em;
        margin-right: 32px;
    }
    
    /* main visual */
    
    #mainvisual {
        padding-top: 16px;
        margin-bottom: 40px;
    }

    /* about */
    #about .text-1 {
        text-align: center;
    }

    /* service */
    
    .service-list {
        padding-top: 8px;
        width: 700px;
        margin-left: auto;
        margin-right: auto;
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .service-item {
        display: block;
        width: 45%;
        margin-bottom: 48px;
    }
    
    .service-img {
        width: 200px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    
    h3 {
        font-size: 18px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    /* works */
    
    .works-list {
        text-align: center;
        width: 600px;
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
        margin-bottom: 3em;
    }
    
    /* profile */
    
    .photo {
        text-align: center;
        margin-bottom: 32px;
    }
    
    .photo .img {
        width: 160px;
        margin-bottom: 16px;
    }
    
    .photo .name {
        font-size: 18px;
    }
    
    .photo .name span {
        font-size: 14px;
    }

    #profile .text-1 {
        text-align: center;
        max-width: 700px;
    }

    
    /* contact button */
    
    .btn-contact {
        display: block;
        padding: 12px 36px;
        color: white;
        background-color: #604C3F;
        border-radius: 24px;
        font-weight: bolder;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: 248px;
        font-size: 16px;
        letter-spacing: 0.1em;
        margin-bottom: 64px;
    }
    
    /* footer */
    
    footer {
        padding-bottom: 64px;
    }
    
    .footer-logo {
        width: 184px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }
    
    small {
        display: block;
        text-align: center;
    }
}