@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');
	size-adjust:115%;
	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:#ccc;
	--common-font-sans-serif:-apple-system, BlinkMacSystemFont,'Helvetica', sans-serif;
	--common-font-serif:'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: "english"; src: local("Helvetica Now"); font-weight: normal; font-style: normal; unicode-range: U+0041-005A, U+0061-007A;	 size-adjust:115%; }

*{ 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, -apple-system, BlinkMacSystemFont,"english","游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; font-size:10px; font-size:1.0rem; 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-serif{ font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; }

/*  */

h1,h2,h3,h4,h5,h6{
	font-family: "english","number","游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	text-align: center;
	margin-bottom: 50px;
	color: #444;
}

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;}
}

h3  > span{
	background-color: #444;
	color: #FFF;
	padding: 5px 10px;
}

/*  */

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; }
.mg50{
	margin-bottom: 50px;
}
.

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

/* */

.wrap{
	width: 90%;
	max-width: 980px;
	margin: 0 auto;
	font-size: 1.6rem;
}

header{
	position: relative;
	text-align: center;
	padding: 25px 0;
}

header a.brand img{
	width: 300px;
	margin: 0 auto;
}

main{}
article#{}
section{
	margin-bottom: 100px;
}

section p,
section ol{
	margin-bottom: 50px;
}

section ol{
	list-style-position: inside;
}

section li{
	 text-indent: -1em;
  padding-left: 1em;
	margin-bottom: 10px;
}

section li:last-child{
	margin-bottom: 0;
}

.text-box{
	width: 100%;
	margin-left:auto;
	margin-right:auto;
}
@media screen and (min-width: 768px){
	.text-box{
		width: 640px;
	}
}

.trr{
	text-align: right;
	font-size: 12px;
}


.img-box{
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	margin-bottom: 50px;
}
.img-box > img{
	object-fit: cover;
	overflow: hidden;
}
	.img-box{
		flex-direction: row;
	}
	.img-box > img:nth-child(1),
	.img-box > img:nth-child(4){
		flex: 0 0 55%;
		width: 55%;
	}
	.img-box > img:nth-child(2),
	.img-box > img:nth-child(3){
		flex: 0 0 45%;
		width: 45%;
	}

aside{}
footer{
	text-align: center;
	padding: 25px 0;
}

/*  */

/* モーダルCSSここから */
.modalArea {
  visibility: hidden; /* displayではなくvisibility */
  opacity : 0;
  position: fixed;
  z-index: 10; /* サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: .4s;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 70%;
  height: 250px;
  max-width: 500px;
  padding: 10px 30px;
  background-color: #fff;
  overflow: auto;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

.is-show { /* モーダル表示用クラス */
  visibility: visible;
  opacity : 1;
}
/* モーダルCSSここまで */

/*  */

.form-box{
	display: flex;
	flex-direction:column;
	flex-wrap: wrap;
}
.form-box > img{
	margin-bottom: 50px;
}
@media screen and (min-width: 768px){
	.form-box{
		flex-direction:row;
		flex-wrap: nowrap;
	}
	.form-box > img{
		object-fit: cover;
		overflow: hidden;
		flex: 0 0 45%;
		width: 45%;
		margin-bottom: 0;
	}
}



.form-wrap{
	width:100%;
	margin:0 auto;
	padding:0 5%;
	text-align: left;
	font-size: var(--form-common-fontsize);
}

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

.form-group label{
	display: block;
	font-weight: 700;
	margin-bottom:calc(var(--form-common-fontsize) * 1.5) ;
	font-size: 1.6rem;
}

.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 !important;
	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 input[type="submit"],
.form-group input[type="reset"]{
	display:inline-block;
	padding: var(--form-common-fontsize);
	color: #FFF;
	text-decoration: none;
	text-align: center;
	border-radius: 4px;
	transition: all 0.5s;
}

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

.form-group input[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);
}

.form-group input[type="submit"]{ background-color:#990000 ; }
.form-group input[type="reset"]{ background-color: #606060; }

#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;
}