/* 共通コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ヘッダー */
.consult-header {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fffaf0;
    /* 爽やかな薄緑系 */
}

.category-tag {
    display: block;
    color: #5B744C;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.page-header h1 {
    font-size: 2.2rem;
    color: #5B744C;
    font-weight: bold;
}

/* 導入テキスト */
.detail-subtitle {
    color: #655d55;
    font-weight: bold;
}

.detail-description {
    color: #5A544E;
    font-size: 1.1rem;
}

/* アイコン画像 */
.detail-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.detail-icon img {
    max-height: 100%;
    width: auto;
}

/* カード */
.service-detail-card {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    height: 100%;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

/* ボタンを囲むブロック（少し余白を作る） */
.option-link-wrapper {
    margin: 10px 0 15px;
}

/* ミニボタンのデザイン */
.btn-mini-link {
    display: inline-block;
    background-color: #fff;
    color: #5B744C;
    border: 1px solid #B2C2A2;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ホバーした時の動き */
.btn-mini-link:hover {
    background-color: #f9fbf8;
    border-color: #5B744C;
    transform: translateX(5px);
    /* 少し右に動いて「次へ」感を出す */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

/* テーブル */
.custom-table th,
.custom-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
}

/* ボタン（ホバー機能付き） */
.btn-submit {
    display: inline-block;
    background-color: #5B744C;
    color: #fff !important;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #6d855d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 116, 76, 0.3);
}

/* 余白調整 */
.py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
    .page-header {
        height: 250px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}