.cost-breakdown-container {
    width: 100%;
    max-width: 940px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.cost-breakdown-container h3 {
    text-align: center;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 900;
}

.cost-item {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px dashed #ccc;
}

.cost-item:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.item-icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 15px;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.item-description {
    margin: 5px 0;
    font-size: 0.9em;
    color: #666;
}



/* 新規追加: 金額表示のスタイル */
.item-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #dc3545; /* 赤色で目立たせる */
    margin-left: 10px;
}

/* 基本料金の行を少し強調 */
.cost-item.fixed-price {
    background-color: #e3f2fd;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 4px;
}

.total-summary {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    color: #1f4799;
    padding-top: 15px;
    line-height: 1.5;
}
.total-summary span {
    color: #dc3545;
    font-size: 1.4em;
}
.price__box {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0;
    font-size: 1.2rem;
    font-weight: 900;
}
.price__box p {
    line-height: 1.5;
}
.accordion {
    width: 100%;
    max-width: 940px;
    margin: 20px auto;

}
.accordion__summary {
    background: #333; /* アコーディオンの見出しの背景色 */
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.33rem;
    position: relative;
    display: block;
    cursor: pointer;
    padding: 20px 38px 20px 40px;
}
.accordion__summary::after {
    content: "+";
    font-size: 1.4em; /* 記号のサイズ */
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}
.accordion input:checked ~ .accordion__summary::after {
    content: "−";
}
.accordion input {
    display: none;
}
.accordion__detail {
    display: none;
    background: #fff;
    padding: 20px 20px;
    margin:0px 0px 10px 0px;
}
.accordion input:checked ~ .accordion__detail {
    display: block;
}
.accordion__text {
    margin: 0;
}
.price-sub-title {
    text-align: left;
    font-size: 1.4rem;
    margin: 20px 10px;
    font-weight: bold;
    color: #007bff;
}
.simple-pricing-table {
    width: 100%;
    border-collapse: collapse; /* 罫線を結合 */
    background-color: #fff;
}

/* ヘッダー行のスタイル */
.simple-pricing-table thead tr {
    background-color: #007bff; /* 濃い青色 */
    color: white;
    font-size: 1.1em;
    height: 50px;
}

/* セル（th, td）の共通スタイル */
.simple-pricing-table th,
.simple-pricing-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #dee2e6; /* 薄いグレーの罫線 */
}

/* 本文の行のスタイル */
.simple-pricing-table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

/* 偶数行に背景色をつけて見やすくする (ゼブラストライプ) */
.simple-pricing-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.price_button {
    /* 外観の調整 */
    display: inline-block; /* ボタンの幅をコンテンツに合わせる */
    padding: 1rem 1.3rem; /* 上下左右の余白 */
    margin: 30px 0; /* 上下のマージン（必要に応じて調整） */

    /* 角丸の設定 */
    border-radius: 50px; /* 大きめの値で角を丸くする */

    /* 色と文字の装飾 */
    background-color:#FFFFFF; /* 目立つオレンジ系の背景色 */
    color: #333; /* 文字色 */
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none; /* リンクの下線を消す */
    border: 2px solid #333;
    border-color: #333;
    cursor: pointer; /* マウスカーソルを指の形に変える */

    /* アニメーション（ホバー効果） */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* マウスオーバー時のスタイル（ホバー） */
.price_button:hover {
    background-color: #8b8b8b;
    color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影をつけて浮き上がらせる */
}



@media screen and (max-width: 768px) {
    .price-sub-title {
        text-align: center;
        font-size: 1.2rem;
        margin: 10px 10px;
        font-weight: bold;
    }

    .cost-breakdown-container {
        width: 90vw;
    }
    .price_button {
        padding: 1rem 4.3rem;
    }
    .accordion {
        width: 90vw;
        margin: 10px auto;
    }
    .accordion__summary {
        padding: 14px 38px 14px 10px;
        font-size: 1rem;
    }
    .accordion__summary::after {
        right: 14px;
    }
    .price__box {
        padding: 5px 0;
        font-size: 1.2rem;
    }
}