@charset "UTF-8";

/* =========================================
   1. 共通設定（変数・リセット・ベース）
   ========================================= */
html {
    font-size: 62.5%;
}

:root {
    --text: #222;
    --muted: #666;
    --bg: #fff;
    --border: #ddd;
}

body {
    color: var(--text);
    background: var(--bg);
    font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.7;
    box-sizing: border-box;
    max-width: 1360px;
    font-weight: 300;
    margin: 0;
    padding: 50px 40px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

li {
    list-style: none;
}

h2 {
    font-weight: 200;
    margin: 0;
    font-size: 1.4rem;
}

/* =========================================
   2. ヘッダー・ナビゲーション
   ========================================= */
.header {
    display: flex;
    justify-content: space-between;
    background-color: var(--bg);
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 30px 40px;
    margin-bottom: 20px;
    z-index: 99999999999;
}

.header img {
    width: 180px;
    height: 21px;
}

header #menu {
    cursor: pointer;
    z-index: 999;
    height: 21px;
}

nav {
    position: fixed;
    top: -100vh;
    width: 100%;
    height: 100vh;
    z-index: 99;
    transition: top .25s ease-out;
    left: 0;
}

nav.active {
    top: 0;
}

nav ul {
    color: #222;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: start;
    padding: 50px 0 0 40px;
    font-size: 1.2rem;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

nav ul li>a {
    color: #ffffff;
}

/* =========================================
   3. メイン（商品一覧・ガイド）
   ========================================= */
.item_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    gap: 50px 20px;
    margin: 10px auto;
}

.item_list img {
    margin-bottom: 20px;
}

.item_des {
    line-height: 1.5;
    font-size: 1.6rem;
}

.pages_guide2,
.pages_guide1 {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    font-size: 1.6rem;
    padding: 50px;
}

.pages_guide1 p,
.pages_guide2 p {
    text-align: center;
    width: 100%;
}

.view_more {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #fff;
    height: auto;
    font-size: 1.6rem;
    margin: 40px auto;
}

.is_hidden~li,
.is_hidden {
    display: none;
}

/* =========================================
   4. フッター
   ========================================= */
footer {
    margin: 0 auto;
    padding: 40px 0;
}

footer p {
    text-align: center;
}

small {
    display: block;
    padding: 10px 0;
    margin: 10px 0;
    color: var(--muted);
}

.sns_list {
    width: auto;
    display: flex;
    justify-content: start;
    gap: 30px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* =========================================
   5. アバウト・会社概要
   ========================================= */
.about_main,
.company_main {
    width: 100%;
    max-width: 600px;
    min-height: 600px;
}

.about_heading {
    margin: 50px 0;
}

.about_heading~p {
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 30px;
}

.company_heading {
    margin-bottom: 60px;
}

.company_info dt,
.company_info dd {
    font-size: 1.4rem;
}

.company_info dt {
    margin-top: 20px;
    padding-bottom: 10px;
}

.company_info dd {
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    padding-bottom: 25px;
    line-height: 1.5;
}

.map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    z-index: 1;
}

/* =========================================
   6. 商品詳細
   ========================================= */
.product_main {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.4rem;
}

figure {
    margin: 0 0 24px;
}

.product_heading {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.product_heading~p {
    font-size: 1.4rem;
}

.product_price {
    margin-top: 20px;
}

.product_heading~dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    margin: 26px 0;
    max-width: 760px;
    font-size: 1.4rem;
    gap: 0;
}

.product_heading~dt,
.product_heading~dd {
    font-weight: 300;
}

.back_link {
    text-align: center;
    padding: 20px;
    margin: 20px;
    text-decoration: none;
    display: block;
}

/* =========================================
   7. デスクトップ表示（レスポンシブ）
   ========================================= */
@media(min-width:900px) {

    /* メイン（グリッド調整） */
    .item_list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .pages_guide1 p,
    .pages_guide2 p {
        width: 20%;
    }

    /* フッター（レイアウト変更） */
    footer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* アバウト（左寄せ） */
    .about_main,
    .company_main {
        text-align: left;
        margin: 0;
    }

    .about_heading~p {
        margin-bottom: 10px;
    }

    /* 会社概要（テーブル形式） */
    .company_info {
        display: flex;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .company_info dt {
        width: 30%;
        border-bottom: solid 1px #dcdbdb;
        padding: 20px 10px;
        margin: 0;
    }

    .company_info dt:last-of-type {
        border-bottom: none;
    }

    .company_info dd {
        width: 60%;
        border-bottom: solid 1px #dcdbdb;
        padding: 20px 10px;
        margin: 0;
    }

    .company_info dd:last-of-type {
        border-bottom: none;
    }

    .map iframe {
        height: 300px;
        filter: grayscale(100%);
    }

    /* 商品詳細（横並びレイアウト） */
    .product_heading_frame {
        display: flex;
        justify-content: flex-start;
        gap: 50px;
    }

    .product_heading_img {
        max-width: 400px;
        max-height: 400px;
    }

    .product_main {
        margin: 0;
    }

    .product_heading_contents {
        width: 336px;
        height: auto;
    }

    .product_price {
        margin: 20px 0;
    }

    .product_table {
        margin: 20% 0 0 0;
        display: flex;
        flex-wrap: wrap;
    }

    .product_table dt {
        width: 30%;
        margin: 0;
    }

    .product_table dd {
        width: 60%;
        margin: 0;
    }

    .back_link {
        width: 100%;
        margin: 100px auto;
    }
}