html {
    font-size: 14px;
    scroll-behavior: smooth;
}
body {
    background-color: #f0f0f0;
}
@media screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

a {
    color: #333;
    text-decoration: none;
}

.cmn-title {
    text-align: center;
    font-weight: bold;
}

.sub-title {
    display: block;
    color: #38B6FF;
}

.main-title {
    display: block;
    font-size: 2rem;
}

/* header */
.header {
    width: 100%;
    /*max-width: 1024px;*/
    margin: 0 auto;
    padding: 20px 16px;
    text-align: center;
}

.header-logo {
    font-size: 3rem;
    font-family: 'Dancing Script', cursive;
}

.header-list {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.header-item {
    font-size: 1.2rem;
}

@media screen and (min-width: 768px) { /* 768より大きい時のcss */
    .header {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        margin: 0 auto;
        height: 80px;
        padding: 0 ;
        position: fixed;
        background-color: #fff;
    }
    .header-logo {
        margin-left: 2.5rem;
    }

    .header-list {
        margin-top: 0;
    }

    .header-item {
        margin-right: 2.5rem;
    }
}

.main {
    padding-top: 80px;
}

video {
    width: 100%;
    height: 80%;
}

.firstview {
    background-image: url(../image/shop-top.jpg);
    background-size: cover;
    background-position: center;
    height: 700px; */
}
/*
.firstview-message {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    height: 100%;
    letter-spacing: 0.3rem;
}

.firstview-message .blue {
    color: #38B6FF;
}
*/

@media screen and (min-width: 768px) {
    .firstview-message {
        font-size: 5.5rem;
        letter-spacing: 0.5rem;
    }
}

/* about */
.about {
    max-width: 800px;
    margin: 120px auto 0;
    padding: 0 16px;
}

.about-wrapper {
    margin-top: 60px;
}

.about-image {
    text-align: center;
}

.about-text {
    margin-top: 40px;
}

.about-subtitle {
    font-size: 1.5rem;
    color: #38B6FF;
    margin-bottom: 0.5rem;
}

.about-career {
    margin-top: 30px;
}

@media screen and (min-width: 768px) {
    .about-wrapper {
        display: flex;
    }

    .about-text {
        margin-top: 0;
        margin-left: 80px;
    }
}





/* works */
.works {
    max-width: 900px;
    margin: 120px auto 0;
}

.work-list {
    margin-top: 60px;
}

.work-item {
    margin-top: 45px;
}

.work-item.reverse {
    flex-direction: row-reverse;
}

.work-title {
    font-size: 1.5rem;
    color: #38B6FF;
    margin-bottom: 0.5rem;
}

.work-image img {
    width: 100%;
}

.work-text {
    margin-top: 2rem;
    padding: 0 16px;
}

.work-desc {
    margin-top: 1rem;
}

@media screen and (min-width: 768px) {
    .work-item {
        display: flex;
        gap: 0 50px;
    }

    .work-image {
        width: 50%;
    }

    .work-text {
        width: 50%;
        padding: 0;
    }

}

/* location */

.location {
    max-width: 900px;
    margin: 120px auto;
    text-align: center;
}
#location .item-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
  }

/* yafuoku */
.yafuoku {
    text-align: center;
}
.yafuoku .yafuoku-text {
    margin-top: 40px;
}
.yafuoku img {
    width: 60%;
}


@media screen and (min-width: 768px) {
    .yafuoku img {
        width: 40%;
    }  
}

/* contact */
.contact {
    margin: 120px 0;
    text-align: center;
}

.contact-text {
    margin-top: 30px;
}

.contact-mail {
    font-size: 2rem;
    font-weight: bold;
}

.icon-area {
    margin-top: 30px;
}

.icon-area .fab {
    font-size: 2rem;
    margin: 0 1rem;
}

/* footer */
.footer {
    background-color: #ddd;
    padding: 30px 16px 10px;
}

.footer-list {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

.footer-item {
    font-size: 1.2rem;
}

.copyright {
    margin-top: 2rem;
    text-align: center;
}

.gotop{
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #999;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #333;
    opacity: 0.5;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}
.gotop::before{
    content: "";
    display: block;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    width: 25%;
    height: 25%;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
.gotop:hover{
    opacity: 1;
}
@media screen and (min-width: 768px){
    .gotop{
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        opacity: 1;
        border: none;
        background: none;
        bottom: 10px;
        right: 10px;
    }
    .gotop::before{
        bottom: 0;
    }
}