@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: 10;
    background-color: rgba(255, 255, 255, 80%);
    box-shadow: 0 2px 5px #eee;
}

header h1 {
    width: 10%;
    height: fit-content;
    margin-left: 7%;
    font-size: 2.8vw;
}

header h1 a {
    display: block;
    text-align: center;
    line-height: 2;
}

.header-flex {
    display: flex;
}

.hamburger-container {
    display: none;
}

.header-flex nav {
    width: 55%;
    margin-left: 6%;
}

.header-flex nav ul {
    display: flex;
}

.header-flex nav ul li {
    width: 25%;
}

.header-flex nav ul li a {
    display: block;
    text-align: center;
    line-height: 3.4;
    font-size: 1.8vw;
    transition: 0.2s;
}

.header-flex nav ul li a:hover {
    opacity: 0.5;
    transition: 0.2s;
}

/* section */


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

main section {
    margin-top: 7%;
}

main section .button {
    width: 18%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eee;
    border: 1px solid transparent;
    border-radius: 0.5vw;
    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: 2.4;
    color: #888;
    font-size: 1.6vw;
}

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

/* Product */

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

main section .item {
    flex-shrink: 0;
    width: 20%;
    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: 1.6vw;
    color: #333;
}

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

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

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

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

main section .category-container a {
    display: block;
    width: 25%;
    height: 8vw;
    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: flex;
}

main .news-topics-flex section:nth-of-type(1) {
    width: 65%;
}

main .news-topics-flex section:nth-of-type(2) {
    width: 33%;
    margin-left: 2%;
}

/* 下部news */

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

main section .news-list .news-content {
    width: 50%;
    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 {
    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;
    font-size: 1.6vw;
}

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

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 {
    padding: 3% 0;
    transition: 0.2s;
}

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: 6vw;
    height: 6vw;
    margin-top: 5%;
    margin-left: auto;
    margin-right: 5%;
    border-radius: 50%;
    background-color: #ccc;
    transition: 0.2s;
}

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

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

/* footer */

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

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

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

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

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: 2vw;
}

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

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

h3 a {
    display: block;
    font-size: 3.4vw;
    color: #888;
    transition: 0.2s;
}

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

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

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

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

footer .sns-icon a i {
    display: inline-block;
    margin-left: 7%;
    font-size: 4vw;
    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: 3.5vw;
}
