@charset "UTF-8";

.p-popup_content {
	padding: 0 !important;
	max-width: 550px !important;
}

.p-popup_scroll_box {
	max-height: calc(100vh - 100px);
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	position: relative;
}

.p-popup_background {
	position: relative;
}

.p-popup_box {
	padding: 30px;
}

.p-popup_box h1 {
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 15px;
}

.p-popup_box h2 {
	margin-top: 5px;
	font-size: 20px;
	font-weight: bold;
}

.p-popup_text {
	margin-top: 20px;
	font-size: 23px;
	font-weight: bold;
	text-align: center;
	line-height: 1.3em;
}

.p-popup_text strong {
	color: #f50400;
}

.p-popup_plan_box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 30px;
	text-align: center;
	position: relative;
	box-shadow: 0 0 5px #bcbcbc;
	border-radius: 20px;
}

.p-popup_plan_box.hodai_popup_02 {
	margin-top: 10px;
}

.p-popup_plan_box .plan_ttl {
	display: inline-flex;
    padding: 15px;
    width: auto;
    font-size: 25px;
    text-align: center;
    color: #fff;
    background-color: #f50400;
    white-space: nowrap;
    font-weight: bold;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	position: relative;
	border-radius: 20px 20px 0 0;
	gap: 5px;
}

.p-popup_plan_box .plan_ttl.hodai_popup_02 {
    background-color: #00a0e9;
}


.p-popup_plan_box em {
	font-size: 65%;
	font-style: normal;
	color: #333;
	z-index: 100;
}

.p-popup_plan_box.hodai_popup_02 .nengaku_plan01 em {
	font-size: 100%;
	font-style: normal;
	color: #333;
	z-index: 100;
}

.p-popup_plan_box.hodai_popup_02 .nengaku_plan01 strong {
	background: none;
}

.p-popup_plan_year {
	margin-left: 10px;
	font-size: 40px;
	font-weight: bold;
	white-space: nowrap;
}

.p-popup_plan_year_price {
	font-size: 65px;
	font-weight: bold;
	color: #f50400;
}

.p-popup_plan_tax_yen {
	font-size: 40px;
	font-weight: bold;
}

.p-popup_plan_tax_yen rt {
	font-size: 12px;
}

.p-popup_value {
	padding: 5px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	border: 1.5px #333 solid;
	border-radius: 50px;
	background-color: #ffff00;
	position: absolute;
	display: flex;
	justify-content: center;
	left: 50%;
	transform: translateX(-50%);
	width: 75%;
	gap: 3px;
}

.p-popup_value::after, .p-popup_value::before{
	border: solid transparent;
	content:'';
	height:0;
	width:0;
	pointer-events:none;
	position:absolute;
	top:100%;
	left:50%;
}

.p-popup_value::after{
	border-color: rgba(255, 255, 0, 0);
	border-top-width:8px;
	border-bottom-width:8px;
	border-left-width:6px;
	border-right-width:6px;
	margin-left: -6px;
	border-top-color:#FFFF00;
}

.p-popup_value::before{
	border-color: rgba(245, 4, 0, 0);
	border-top-width:9px;
	border-bottom-width:9px;
	border-left-width:7px;
	border-right-width:7px;
	margin-left: -7px;
	margin-top: 1px;
	border-top-color:#333;
}

.p-popup_value strong {
	font-size: 35px;
	font-weight: bold;
	color: #f50400;
}

.p-popup_select_box {
	display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 10px 0 20px;
    font-size: 30px;
    font-weight: bold;
    border: 1px #ccc solid;
    width: 100%;
    background: #fffcd9;
	border-radius: 10px;
}

.p-popup_select_count {
	width: 28%;
	position: relative;
}

.p-popup_select_course_button::after {
	content: "";
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 20px solid #333;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	pointer-events: none;
}

.p-popup_select_course {
	font-size: 20px;
	white-space: nowrap;
}

.p-popup_select_price {
	width: 100%;
	font-size: 30px;
	text-align: right;
	color: #f50400;
}

.p-popup_select_box ruby {
	font-size: 40px;
}

.p-popup_select_box rt {
	font-size: 11px;
}

.p-popup_total_box {
	padding-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.p-popup_total_price {
	margin-left: 10px;
	color: #f50400;
	font-size: 25px;
}

.p-popup_total_tax {
	font-size: 15px;
}

.p-popup_next_button,
.p-popup_select_button {
	display: block;
	margin: 0 auto;
	padding: 10px;
	width: 90%;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	border-radius: 50px;
	background-color: #f50400;
	box-shadow: 0px 5px 0px 0px #cfcfcf;
	position: relative;
}

.hodai_popup_02 .p-popup_next_button,
.hodai_popup_02 .p-popup_select_button {
	background-color: #00a0e9;
	margin: 30px auto 0;
}

.p-popup_next_button::after,
.p-popup_select_button::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	line-height: 1;
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-left: 0;
	border-bottom: 0;
	box-sizing: border-box;
	position: absolute;
	top: 44%;
	right: 40px;
	transform: translateX(-25%) rotate(45deg) translateY(-44%);
}

/* .p-popup_next_button.hodai_popup_02::before {
	content: "";
	background: url(../img/hodai/waribiki_img.png) no-repeat;
	position: absolute;
	width: 150px;
	height: 50px;
	top: -28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background-size: contain;
} */

.speechBubble {
	position: relative;
	display: inline-block;
	margin-bottom: 15px;
	padding: 5px 40px;
	border: 3px solid #00a0e9;
	border-radius: 9999px;
	background-color: #ffff00;
	text-align: left;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #00a0e9;
}

.speechBubble::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	border-style: solid;
	border-width: 15px 10px 0 10px;
	border-color: #00a0e9 transparent transparent;
	translate: -50% 100%;
}

.speechBubble::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	border-style: solid;
	border-width: 6.4px 6.4px 0 6.4px;
	border-color: #ffff00 transparent transparent;
	translate: -50% 100%;
}

.hodai_waribiki {
	position: absolute;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    top: 277px;
}

.p-popup_annotation_box {
	padding-top: 10px;
	font-size: 12px;
}

.p-popup_annotation_box.p_free_txt {
	width: 950px;
	margin: 0 auto;
}

.p-popup_annotation_box a {
	color: #30b3ff;
	text-decoration: underline;
}

.p-popup_close_button_box {
	position: fixed;
	top: 20px;
	right: 20px;
}

.p-close_button {
	display: block;
	width: 50px !important;
	height: 50px;
	border-radius: 10px;
	border: 5px #fff solid;
	background: #333;
	position: relative;
}

.p-close_button::before, .p-close_button::after{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 5px;
	height: 40px;
	background: #fff;
}

.p-close_button::before {
	transform: translate(-50%,-50%) rotate(45deg);
}

.p-close_button::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}

.p-popup_course_background {
	display: none;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	position: absolute;
	top: 0;
	bottom: 0;
}

.p-popup_course {
	padding: 30px;
	background-color: #fff;
	position: fixed;
	z-index: 1400;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 200%);
	transition: 0.5s;
}

.p-popup_course.active {
	top: 50%;
	transform: translate(-50%, -50%);
}

.p-popup_course.disabled {
	display: none;
}

.p-popup_course h1 {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.p-popup_course_select_box {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-flow: column;
	margin: 20px 0;
}

.p-popup_course_button {
	padding: 5px 10px;
	width: 100%;
	font-size: 20px;
	border: 1px #333 solid;
	border-top: none;
}

.p-popup_course_button.active {
	background-color: #ffff00;
}

.p-popup_course_button:hover {
	background-color: rgba(255, 255, 0, 0.2);
}

.p-popup_course_button.active:hover {
	background-color: #ffff00;
}

.p-popup_course_button:first-of-type {
	border-top: 1px #333 solid;
}

.p-popup_inquiry {
	color: #30b3ff;
	text-decoration: underline;
	cursor: pointer;
}

.p-popup_course_price {
	display: inline-block;
	margin-left: 20px;
	min-width: 120px;
	text-align: right;
}

.p-popup_course_price small {
	font-size: 12px;
}

.plan_01 {
    display: flex;
    align-items: baseline;
    justify-content: center;
	flex-direction: column;
	gap: 12px;
	padding: 30px;
}

.plan_price {
    display: flex;
    align-items: baseline;
	flex-direction: column;
	width: 100%;
	gap: 8px;
}

.plan_price.hodai_popup_02 em {
    text-decoration: line-through;
	font-size: 100%;
}

.plan_price.hodai_popup_02 strong {
    color: #f50400;
	background: none;
}

.plan_01 .cade_i {
	width: 60%;
	margin: 0 auto;
}

.plan_01 .txt {
	font-size: 11px;
	margin: 0 auto;
	line-height: 1.2;
}

.plan_01 .osusume_box {
    width: 100%;
}

.p-popup_value_box {
	width: 100%;
	background: #fedcdb;
    position: relative;
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.2;
    padding: 35px 0 20px;
    border-radius: 10px;
	font-weight: bold;
	z-index: -1;
}

.hodai_popup_02 .p-popup_value_box {
	background: #dbf2fc;
}

.p-popup_value_box em {
	font-size: 130%;
	color: #f50400;
	font-weight: bold;
}

/* プラスアイコン */
.icon-plus {
	color: #333;
	width: 24px;
	height: 24px;
	position: relative;
	margin: 0 auto;
}

.icon-plus:before,
.icon-plus:after {
	content: "";
	position: absolute;
	top: 12px;
	width: 30px;
    height: 5px;
	background-color: currentColor;
}

.icon-plus:after {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.osusume_icon {
	position: absolute;
    height: 50px;
	padding: 5px 15px;
	font-size: 25px;
	background: #ffff00;
	border: #f50400 3px solid;
	color: #f50400;
	font-weight: bold;
	top: -47px;
	left: 0;
	text-align: center;
	border-radius: 10px 10px 0 0;
}

.hodai_popup_02 .osusume_icon {
	position: absolute;
    height: 50px;
	padding: 5px 15px;
	font-size: 25px;
	background: #ffff00;
	border: #30b3ff 3px solid;
	color: #30b3ff;
	font-weight: bold;
	border-radius: 10px 10px 0 0;
}

.p-popup_plan_box:nth-last-of-type(2) {
    margin-top: 70px;
}

.p-popup_plan_box .plan_ttl::before {
	content: "";
	background: url(../img/hodai/hodai_ribon.png);
	width: 265px;
	height: 40px;
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 55px;
}

.nengaku_plan01 {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.nengaku_plan01 p {
	font-size: 20px;
	font-weight: bold;
}

.p-popup_plan_box strong {
	color: #f50400;
	background: #FFFF00;
	border-radius: 30px;
	padding: 3px 5px;
}

.plan_border {
	border: #ccc 0.5px solid;
	width: 100%;
	margin-top: 5px;
}

.nengaku_plan01 .goukei_tax {
	font-size: 110%;
	color: #f50400;
	text-decoration: none !important;
}

.p-popup_plan_box .plan_ttl:nth-of-type(2) {
    border-radius: 0 20px 0 0;
}

.p-popup_value_box strong {
    background: #f50400;
	color: #fff;
	border-radius: 5px;
	padding: 5px;
}

.hodai_irast {
	width: 30px;
}

.p-popup_select_course_button {
	padding-right: 40px;
	position: relative;
}

.p-popup_annotation_box li.indent {
	padding-left: 1em;
	text-indent: -1em;
}

@media only screen and (max-width: 767px) {
	.p-kouza__modal .txt.pc {
		display: none;
	}

	.plan_01 {
		padding: 15px;
	}
	.p-popup_content {
		max-height: calc(100vh) !important;
	}
	
	.p-popup_background {
		width: 100%;
		max-height: calc(100vh);
		overflow-y: scroll;
	}
	
	.p-popup_box {
		width: 100%;
		padding: 20px;
	}
	
	.p-popup_box h1 {
		font-size: calc(23 / 414 * 100vw);
	}
	
	.p-popup_box h2 {
		font-size: calc(16 / 414 * 100vw);
	}
	
	.p-popup_text {
		font-size: calc(20 / 414 * 100vw);
	}
	
	.p-popup_plan_box .plan_ttl {
		font-size: calc(22 / 414 * 100vw);
	}
	
	.p-popup_plan_year {
		font-size: calc(30 / 414 * 100vw);
	}
	
	.p-popup_plan_year_price {
		font-size: calc(60 / 414 * 100vw);
	}
	
	.p-popup_plan_tax_yen {
		font-size: calc(30 / 414 * 100vw);
	}
	
	.p-popup_plan_tax_yen rt {
		font-size: 10px;
	}
	
	.p-popup_value {
		padding: 5px 0;
		font-size: calc(15 / 414 * 100vw);
	}
	
	.p-popup_value strong {
		font-size: calc(15 / 414 * 100vw);
	}
	
	.p-popup_select_box {
		padding: 3px 10px 3px 20px;
		font-size: calc(23 / 414 * 100vw);
	}
/*	
	.p-popup_select_course_button {
		width: 40%;
	}
	
	.p-popup_select_course_button::after {
		border-left: calc(15 / 414 * 100vw) solid transparent;
		border-right: calc(15 / 414 * 100vw) solid transparent;
		border-top: calc(20 / 414 * 100vw) solid #333;
		right: 0;
	}
*/	
	.p-popup_select_course {
		font-size: calc(20 / 414 * 100vw);
	}
	
	.p-popup_select_price {
		font-size: calc(23 / 414 * 100vw);
	}
	
	.p-popup_select_box ruby {
		font-size: calc(26 / 414 * 100vw);
	}
	
	.p-popup_select_box rt {
		font-size: calc(10 / 414 * 100vw);
	}
	
	.p-popup_total_box {
		font-size: calc(20 / 414 * 100vw);
	}
	
	.p-popup_total_price {
		font-size: calc(23 / 414 * 100vw);
	}
	
	.p-popup_total_tax {
		font-size: calc(16 / 414 * 100vw);
	}

	.p-popup_next_button::after {
		width: calc(15 / 414 * 100vw);
		height: calc(15 / 414 * 100vw);
	}
	
	.p-popup_next_button {
		font-size: calc(18 / 414 * 100vw);
	}
	
	.p-popup_annotation_box {
		font-size: calc(14 / 414 * 100vw);
	}
	
	.p-popup_annotation_box.p_free_txt {
		width: 90%;
		margin: 0 auto;
	}
	
	.p-popup_course {
		width: 100%;
	}
	
	.p-popup_course h1 {
		font-size: calc(20 / 414 * 100vw);
		line-height: 1.2em;
	}

	.p-popup_value_box {
		font-size: calc(16 / 414 * 100vw);
		padding: 20px 0 15px;
	}

	.osusume_icon {
        position: absolute;
        height: 45px;
        padding: 5px 10px;
        font-size: 20px;
        background: #ffff00;
        border: #f50400 3px solid;
        color: #f50400;
        font-weight: bold;
        top: -42px;
        left: 0;
        text-align: center;
    }

	.p-popup_plan_box .plan_ttl {
		display: inline-flex;
		padding: 10px;
		width: auto;
		text-align: center;
		color: #fff;
		background-color: #f50400;
		white-space: nowrap;
		font-weight: bold;
		width: 100%;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		position: relative;
		gap: 3px;
	}
	
	.p-popup_plan_box strong {
		color: #f50400;
		background: #FFFF00;
		border-radius: 30px;
		padding: 3px 5px;
	}
	
	.p-popup_plan_box .plan_ttl::before {
	    width: 230px;
        height: 50px;
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 43px;
        z-index: 0;
    }

	.p-popup_value {
        padding: 2px 0;
        font-size: calc(13.5 / 414 * 100vw);
        align-items: center;
		width: 85%;
    }

	.hodai_irast {
		width: 25px;
	}

	.p-popup_value_box strong {
		background: #f50400;
		color: #fff;
		border-radius: 5px;
		padding: 5px;
	}

	.icon-plus:before, .icon-plus:after {
        content: "";
        position: absolute;
        top: 12px;
        width: 25px;
        height: 4px;
        background-color: currentColor;
    }
	
	.nengaku_plan01 p {
		font-size: calc(18 / 414 * 100vw);
	}

	
.hodai_waribiki {
	position: absolute;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    top: 227px;
}

.speechBubble {
	font-size: 15px;
}
/* 
.p-popup_next_button.hodai_popup_02::before {
	content: "";
	background: url(../img/hodai/waribiki_img.png) no-repeat;
	position: absolute;
	width: 130px;
	height: 50px;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background-size: contain;
} */

}

.hodai_ttl {
    max-width: 950px;
    margin: 0 auto;
}

.p-popup_plan_box:nth-last-of-type(2) {
	margin-top: 30px;
}

.p-kouza__modal2 .p-popup_box h1 {
	border-bottom: #ff9604 4px solid;
}

@media only screen and (min-width: 768px) {
/* html,
body {
	overflow-x: hidden;
} */

.p-kouza__modal2 .p-popup_box h1 {
	font-size: calc(18 / 1000 * 100vw);
	border-bottom: #ff9604 4px solid;
	width: fit-content;
	text-decoration: none;
	margin: 0 auto;
	line-height: 1.3;
}

.hom_btn {
	width: 70%;
}
}

/* 追加 */
.waribiki_img_02 {
	position: absolute;
	width: 180px;
    height: 50px;
    top: -20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background-size: contain;
}

.p-popup_next_button {
	margin-top: 10px;
}

.waribiki_img {
	position: absolute;
	width: 250px;
    height: 50px;
    top: -23px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background-size: contain;
}

@media only screen and (max-width: 767px) {
.waribiki_img {
	position: absolute;
	width: 240px;
	height: 50px;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background-size: contain;
}
}