/* プラン診断ツール CSS */

.plan-simulator-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', Arial, sans-serif;
}

.simulator-container {	
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.simulator-container > * {
    padding: 40px 30px;
    background: #fff;
}

.simulator-container > *:last-child {
    margin-bottom: 0;
}

.simulator-title {
    text-align: center;
    margin-bottom: 30px;
    color: #1976d2;
    font-size: 24px;
    font-weight: bold;
    padding: 20px 30px;
    margin-bottom: 0;
}

.step-wrapper {
}

.simulator-title img {
    width: 100%;
    max-width: 360px !important;
}
div#step-2 {
    border-top: 2px dotted #e3e3e3;
}

.step-section {
    margin-bottom: 0;
}

.step-header {
	position: relative;
    text-align: center;
    width: fit-content;
    margin: 0 auto 25px;
    font-size: 16px;
    background: #ffcc02;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}
.step-header-label {
    position: absolute;
    top: -13px;
    right: 0;
    left: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 61px;
    padding: 0 8px 2px;
    margin: auto;
    font-size: 12px;
    font-weight: 700;
    line-height: 125%;
    color: #0063d2;
    text-align: center;
    background: #fff;
    border: 3px solid #ffdb3a;
    border-radius: 999px;
}
.step-header:after {
    content: "";
    position: absolute;
    bottom: -7.748px;
    left: 50%;
    width: 10.392px;
    height: 9px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: #ffdb3a;
    transform: translateX(-50%);
}


.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .options-grid {
    }
}

.option {
    position: relative;
    transition: all 0.3s ease;
}

.option input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.option label {
	padding: 3px 5px;
    min-height: 50px;
    line-height: 1;
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: bold;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.option label:hover {
    border-color: #1976d2;
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.option input[type="radio"]:checked + label {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
    transform: translateY(-2px);
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
}

.option input[type="radio"]:checked + label::before {
    content: '●';
    position: absolute;
    top: 5px;
    left: 10px;
    color: white;
    font-size: 12px;
}

.option-detail {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
    line-height: 1.3;
}

.option input[type="radio"]:checked + label .option-detail {
    color: #e3f2fd;
}

/* 結果表示エリア */
.result-section {
    text-align: center;
    padding: 40px 30px;
}

.result-title {
    color: #1976d2;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.plans-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    border-radius: 15px;
    padding: 15px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
	flex: 1;
	max-width: 50%;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.4);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 0%, 
        transparent 50%, 
        rgba(255,255,255,0.1) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.plan-card:hover::before {
    transform: translateX(100%);
}

.plan-card.j-plan {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

.plan-card.j-plan:hover {
    box-shadow: 0 10px 25px rgba(67, 160, 71, 0.4);
}

.plan-card.n-plan {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
}

.plan-card.s-plan {
    background: linear-gradient(135deg, #ff7043 0%, #f4511e 100%);
}

/* カスタムプランクラス例 */
.plan-card.premium-plan {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
}

.plan-card.basic-plan {
    background: linear-gradient(135deg, #ff7043 0%, #f4511e 100%);
}

.plan-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.plan-features {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.plan-price {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    color: #e72875;
    line-height: 1;
}
.plan-wrap {
    background: #fff;
    border-radius: 15px;
    padding: 15px 10px;
}
.plan-button {
    background: #f7720f;
    color: #fff !important;
    padding: 5px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all .3s ease;
    position: relative;
    z-index: 1;
    font-size: 12px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .25);
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* モーダル */
.plan-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.plan-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.plan-modal-content {
    position: relative;
    background: white;
    max-width: 800px;
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: 15px;
    overflow-y: auto;
    z-index: 10000;
    animation: modalSlideIn 0.3s ease-out;
}

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

.plan-modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    background: #333;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
    margin: 15px 15px 0 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-modal-close:hover {
    background: #555;
    transform: rotate(90deg);
}

.plan-modal-body {
    padding: 60px 40px 40px;
    clear: both;
}

.plan-modal-placeholder {
    text-align: center;
    padding: 40px 20px;
}

.plan-modal-placeholder h2 {
    color: #1976d2;
    margin-bottom: 20px;
}

/* ローディング表示 */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 16px;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #ddd;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* エラー表示 */
.error {
    text-align: center;
    padding: 30px;
    color: #d32f2f;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 10px;
    margin: 20px 0;
}

/* アニメーション効果 */
.step-section {
    animation: slideInUp 0.5s ease-out;
}

.result-section {
    animation: fadeIn 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .simulator-container {
        margin: 0;
        padding: 15px;
    }
    .simulator-container > * {
        padding: 20px;
    }

    .step-header {
        font-size: 14px;
    }
    
    .simulator-title {
    }
    
    .step-wrapper,
    .result-section {
        padding: 0;
    }
    
    .option label {
        padding: 12px;
        min-height: 70px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-name {
        font-size: 18px;
    }
    
    .plan-price {
        font-size: 20px;
    }
    
    .plan-modal-content {
        max-width: 95%;
        margin: 2.5vh auto;
        max-height: 95vh;
    }
    
    .plan-modal-body {
        padding: 50px 20px 30px;
    }
    
    .plan-modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin: 10px 10px 0 0;
    }
}

/* FV */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

.jp-service-cards-container {
	font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
	display: flex;
	gap: 0;
	max-width: 720px;
	width: 100%;
	position: relative;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.jp-service-card {
	background: #FFFFFF;
	border-radius: 10px;
	padding: 0;
	flex: 1;
	position: relative;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .15);
	overflow: hidden;
	box-sizing: border-box;
}

.jp-service-card-left {
	margin-right: 16px;
}

.jp-service-card-header {
    background: linear-gradient(108.64deg, #1363b0 34.85%, #0080b6 62.61%);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: bold !important;
    margin: 0;
    align-items: center;
}
.jp-service-card-header p {
    margin: 0 !important;
}

.jp-service-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 10px;
	flex-shrink: 0;
}

.jp-service-icon-gas {
	background: #1976d2;
}

.jp-service-icon-electric {
	background: #FF9800;
}

.jp-service-icon-net {
	background: #4CAF50;
}

.jp-service-or-text {
	font-size: 13px;
	font-weight: 500;
	margin: 0 2px;
}

.jp-service-card-content {
	padding: 10px 20px 10px;
}

.jp-service-title {
	font-size: 15px;
	color: #424242;
	margin-bottom: 6px;
	font-weight: 500;
	line-height: 1.3;
}

.jp-service-discount-container {
	margin: 8px 0 16px 0;
}

.jp-service-discount-prefix {
	font-size: 15px;
	color: #424242;
	font-weight: 500;
	display: block;
	margin-bottom: 2px;
}

.jp-service-discount-amount {
	font-size: 38px;
	font-weight: 900;
	color: #E91E63;
	line-height: 0.9;
	letter-spacing: -0.5px;
}

.jp-service-discount-suffix {
	font-size: 15px;
	color: #424242;
	font-weight: 500;
}

.jp-service-details-link {
	color: #1976D2;
	text-decoration: none;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
}

.jp-service-plus-connector {
	position: absolute;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -50%);
	background: #0180b7;
	color: #fff;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.jp-service-card-right .jp-service-card-header {
	gap: 4px;
}

.jp-service-comparison-text {
    font-size: 15px;
    color: #424242;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 500;
}
.jp-service-comparison-text > small {
    display: block;
    font-size: 11px;
    font-weight: bold;
}

.jp-service-percentage-container {
	margin: 8px 0 8px 0;
}

.jp-service-percentage {
	font-size: 38px;
	font-weight: 900;
	color: #E91E63;
	line-height: 0.9;
	letter-spacing: -0.5px;
}

.jp-service-percentage-suffix {
	font-size: 15px;
	color: #424242;
	font-weight: 500;
}

.jp-service-small-text {
	font-size: 11px;
	color: #757575;
	margin-bottom: 14px;
	line-height: 1.2;
}

.jp-service-card-right {
}

.jp-service-card-right .jp-service-card-content {
    background: #fff;
    margin: 0;
    border-radius: 0 0 16px 16px;
    padding: 17px 20px 15px;
}

@media (max-width: 700px) {
	.jp-service-cards-container {
		flex-direction: column;
		gap: 50px;
	}

	.jp-service-card-left {
		margin-right: 0
	}

	.jp-service-plus-connector {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		margin: -65px auto -65px auto;
	}
}
.jp-service-card-content p {
    margin: 0 !important;
}

.jp-service-copy-top {
    position: relative;
    text-align: center;
    width: fit-content;
    margin: 0 auto 10px !important;
    font-size: 12px !important;
    background: #ffcc02;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}
.jp-service-copy-top:after {
    content: "";
    position: absolute;
    bottom: -7.748px;
    left: 50%;
    width: 10.392px;
    height: 9px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: #ffdb3a;
    transform: translateX(-50%);
}
.jp-service-copy-bot {
    color: #00339a;
    font-size: 22px !important;
    font-weight: bold;
    text-align: center;
    margin: 0 0 10px !important;
}
.jp-service-copy-color {
    color: #0093e6;
    font-size: 26px;
    font-weight: bold;
}