.section-header {
    text-align: center;
    margin-bottom: 50px; /* カードとの距離を少し広げる */
}

.section-header h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    position: relative;      /* 線を配置する基準 */
    display: inline-block;   /* 文字の幅に合わせる */
    padding-bottom: 15px;    /* 文字と線の隙間 */
    margin-bottom: 15px;
}

/* 下線の設定 */
.section-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* 中央揃え */
    width: 80px;                 /* 線の長さ */
    height: 4px;                 /* 線の太さ */
    /* 青からゴールドへのグラデーション */
    background: linear-gradient(to right, #3498db, #d4af37);
    border-radius: 2px;          /* 線の端を丸く */
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 0.95rem;
    letter-spacing: 0.05em; /* 文字間隔を少し広げて読みやすく */
}

.price-plansgrid {
    display: flex;             /* 横並びにする魔法 */
    justify-content: center;   /* 中央に寄せる */
    gap: 20px;                 /* カードごとの隙間 */
    flex-wrap: wrap;           /* スマホなどで画面が狭いときは折り返す */
    margin-top: 30px;
}

/* 2. カード自体のデザイン */
.price-planitem {
    background: #fff;
    border: 1px solid #ddd;    /* 薄い枠線 */
    border-radius: 10px;       /* 角丸 */
    width: 300px;              /* カードの幅 */
    padding: 30px 20px;        /* 内側の余白 */
    text-align: center;        /* 文字を中央揃え */
    
    /* 影をつけてカードっぽく浮かせる */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    transition: transform 0.3s; /* マウスを乗せたときのアニメーション用 */
}

/* マウスを乗せたら少し浮く演出 */
.price-planitem:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

/* 3. リストの「・」を消して綺麗にする設定 */
.price-planitem ul {
    list-style: none; /* 「・」を消す */
    padding: 0;       /* 左の余白を消す */
    margin: 20px 0;
}

.price-planitem ul li {
    border-bottom: 1px solid #eee; /* 下線で区切る */
    padding: 10px 0;               /* 行間を広げる */
    color: #555;
}

/* 最後の線だけ消す */
.price-planitem ul li:last-child {
    border-bottom: none;
}

/* プラン名の見出し */
.price-planitem h4 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}
