@charset "utf-8";

body {
	/*ゴシック*/
	font-family: "Hiragino Kaku Gothic Pro",Meiryo, "MS PGothic", sans-serif;
	font-size:14px;
}

#wrapper {
	width: 950px;
	margin: 0 auto;
	padding-bottom: 50px;
}

header {
	position: relative;
}
header h1 {
	position: absolute;
	top: 0;
	width: 100%;
	text-align: center;
}

article {
	position: relative;
}

#question {
	margin: 25px 0 50px;
}
#question .box {
	background: #F2F2F2;
	border-radius: 10px;
}
#question .box h5 {
	margin-bottom: 15px;
	text-align: center;
}
#question .box h5 img {
	padding-bottom: 5px;
	border-bottom: 2px solid #171C61;
}
#question .box p {
	text-align: center;
}
#question .long {
	position: relative;
	background-image: url(../images/bg_question01.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-bottom: 13px;
	padding: 65px 0 25px 44px;
}
#question .long > img {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
#question .long .text {
	width: 360px;
}
#question .long .text span {
	color: #171C61;
	font-size: 32px;
	font-weight: bold;
}

#question .flex_box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
#question .left,
#question .right {
	padding: 23px 0;
}
#question .left {
	margin-right: 13px;
    padding-right: 34px;
    padding-left: 38px;
	text-align: center;
}
#question .right {
	padding-right: 22px;
	padding-left: 17px;
}

#question .left p,
#question .right p {
	margin-bottom: 10px;
}

#tabs h3,
#plan h3 {
	margin-bottom: 30px;
	color: #171C61;
	font-size: 32px;
	font-weight: bold;
	text-align: center;
}
#tabs h3 span,
#plan h3 span {
	border-bottom: 2px solid #171C61;
}


.tab-wrap {
	transition: 0.3s box-shadow ease;
	border-radius: 6px;
	max-width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	list-style: none;
	background-color: #fff;
	margin: 40px 0;
}

.tab {
  display: none;
}
.tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s -webkit-transform ease;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  transition: 0.5s opacity ease-in, 0.8s transform ease, 0.8s -webkit-transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  text-shadow: 0 0 0;
}
.tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s -webkit-transform ease;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  transition: 0.5s opacity ease-in, 0.8s transform ease, 0.8s -webkit-transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  text-shadow: 0 0 0;
}
.tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s -webkit-transform ease;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  transition: 0.5s opacity ease-in, 0.8s transform ease, 0.8s -webkit-transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  text-shadow: 0 0 0;
}
.tab:first-of-type:not(:last-of-type) + label {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.tab:not(:first-of-type):not(:last-of-type) + label {
  border-radius: 0;
}
.tab:last-of-type:not(:first-of-type) + label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.tab:checked + label {
  cursor: default;
}
.tab:checked + label:hover {
	opacity: 1;
}
.tab + label {
	background-repeat: no-repeat;
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: #333;
	flex-grow: 3;
	text-align: center;
	transition: 0.3s background-color ease, 0.3s box-shadow ease;
	height: 45px;
	box-sizing: border-box;
	padding: 12px 0;
	text-indent: -9999px;
}
.tab + label:hover {
	opacity: 0.8;
}
#tab1 + label {
	background-image: url(../images/tab01.png);
	width: 265px;
	margin-left: 17px;
}
#tab1:checked + label {
	background-image: url(../images/tab01_o.png);
}
#tab2 + label {
	background-image: url(../images/tab02.png);
	width: 265px;
}
#tab2:checked  + label {
	background-image: url(../images/tab02_o.png);
}
#tab3 + label {
	background-image: url(../images/tab03.png);
	width: 386px;
	margin-right: 17px;
}
#tab3:checked  + label {
	background-image: url(../images/tab03_o.png);
}
.tab__content {
	padding: 35px 35px 35px 30px;
	background-color: transparent;
	position: absolute;
	width: 100%;
	z-index: -1;
	opacity: 0;
	left: 0;
	-webkit-transform: translateY(-3px);
		  transform: translateY(-3px);
	border-radius: 10px;
	border: 1px solid #182982;
}

.tab__content h4 {
	position: relative;
	margin-bottom: 24px;
	padding: 6px 0 23px 16px;
	border-bottom: 1px solid #231815;
	color: #182982;
	font-size: 28px;
	font-weight: bold;
	line-height: 100%;
}
.tab__content h4 span {
	position: absolute;
	top: -6px;
	right: 5px;
}
.tab__content h4::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 7px;
/*  height: -webkit-calc(100% - 1em);*/
/*  height: calc(100% - 1em);*/
	height: 38px;
  background-color: #182982;
}

.price_plan {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 60px;
}
.price_plan li:nth-of-type(odd) {
	margin-right: 25px;
	padding-right: 25px;
	border-right: 1px dashed #231815;
}
.price_plan li h5 {
	margin-bottom: 25px;
	font-size: 28px;
	font-weight: bold;
	line-height: 120%;
	text-align: center;
}
.price_plan li h6.attention {
	color: #BE0D23;
	font-weight: bold;
}
.price_plan li:nth-of-type(odd) h5 {
	color: #171C61;
}
.price_plan li:nth-of-type(even) h5 {
	color: #BE0D23;
}
.price_plan li img {
	margin-bottom: 20px;
}
.price_plan li p {
	margin-bottom: 20px;
}
.price_plan li p:last-of-type {
	margin-bottom: 0;
}

.btn_country_list {
	margin-top: 20px;
	text-align: right;
}

.receive {
	text-align: center;
}
.receive h5 {
	display: inline-block;
	margin-top: 55px;
	border-bottom: 2px solid #171C61;
	color: #171C61;
	font-size: 28px;
	font-weight: bold;
	line-height: 120%;
}
.receive p {
	margin: 24px 0 20px;
}

.support {
	width: 830px;
	margin: 0 auto;
	text-align: center;
}
.support .right {
	float: right;
	margin: 13px 19px 0 0;
}
.support h5 {
	display: inline-block;
	border-bottom: 2px solid #171C61;
	color: #171C61;
	font-size: 28px;
	font-weight: bold;
	line-height: 120%;
}
.support p {
	margin: 15px 0 20px;
}

.option {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.option li {
	position: relative;
	padding-bottom: 65px;
}
.option li:nth-of-type(2) {
	padding-right: 20px;
	padding-left: 20px;
	border-right: 1px dashed #231815;
	border-left: 1px dashed #231815;
	margin: 0 20px;
}
.option li:last-of-type {
	border-right: none;
}
.option li p {
	margin-top: 15px;
}
.option .btn_detail {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	margin: auto;
	text-align: center;
}



#plan ul {
	text-align: center;
}
#plan li {
	display: inline-block;
	vertical-align: top;
}

#special {
	position: relative;
	background-image: url(../images/bg_special.png);
	background-repeat: no-repeat;
	width: 695px;
	margin: 50px auto 10px;
	padding: 80px 0 55px;
	text-align: center;
}
#special h3 {
	position: absolute;
	top: -30px;
	right: 0;
	left: 0;
	margin: 0 auto;
}
#special ul {
	margin: 22px 0;
}
#special li {
	margin-bottom: 5px;
}
#special p {
	margin-top: 10px;
}

.btn_application {
	text-align: center;
	font-size: 12px;
}

.btn_pagetop {
	position: fixed;
	bottom: 15px;
	width: 950px;
	text-align: right;
	z-index: 100;
}

footer {
	background: #EBEBEA;
	padding: 40px 0;
	text-align: center;
}
footer h5 {
	width: 660px;
	margin: 0 auto;
	padding-bottom: 2px;
	border-bottom: 1px dashed #231815;
	font-size: 17px;
	font-weight: bold;	
}
footer h6 {
	margin: 12px 0 6px;
	font-size: 15px;
	font-weight: bold;
}
footer a {
	color: #036EB2;
}