@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

/* ---------------共通部分-------------- */
.container {
    padding: 8px;
}

ul {
    list-style: none;
}

ul li a {
    color: black;
    text-decoration: none;
    line-height: 2;
    font-size: 12px;
}


.page-title {
    font-size: 15px;
    font-weight: 100;
    margin-top: 72px;
    padding: 16px 20px;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

/* 初期状態 */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

/* 表示状態 */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------ヘッダー-------------- */

header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-block: 8px;
    background-color: white;
    align-items: center;
}

.logo {
    width: 120px;
    height: 25px;
    object-fit: cover;
    display: block;
}

.header-nav {
    display: flex;
    padding-block: 8px;
    margin-left: auto;
}

.nav-main {
    gap: 48px;
    margin-right: 48px;
    display: flex;
}

.nav-icons {
    padding-right: 24px;
    gap: 8px;
    align-items: center;
    display: flex;
}

.nav-icons img {
    width: 16px;
}

.toggle_btn {
    display: none;
}

/* ------------メインページ----------------- */
.img-wrap {
    position: relative;
}

.img-wrap img {
    width: 100%;
    height: 1400px;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
}

.img-text {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: white;
    font-size: 13px;
    font-weight: 100;
}

.img-links {
    display: flex;
}

.img-links a {
    width: 50%;
    display: block;
}

.img-links .img-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ---------------フッター-------------- */
footer {
    padding: 240px 0 8px 0;
}

.footer-nav,
.footer-policy {
    display: flex;
    justify-content: center;
}

.footer-nav {
    gap: 80px;
    padding-bottom: 80px;
}

.footer-policy {
    gap: 8px;
}

small {
    font-size: 12px;
}

/* ---------------商品一覧-------------- */

.items-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.items-list img {
    width: 100%;
    height: 490px;
    object-fit: cover;
    display: block;
    margin-top: 24px;
    transition: 0.4s;
}

.items-list a:hover img {
    filter: brightness(0.7);
}

.items-list p {
    text-align: center;
    margin: 4px 0 0;
}

/* ---------------カートページ-------------- */
.empty-text {
    text-align: center;
    margin-block: 160px;
}

.cart-total {
    text-align: right;
}

.btn-outline,
.btn-solid {
    color: black;
    text-decoration: none;
    font-size: clamp(0.7rem, 1vw, 1rem);
    border: 1px solid black;
    width: 100%;
    display: block;
    text-align: center;
    padding-block: 8px;
    transition: 0.6s;
}

.btn-outline:hover,
.btn-solid:hover {
    transform: scale(1.02);
}

.btn-outline {
    margin-block: 8px;
}

.btn-solid {
    color: white;
    background-color: black;
}

/* ---------------コレクションページ-------------- */
.collection {
    padding: 120px 8px;
}

.collection-main img {
    width: 100%;
    max-width: 670px;
    height: auto;
    display: block;
    margin-bottom: 80px;
    margin: 0 auto 80px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    list-style: none;
    padding: 0;
}

.collection-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------------ニュース-------------- */
.news-list {
    padding: 0 clamp(0px, 5vw, 40px);
}

.news-item {
    display: flex;
    gap: 120px;
    padding: 48px 0;
    border-bottom: 1px solid black;
    font-size: 12px;
}

.news-item dt {
    padding-left: 16px;
}

/* ---------------ブランドコンセプト-------------- */

.about-inner {
    max-width: 430px;
    margin: 120px auto;
}

.about-text {
    margin-bottom: 40px;
    line-height: 1.5;
    font-size: 14px;
}

.about-text.en {
    font-size: 14px;
}

.about-image {
    max-width: 430px;
    margin: 0 auto 120px;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* ---------------FAQ（よくある質問）-------------- */
.faq-list {
    padding: 0 clamp(0px, 5vw, 40px);
}

.faq-item {
    padding: 32px 4px;
    border-bottom: 1px solid black;
    font-size: 12px;
}

/* ---------------問い合わせ-------------- */
form {
    max-width: 600px;
    margin: 80px auto;
}

.form-item {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid black;
    box-sizing: border-box;
}

textarea {
    height: 120px;
    resize: none;
}

.form-btn {
    margin-top: 40px;
}

button {
    width: 100%;
    padding: 12px 0;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.02);
}

/* ---------------会員登録-------------- */
.form-check {
    width: 100%;
    margin: 80px 0;
}

.check-item {
    gap: 16px;
    font-size: 13px;
    display: flex;
    margin-bottom: 40px;
}

.check-item input {
    width: 18px;
    height: 18px;
}

.check-item input[type="checkbox"] {
    accent-color: black;
}

/* ---------------商品個別-------------- */
.item-page {
    border-top: 1px solid black;
    margin-top: 60px;
}

.item {
    display: flex;
    padding: 40px 16px;
    gap: 24px;
}

.item-img {
    flex: 1;
    height: 900px;
    object-fit: cover;
}

.item-detail {
    flex: 1;
}

.item-price,
.item-title {
    font-size: 22px;
    font-weight: 700;
}

.item-title {
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.item-price {
    margin-bottom: 32px;
}

.color-box {
    width: 28px;
    height: 28px;
    border: 1px solid black;
    cursor: pointer;
}

.color-box.black {
    background: black;
}

.color-box.white {
    background: #CFC9C2;
}

.size-list {
    display: flex;
    gap: 16px;
}

.size-box {
    width: 28px;
    height: 28px;
    border: 1px solid black;
    background: white;
    color: black;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
}

.size-box:hover,
.color-box:hover {
    transform: scale(1.05);
    transition: 0.2s;
}

/* 選択時 */
.size-box.active,
.color-box.active {
    box-shadow: 0 0 0 2px white,
        0 0 0 3px black;
    /* 外側の2本目 */
}

.add-cart-btn {
    display: block;
    /* これ追加 */
    width: 100%;
    padding: 14px 0;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 40px;
    transition: 0.3s;
    text-align: center;
    /* 文字中央 */
    text-decoration: none;
    /* 下線消す */
}

.add-cart-btn:hover {
    transform: scale(1.02);
}

.item-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 80px;
}

.item-model {
    font-size: 12px;
    padding-bottom: 32px;
    border-bottom: 1px solid black;
}

.spec-title {
    font-size: 14px;
    font-weight: 200;
    margin-right: 32px;
    letter-spacing: 0.05em;
}

.spec-block {
    display: flex;
    border-bottom: 1px solid black;
    padding: 32px 8px;
}

.size-text {
    font-size: 12px;
    margin-top: 24px;
}

.material-list {
    font-size: 13px;
    width: 100%;
}

.material-list dt {
    float: left;
    font-weight: 500;
}

.material-list dt::after {
    content: "：";
}

/* ---------------商品個別table-------------- */

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #7c7c7c;
    border-right: 1px solid #7c7c7c;
}

.size-table th,
.size-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #7c7c7c;
}

.size-table th {
    font-weight: 500;
}

/* ---------------レスポンシブ-------------- */
@media (max-width: 768px) {
    .mask {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 20;
    }

    .mask.open {
        opacity: 1;
        visibility: visible;
    }

    /* -------------ハンバーガーメニュー---------------- */
    .toggle_btn {
        z-index: 100;
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        padding: 16px;
    }

    .toggle_btn span {
        width: 22px;
        height: 1px;
        background: black;
        transition: all 0.5s;
    }

    /* 1本目 */
    .toggle_btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    /* 2本目 消す */
    .toggle_btn.active span:nth-child(2) {
        opacity: 0;
    }

    /* 3本目 */
    .toggle_btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* -------------サイドバー---------------- */
    .nav-main {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        width: 28%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 70px 20px;
        transition: 0.4s;
        z-index: 50;
    }

    .nav-main.open {
        transform: translateX(0);
    }

    h1 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* -------------メインページ---------------- */
    .img-wrap img {
        height: 700px;
    }

    .img-links {
        flex-direction: column;
    }

    .img-links a {
        width: 100%;
    }

    .img-links .img-wrap img {
        height: 380px;
    }

    /* -------------フッター---------------- */
    footer {
        padding: 32px 16px 16px 16px;
    }

    .footer-nav {
        flex-direction: column;
        padding-bottom: 136px;
        gap: 4px;
    }

    .footer-policy {
        flex-wrap: nowrap;
    }

    .footer-policy li {
        white-space: nowrap;
    }

    small {
        padding-right: 0;
    }

    /* -------------商品一覧---------------- */
    .items-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .items-list img {
        height: 280px;
        margin-top: 8px;
    }

    /* -------------商品個別---------------- */
    .item {
        flex-direction: column;
        padding: 0px 0%;
    }

    .item-img {
        width: 100%;
        height: 570px;
    }

    .item-info {
        margin-top: 8px;
    }

    .item-detail {
        width: 100%;
        padding: 0 8px;
    }

    /* -------------ニュース---------------- */
    .news-item {
        flex-direction: column;
        gap: 8px;
        padding: 32px 0;
    }

    .news-item dt {
        padding-left: 0px;
    }

    /* -------------お問い合わせ---------------- */
    form {
        margin: 80px 8px;
    }

}