@charset "utf-8";

/*
@media screen and (max-width: 599px){} phone-only
@media screen and (min-width: 600px){} tablet-portrait-up
@media screen and (min-width: 900px){} tablet-landscape-up
@media screen and (min-width: 1200px){} desktop-up
@media screen and (min-width: 1800px){} big-desktop-up
*/

@font-face {
	font-family: number;
	src: local('Helvetica');
	unicode-range: U+0021-003F;
}

:root {
	--key-font-color:#333;
	--key-font-link-color:#666;
	--key-font-hover-color:#CAA846;
	--key-font-reverse-color:#fff;
	--form-key-color:#990000;
	--common-font-sans-serif:-apple-system, BlinkMacSystemFont,'Helvetica', sans-serif;
	--common-font-serif:number,'Sorts Mill Goudy', 'Noto Serif JP', "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	--form-common-fontsize:1.0rem;
	--common-blankspace:calc(100vw*0.1);
	--common-margin:calc(20px/2);
	--common-margin-x2:calc(40px/2);
	--common-margin-x3:calc(60px/2);
	--common-margin-x4:calc(80px/2);
	--common-margin-x5:calc(100px/2);
}

@media screen and (min-width: 900px){
	:root {
		--common-margin:20px;
		--common-margin-x2:40px;
		--common-margin-x3:60px;
		--common-margin-x4:80px;
		--common-margin-x5:100px;
	}
}

/*
var(--key-******)
calc(var(--common-******) * 1.5)
*/

@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 100; }
@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 200; }
@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 300; }
@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 400; }
@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Bold"); font-weight: bold; }
@font-face { font-family: "Helvetica Neue"; src: local("Helvetica Neue Regular"); font-weight: 100; }
@font-face { font-family: "Helvetica Neue"; src: local("Helvetica Neue Regular"); font-weight: 200; }

*{ margin:0; 	padding:0; 	border:0; }
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
html,body { height: 100%; }
html { font-size: 62.5%; }
body{ width:100%; font-family:YakuHanJP_Narrow, -apple-system, BlinkMacSystemFont,'Helvetica Neue',"游ゴシック", YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN", sans-serif; font-size:16px; font-size:1.6rem; line-height:1.6; color: var(--key-font-color); background-color:#fff; position: relative; left: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "palt" 1, "trad" 0;border-top: solid 2px #990000;}
.font-serif{ font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; }

.wrap{
	padding: 0 0 100px;
}

.header{
	margin: 0;
	padding: 50px 1.0rem;
	text-align: center;
}
.header h1,
.header h2{
	margin: 0 0 20px;
	padding: 0;
}
.header h1{ font-size:2em; }
.header h2{ font-size:1.5em; }
.header p{
	margin: 0;
	padding: 0;
}

/*  */

h1{font-size:2.4rem;}
h2{font-size:1.8rem;}
h3{font-size:1.4rem;}
h4{font-size:1.4rem;}
h5{font-size:1.2rem;}
h6{font-size:1.2rem;}

@media screen and (min-width: 768px){
	h1{font-size:3.6rem;}
	h2{font-size:3.0rem;}
	h3{font-size:2.4rem;}
	h4{font-size:1.8rem;}
	h5{font-size:1.4rem;}
	h6{font-size:1.2rem;}
}

h1,h2,h3,h4,h5,h6{
	text-align: center;
	margin-block: calc((1em - 1lh) / 2);
}

.red{ color: #FF0000; }

/*  */

a{ 	outline:none; 	-webkit-transition: all 0.3s ease; 	-moz-transition: all 0.3s ease; 	-o-transition: all 0.3s ease; 	transition: all  0.3s ease; }

a:link{color: var(--key-font-link-color);}
a:visited{color: var(--key-font-link-color);}
a:hover{color: var(--key-font-hover-color);}
a:active{color: var(--key-font-hover-color);}

::selection { background:var(--key-font-color); color:var(--key-font-reverse-color); text-shadow: none; }
::-moz-selection { background:var(--key-font-color); color:var(--key-font-reverse-color); text-shadow: none; }

a:link,a:visited,a:active{text-decoration:none;}
a:hover, a:active { outline: 0; text-decoration: underline; cursor: pointer;}
a:focus { outline:none; }
a img{border:none;text-decoration:none;}

a.fit { display: block; width: 100%; height: 100%; }

/* */

.img-responsive { width: 100%; max-width: 100%; height: auto;}
.img-responsive-overwrite { margin: 0 auto; }

figure { -webkit-margin-before: 0 !important; 	-webkit-margin-after: 0 !important; 	-webkit-margin-start: 0 !important; 	-webkit-margin-end: 0 !important; }

/* */

.simulator-wrap{
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	padding: 25px;
	background-image: repeating-linear-gradient(135deg, #ff7f31, #ff7f31 10px, #ff8b46 10px, #ff8b46 20px);
}
.simulator-wrap > section{
	width: 100%;
	margin: 0 auto;
	padding: 25px;
	background-color: #FFF;
}

.blueline{
	border: solid 10px #007AFF;
}

hr.blurdot{
	border-top: #007AFF dashed 2px;
	margin-top: 20px;
	margin-bottom: 25px;
}

.input-list{
	font-weight: 700;
	margin-bottom: 10px;
}

.input-list + div{
	margin-bottom: 10px;
}

.flex-box{
	display: flex;
	flex-wrap:wrap;
	gap: 25px;
	margin-bottom: 25px;
}

.flex-box > div{
	flex: 0 1 100%;
}

@media screen and (min-width: 900px){
	.flex-box{
		flex-wrap:nowrap;
		justify-content:space-between;
		gap: 25px;
	}
	.flex-box > div{
		flex: 0 1 50%;
	}
}

.flex-box > div > img{
	margin-bottom: 25px;
}

.icon-img{
	text-align: center;
	margin: 0 auto 25px;
	display: block;
}

h1 + * {
	margin-top: 20px;
}

label + label{
	width: 100%;
	display: block;
}

.input-box{
	margin-bottom: 25px;
}

/*  */



/*  */

.form-wrap{
	width:100%;
}

.flex-box + .form-imputarea{
	margin-bottom: 25px;
}

button, input, select, textarea {
	font-family:inherit;
	font-size:100%;
	box-sizing: border-box;
	display: block;
}

.form-group label{
	display: block;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	margin-bottom:calc(var(--form-common-fontsize) * 1.5) ;
}

.form-imputarea input[type="hidden"]{}

.form-imputarea input[type="text"],.form-imputarea input[type="email"],.form-imputarea input[type="date"],.form-imputarea input[type="tel"],.form-imputarea textarea,.form-imputarea select{
	padding:var(--form-common-fontsize);
	border: 1px solid #ccc;
	width: 100%;
	margin-bottom:calc(var(--form-common-fontsize) * 1.5) ;
	color: #000;
	background-color: #fff;
	border-radius: 4px;
}

.form-imputarea input[type="text"]{}
.form-imputarea input[type="email"]{}
.form-imputarea input[type="date"]{}
.form-imputarea input[type="tel"]{}

.form-imputarea input[type="radio"],
.form-imputarea input[type="checkbox"],
.form-imputarea label{ display: inline-block; }

.form-imputarea input[type="radio"],
.form-imputarea input[type="checkbox"]{
	margin-right:var(--form-common-fontsize);
}

.form-imputarea label + input[type="radio"],
.form-imputarea label + input[type="checkbox"]{
	margin-left:var(--form-common-fontsize);
}

.form-imputarea textarea{
	width: 100% !important;
	height: 10.0rem !important;
}

.select-wrap {
	position: relative;
}
.select-wrap::before {
	content: "";
	display: block;
	position: absolute;
	top: var(--form-common-fontsize);
	right: var(--form-common-fontsize);
	width: var(--form-common-fontsize);
	height: var(--form-common-fontsize);
	transform: rotate(45deg);
	background: transparent;
	border-bottom: 3px solid #ccc;
	border-right: 3px solid #ccc;
	pointer-events: none;
}

.form-imputarea select{
	outline:none;
	-moz-appearance: none;
	text-overflow: '';
	vertical-align: middle;
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.form-imputarea select::-ms-expand {
	display: none;
}

select:-moz-focusring { 
	color: transparent; 
}

.form-group button[type="submit"],
.form-group button[type="reset"]{
	display:inline-block;
	padding: var(--form-common-fontsize);
	color: #FFF;
	text-decoration: none;
	text-align: center;
	background: var(--form-key-color);
	border-radius: 4px;
	transition: all 0.5s;
	text-shadow: none;
}

.form-group button[type="submit"]:hover,
.form-group button[type="reset"]:hover{
	cursor: pointer;
}

.form-group button[type="submit"]{
	padding-left: calc(var(--form-common-fontsize) * 2);
	padding-right: calc(var(--form-common-fontsize) * 2);
	margin-right: calc(var(--form-common-fontsize) * 1);
}

#policy{
	width: 100%;
	height: calc(var(--form-common-fontsize) * 10);
	margin: 0;
	margin-bottom:calc(var(--form-common-fontsize) * 1.5) ;
	padding: var(--form-common-fontsize);
	color: #888;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow-y: scroll;
}

#policy h2{ 
	font-size: calc(var(--form-common-fontsize) * 1);
	margin-bottom:calc(var(--form-common-fontsize) * 1) ;
	font-weight: 700;
}
#policy p{
	text-align: left !important;
	font-size: calc(var(--form-common-fontsize) *0.8);
	margin-bottom:calc(var(--form-common-fontsize) * 0.8) ;
}

#mfp_loading,
#mfp_loading_screen,
#mfp_overlay_background,
#mfp_overlay,
#mfp_hidden{
	display: none;
}

.mfp_err[style]{
	margin: 0 0 20px;
	padding: 10px;
	font-size: 10px;
	font-weight: 700;
	border-radius: 4px;
	background-color: var(--form-key-color);
	color:#fff;
}