@charset "utf-8";
/* CSS Document */

/* ベーススタイル（PC/タブレットを含む共通） */
body {
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    color: #333333;
    background-color: #f7f7f5;
    text-align: center;
    padding: 40px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 700px;
    width: 100%;
    padding: 40px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    box-sizing: border-box; /* パディングを幅に含める */
}

/* ヘッダーとタイトル */
h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
    color: #5d4037;
    border-bottom: 2px solid #bcaaa4;
    display: inline-block;
    padding-bottom: 5px;
}

.subtitle {
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 30px;
    color: #8d6e63;
}

/* 本文 */
p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.important-note {
    background-color: #ede7f6;
    padding: 15px;
    border-left: 5px solid #673ab7;
    margin: 30px 0;
}

.important-note strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #673ab7;
}

/* 連絡先 */
.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #cccccc;
}

.contact-info a {
    color: #5d4037;
    text-decoration: none;
    border-bottom: 1px solid #5d4037;
}

.contact-info a:hover {
    opacity: 0.7;
}

/* フッター */
footer {
    margin-top: 40px;
    font-size: 0.85em;
    color: #999999;
}


/* ============================================== */
/* スマートフォン向け最適化（画面幅 600px以下） */
/* ============================================== */
@media (max-width: 600px) {
    
    body {
        padding: 20px 10px; /* 全体の余白を調整 */
    }

    .container {
        padding: 30px 20px; /* コンテナのパディングを調整 */
    }

    h1 {
        font-size: 1.8em; /* H1の文字を小さく */
        letter-spacing: 0; /* 文字間隔を詰める */
    }

    .subtitle {
        font-size: 1.0em;
        margin-bottom: 20px;
    }

    p {
        font-size: 1.0em; /* 本文の文字を少し小さく */
    }

    .important-note {
        padding: 10px;
        margin: 20px 0;
    }

    .important-note strong {
        font-size: 1.1em;
    }

    .contact-info {
        margin-top: 20px;
        padding-top: 15px;
    }
}