@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:300,400,500,700|Roboto:300,300i,400,400i,500,500i,700,700i&display=swap&subset=japanese');

body, a {
    font-family: Roboto,Noto Sans JP,sans-serif;
    font-weight: 500;
}

a { text-decoration: none; }

img {
    width: 100%;
}

ul {
    list-style: none;
	padding-left: 0;
}

article, footer {
    max-width: 100%;
    width: 1000px;
    margin: 0 auto;
}

ul.two-button {
    display: flex;
    justify-content: center;
}

ul.two-button li {
    padding: 50px 100px;
}

ul.two-button li img {
    width: 100%;
    max-width: 540px;
}

ul.two-button.device li {
    padding: 50px 20px;
}

ul.two-button.device li img {
    max-width: 100%;
    width: 400px;
}

header {
	margin: 0 auto 80px;
	width: 100%;
	max-width: 1000px;
	text-align: center;
	background-color: #cfdae0;
}
header > img {
	max-width: 1000px;
	height: auto;
}

header nav {
    width: 100%;
    background: #E50011;
    margin: -5px 0 0;
}

header nav ul {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
	max-width: 1000px;
}

header nav ul li {
    border-right: 2px solid #fff;
    margin: 0;
    padding: 20px;
}
header nav ul li:first-of-type {
    width: 29%;
}
header nav ul li:not(:first-of-type) {
    text-align: center;
    width: 11%;
    padding: 30px 10px;
    font-size: 18px;
}
header nav ul li:last-of-type {
	border-right: none;
}

header nav ul li a {
    color: #fff;
}

header nav ul li img{
    width: auto;
    max-width: 100%;
    max-height: 60px;
    margin-top: 1%;
}

.img-wrap {
    text-align: center;
}

.img-wrap img{
    width: auto;
    max-width: 100%;
}

.img-wrap.title1 img{
    width: 425px;
}

.img-wrap.prepration img{
    width: 240px;
}

.img-wrap.title2 img{
    width: 1200px;
    margin-top: 100px;
}

#android, #ios, #sim-free {
    text-align: center;
    font-size: 21px;
    line-height: 1.6rem;
}

.mini {
    font-size: 80%!important;
}

.red {
    color: #E50011;
}

.gray {
    color: #534F4E;
}

ul.step li {
    display: flex;
    justify-content: center;
    font-size: 21px;
    padding: 50px 0;
    border-bottom: 5px dotted #666;
}

ul.step li:last-child {
    border-bottom: 0;
}

ul.step li .left {
    width: 55%;
    text-align: left;
}
ul.step li .right {
    width: 45%;
    text-align: left;
}
ul.step li .right img{
    width: 500px;
    max-width: 100%;
}

.number {
    font-size: 36px;
    background-color: #E50011;
    color: #fff;
    width: 100px;
    display: inline-block;
    text-align: center;
    padding: 16px 0px;
}

.subtitle {
    border: 2px solid #e50011;
    font-size: 32px;
    padding: 16px 40px 12px;
    width: calc(100% - 240px);
    display: inline-block;
    color: #E50011;
}

.title {
    margin-bottom: 24px;
}

ul.step2 li {
    display: flex;
    font-size: 21px;
    padding: 50px 0;
    border-bottom: 5px dotted #666;
}

ul.step2 li:last-child {
    border-bottom: 0;
}
ul.step2 li img{
    width: auto;
    max-width: 100%;
}

.para {
    font-size: 21px;
    line-height: 2rem;
}

.step2 .para {
    padding-top: 12px;
    padding-left: 28px;
    text-align: left;
}

.blue-header a {
    padding: 36px 20px;
    font-size: 32px;
    background-color: #036EB8;
    margin: 40px auto;
    display: block;
    color: #fff;
    width: 1020px;
}

.gray-area {
    background-color: #E5E6E6;
    text-align: left;
    padding: 20px;
    display: block;
    width: 24rem;
    margin: 20px 0 0;
}

img.sim6 {
    width: 500px!important;
    height: auto!important;
    max-width: 100%;
    margin-left: 12%!important;
}

/*support*/
.support a.pdf {
	display: block;
	margin:  0 auto 90px;
	width: 310px;
	height: 52px;
	background: url("../img/support_pdf.png") no-repeat left center;
	background-size: 40px 52px;
	line-height: 52px;
	padding-left: 50px;
	font-size: 22px;
}
.support .img-wrap.title1 {
	margin-bottom: 30px;
}
.support article p {
	text-align: center;
}
.support article .flex {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}
.support article .flex .flex_left,
.support article .flex .flex_right {
	width: 48%;
}
.support article .flex .flex_left table {
	width: 100%;
	border-collapse: collapse;
	border-left: #231815 1px solid;
	border-top: #231815 1px solid;
}
.support article .flex .flex_left table th,
.support article .flex .flex_left table td {
	padding: 10px;
	border-right: #231815 1px solid;
	border-bottom: #231815 1px solid;
	text-align: center;
}
.support article .flex .flex_left table th {
	background-color: #dcdddd;
}
.support article h3 {
	color: #e60012;
	font-size: 30px;
	margin: 0 0 20px 0;
	padding: 0;
}
.support article .flex .flex_right ul {
	margin-left: 1em;
}
.support article .flex .flex_right ul li {
	list-style: disc;
	margin-bottom: 5px;
}
.support article h4 {
	color: #e60012;
	text-align: center;
	font-size: 28px;
	margin: 70px 0 30px 0;
	padding: 0;
}
.support article h4:first-child {
	margin-top: 0;
}
.frame_link a {
	display: block;
	background: url("../img/support_frame.png") center center no-repeat;
	width: 426px;
	height: 60px;
	line-height: 60px;
	margin: 0 auto;
	text-align: center;
}
.support article:last-child {
	margin-bottom: 80px;
}
.support .btn_tel {
	text-align: center;
	margin-top: 80px;
}
.support .btn_tel img {
	max-width: 760px;
	height: auto;
}
@media screen and (max-width: 767px) {
	header { margin-bottom: 30px; }
	header nav ul {
		flex-wrap: wrap;
	}
	header nav ul li:not(:first-of-type) {
    width: calc(50% - 20px);
    padding: 20px 10px;
		border-right:none;
	}
	header nav ul li:first-of-type {
    width: calc(50% - 20px);
    padding: 20px 10px;
		border-right:none;
	}
	footer {
		width: 100%;
	}
	ul.two-button {
		display: block;
	}
	ul.two-button li {
		padding: 10px;
	}
	ul.step li {
		display: block;
	}
	.content {
		padding: 0 10px;
	}
	ul.step li .left {
		width: 100%;
	}
	ul.step li .right {
		width: 100%;
	}
	.number {
		font-size: 20px;
	}
	.subtitle {
		font-size: 16px;
		width: calc(100% - 190px);
		padding: 16px 20px 12px;
	}
	.blue-header a {
		font-size: 20px;
		margin: 40px auto 0;
		width: calc(100% - 40px);
	}
	ul.step2 li {
		display: block;
	}
	.gray-area {
		width:  calc(100% - 40px);
	}
	img.sim6 {
		width: 80% !important;
		margin-left: 0 !important;
	}
	.frame_link a {
		width: 100%;
		background-size: contain;
	}
}