/* server/static/css/about.css */

:root {
    --primary-color: #1a303a;  /* 深みと品格のあるダークネイビー */
    --accent-color: #d4c3a3;   /* くすみ感を持たせた上質なベージュ */
    --bg-beige: #f9f6f0;       /* 質感を感じさせるごく薄いオーガニックベージュ */
    --text-color: #1c1c1c;     /* パキッとしすぎない高級感のある黒 */
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-beige); /* 他のページと同期した薄いベージュ */
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-color);
}

/* 🌟 noteライクな中央1カラムのドキュメントカード */
.about-wrapper {
    background-color: #ffffff;
    padding: 60px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(26, 48, 58, 0.05);
    width: 90%;
    max-width: 680px; /* 読み物として視線移動が最も疲れない横幅 */
    margin: 60px auto;
    box-sizing: border-box;
}

/* 上部戻るリンク */
.about-nav-top {
    text-align: left;
    margin-bottom: 30px;
}
.text-link-back {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: color 0.2s;
}
.text-link-back:hover {
    color: var(--primary-color);
}

/* ヘッダー */
.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.about-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
}

/* キャッチコピー */
.catch-copy {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 50px;
    color: var(--primary-color);
    background: var(--bg-beige);
    padding: 25px;
    border-radius: 6px;
}

/* 各セクション文章 */
.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color); /* 🌟 水色を廃止し、上品なベージュのアンダーラインへ */
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.about-section p {
    font-size: 15px;
    color: #334155;
    margin-bottom: 1.5em;
    text-align: justify;
}

.about-section strong {
    color: var(--primary-color);
}

/* 🌟 機能リストの洗練化 */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list li {
    background-color: var(--bg-beige);
    border-left: 4px solid var(--primary-color); /* 🌟 ダークネイビーのアクセントライン */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 6px 6px 0;
}

.feature-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-color);
}

/* 下部ボタン */
.about-footer-actions {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #edf2f7;
    text-align: center;
}

.btn-submit {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background-color: #0f1e24;
}
.btn-submit:active {
    transform: scale(0.98);
}

/* ==========================================
   📱 スマホ環境用の設定（20%コンパクト縮小）
   ========================================== */
@media (max-width: 768px) {
    html {
        font-size: 13px; /* 全体を20%縮小 */
    }
    .about-wrapper {
        margin: 20px auto;
        padding: 40px 20px;
    }
    .catch-copy {
        font-size: 1.15rem;
        padding: 15px;
    }
}