@charset "UTF-8";

/* === 基本設定 === */
:root {
    --bg-overlay: rgba(40, 30, 20, 0.85); /* 背景を暗くするセピア色のマスク */
    --text-main: #f0e6d2; /* クリーム色（文字） */
    --text-accent: #d4a05e; /* 真鍮のようなゴールド（アクセント） */
    --border-color: #8c7b6c; /* 枠線の色 */
    --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-serif);
    color: var(--text-main);
    background-image: url('img/background.jpg'); /* 画像読み込み */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* スクロールしても背景を固定 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === 背景マスク（文字を見やすくする） === */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background: radial-gradient(circle, rgba(40, 30, 20, 0.7) 20%, rgba(40, 30, 20, 0.98) 80%);
    z-index: -1;
}

/* === レイアウト共通 === */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.concept {
    font-size: 1.2rem;
    color: var(--text-accent);
    margin-top: 10px;
    letter-spacing: 0.2em;
}

footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--text-accent);
}

/* === コンテンツエリア === */
h2 {
    color: var(--text-accent);
    border-left: 5px solid var(--text-accent);
    padding-left: 15px;
    margin-bottom: 30px;
}

/* 商品グリッド */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid var(--border-color);
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s;
    border-radius: 8px;
}
.product-card h3 {
    text-align: left;
    color: var(--text-accent);
}
.product-card p {
    text-align: left;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-accent);
}

a.product-card {
    text-decoration: none; /* 下線を消す */
    color: inherit;        /* 文字色を継承する（青くしない） */
    display: block;        /* 箱としての形状を保つ */
    cursor: pointer;       /* クリックできる指マークにする */
}

/* === ステータス（金属プレート風） === */
.status {
    display: inline-block;
    padding: 5px 30px 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;

    /* 金属グラデーション：指定色 #6a502f を基準に明暗をつけています */
    background: linear-gradient(
        180deg, 
        #856843 0%,   /* 上部：光が当たって明るい */
        #6a502f 50%,  /* 中央：指定色 */
        #523d23 51%,  /* 境界：少し暗くしてエッジを立てる */
        #6a502f 100%  /* 下部：照り返し */
    );

    /* プレート感を出す装飾 */
    border: 1px solid #42301b; /* 濃い枠線 */
    border-radius: 3px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15), /* 上端のハイライト */
        0 2px 4px rgba(0, 0, 0, 0.4);            /* 全体の影 */

    /* 文字色（背景が濃いので明るいクリーム色に変更し、刻印風の影を追加） */
    color: #f0e6d2;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

/* テーブル（特商法用） */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.legal-table th, .legal-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
}

.legal-table th {
    width: 30%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-accent);
}

/* フォーム */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-accent);
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-serif);
    box-sizing: border-box;
}

button {
    background: var(--text-accent);
    color: #2b2015;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-family: var(--font-serif);
    cursor: pointer;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.8;
}

.cell-flex {
  display: flex;          /* <td>をFlexコンテナとして設定 */
  align-items: center;  /* 中の要素（画像とテキスト）を垂直方向の中央に揃える */
}

.cell-flex img {
  margin-right: 20px; /* 例: 8pxの右余白 */
}

.cell-flex a {
    color: inherit;
    display: block;
    cursor: pointer;
}