:root {
    --primary: #1f8f8b;
    --bg: #f7f9f9;
    --text: #222;
    --muted: #888;
    --border: #ddd;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ヘッダー（ロゴのみ） */
header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 18px;
}

.header-inner img {
    height: 40px;
}

/* レイアウト本体 */
.layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    min-height: calc(100vh - 80px);
}

/* サイドナビ */
aside {
    width: 220px;
    background: #fff;
    border-right: 1px solid var(--border);
    padding: 32px 16px;
}

aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

aside li {
    margin-bottom: 16px;
}

aside a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
}

aside a.active {
    color: var(--primary);
    font-weight: bold;
}

/* メイン */
main {
    flex: 1;
    padding: 48px 32px;
}

h1 {
    font-size: 28px;
    margin-bottom: 24px;
}

.section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}

.preparing {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    padding: 48px 16px;
}

footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--muted);
}

/* 会社情報テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.company-table th {
    width: 180px;
    background: #fafafa;
    text-align: left;
    font-weight: normal;
    color: #555;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}


/* 商品ブロック */
.product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 48px;
}

/* 左右レイアウト */
.product-layout {
    display: flex;
    gap: 32px;
}

/* 左：メディア */
.product-media {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 共通メディア枠 */
.media-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

/* img / video 共通 */
.media-frame img,
.media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-box {
    background: #eee;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    border-radius: 4px;
}

/* 右：説明 */
.product-content {
    width: 55%;
}

.product-content h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.product-content p {
    font-size: 14px;
    line-height: 1.8;
}

/* フッター */
footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--muted);
}

/* 最低限レスポンシブ */
@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    aside {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .product-layout {
        flex-direction: column;
    }

    .product-media,
    .product-content {
        width: 100%;
    }
}
