@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Quicksand;
    src: url(../../font/Quicksand/Quicksand-VariableFont_wght.ttf);
}

@font-face {
    font-family: Zen_Kaku_Gothic_New;
    src: url(../../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Regular.ttf);
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: Zen_Kaku_Gothic_New;
    color: #333;
}

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

ul {
    list-style-type: none;
}

header {
    position: fixed;
    width: 100%;
    padding: 1% 0;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 80%);
    box-shadow: 0 2px 5px #eee;
}

header .header-flex {
    display: flex;
    flex-direction: row-reverse;
}

header .header-flex h1 {
    width: 20%;
    font-size: 5vw;
    margin-left: auto;
    margin-right: 5%;
}

header .header-flex h1 a {
    display: block;
    text-align: center;
    line-height: 1.7;
}

/* はんばーがー */

header .header-flex .hamburger-container {
    width: 40%;
    margin-right: auto;
    margin-left: 5%;
}

header .header-flex .hamburger-container input[type="checkbox"] {
    visibility: hidden;
    position: relative;
}

/* 三本線をつくる */
header .header-flex .hamburger-container .hamburger {
    display: block;
    position: absolute;
    top: 8px;
    width: 7vw;
    height: 7vw;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1vw;
    border-radius: 10px;
    background-color: #888;
    transition: 0.2s;
}

.hamburger span {
    top: 3.3vw;
}

.hamburger span::before {
    top: -2.2vw;
}

.hamburger span::after {
    top: 2.2vw;
}

input[type="checkbox"]:checked + .hamburger span {
    background-color: transparent;
    transform: translateX(-100px);
    transition: 0.5s;
}

input[type="checkbox"]:checked + .hamburger span::before {
    top: 0;
    transform: translateX(100px) rotate(45deg);
}

input[type="checkbox"]:checked + .hamburger span::after {
    top: 0;
    transform: translateX(100px) rotate(-45deg);
}

/* 三本線終わり */

header .header-flex .hamburger-container nav {
    display: none;
    position: absolute;
    width: 50%;
    top: 10%;
    left: 3%;
}

.hamburger-container nav ul {
    padding: 20% 0;
    background-color: rgba(255,255,255,.95);
    border-radius: 7px;
    box-shadow: 0 0 5px 3px #eee;
}

.hamburger-container nav ul li {
    margin-bottom: 5%;
}

.hamburger-container nav ul li a {
    display: block;
    line-height: 3;
    font-size: 3.6vw;
    text-align: center;
    color: #666;
}

.hamburger-container nav ul li a:hover {
    color: #ccc;
}

input[type="checkbox"]:checked ~ nav {
    display: block;
}

input[type="checkbox"]:checked ~ .hamburger-cover {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -10;
    background: rgba(3,3,3,.1);
    display: block;
}

.hamburger-container + nav {
    display: none;
}


/* section */


main {
    width: 80%;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
}

main section {
    margin-top: 15%;
}

main section .button {
    width: 40%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eee;
    border: 1px solid transparent;
    border-radius: 2vw;
    transition: 0.3s;
}

main section .button:hover {
    background-color: #fff;
    border: 1px solid #666;
    transition: 0.3s;
}

main section .button a {
    display: block;
    text-align: center;
    line-height: 3;
    color: #888;
    font-size: 3.6vw;
}

main h2 {
    font-size: 6vw;
    font-family: Quicksand;
    font-weight: normal;
    margin-bottom: 1%;
}

/* Product */

main section .item-flex {
    display: flex;
    gap: 2.5%;
    overflow-x: scroll;
}

main section .item {
    flex-shrink: 0;
    width: 40%;
    transition: 0.2s;
}

main section .item:hover {
    opacity: 0.5;
    transition: 0.2s;
}

main section .item a {
    color: #666;
}

main section .item a img {
    width: 100%;
    vertical-align: bottom;
}

main section .item a p:nth-of-type(1) {
    margin-top: 2%;
    font-size: 3.3vw;
    color: #333;
}

main section .item a .price {
    font-size: 3vw;
}

main section .item a .price span {
    font-family: Quicksand;
    font-size: 3.2vw;
    margin-right: 1.5%;
}

main section .item a .price span::before {
    content: "￥";
    font-family: Zen_Kaku_Gothic_New;
}

main section .category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

main section .category-container a {
    display: block;
    width: 48%;
    height: 20vw;
    margin-bottom: 2%;
    background-color: beige;
    transition: 0.2s;
}

main section .category-container a:hover {
    opacity: 0.5;
    transition: 0.2s;
}


main .news-topics-flex {
    display: block;
}

main section .news-list {
    display: flex;
    gap: 3%;
    overflow-x: scroll;
}

main section .news-list .news-content {
    width: 60%;
    transition: 0.2s;
    flex-shrink: 0;
}

main section .news-list .news-content:hover {
    opacity: 0.5;
    transition: 0.2s;
}

main section .news-list .news-content a {
    text-decoration: none;
    color: #888;
}

main section .news-list .news-content a img {
    width: 100%;
}

main section .news-list .news-content a .text {
    padding: 5% 0;
}

main section .news-list .news-content a .text p {
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 制限したい行数が3の場合 */
    font-size: 3vw;
}

main section .news-list .news-content a .text p:nth-of-type(1) {
    color: #666;
    font-size: 3.4vw;
}

main section .news-list .news-content a .text p:nth-of-type(2) {
    line-height: 2;
    text-align: right;
}

main section .news-list .news-content a .text p:nth-of-type(3) {
    line-height: 1.7;
    text-indent: 1em;
}

main section .topics {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    transition: 0.2s;
}

main section .topics:last-of-type {
    margin-bottom: 0;
}

main section .topics:hover {
    opacity: 0.5;
    transition: 0.2s;
}

main section .topics img {
    display: block;
    width: 100%;
}

.top-link a {
    position: relative;
    display: block;
    width: 9vw;
    height: 9vw;
    margin-top: 5%;
    margin-left: auto;
    margin-right: 2%;
    border-radius: 50%;
    background-color: #ccc;
    transition: 0.2s;
}

.top-link a::before {
    position: absolute;
    top: 18%;
    left: 21%;
    content: "\f106";
    font: var(--fa-font-solid);
    font-size: 6vw;
    color: #fff;
}

.top-link a:hover {
    opacity: 0.5;
    transition: 0.2s;
}

/* footer */

footer {
    margin-top: 5%;
    padding: 5% 0 1% 0;
    background-color: #EEE;
}

footer .footer-nav {
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-nav ul {
    width: 48%;
    margin-bottom: 3%;
}

footer .footer-nav ul:nth-of-type(2) {
    margin-left: 4%;
}

footer .footer-nav ul li {
    transition: 0.2s;
}

footer .footer-nav ul li:hover {
    opacity: 0.5;
    transition: 0.2s;
}

footer .footer-nav ul li a {
    display: block;
    line-height: 3;
    color: #888;
    font-size: 3.4vw;
}

footer .footer-nav ul li a::before {
    content: "\f054";
    font: var(--fa-font-solid);
    font-size: 3vw;
    color: #ccc;
    margin-right: 3%;
}

footer h3 {
    width: 14%;
    margin-left: auto;
    margin-right: auto;
}

h3 a {
    display: block;
    text-decoration: none;
    font-size: 5vw;
    color: #888;
    transition: 0.2s;
}

h3 a:hover {
    opacity: 0.5;
    transition: 0.2s;
}

footer p {
    text-align: center;
    color: #888;
    font-size: 3.4vw;
}

.whiteline {
    border-bottom: 2px solid #fff;
    margin-top: 3%;
    margin-bottom: 3%;
}

footer .sns-icon {
    width: 57%;
    margin-left: auto;
    margin-right: auto;
}

footer .sns-icon a i {
    display: inline-block;
    margin-left: 7%;
    font-size: 8vw;
    vertical-align: middle;
    color: #888;
    background-color: #eee;
    transition: 0.2s;
}

footer .sns-icon a i:hover {
    opacity: 0.5;
    transition: 0.2s;
}

footer .sns-icon a .fa-square-x-twitter {
    margin-left: 0;
}

footer .sns-icon a .fa-line {
    font-size: 7.1vw;
}