
@charset UTF-8;
.mvno_sim_step {
	background-color: white;
	border-radius: 20px;
	border: 1px solid var(--mvno-col);
	margin-bottom: 2rem;
}
html.background_black main .mvno_sim_step {
	background-color: black;
}
.mvno_sim_step:nth-child(3) {
	margin-bottom: 1rem;
}
.mvno_sim_step .wp-block-group:first-child {
	display: block;
	float: left;
}
.mvno_sim_step .wp-block-group:last-child {
	display: table-cell;
	padding: 2%;
}
.mvno_sim_step .wp-block-group h3 {
	background-color: var(--mvno-col);
	color: white;
	border-radius: 20px 0 0 0;
	text-align: center;
	width: 4em;
	padding-bottom: 0.4em;
}
.mvno_sim_step .wp-block-group__inner-container h3 strong {
	display: block;
	background-color: white;
	color: var(--mvno-col);
	border-radius: 1em;
	width: 1.8em;
	margin: 0 auto;
}
.mvno_sim_step .wp-block-group h4 {
	color: var(--mvno-col);
	font-size: 1.4em;
	clear: both;
}
.mvno_sim_step .wp-block-group .wp-block-group__inner-container strong {
	color: var(--mvno-col);
}
.sim_box {
	border: 1px solid var(--mvno-col);
	padding: 1.2em;
	background-color: var(--mvno-pale);
	margin-bottom: 2rem;
}
html.background_black main .sim_box {
	background-color:var(--mvno-pale-d);
}
.sim_box strong {
	color: var(--mvno-col);
	font-size: 1.4em;
}
ol, ul {
	margin-left: 1.5em;
}
ol {
	counter-reset: my-counter;
	list-style: none;
	margin-left: -10px;
	margin-bottom: 1rem;
}
ol li {
	padding-left: 30px;
	position: relative;
	line-height: 1.6rem;
}
ol li:before {
	content: counter(my-counter);
	counter-increment: my-counter;
	color: black;
	display: block;
	float: left;
	line-height: 1rem;
	text-align: center;
	width: 1rem;
	border-radius: 50%;
	border: 1px solid black;
	top: 0.25rem;
	position: relative;
	font-size: 0.9rem;
}
html.background_black ol li:before {
	color:white;
	border-color:white;
}
ol li em {
	border: 3px solid var(--mvno-col);
	display: block;
	text-align: center;
	box-shadow: 0 2px 0 0 var(--silver-col);
	margin: 5px auto 15px -20px;
	/* width: 30rem; */
	font-style: normal;
	padding: 1rem 0;
}
html.background_black main ol li em {
	box-shadow:0 2px 0 0 var(--dgray-col);
}
ol li em strong {
	font-size: 2em;
}
ol li em strong:first-child {
	color: black !important;
	font-size: 1.2rem;
}
ol li em strong:last-child {
	color: black !important;
	font-size: 0.9rem;
	font-weight: normal;
}
html.background_black main ol li em strong:first-child,
html.background_black main ol li em strong:last-child {
	color:white !important;
}
ol li img {
	margin: 5px auto 15px 0;
}
.mvno_sim_step:nth-child(3) ul,
.mvno_sim_step:nth-child(6) ul {
	list-style: "※ ";
}
.mvno_sim_step:nth-child(5) h4 {
	margin-bottom: 1rem;
}
.mvno_sim_step:nth-child(5) h4:last-child {
	margin-top: 1rem;
}
.mvno_sim_step:nth-child(5) ul:last-child {
	color: var(--mvno-col);
}
.mvno_sim_step .wp-block-group h5 {
	font-size: 1rem;
	color: var(--mvno-col);
	font-weight: normal;
}
.sim_qr_box {
	border: 1px solid;
	display: flex;
	/* margin: 1em 1em 1em 0; */
}
.sim_qr_box div.wp-block-group__inner-container {
	/* width: 95%;
	margin: 1em auto -0.5em; */
}
.sim_qr_box .wp-block-column:first-of-type .wp-block-group{
	padding: 2%;
}
.sim_qr_box .wp-block-column:last-of-type {
	margin-left: 0;
	display:flex;
	justify-content: center;
	align-items: center;
}

.flex_centering {
	display:flex;
	justify-content: center;
	align-items: center;
}
a.wp-block-button__link {
	word-break: keep-all;
}
a.wp-block-button__link:after {
	top:42%;
}
.sim_qr_box figure {
	/* float: right; */
	display: flex;
	justify-content: center;
	align-items: center;
}
.sim_qr_box > div.wp-block-group__inner-container > div.wp-block-group:first-child {
	display: block;
	float: left;
}
.sim_qr_box ul {
	/* margin-top: -1rem; */
}
.mvno_sim_step .wp-block-table {
	background-color: var(--mvno-pale);
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 0;
}
html.background_black .mvno_sim_step .wp-block-table {
	background-color: var(--mvno-pale-d);
}
.mvno_sim_step td {
	padding: 3%;
}
.mvno_sim_step table tr:first-child td {
	border-bottom: 1px solid var(--gray-col);
}
.mvno_sim_step table tr td:first-child {
	border-right: 1px solid var(--gray-col);
}
.mvno_sim_step table tr td:last-child,
.mvno_sim_step:nth-child(6) ul {
	color: var(--mvno-col);
}
.sim_attention {
	background-color: white;
	border-radius: 20px;
	padding: 20px;
}
html.background_black main .sim_attention{
	background-color:black;
}
main div.main_content .sim_attention h3.title_right_line {
	margin-top: 0;
	margin-bottom: 0;
}
.sim_attention h4 {
	color: var(--mvno-col);
	font-size: 1.2rem;
	padding: 10px 0;
}
.sim_attention h4 strong {
	border: 2px solid var(--mvno-col);
	border-radius: 1em;
	padding: 0 0.1em;
	margin-right: 0.5em;
	font-family: Impact;
}
.sim_attention h4 em {
	font-style: normal;
}
.sim_attention figure table {
	margin: 10px 0;
}
.sim_attention figure table td {
	border: 1px solid black;
}
html.background_black main .sim_attention figure table td  {
	background-color:white;
}
.sim_attention figure table td strong {
	float: left;
	color: white;
	background-color: black;
	position: absolute;
}
html.background_black main .sim_attention figure table td strong {
	color:black;
	background-color:white;
	border-right:2px solid black;
	border-bottom:2px solid black;
}

.sim_attention figure table td img {
	margin: 5px 0 0 5px;
}

@media screen and (min-width: 961px) {
	ol li:before {
		margin-left: -1.5em;
	}
	
	.sim_qr_box .wp-block-column:first-of-type {
		flex-grow:2;
		display:flex;
		justify-content: center;
		align-items: center;
	}
	.sim_qr_box figure {
		margin:1em 0;
	}
	.sim_attention figure table td strong {
		padding: 0.5rem;
	}
	
}

@media screen and (max-width: 960px){
	ol li:before {
		margin-left: -1em;
	}

	.mvno_sim_step .wp-block-group:last-child {
		display: block;
	}
	ol li em {
		width: auto;
	}
	ol li img {
		/* width: calc(100vw - (26px + 2.4em)) !important; */
		max-width:100%;
		height: auto;
		/* margin-left: -1.2rem; */
	}
	.sim_qr_box .wp-block-column {
		margin-top: 0;
	}
	.sim_qr_box div.wp-block-buttons {
		justify-content: center;
	}
	a.wp-block-button__link {
		display: block;
		width: 14em;
		height: auto;
		margin: 0 auto 1em;
		padding-left:10%;
		padding-right:10%;
		justify-content: center;
	}
	a.wp-block-button__link::after {
		top: 40%;
		right:0.5em;
	}
	.sim_qr_box .wp-block-group {
		width:100%;
	}
	.sim_qr_box figure {
		float: none;
		text-align: center;
	}
	.sim_qr_box div.wp-block-button {
		width:100%;
	}
	.sim_qr_box a.wp-block-button__link {
		width:auto;
	}
	
	.wp-block-column {
		margin-top: 1rem;
	}
	.sim_attention figure table td img {
		width: calc(100vw - (36px + 2.4em)) !important;
		height: auto;
	}
	.sim_attention figure table td strong {
		position: inherit;
	}
}
