/* Reset */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

/* Elements */
html {
	margin:0;
	padding:0;
	font-size: 62.5%;
}

body {
	margin:0;
	padding:0;
	background:#fff;
	font-size: 1.6em;
	line-height: 1.1;
	-webkit-text-size-adjust: 100%;
	font-family: "RodinCattleyaPro-M",sans-serif;
	overflow-x:hidden;
}

body * {
	font-weight: normal;
	font-style: normal;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	max-height:999999px;
}

a {
	text-decoration: none;
	color: #243E7C;
	transition:0.5s;
}
a:hover {
	color: #A64C14;
}

sub, sup {
	font-size: 0.7em;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
	vertical-align: bottom;
}
p > img.left {
	padding:0 10px 10px 0;
}
p > img.right {
	padding:0 0 10px 10px;
}

p {
	line-height: 1.6;
	padding-bottom: 2em;
}

ul , ol {
	margin:0 0 15px 1.5em;
	padding:0;
}
li {
	margin:0;
	padding:0 0 10px 0;
}

/* Table */
table {
	border-collapse: collapse;
	margin-bottom: 20px;
	width: 100%;
}
table th ,
table td {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	border: solid 1px #ccc;
}
table th {
	background: #eee;
}


/** Form **/
input , textarea , select {
	padding: 5px;
	font-size: 1.6rem;
	border: solid 1px #ccc;
	border-radius: 2px;
	transition: 0.5s;
}
input:hover , textarea:hover {
	border: solid 1px #e99;
}
option {
	font-size: 1.6rem;
}
textarea {
	resize: vertical;
}

form table th ,
table.form th {
	padding: 10px 20px;
	text-align: left;
	vertical-align: top;
	width: 300px;
}

form table td ,
table.form td {
	padding: 10px 20px;
	text-align: left;
	vertical-align: top;
}

form dl {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: solid 1px #ddd;
}
form dt {
	width: 10em;
	float: left;
	padding:6px;
	font-size: 1.6rem;
}
form dd {
	margin-left: 12em;
}

.form-send ,
.form-back ,
.form-send form ,
.form-back form ,
.form-send form table ,
.form-back form table {
	display: inline-block;
	text-align: center;
}
.form-send table th ,
.form-back table th {
	display:none;
}
.form-send table td ,
.form-back table td {
	border: none;
	background: none;
	display: inline-block;
}

form table iframe ,
form table .box-in-form ,
table.form iframe ,
table.form .box-in-form {
	overflow: auto;
	width: 100%;
	height: 200px;
	padding: 10px;
	margin-bottom:10px;
	border: solid 1px #ccc;
}

form td p:last-child ,
form dd p:last-child {
	padding:0;
}

form button {
	min-width: 300px;
	color: #fff;
	font-size: 1.8rem;
	padding: 20px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: 0.5s;
}
form button.Confirm ,
form button.Send {
	background: #e99;
}
form button.Confirm:hover ,
form button.Send:hover {
	background: #c66;
}
form button.Back {
	background: #ccc;
}
form button.Back:hover {
	background: #aaa;
}
form select {
    max-width:100%;
}

.not-null {
	font-size: 0.8em;
	color: #fff;
	padding: 1px 4px;
	margin: 0 5px;
	background: #e99;
	border-radius: 4px;
	display: inline-block;
}


/* Pageing */

.pageing {
	padding:20px 0;
	margin:0;
	text-align:center;
}
.pageing a ,
.pageing em {
	display:inline-block;
	width:2em;
	height:2em;
	text-align:center;
	color:#fff;
	font-size:1.2em;
	background:#aaa;
	border-radius:4px;
	transition:0.5s;
	margin:0 3px;
}
.pageing em {
	background:#ccc;
}
.pageing a:hover {
	background:#eee;
	text-decoration:none;
}


/** Common Class **/

.width-limitter {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.small {
	font-size: 0.8em;
}
.large {
	font-size: 1.2em;
}

.hidden ,
.n {
	display:none !important;
}

.button {
	display: inline-block;
	padding: 10px 20px;
	background: #FCAB28;
	color: #fff;
	border-radius: 4px;
	border: solid 1px rgba(0, 0, 0, 0.1);
}
.button:hover {
	background: #DA8906;
	color: #fff;
}
.button-red {
	background: #F24330;
}
.button-red:hover {
	background: #D02110;
}
.button-blue {
	background: #2F79EF;
}
.button-blue:hover {
	background: #0D57CD;
}
.button-green {
	background: #42A32A;
}
.button-green:hover {
	background: #208108;
}
.button-gray {
	background: #ccc;
	color:#000;
}
.button-gray:hover {
	background: #aaa;
}
.button-trans-black {
	background: rgba(0, 0, 0, 0.2);
}
.button-trans-black:hover {
	background: rgba(0, 0, 0, 0.4);
}
.button-trans-white {
	background: rgba(255, 255, 255, 0.4);
	color: #000;
}
.button-trans-white:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #000;
}

.text-left   { text-align: left;  !important   }
.text-center { text-align: center !important; }
.text-right  { text-align: right  !important;  }
.text-justify {
	text-align: justify !important;
	text-justify: distribute-all-lines !important;
}


/* Float */
.left 		{ float: left;  }
.right 		{ float: right; }
.left-right { float: left;  }
.clear      { clear:both;   }

/* Flex Box */
.flex {
	display: -webkit-flex;
	-webkit-justify-content: space-between;
	-webkit-flex-wrap: wrap;

	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 -10px 20px -10px;
}
.flex-left {
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
.flex-right {
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
}
.flex-center {
	-webkit-justify-content: center;
	justify-content: center;
}
.flex-nowrap {
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
}
.flex > * {
	margin:10px;
}

/* Grid */
.g1  { width: calc((100% / 12) - 21px); }
.g2  { width: calc(((100% / 12) * 2) - 21px); }
.g3  { width: calc(((100% / 12) * 3) - 21px); }
.g4  { width: calc(((100% / 12) * 4) - 21px); }
.g5  { width: calc(((100% / 12) * 5) - 21px); }
.g6  { width: calc((100% / 2) - 21px); }
.g7  { width: calc(((100% / 12) * 7) - 21px); }
.g8  { width: calc(((100% / 12) * 8) - 21px); }
.g9  { width: calc(((100% / 12) * 9) - 21px); }
.g10 { width: calc(((100% / 12) * 10) - 21px); }
.g11 { width: calc(((100% / 12) * 11) - 21px); }
.g12 { width: 100%; }
.g20p { width: calc(20% - 21px); }


/* Width */
.w10p { width:10%; }
.w20p { width:20%; }
.w30p { width:30%; }
.w40p { width:40%; }
.w50p { width:50%; }
.w60p { width:60%; }
.w70p { width:70%; }
.w80p { width:80%; }
.w90p { width:90%; }
.w100p { width:100%; }
.w20  { width:20px; }
.w30  { width:30px; }
.w40  { width:40px; }
.w50  { width:50px; }
.w80  { width:80px; }
.w100 { width:100px; }
.w120 { width:120px; }
.w160 { width:160px; }
.w180 { width:180px; }
.w200 { width:200px; }
.w250 { width:250px; }
.w300 { width:300px; }

.sp { display:none; }
.tb { display:none; }
.pc { display:inline-block; }

/** Media Query **/

@media only screen and (max-width : 900px) {
	.pc { display:none; }
	.sp { display:none; }
	.tb { display:inline-block; }

	form table ,
	table.form {
		display:block;
	}
	form table th ,
	table.form th {
		display:block;
		width: 100%;
		border:none;
		margin:0 0 10px 0;
		padding:5px;
	}

	form table td ,
	table.form td {
		display:block;
		border:none;
		margin:0 0 20px 0;
		padding:5px;
	}
}
@media only screen and (max-width : 640px) {
	.tb { display:none; }
	.pc { display:none; }
	.sp { display:inline-block; }

	body {
		font-size: 1.4em;
	}

	.flex {
		padding-bottom:0;
	}

	.g1,.g2,.g3,.g4,.g5,.g6,.g7,.g8,.g9,.g10 {
		width: calc(100% - 20px);
	}
	.g20p { width: calc((100% / 3) - 20px); }

    .no-wrap .g1  { width: calc((100% / 12) - 21px); }
    .no-wrap .g2  { width: calc(((100% / 12) * 2) - 21px); }
    .no-wrap .g3  { width: calc(((100% / 12) * 3) - 21px); }
    .no-wrap .g4  { width: calc(((100% / 12) * 4) - 21px); }
    .no-wrap .g5  { width: calc(((100% / 12) * 5) - 21px); }
    .no-wrap .g6  { width: calc((100% / 2) - 21px); }
    .no-wrap .g7  { width: calc(((100% / 12) * 7) - 21px); }
    .no-wrap .g8  { width: calc(((100% / 12) * 8) - 21px); }
    .no-wrap .g9  { width: calc(((100% / 12) * 9) - 21px); }
    .no-wrap .g10 { width: calc(((100% / 12) * 10) - 21px); }
    .no-wrap .g11 { width: calc(((100% / 12) * 11) - 21px); }
    .no-wrap .g12 { width: 100%; }
    .no-wrap .g20p { width: calc(20% - 21px); }

	main form textarea ,
	main form input ,
	main form .privacy-policy {
		padding:10px;
		width:100%;
	}
	main form input[type=checkbox] ,
	main form input[type=radio] {
		width:auto;
	}
	main form button {
		display:block;
		margin:0 auto;
	}

	.hidden {
		display: inline;
	}
}
@media only screen and (max-width : 480px) {
	body {
		font-size: 1.6em;
	}

	.right ,
	.left ,
	.left-right {
		float: none;
	}

	p > img.left {
		float:left;
	}
	p > img.right {
		float:right;
	}

	.g20p { width: calc(100% - 20px); }
    .no-wrap .g20p { width: calc(20% - 21px); }
}
