/* ==========================================================================
   綺麗肌図鑑 - ソウル・エグゼクティブミニマリズム (style.css)
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --primary-color: #1a1a1a;
    --accent-color: #dcbfa6;
    --text-color: #4a4a4a;
    --bg-color: #fcfbfa; /* ベースの淡い生クリーム色 */
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(220,191,166,0.08);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 2.0;
    letter-spacing: 0.1em;
    padding-top: 100px;
}

/* ヘッダー：横幅いっぱいに広げてラグジュアリーに */
header {
    background-color: rgba(252, 251, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(220,191,166,0.15);
}
.header-container {
    max-width: 1400px; /* PCの大画面に合わせて広く */
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.2em;
}
nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

/* メインコンテナ：あえて枠を無くし、画面に溶け込ませる */
.container {
    max-width: 1000px; /* 窮屈にならない絶妙な広さに */
    margin: 0 auto;
    padding: 60px 40px;
}

/* タイトル */
.page-title {
    text-align: center;
    margin-bottom: 70px;
}
.page-title h1 {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 0.15em;
}
.page-title p {
    font-size: 11px;
    color: #b5b5b5;
    margin-top: 15px;
    letter-spacing: 0.3em;
}

/* メニューセクション：背景を白にして、横幅いっぱいにゆったり見せる */
.menu-section {
    background-color: var(--white);
    padding: 50px 60px; /* 内側の余白を広くして高級感を */
    border-radius: 0px; /* 直線にしてよりモードに */
    border: 1px solid rgba(220,191,166,0.2);
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}
@media (max-width: 600px) {
    .menu-section { padding: 30px 25px; }
}

.menu-section h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: 0.12em;
}

/* カード：PCでは2列、スマホでは1列に美しく自動整列 */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 750px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr); /* 横に2つ並ぶことで空間を埋める */
    }
}

/* リンクボタン */
.link-list li { margin-bottom: 16px; }
.link-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background-color: #faf9f6; /* ボタンの内側をほんのりニュアンスカラーに */
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    border-radius: 0px;
    transition: var(--transition);
    border: 1px solid transparent;
}
.link-list a:hover {
    border-color: var(--accent-color);
    background-color: var(--white);
    color: var(--primary-color);
}

/* フッター */
footer {
    background-color: #f5f3ef;
    padding: 60px 40px;
    text-align: center;
    font-size: 10px;
    color: #b5b5b5;
    letter-spacing: 0.2em;
    margin-top: 150px;
}
/* おすすめページのレスポンシブ横並び設定 */
@media (min-width: 750px) {
    div[style*="md-flex-direction: row"] {
        flex-direction: row !important;
    }
}