@charset "UTF-8";

/* 共通部分
--------------------------- */
html {
  font-size: 100%;
}
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #000;
  max-width: 1100px;
  margin:0 auto;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}


/* header
--------------------------- */
h1 {
    font-size: 25px;
    padding: 1em;
}
.fa-bars {
    font-size: 30px;
    position: absolute;
    top: 5%;
    right: 15%;
    z-index: 2;
}
.navigation {
    position: absolute;
    top: 0;
    right: 100px;
    width: 250px;
    background-color: #fff;
    z-index: 1;
    opacity: 0;
    transition: .5s;
}
.open {
    opacity: 1;
}
.main-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    text-align: left;
    padding: 40px;
}
.main-nav li {
    font-size: 13px;
    padding-bottom: .2em;
    border-bottom: 1px solid #999;
    margin-top: .5em;
}
.main-nav li a {
    color: #000;
}
.main-nav li a:hover {
    display: block;
    background-color: #999;
}
.sub-nav {
    list-style: none;
    background-color: #fff;
    padding: 0px 20px 20px 20px;
    position: absolute;
    top: 0;
    left: -120px;
}
.has-menu {
    position: relative;
}
/* 通常はカテゴリーメニューを非表示 */
.has-menu .sub-nav {
    display: none;
}
/* ホバー時に表示 */
.has-menu:hover .sub-nav {
    display: block;
}

/* メイン画像 */
.top-pg {
    position: relative;
    height: 100vh;
}
.main-img1 {
    width: 320px;
    position: absolute;
    top: 30px;
    right: 380px;
}
.main-img2 {
    width: 420px;
    position: absolute;
    top: 202px;
    right: 190px;
}
.main-img3 {
    width: 270px;
    position: absolute;
    top: 360px;
    right: 500px;
}

/* タイトル */
h2 {
    font-size: 30px;
    position: absolute;
    top: 230px;
    left: 200px;
}
.top-pg p {
    font-size: 15px;
    position: absolute;
    top: 280px;
    left: 200px;
}

/* リンク */
.lineup {
    position: absolute;
    top: 50px;
    left: 55px;
    writing-mode: vertical-rl;
    color: #fff;
    background-color: #000;
    font-size: 12px;
    padding: 20px 10px;
}
.instagram {
    width: 30px;
    position: absolute;
    bottom: 13%;
    left: 5%;
}
.contact {
    position: absolute;
    bottom: 15%;
    right: 10%; 
    color: #000;
}
.contact::before {
    display: inline-block;
    content: '';
    height: 1px;
    width: 100px;
    background-color: #000;
    position: relative;
    top: -5px;
    left: -10px;
}

/* オンラインストア */
.online {
    margin-top: 15em;
    margin-bottom: 20em;
}
.online-bg {
    background: url(images/onlinestore.jpg) no-repeat center center/cover;
    filter: grayscale(100%);
    height: 70vh;
    width: 800px;
    margin: 0 auto;
    position: relative;
}
.onlinestore {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #000;
    background: rgba(225,225,225,.5);
    padding: 1em 3em;
    font-size: 20px;
}

/* gallery */
.gallery {
    display: flex;
    animation: ga-slider 40s linear infinite;
}
.slider {
    display: flex;
    align-items: center;
    height: 400px;
    overflow: hidden;
}
.ga {
    width: 90%;
}
@keyframes ga-slider {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-200%);
    }
    75% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(-400%);
    }
}

/* category */
.cat {
    margin-top: 20em;
    margin-bottom: 20em;
}
.category {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
}
.category li {
    width: 250px;
    height: 100px;
    background-color: #999;
    margin: 20px;
}
.category li a {
    display: block;
    color: #000;
    text-align: center;
    position: relative;
    top: 35%;
}
.category li:hover {
    transform: scale(1.1);
    animation: hover-flash 2s;
}
@keyframes hover-flash {
    0% {
        opacity: .2;
    }
    100% {
        opacity: 1;
    }
}

/* about */
.about img {
    width: 500px;
}
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10em;
}
.reverse {
    flex-direction: row-reverse;
}
.text {
    margin: 3em;
}
.text span {
    font-size: 18px;
    border-bottom: 1px solid #000;
    padding-bottom: .5em;
}
.text p {
    padding-top: 2em;
    font-size: 15px;
}

/* フッター */
footer {
    position: relative;
    margin-top: 15em;
}
.footer-img {
    background: url(images/footer.jpg) no-repeat center bottom/cover;
    filter: opacity(.5);
    width: 100%;
    height: 600px;
}
.footer-box {
    position: absolute;
    bottom: 15%;
    right: 10%;
}
.footer-nav {
    width: 400px;
    height: 150px;
    display: flex;
    flex-direction: column;
    list-style: none;
    flex-wrap: wrap;
}
.footer-box li a {
    display: block;
    color: #000;
    font-size: 15px;
    padding: .5em;
}
.footer-instagram {
    width: 30px;
    display: block;
    position: absolute;
    bottom: 6%;
    right: 10%;
}
.copyright {
    display: block;
    color: #000;
    font-size: 16px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}


/* モバイル版
--------------------------------------- */
 /* 960px～1279px : 小型PC */
 @media screen and (min-width:960px) {
.body{
  max-width: 100%;
}
/* タイトル */
h2 {
  top: 230px;
  left: 150px;
}
.top-pg p {
  top: 280px;
  left: 150px;
}
.contact {
  right: 15%; 
}
}
 /* 600px～959px : タブレット */
 @media screen and (min-width:600px) and (max-width:959px) {
.body{
  max-width: 100%;
}
/* メイン画像 */
.main-img1 {
    width: 40%;
    height: 20vh;
    object-fit: cover;
    right: 220px;
}
.main-img2 {
    width: 45%;
    height: 20vh;
    object-fit: cover;
    top: 198px;
    right: 70px;
}
.main-img3 {
    width: 40%;
    height: 20vh;
    object-fit: cover;
    right: 260px;
}
/* タイトル */
h2 {
    left: 70px;
}
.top-pg p {
    left: 70px;
}
/* リンク */
.instagram {
    bottom: 20%;
    left: 8%;
}
.contact {
    bottom: 20%;
    right: 13%; 
}
/* オンラインストア */
.online {
    margin-top: 12em;
}
.online-bg {
    height: 45vh;
    width: 580px;
}
/* category */
.cat {
    margin-top: 15em;
}
/* about */
.about img {
    width: 370px;
}
.text {
    margin: 1.5em;
}
}

 /* ～479px : スマートフォン縦 */
 @media screen and (max-width:479px) {
.body{
    max-width: 100%;
}
/* header */
h1 {
    font-size: 22px;
    padding-left: 20px;
}
.fa-bars {
    font-size: 23px;
    right: 11%;
}
.navigation {
    top: 10px;
    right: 10px;
    width: 130px;
}
.main-nav {
    padding: 20px;
}
.main-nav li {
    font-size: 8px;
}
.sub-nav {
    padding: 0px 12px 12px 12px;
    left: -85px;
}

/* メイン画像 */
.main-img1 {
    width: 55%;
    height:135px;
    object-fit: cover;
    top: 8%;
    right: 15%;
}
.main-img2 {
    width: 67%;
    height: 115px;
    object-fit: cover;
    top: 29%;
    right: 19%;
}
.main-img3 {
    width: 55%;
    height: 155px;
    object-fit: cover;
    top: 47%;
    right: 10%;
}

/* タイトル */
h2 {
    font-size: 20px;
    top: 66%;
    left: 10%;
}
.top-pg p {
    font-size: 13px;
    top: 70%;
    left: 10%;
}

/* リンク */
.lineup {
    top: 35px;
    left: 25px;
    font-size: 10px;
    padding: 15px 8px;
}
.instagram {
    width: 20px;
    bottom: 16%;
    left: 10%;
}
.contact {
    bottom: 16%;
    right: 10%; 
}
.contact::before {
    width: 90px;
    top: -5px;
    left: -5px;
}

/* オンラインストア */
.online {
    margin-top: 4em;
    margin-bottom: 10em;
}
.online-bg {
    height: 28vh;
    width: 80%;
}
.onlinestore {
    padding: 1em 2em;
    font-size: 15px;
    white-space: nowrap;
}

.slider {
    height: 200px;
}

/* category */
.cat {
    margin-top: 8em;
    margin-bottom: 10em;
}
.category li {
    width: 150px;
    height: 50px;
    margin: 5px;
    font-size: 12px;
}
.category li a {
    top: 29%;
}

/* about */
.about {
    flex-direction: column;
    margin-top: 4em;
    margin-bottom: 1em;
}
.about img {
    width: 300px;
    margin: .5em;
}
.text {
    margin: .8em;
}
.text span {
    font-size: 13px;
    padding-bottom: .2em;
}
.text p {
    padding-top: .8em;
    font-size: 10px;
}

/* フッター */
.footer-img {
    height: 250px;
}
.footer-box {
    bottom: 25%;
}
.footer-nav {
    width: 200px;
    height: 80px;
}
.footer-box li a {
    font-size: 11px;
    padding: .1em 1.2em;
}
.footer-instagram {
    bottom: 20%;
}
.copyright {
    font-size: 13px;
    bottom: 3px;
    white-space: nowrap;
}
}
