/*---------------------------------------------
  service
---------------------------------------------*/

/*#service h3 {
	width:55%;
	margin:0 auto 64px;
}


@media screen and (max-width: 767px) {
	
#service h3 {
	width:75%;
}

}*/

/*---------------------------------------------
  service-miyako
---------------------------------------------*/

.top-key-visual.service-main {
  background:  linear-gradient(-60deg,rgba(198, 198, 199, 1) 0%, rgba(218, 218, 218, 1) 21%, rgba(246, 246, 246, 1) 32%, rgba(198, 198, 199, 1) 42%, rgba(178, 178, 178, 1) 63%, rgba(237, 238, 238, 1) 72%, rgba(198, 198, 199, 1) 100%);
}

.service-main .scroll {
	position: absolute;
	bottom: 6px;
	left: 0;
	right: 0;
	margin: 0 auto;
	display: block;
	width: 50px;
	height: 30px;
	padding-bottom: 10px;
}

.service-main .scroll span {
	position: relative;
	display: inline-block;
	height: 30px;
}

.service-main .scroll span:after {
	content: "〉";
	font-family: "DotGothic16", sans-serif;
	font-weight: 400;
	display: inline;
	transform: rotate(90deg);
	position: absolute;
	left: 15px;
	bottom: -10px;
}

@media screen and (max-width:767px) {

	.service-main .scroll {
		bottom: 3px;
	}
}

@media screen and (max-width:440px) {

	.service-main .scroll {
		bottom: -2px;
	}
}

#service.not-login {
	margin-top: 25px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 3rem;
}

#service .service-logo {
	max-width: 397px;
	margin: 20px auto;
}

#service p {
	font-size: 16px;
	color: #222222;
}

#service h3 {
	margin: 0 auto 1.8rem;
	border-top: 1px dashed #000000;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding-left: calc((100vw - 480px) / 2);
	padding-right: calc((100vw - 480px) / 2);
	display: inline-block;
	width: 100vw;
}

#service h3 span {
	width: 330px;
	display: block;
	text-align: center;
	padding: 6px 30px 8px;
	background-color: #000000;
	color: #fff;
	font-size: 22px;
	position: relative;
	top: -1px;
	margin: auto;
}

#service #yearly,
#service #free {
	margin-bottom: 120px;
	width: 100%;
	max-width: 480px;
}

#service #yearly h3 {
	border-top-color: #ECA7C1;
}

#service #yearly h3 span {
	background-color: #ECA7C1;
}

#service #free h3 {
	border-top-color: #A0B765;
}

#service #free h3 span {
	background-color: #A0B765;
}

#service ul {
	margin-bottom: 30px;
}

#service ul li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	color: #222222;
	background-color: #fff;
	padding: 23px 15px;
}

#service #yearly ul li {
	background-color: #FEEFF5;
}

#service #free ul li {
	background-color: #F1FBD8;
}

#service ul li dt {
	font-size: 16px;
	font-weight: normal;
}

#service #yearly ul li dd {
  max-width: 280px;
}

#service ul li .icon {
	max-width: 100px;
	min-width: 100px;
	padding: 10px;
	aspect-ratio: 1 / 1;
}

#service ul li .icon img {
	max-width: 100%;
	max-height: 100%;
	min-width: 100%;
	min-height: 100%;
}

#service .attention ul li {
	display: block;
	width: 100%;
	max-width: 450px;
	padding: 0;
}

/***** btn *****/
#service .service-btn-list {
	width: 100%;
	max-width: 450px;
	margin: 0 auto 0;
	display: flex;
	max-height: 50px;
}

#service .service-btn-list a {
	display: block;
	width: 100%;
	max-width: 220px;
	height: 50px;
	background: #fff;
	color: #fff;
	border: 1px solid #fff;
	text-align: center;
	padding: 13px 0;
	border-radius: 30px;
	position: relative;
	font-size: 0.75rem;
}

#service .service-btn-list a:after {
    background-repeat: no-repeat;
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    right: 15px;
    bottom: -1px;
    top: 0;
    margin: auto;
    background-image: url(../../images/arrow_s_white.svg);
}

#service .service-btn-list a:nth-child(1) {
	background: #ECA7C1;
	border: 1px solid #ECA7C1;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
}

#service .service-btn-list a:nth-child(2) {
	background: #439650;
	border: 1px solid #439650;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
	margin-left: 10px;
}

#service .btn {
	display: block;
	width: 100%;
	max-width: 450px;
	height: 50px;
	padding: 12px 0;
	border-radius: 30px;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
	transition: .3s;
	color: #fff;
	position: relative;
}

#service .btn:after {
	background-repeat: no-repeat;
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	position: absolute;
	right: 15px;
	bottom: -1px;
	top: 0;
	margin: auto;
	background-image: url(../../images/arrow_s_white.svg)
}

@media screen and (max-width:445px) {
	#service p br {
		display: none;
	}
}

@media screen and (max-width:440px) {
	#service #yearly ul li dd {
  	max-width: 210px;
	}
}

@media screen and (max-width:412px) {
	#service .service-btn-list a {
		font-size: 0.7rem;
	}

	#service .service-btn-list a:after {
		width: 10px;
		height: 10px;
	}
}

@media screen and (min-width:768px) {

	#service .btn:hover {
		box-shadow: unset;
		transform: translateY(2px)
	}

}

#service #yearly .btn {
	background-color: #ECA7C1;
}

#service #free .btn {
	background-color: #A0B765;
}

/*------------------
  単一プラン
------------------*/

/***** plan *****/

#service.service_single .plan {
	width:100%;
	max-width:800px;
	margin:0 auto 64px;
	border-radius: 3px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

#service.service_single .plan .description {
	padding:32px 16px 0;
}

#service.service_single .plan .price {
	padding:16px;
	text-align:center;
}

#service.service_single .plan .registration a {
	padding:16px;
	border-top:solid 1px #E0E0E0;
	text-align:center;
	display:block;
}


/***** service *****/

#service.service_single .service .service_list {
	padding-bottom:16px;
}

#service.service_single .service .service_list dl {
	border-bottom:solid 1px #E0E0E0;
	padding-bottom:16px;
	margin-bottom:16px;
}

#service.service_single .service .service_list dt {
	font-size:16px;
	font-weight:normal;
	margin-bottom:0.5em;
}


/*------------------
  複数プラン
------------------*/

#service.service_multiple .lead {
	font-size: 14px;
	margin-bottom: 64px;
}

/***** plan *****/

#service.service_multiple .plan {
margin-bottom: 64px;
}

#service.service_multiple .plan ul {
	text-align:center;
	padding: 10px 0;
}

#service.service_multiple .plan li {
	padding: 32px 0 0;
	box-sizing: border-box;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
	border-radius: 3px;
}

#service.service_multiple .plan li dl  {
	margin:0 16px 32px;
}

#service.service_multiple .plan li dt  {
	margin-bottom:16px;
	font-weight: normal;
}

#service.service_multiple .plan li dt .plan_name {
	font-size:20px;
}

#service.service_multiple .plan li dd {
	text-align:left;
}

#service.service_multiple .plan li .registrations a {
	padding:16px 0;
	border-top: solid 1px #E0E0E0;
	display:block;
}


@media screen and (min-width: 768px) {

#service.service_multiple .plan ul {
display: flex;
flex-wrap: nowrap;
justify-content:center;
}

#service.service_multiple .plan li {
	margin: 0px 1.5%;
}

#service.service_multiple .plan.plan-2 li {
flex-basis: 40%;
}

#service.service_multiple .plan.plan-3 li {
flex-basis: 30%;
}

}


@media screen and (max-width: 767px) {

#service.service_multiple .plan li {
	margin-bottom:32px;
}

}


/***** service *****/

#service.service_multiple .service h5 {
	font-size:16px;
	text-align:center;
	margin-bottom:32px;
}

#service.service_multiple .service table {
	width:100%;
	border-collapse:separate;
	border-spacing: 8px 0;
}

#service.service_multiple .service th {
	text-align:center;
	border-collapse:separate;
	border-bottom:solid 1px #E0E0E0;
	padding-bottom:16px;
	font-weight:normal;
}

#service.service_multiple .service td {
	border-bottom:solid 1px #E0E0E0;
	padding:16px 0px;
}

#service.service_multiple .service th:first-child {
	position: relative;
	left: -8px;
}
#service.service_multiple .service th:last-child {
	position: relative;
	right: -8px;
}

#service.service_multiple .service tr td:nth-child(n+2) {
	text-align:center;
	/*border-left:solid 16px rgba(255,255,255,0);*/
}

#service.service_multiple .service tr td:first-child {
	position: relative;
	left: -8px;
}

#service.service_multiple .service tr td:last-child {
	position: relative;
	right: -8px;
}

#service.service_multiple .service tr td.no_service {
	color:#E0E0E0;
}

#service.service_multiple .service tr td .sub_txt {
	font-size:12px;
	margin-top:8px;
}




@media screen and (min-width: 768px) {

#service.service_multiple .service tr td:first-child {
	padding:16px;
}

	
}


@media screen and (max-width: 767px) {

#service.service_multiple .service table {
	border-spacing: 4px 0;
}

#service.service_multiple .service th {
	padding-bottom:8px;
	line-height:1.4;
}

#service.service_multiple .service th:first-child {
	left: -4px;
}
#service.service_multiple .service th:last-child {
	right: -4px;
}


#service.service_multiple .service tr td:nth-child(n+2) {
	text-align:center;
	/*border-left:solid 8px #fff;*/
	width:20%;
}

#service.service_multiple .service tr td:first-child {
	left: -4px;
}

#service.service_multiple .service tr td:last-child {
	right: -4px;
}

}





/*---------------------------------------------
  payment
---------------------------------------------*/

#payment .lead {
	font-size: 14px;
	margin-bottom: 64px;
	font-weight: 400;
}


/***** tab_menu *****/

#payment .tab_menu {
	margin-bottom: 64px;
	border-bottom: solid 1px #CBCBCB;
	height: 36px;
	overflow-y: hidden;
}

#payment .tab_scroll {
	overflow-x: scroll;
}

#payment .tab_menu ul {
	display: table;
	padding-bottom: 24px;
}

#payment .tab_menu li {
	display: table-cell;
}

#payment .tab_menu li label{
	cursor: pointer;
	margin-bottom: 0;
	padding: 0 16px 8px;
	position: relative;
	white-space: nowrap;
}

#payment .tab_menu li input:checked+label {
	color: #17AEE2;
	border-bottom: solid 2px #17AEE2;
}


/***** sub_menu *****/

#payment .sub_menu {
	margin-bottom: 64px;
}

#payment .sub_menu li {
	display: inline-block;
	margin-right: 1em;
}

#payment .sub_menu li label{
	cursor: pointer;
}
#payment .sub_menu li input:checked+label {
	color: #17AEE2;
}


/***** payment *****/

#payment .payment .payment_list h3 {
	margin-bottom: 64px;
	font-size: 20px;
}

#payment .payment .payment_list .payment_box {
	margin-bottom: 64px;
}

#payment .payment .payment_list .payment_box h4 {
	font-size: 16px;
	margin-bottom: 32px;
}

#payment .payment .payment_list .payment_box dl {
	display: flex;
	flex-direction: column;
	border-bottom: solid 1px #CBCBCB;
	margin-bottom: 16px;
	padding-bottom: 16px;
}
/*
@media screen and (min-width: 768px) {
#payment .payment .payment_list .payment_box dl {
flex-direction: row;
}

#payment .payment .payment_list .payment_box dt {
flex-basis:16%;
	font-weight: normal;
}

#payment .payment .payment_list .payment_box dd {
	flex-basis: 84%;
	margin-bottom: 0;
}
}*/


@media screen and (max-width: 767px) {

#payment .payment .payment_list .payment_box dt {
	font-weight: normal;
	margin-bottom: 8px;
}

#payment .payment .payment_list .payment_box dd {
	margin-bottom: 0;
}
}



/*---------------------------------------------
  INFO
---------------------------------------------*/

#info dl {
	margin-bottom:64px;
}

#info dt {
	font-size:24px;
	margin-bottom:16px;
}

#info dd ul, #faq dd ul {
	margin-bottom:0;
	list-style: none;
}

@media screen and (max-width:767px){
	
	#info dt {
		font-size:20px;
		line-height:1.2;
	}

}


/*------------------
  law
------------------*/

#law .law_box {
	margin-bottom:64px;
}

#law .law_box h3 {
	font-size:24px;
	line-height: 1.8;
	margin-bottom: 16px;
}

#law .law_box h4 {
	font-size:20px;
	margin-bottom: 16px;
}

#law .law_box h4 .info{
	font-size:16px;
}


#law .law_box dl {
display: flex;
flex-direction:column;
	padding:16px 0;
	border-bottom:solid 1px #E0E0E0;
	margin-bottom:0;
}

#law .law_box dd {
margin-bottom: 0;
}


/*@media screen and (min-width:768px){
#law .law_box dl {
flex-direction: row;
}

#law .law_box dt {
flex-basis: 30%;
}

#law .law_box dd {
flex-basis: 70%;
}

}*/


@media screen and (max-width:767px){

#law .law_box h4 {
	font-size:18px;
	line-height:1.2;
}

#law .law_box h3 {
	font-size:20px;
	line-height:1.2;
}

#law .law_box dt {
	margin-bottom:16px;
	font-size:16px;
}
}





/*------------------
  FAQ
------------------*/

/***** tab_menu *****/

#faq .tab_menu {
	margin-bottom: 64px;
	border-bottom: solid 1px #CBCBCB;
	height: 36px;
	overflow-y: hidden;
}

#faq .tab_scroll {
	overflow-x: scroll;
}

#faq .tab_menu ul {
	display: table;
	padding-bottom: 24px;
}

#faq .tab_menu li {
	display: table-cell;
}

#faq .tab_menu li label{
	cursor: pointer;
	margin-bottom: 0;
	padding: 0 16px 8px;
	position: relative;
	white-space: nowrap;
}
#faq .tab_menu li input:checked+label {
	color: #17AEE2;
	border-bottom: solid 2px #17AEE2;
}



/***** FAQ *****/

#faq .faq_box {
	margin-bottom:64px;
}

#faq .faq_box h3 {
	font-size:24px;
	margin-bottom:16px;
	line-height:1.8;
}

#faq .faq_box h3 i {
	margin-right:0.5em;
}

#faq .faq_box dl {
	margin-bottom:8px;
}

#faq .faq_box dt {
	padding:16px 32px 16px 16px;
	position:relative;
	cursor:pointer;
	border:solid 1px #E0E0E0;
	transition: 0.3s;
}

#faq .faq_box dt:after {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-top: 4px solid #BDBDBD;
	border-right: 4px solid #BDBDBD;
	transform: rotate(135deg);
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -5px;
	transition-property: all;
	transition-duration: .3s;
	transition-timing-function: ease-out;
	transition-delay: .1s;
}

#faq .faq_box dt.select:after {
	transform: rotate(-45deg);
}

#faq .faq_box dd {
	padding:16px;
	display:none;
	border:solid 1px #E0E0E0;
}




@media screen and (max-width:767px){

	#faq .faq_box h3 {
		font-size:20px;
		line-height:1.2;
	}

}








/*---------------------------------------------
 MESSAGE MAIL
---------------------------------------------*/

/*--------------------
 message_mail
--------------------*/

#message_mail .message_mail {
	width: 100%;
	margin: 0 auto 64px;
	border-radius: .25rem;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

#message_mail .message_mail .description {
	padding:32px 16px 0;
}

#message_mail .message_mail .description .attention {
color: #FF0004;
}

#message_mail .message_mail .price {
	padding:32px 0;
	text-align:center;
}

#message_mail .message_mail .registration {
	border-top:solid 1px #E0E0E0;
}

#message_mail .message_mail .registration a {
	text-align:center;
	display:block;
	padding:16px;
}


/*--------------------
 member
--------------------*/

#message_mail .member {
	margin-top: 128px;
}

#message_mail .member h3 {
	margin-bottom: 32px;
	font-size: 24px;
}

#message_mail .member h4 {
	margin-bottom: 32px;
	font-size: 20px;
}

/***** sample *****/

#message_mail .member .sample {
	width: 100%;
	margin: 0 auto 64px;
	padding:32px 16px;
	border-radius: .25rem;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

#message_mail .member .sample dt {
display: flex;
flex-wrap: wrap;
	border-bottom: solid 1px #E0E0E0;
	font-weight: normal;
	margin-bottom: 32px;
	padding-bottom: 8px;
}

#message_mail .member .sample dt .title {
flex-basis:80%;
}

#message_mail .member .sample dt .time {
	flex-basis: 20%;
	text-align: right;
}
#message_mail .member .sample dt .from {
flex-basis: 100%;
}

#message_mail .member .sample dt .time, #message_mail .member .sample dt .from .name {
	color: #9E9E9E;
}

#message_mail .member .sample dd img {
width: auto;
max-width: 100%;
}


/***** member_list *****/

#message_mail .member .member_list ul {
	display: flex;
	list-style: none;
	padding-left: 0;
	margin: 0 -1.5%;
}

#message_mail .member .member_list li {
	flex-basis: 22%;
	margin: 0 1.5% 32px;
}

@media screen and (max-width: 767px) {

#message_mail .member .member_list li {
	flex-basis: 30.3%;
}

}


#message_mail .member .member_list dl {
	margin-bottom: 0;
}

#message_mail .member .member_list dt {
	width: 100%;
	padding-top: 100%;
	margin-bottom: 16px;
	border-radius: 50% !important;
	height: 0;
	overflow: hidden;
	position: relative;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
	transition:opacity .3s ease;
}

#message_mail .member .member_list dt img {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	object-position: top;
	max-width: none;
	max-height: none;
	min-width: 100%;
	min-height: 100%;
}

#message_mail .member .member_list dt:hover {
	opacity: 0.8;
}

#message_mail .member .member_list dd {
	text-align: center;
}



/*---------------------------------------------
 MESSAGE MAIL GUIDE
---------------------------------------------*/

#messagemail_guide .guide .re_box {
	margin-bottom: 64px;
}

#messagemail_guide .guide .re_box h3 {
	font-size: 24px;
	margin-bottom: 20px;
}

#messagemail_guide .guide .re_box dl {
	margin-bottom: 32px;
}

#messagemail_guide .guide .re_box dt {
	font-size: 16px;
	margin-bottom: 8px;
	font-weight: bold;
}