#hp *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.hpbox{
	font-size: 15px;
    line-height: 1.8;
	padding: 0 15px 30px;
}

.hpbox .box_title{
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    border: 3px solid #ccc;
    background: #3e3e41;
    padding: 10px;
}

.hpbox .box_toptxt{
	margin-top: 15px;
}

.table_wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.table_wrap  table{
	white-space: nowrap;
}

#hp_box_1 h4{
	font-size: 22px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    padding: 20px 0 10px;
}

#hp_box_2 dl{
	margin-top: 10px;
}

#hp_box_2 dl dt{
	color: #adeb32;
	font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

#hp_box_2 dl dd{
	font-size: 15px;
    line-height: 1.8;
	border-bottom: 1px solid #ccc;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
}

#hp_box_2 dl dd:last-child{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

#hp_box_3 table{
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

#hp_box_3 table td,
#hp_box_3 table th{
	border: 1px solid #ccc;
	padding: 6px 4px;
	line-height: 1.3;
	font-size: 14px;
}

#hp_box_3 table th{
	background: #3e3e41;
	text-align: center;
}

#hp_box_3 table tr td:first-child{
	background-color: #28282a;
}

#hp_box_3 .p1{
	margin-top: 10px;
	margin-bottom: 20px;
}

#hp_box_3 .plan_box{
	margin-bottom: 25px;
}

#hp_box_3 .plan_box h5{
	text-align: center;
	font-size: 20px;
    line-height: 1.4;
    font-weight: bold;
	border-bottom: 1px solid #ccc;
	padding-bottom: 8px;
	margin-bottom: 10px;
}

#hp_box_3 .plan_box .plan-container{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 10px;
}

#hp_box_3 .plan_box .plan-card{
	flex: 1;
	min-width: 300px;
	background: #28282a;
	border: 1px solid #3e3e41;
	border-radius: 8px;
	padding: 15px;
}

#hp_box_3 .plan_box .plan-card h6{
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ccc;
}

#hp_box_3 .plan_box .plan-desc{
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 10px;
}

#hp_box_3 .plan_box .plan-spec{
	margin-bottom: 15px;
}

#hp_box_3 .plan_box .plan-spec .spec-row{
	display: flex;
	align-items: center;
}

#hp_box_3 .plan_box .plan-spec .spec-row:last-child{
	margin-bottom: 0;
}

#hp_box_3 .plan_box .plan-spec dt{
	font-size: 13px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	flex: 0 0 90px;
}

#hp_box_3 .plan_box .plan-spec dd{
	font-size: 15px;
	margin: 0;
	padding: 0 0 0 10px;
	flex: 1;
}

#hp_box_3 .plan_box .plan-link{
	text-align: center;
}

#hp_box_3 .plan_box .plan-link a{
	display: inline-block;
	transition: background-color 0.3s ease;
}

#hp_box_3 .plan_box .plan-link a:hover{
	opacity: 0.7;
}

#hp_box_3 .plan_box .plan-link a img{
	width: 100%;
	max-width: 380px;
	height: auto;
	display: block;
	margin: 0 auto;
}


#hp_box_3 .p2{
	text-align: center;
	margin-bottom: 20px;
}

#hp_box_4 .resu_list{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 10px 0 20px;
	padding: 0;
	list-style: none;
}

#hp_box_4 .resu_list li{
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hp_box_4 .resu_list li:hover{
	transform: translateY(-5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#hp_box_4 .resu_list li img{
	width: 100%;
	height: auto;
	aspect-ratio: 750/450;
	object-fit: cover;
	display: block;
}

#hp_box_4 .more_link{
	text-align: center;
}

#hp_box_4 .more_link a{
	display: inline-block;
	background: #ff3399;
	color: #fff;
	text-decoration: none;
	padding: 4px 24px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

#hp_box_4 .more_link a:hover{
	opacity: 0.7;
}


/* タブレット・スマホ表示調整 */
@media (max-width: 768px) {
	#hp_box_4 .resu_list{
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

@media (max-width: 480px) {
	#hp_box_4 .resu_list{
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* FAQ styling */
#hp_box_5 .faq_item h5{
	text-align: center;
    font-size: 17px;
    line-height: 1.3;
	font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    margin-bottom: 10px;
	margin-top: 10px;
}

#hp_box_5 .faq_section{
	margin-bottom: 20px;
}

#hp_box_5 .faq_details{
	border: 1px solid #3e3e41;
	margin-bottom: 8px;
}

#hp_box_5 .faq_question{
	font-size: 16px;
	padding: 5px;
	cursor: pointer;
	background: #3e3e41;
	border: none;
	list-style: none;
}

#hp_box_5 .faq_question::-webkit-details-marker{
	display: none;
}

#hp_box_5 .faq_question::marker{
	display: none;
}

#hp_box_5 .faq_question::before{
	content: "Q. ";
}

#hp_box_5 .faq_answer{
	padding: 12px;
	background: #28282a;
	border-top: 1px solid #3e3e41;
}

#hp_box_5 .faq_answer p{
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

#hp_box_5 .faq_answer p::before{
	content: "A. ";
}

/* Contact Section styling */
#hp_box_6 .contact_section{
	margin-top: 8px;
	margin-bottom: 20px;
}

#hp_box_6 .contact_section h5{
	font-size: 17px;
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid #ccc;
	padding-bottom: 6px;
	margin-bottom: 15px;
}

#hp_box_6 .contact_info{
	background: #28282a;
	border-radius: 8px;
	padding: 12px;
	border: 1px solid #3e3e41;
}

#hp_box_6 .contact_item{
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #3e3e41;
}

#hp_box_6 .contact_item:last-child{
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

#hp_box_6 .contact_label{
	flex: 0 0 80px;
	color: #fff;
	font-size: 14px;
}

#hp_box_6 .contact_link{
	color: #ff3399;
	text-decoration: none;
	font-size: 15px;
	transition: opacity 0.3s ease;
	font-weight: bold;
}

#hp_box_6 .contact_link:hover{
	opacity: 0.7;
}

#hp_box_6 .line_link{
	background: #00C300;
	color: #fff !important;
	padding: 0 16px;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
}

#hp_box_6 .plan_contact_item{
	background: #28282a;
	border: 1px solid #3e3e41;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 15px;
}

#hp_box_6 .plan_contact_item:last-child{
	margin-bottom: 0;
}

#hp_box_6 .plan_contact_item h6{
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #ccc;
	color: #fff;
}

#hp_box_6 .plan_links{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#hp_box_6 .plan_links li{
	flex: 1;
	min-width: 120px;
}

#hp_box_6 .plan_links a{
	display: block;
	text-align: center;
	padding: 5px 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
	background: #3e3e41;
}

#hp_box_6 .plan_links a:hover{
	background: #555;
}

#hp_box_6 .plan_links .appli_link{
	background: #ff3399 !important;
	border-color: #ff3399 !important;
	font-weight: bold;
}

#hp_box_6 .plan_links .appli_link:hover{
	opacity: 0.8;
	background: #ff3399 !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	#hp_box_6 .contact_item{
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	#hp_box_6 .contact_label{
		flex: none;
	}
	
	#hp_box_6 .plan_links{
		flex-direction: column;
	}
	
	#hp_box_6 .plan_links li{
		flex: none;
		min-width: auto;
	}
}