/* === Final Design CSS === */
.final-kv-image img {
    width: 100%;
    height: auto;
	margin: 0 0 20px !important;
}

.final-intro-headline {
    font-size: 16px;
    font-weight: bold;
	margin: 0 0 10px !important;
}

.final-points-section {
    border: 2px solid #e7e7e7;
    border-radius: 3px;
    box-shadow: 0 7px 3px -5px rgb(0 0 0 / 5%);
	margin: 0 0 20px;
}

.final-points-title {
    font-weight: bold;
    padding: 10px 0 0 20px;
    margin: 0 !important;
}

.final-points-list {
    padding: 10px 15px 15px;
    margin: 0 !important;
}

.final-points-list li {
    padding: 0 0 0 20px;
    position: relative;
}

.final-points-list li::marker {
    content: none;
}
.final-points-list li:last-child {
    margin-bottom: 0;
}

.final-points-list li::before {
    content: '✓';
    color: #5cb85c;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.final-campaign-button-wrap {
    text-align: center;
	width: 48%;
	margin: 0 auto;
}

.final-campaign-banner {
    width: fit-content;
	color: #e73131 !important;
    font-size: 14px !important;
    font-weight: bold;
    margin: 0 auto 3px !important;
}
.final-campaign-banner:before {
	content: "＼";
    font-size: 10px;
}
.final-campaign-banner:after {
	content: "／";
    font-size: 10px;
}

.final-campaign-button-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: self-end;
    gap: 20px;
	margin: 30px auto 30px;
}
.final-campaign-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f5ab37;
    border: 1px solid #f5ab37;
    border-bottom: 3px solid #b1781f;
    border-radius: 30px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 0 auto;
    padding: 15px 30px;
    cursor: pointer;
}
.final-campaign-button:hover {
    background: #fff;
    border: 1px solid #f5ab37;
    border-bottom: 3px solid #b1781f;
    color: #f5ab37 !important;
    transition: .2s;
}
.final-campaign-button:after {
    content: none !important;
}
.final-description-block {
    line-height: 1.8;
    margin-bottom: 40px;
}
.final-description-block p {
    margin-bottom: 1.5em;
}

.final-section-wrap {
    margin-bottom: 20px;
}

.final-section-title {
    font-weight: bold;
    margin: 0 0 10px 0;
    padding-left: 10px;
    border-left: 5px solid #1363b0;
    margin-bottom: 10px !important;
}

.final-info-table {
	width: 100% !important;
    border-collapse: collapse;
    border: 1px solid #ccc !important;
}
.final-info-table th,
.final-info-table td {
    border: 1px solid #ccc !important;
    padding: 15px;
	font-size: 14px !important;
    text-align: left;
}
.final-info-table th {
    width: 20% !important;
    background: #eaeaea !important;
	vertical-align: top;
}

.final-reviews-scroller {
}
.final-reviews-list {
    overflow: scroll;
    max-height: 400px;
}
.final-review-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	font-size: 14px;
    line-height: 1.7;
	margin: 0 0 20px;
}

.final-notes {
    text-align: left;
    font-size: 12px !important;
    color: #666;
    line-height: 1.3 !important;
    padding-top: 20px;
}

@media (width < 600px) {
	.final-info-table td br {
		display: none;
	}
	.final-campaign-button-wrap {
		width: 100%;
	}
}

/* === タブUI用のスタイル === */
.gcd-tab-container {
    margin: 30px 0;
}

.gcd-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
}

.gcd-tab-button {
    flex: 1;
    padding: 10px 5px;
    background: #efefef;
    border: none;
    border: 1px solid #eee;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gcd-tab-button:hover {
    background: #f0f0f0;
    color: #333;
}

.gcd-tab-button.active {
    background: #ffffff;
    color: #1363b0;
    border-bottom-color: #1363b0;
}
button.gcd-tab-button:nth-child(1) {
    border-top-left-radius: 10px;
}

.gcd-tab-content-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
}
button.gcd-tab-button:nth-child(3) {
    border-top-right-radius: 10px;
}

.gcd-tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.gcd-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gcd-tab-section {
    margin-bottom: 20px;
}

.gcd-tab-section:last-child {
    margin-bottom: 0;
}

.gcd-tab-section .final-section-title {
    margin-top: 0;
}

@media (max-width: 600px) {
    .gcd-tab-button {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .gcd-tab-content {
        padding: 15px;
    }
}

/* === 口コミテーブル用のスタイル === */
.final-review-table {
    background: #fff;
}

.final-review-info-table {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.final-review-info-table th,
.final-review-info-table td {
    padding: 8px 10px;
    font-size: 13px !important;
    text-align: left;
    border-bottom: 1px solid #f0f0f0 !important;
	border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.final-review-info-table th {
    width: 35% !important;
    background: #f9f9f9 !important;
    font-weight: 600;
    vertical-align: top;
}

.final-review-info-table tr:last-child th,
.final-review-info-table tr:last-child td {
    border-bottom: none !important;
}

.final-review-comment {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 10px;
}

/* === リスト表示 (view="list") 用のスタイル - テーブル比較デザイン === */
.compare-table-horizontal {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.compare-table-horizontal th,
.compare-table-horizontal td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left; /* ラベルは左寄せ、データは中央寄せなどに調整可能 */
    vertical-align: top;
}

.compare-table-horizontal th.compare-label-header {
    background-color: #f2f2f2;
    width: 150px; /* ラベル列の幅を固定 */
    font-weight: bold;
    text-align: center;
}

.compare-table-horizontal td.compare-data-cell {
    text-align: center; /* データセルは中央寄せが一般的 */
}

.compare-img {
    max-width: 100px; /* 画像の最大幅 */
    height: auto;
    display: block;
    margin: 0 auto 10px; /* 画像とサービス名の間に余白 */
}

.compare-service-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.compare-detail-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa; /* ボタンの色 */
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.compare-detail-btn:hover {
    background-color: #005177;
}