@charset "UTF-8";

/*
VARIABLES
================================================ */
:root {
    --light-blue: #4db1ec;
    --blue: #1665cc;
    --purple: #b473bf;
    --pink: #ffb2c1;
    --orange: #ff9f67;
    --yellow: #ffd673;
    --light-green: #d5edeb;
    --green: #00a2af;
    --grey: #333;
    --white: #fff;
    --brown: #403632;
    --light-grey: #eee;
    --oswald-font: 'Oswald', sans-serif;
}
/* Common
--------------------------------------------------------- */
html {
    font-size: 100%;
}
body {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.title {
    font-family: var(--oswald-font);
    font-size: min(10vw, 3rem);
    margin-bottom: 2rem;
}
.btn {
    color: var(--white);
    background: var(--brown);
    border: 1px solid var(--brown);
    text-decoration: none;
    padding: 1rem;
    display: inline-block;
    margin: 2rem 0;
    transition: .4s;
}
.fadein{
    opacity: 0;
}

/*
GENERAL STYLING
================================================ */
body {
    color: var(--brown);
    background: url('../images/background.png') no-repeat right bottom / cover fixed;
    text-align: center;
}
/*
LAYOUT
================================================ */
.wrapper {
    margin: auto;
    padding: 3rem 2rem;
}

/*
LOADING
================================================ */
#loading {
    background-color: var(--light-grey);
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
}
#loading-screen {
    background-color: var(--light-green);
    position: fixed;
    inset: 0;
    z-index: 9998;
    translate: 0 100vh;
}
#loading p {
    font-size: 2rem;
    font-family: var(--oswald-font);
}

/*
Header logo
================================================ */
.logo {
    width: 200px;
    height: 100px;
    padding-left: 2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/*
SLIDE MENU
================================================ */
/* 開閉ボタン */
.btn-menu {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: 1px solid var(--brown);
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    transition: .4s;
}
.btn-menu svg {
    fill: var(--brown);
    margin-top: .25rem;
    height: 2rem;
    width: 2rem;
}

/* 閉じるボタン */
#menu-close {
    border: 1px solid var(--light-green);
}
#menu-close svg {
    fill: var(--light-green);
}

/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(32vw, 20rem);
    height: 100vh;
    background-color: var(--brown);
    box-shadow: 0 0 2rem var(--brown);
    font-family: var(--oswald-font);
    translate: 100vw;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
}
.menu-list a {
    color: var(--light-green);
    text-decoration: none;
    font-size: 2rem;
}

/*
HERO
================================================ */
.hero {
    height: 100vh;
    position: relative;
}
.hero .maintitle {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: 2;
    width: 100%;
    font-size: max(8vw, 3rem);
    line-height: 1.2;
}
.hero .subtitle {
    position: absolute;
    top: 70%;
    left: 50%;
    translate: -50% -50%;
    z-index: 2;
    width: 100%;
    font-size: max(2vw, 2rem);
    line-height: 1.2;
}
.message {
    display: none;
    text-align: center;
  }
  
  .message.appear {
    display: block;
    animation: 2s fadeIn;
  }
  
  @keyframes fadeIn {
    0% {
        transform: rotateX(0deg);
        opacity: 0;
    }
    
    100% {
        transform: rotateX(360deg);
        opacity: 1;
    }
  }
/*
introduce
================================================ */
.introduce {
    margin: 8rem 0;
    background-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 20%,
        var(--light-grey) 20%,
        var(--light-grey) 100%
    );
    padding: 3rem 0;
    column-gap: 2rem;
    display: flex;
    justify-content: center;
}
.introduce .keireki {
    display: flex;
    padding-left: 2rem;
}
.introduce .MyImg {
    border-radius: 50%;
    height: 10rem;
    text-align: left;
}
.introduce p {
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 2rem;
}
.introduce .skillImg {
    text-align: left;
}

/*
GALLERY
================================================ */
.gallery {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    column-gap: 2.5rem;
}
.gallery-image {
    width: min(100%, calc(38rem - 2rem));
    margin: auto;
    position: relative;
}
.gallery-image::after {
    display: block;
    content: '';
    width: calc(100% - 2rem);
    height: calc(100% - 2.5rem);
    z-index: 3;
    border: 3px solid var(--light-grey);
    top: 1rem;
    left: 1rem;
    position: absolute;
}
.gallery-image img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}
.gallery-thumbnails {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, 1fr);
    list-style: none;
    margin: 1rem 0;
}
.gallery-thumbnails img {
    aspect-ratio: 3/4;
    object-fit: cover;
    cursor: pointer;
}

/*
Blog INFO
================================================ */
.bloginfo {
    background: url('../images/background2-pic.jpg') no-repeat center top / cover;
    margin-top: 18rem;
    position: relative;
    height: 40rem;
}
.bloginfo-content {
    background: var(--white);
    padding: 3rem;
    position: absolute;
    top: -8rem;
    width: 70vw;
    left: 0;
    right: 0;
}
.bloginfo h3 {
    margin: 1rem 0;
    padding-top: 2rem;
    font-weight: normal;
    border-top: 1px dotted var(--grey);
    font-weight: bold;
}
.categorylist {
    list-style: none;
}

/* Blog
--------------------------------------------------------- */
#blog {
    background-image: url(../images/portfolio_bg.png);
    background-size: cover;
    height: 15rem;
    margin: bottom 1rem;
    background-color: var(--light-blue);
    background-blend-mode: lighten;
}
#blog .page-title {
    text-align: center;
    font-size: 2.4rem;
    padding: 10rem 0 3rem 0;
}
.blog-contents {
    margin-top: 0%;
    margin-bottom: 3%; 
    display: flex;
    justify-content: space-between;
}
.blog-contents h3 {
    text-align: center;
}
.blog-contents h4 {
    text-align: center;
    padding-bottom: 4%;
    font-size: 0.8rem;
}
.blog-contents img {
    padding-top: 8%;
}

/* 記事部分 */
article {
    width: 74%;
}
.post-info {
    position: relative;
    padding-top: 1rem;
}
.post-date {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
    font-weight: normal;
}

/* サイドバー部分 */
aside {
    width: 22%;
}
.sub-title {
    font-size: 1.25rem;
    padding: 0 1rem 1rem;
    border-bottom: 1px dotted var(--grey);
    font-weight: normal;
}
aside p {
    padding: 1.3rem 1rem;
}
.sub-menu {
    list-style: none;
    padding-top: 1.25rem;
}
.sub-menu li {
    border-bottom:1px #ddd solid;
}

.sub-menu a {
    color: #432;
    padding: 0.8rem;
    display: block;
    font-size: 0.75rem;
}
.sub-menu a:hover {
    color: #0bd;
}

/* Works
--------------------------------------------------------- */
#works {
    background-image: url(../images/portfolio_bg.png);
    background-size: cover;
    height:15rem;
    margin-bottom: 4rem;
}
.works-contents {
    text-align: center;
    margin-bottom: 3rem;
}
#works .skill {
    padding-top: 5rem;
}
.works-contents .page-title {
    text-align: center;
    font-size: 2.4rem;
    padding-bottom: 2%;
}
.works-contents h4 {
    padding-bottom: 10%;
}
.works-contents img {
    max-height: 300px;
    padding-bottom: 4%;
}
.works-contents .pictgram {
    max-height: 150px;
    padding-bottom: 4%;
}
.works-contents p {
    font-size: 0.9rem;
    margin: 15px 0 0;
}
.float {
    display: flex;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 4%;
    margin-bottom: 4%;
    justify-content: center;
}
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 4%;
    margin-bottom: 4%;
}
.item1 {
    height: 300px;
    text-align: center;
}
.item2 {
    height: auto;
    text-align: center;
    border: solid 0.2rem #DDDDDD;
    border-radius: 1rem;
}
.item2:hover {
    opacity: 0.8;
}

/* CONTACT
--------------------------------------------------------- */
#contact {
    background-image: linear-gradient(#b1c2ee, #FFFFFF);
    min-height: 100vh;
}
.contact-contents {
    padding-top: 5rem;
}
/* フォーム */
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(161, 161, 161, 0.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}
/* 店舗情報・地図 */
#location {
    padding: 4% 0;
}
#location .wrapper {
    display: flex;
    justify-content: space-between;
}
.location-info {
    width: 22%;
}
.location-info p {
    padding: 12px 10px;
}
.location-map {
    width: 74%;
}
/* frame */
iframe {
    width: 100%;
}
/* SNS */
#sns {
    background: #FAF7F0;
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 30%;
}
.sns-box h3 {
    font-size: 1.2rem;
}

/* フッター
--------------------------------------------------------- */
footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
}

/* モバイル版
--------------------------------------------------------- */
@media(max-width:600px) {
    .page-title {
        font-size: 2.5rem;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }
    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    .main-nav li {
        margin:  0 20px;
    }
    
    /* HOME */
    .home-content {
        margin-top: 20px;
    }

    /* Blog */
    .blog-contents {
        flex-direction: column;
    }
    #blog .page-title {
        margin-top: 30px;
    }
    article,
    aside {
        width: 100%;
    }
    aside {
        margin-top: 60px;
    }
    .post-info {
        margin-top: 30px;
    }
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size:  0.875rem;
        padding-top: 2px;
    }
    .post-title {
        font-size: 1.375rem;
    }
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    .post-title,
    .post-cat {
        margin-left: 80px;
    }
    /* MENU */
    .menu-content {
        margin-top: 20%;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="submit"] {
        border: none;
        cursor: pointer;
        line-height: 1;
    }
    /* 店舗情報・地図 / SNS */
    #location .wrapper,
    #sns .wrapper {
        flex-direction: column;
    }
    .location-info,
    .location-map,
    .sns-box {
        width: 100%;
    }
    .sns-box {
        margin-bottom: 30px;
    }
}

/*
DESKTOP SIZE
================================================ */
@media(min-width: 800px){
    /* COMMON */
        .title {
            margin-bottom: 3rem;
        }
        .btn:hover {
            color: var(--brown);
            background: var(--light-green);
        }
    
    /* SLIDE MENU */
        .btn-menu:hover {
            background-color: var(--light-green);
        }
        #menu-close:hover svg {
            fill: var(--brown);
        }
        .menu-list a:hover {
            transition: .4s;
            color: var(--green);
        }
    
    /* CONCEPT*/
        .concept {
            display: flex;
            margin: 16rem 0;
        }
        .concept p {
            text-align-last: left;
        }
        .concept img {
            margin: -6rem 0;
            max-width: 38rem;
        }
    
    /* GALLERY */
        .gallery {
            flex-direction: row;
        }
        .gallery-image {
            width: 50vw;
            margin: 0;
        }
        .gallery-image img {
            height: 100%;
        }
        .gallery-content {
            width: 30vw;
        }
        .gallery-thumbnails {
            gap: 2vw;
            grid-template-columns: repeat(3, 1fr);
        }
        .gallery-thumbnails img:hover {
            box-shadow: 0 0 1rem rgba(0,0,0,.4);
            transition: .4s;
        }
    }