/* ベーススタイル */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

h2, h3, h4 {
    color: #0073aa;
    font-weight: bold;
    margin-bottom: 10px;
}

/* フォーム全体のスタイル */
form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* フォームグループ全体 */
.form-group {
    margin-bottom: 20px;
}

/* 項目名を強調する */
.form-group > label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
margin-bottom: 15px;
}

/* 必須項目のスタイル */
.required-field {
    color: red;
    font-size: 14px;
    margin-left: 10px;
    font-weight: bold;
}

/* オプションのコンテナ */
.option-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* 各オプションアイテム */
.option-item {
    background-color: #fff;
    /* border: 1px solid #e0e0e0; */ /* ボーダーを削除 */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.option-item:hover {
    transform: translateY(-5px);
}

/* 入力要素を非表示にする */
.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    display: none;
}

/* 画像のスタイル */
.option-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    align-content: center;
}

/* ラベルのスタイル */
.option-item label {
    display: block;
    width: 100%; /* コンテナ全体をカバー */
    height: 100%;
    /*padding: 15px;*/
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 10px;
     border: none; 
}

.option-item span {
    display: block;
    font-size: 16px;
    font-weight: bold;
}

.option-item .price {
    font-size: 16px;
    color: #0073aa;
}

/* 選択状態のスタイル */
.option-item input[type="radio"]:checked + label,
.option-item input[type="checkbox"]:checked + label {
    background-color: #f0f8ff;
    border: 1px solid #0073aa; /* 選択時にボーダーを追加 */
    box-shadow: 0 0 10px rgba(0, 115, 170, 0.3);
}

/* ホバー時のスタイル */
.option-item label:hover {
    border-color: #0073aa;
}

/* 送信ボタンのスタイル */
button[type="submit"] {
    width: auto;
    padding: 15px 30px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px!important;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #005885;
}

/* 合計金額セクション */
.total-price {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    text-align: right!important; /* 右揃えに設定 */
}

/* デフォルトのスタイルをリセット */
.total-price p {
    font-size: 18px;
    margin: 5px 0;
    font-weight: normal; /* 通常の太さ */
}

/* 「合計金額: ¥110,000」と「消費税(10%): ¥11,000」を細く */
.total-price .subtotal,
.total-price .tax {
    font-weight: normal;
}

/* 「合計金額(税込): ¥121,000」を太字かつ少し大きく */
.total-price .total {
    font-weight: bold;
    font-size: 20px; /* 必要に応じてサイズを調整 */
}

/* 合計金額の数値部分を右揃えに */
.total-price p span {
    display: inline-block;
    text-align: right;
}


/* レスポンシブデザイン */
@media (max-width: 600px) {
    .option-group {
        grid-template-columns: 1fr;
    }

    .option-item label {
        padding: 10px;
    }

    .option-item img {
        height: 100px;
    }
}
.option-image {
    width: 100px;
    height: auto;
    /* 必要に応じて追加のスタイルをここに記述 */
}

.option-price {
    /* 価格表示に関するスタイルをここに記述 */
    font-weight: bold;
    color: #333;
}
.breakdown {
    text-align: right; /* 右揃えに設定 */
}

.entry-title {
    display: none;
}
/* 合計金額セクション */
.total-price {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    text-align: right; /* 右揃えに設定 */
}

.total-price p {
    font-size: 18px;
    margin: 5px 0;
    font-weight: normal; /* 通常の太さに設定 */
}

.total-price .subtotal,
.total-price .tax {
    font-weight: normal; /* 通常の太さ */
}

.total-price .total {
    font-weight: bold; /* 太字 */
    font-size: 20px;    /* フォントサイズを大きく */
}

.total-price p span {
    display: inline-block;
    text-align: right;
}

.breakdown ul {
    list-style-position: inside; /* マーカーをテキストの内側に配置 */
    padding: 0;
    text-align: right; /* リストを右揃えに設定 */
}

.breakdown ul li {
    margin-bottom: 5px;
}
