﻿:root {
	--pc-height: 76px;
	--sp-height: 68px;
	--blue-base_out: rgba(12, 163, 172, 1);
	--blue-base_over: rgba(12, 163, 172, 0.85);

	--logo_image_svg: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20ver');
}

* {
	margin:  0;
	padding: 0;
	line-height: 1;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

body {
	margin:  0;
	padding: 0;
	background-color: #fff;
	color: #000;
	font-family: -apple-system, blinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-size: 14px;
	-webkit-text-size-adjust: 100%; /* for iPhone */
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: unset;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx) {
	body {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
}

ul, ol { list-style: none; }
fieldset, img { border: none; }
table { border-collapse: collapse; }
a, a:focus, *:focus { outline: none; }

a:link {
	text-decoration: none;
	color: #538dd5;
}
a:visited {
	text-decoration: none;
	color: #538dd5;
}
a:hover, 
a:active {
	text-decoration: underline;
}

/****************************
  responsive
*****************************/

.container {
	margin-right: auto;
	margin-left:  auto;
	padding-right: 15px;
	padding-left:  15px;
}

@media (min-width: 1030px) {
	.container {
		width: 1000px;
		padding-right: 0;
		padding-left:  0;
	}
}

.clearfix:before,
.clearfix:after,
.container:before,
.container:after {
	display: table;
	content: " ";
}
.clearfix:after,
.container:after {
	clear: both;
}

/****************************
  script
*****************************/

#toTop {
	display: none;
	position: fixed;
	z-index: 1000;
	right: 1em;
	bottom: 0;
	width:  3.5em;
	height: 2.7em;
	margin:  0;
	padding: .5em 0 0;
	background-color: rgba(0, 0, 0, 0.6);
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px 4px 0 0;
	transition: all 0.3s;
}
#toTop:before {
	font-family: 'fontawesome';
	content: '\f077';
}
a#toTop:hover {
	height: 2.9em;
}

/****************************
  ele
*****************************/

.float_left {
	float: left;
	text-align: left;
}
.float_right {
	float: right;
	text-align: right;
}

.necess {
	font-family: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	color: #f00;
}

.view_pc {
	display: block;
}
.view_sp {
	display: none;
}

.pt10 {
	padding-top: 10px;
}

/****************************
  header
*****************************/

#header {
	width: 100%;
	margin:  0;
	padding: 0;
	color: #fff;
}
#header a {
	transition: all 0.2s;
}

#header > div.wrapper_header {
	display: table;
	width: 1000px;
	margin:  0 auto;
	padding: 0px 0 8px;
	border-bottom: 2px solid #fff;
}
#header > div.wrapper_header > #header_logo, 
#header > div.wrapper_header > #header_tel {
	display: table-cell;
	margin: 0;
	vertical-align: bottom;
}
#header > div.wrapper_header > #header_logo {
	padding: 0;
	text-align: left;
}
#header > div.wrapper_header > #header_tel {
	padding: 0;
	text-align: right;
}

#header_logo > a:hover {
	opacity: 0.75;
}
#header_logo img {
	margin-right: 3px;
}

img#header_logo_m {
	height: 54px;
}
img#header_logo_t {
	height: 85px;
}

#header_tel > dl {
	display: inline-block;
}

#header_tel > dl > dt {
	margin:  0;
	padding: 0 0 6px;
	text-align: left;
	text-align: right;
	font-size: 15px;
}
#header_tel > dl > dd {
	margin:  0;
	padding: 0;
}

#header_tel > dl > dd a {
	color: #fff;
	font-family: arial, sans-serif;
	font-weight: bold;
	font-size: 25px;
	letter-spacing: 2px;
	text-decoration: none;
}

#header_tel > dl > dd a:hover {
	color: rgba(255, 255, 255, .75);
}

#header_tel > dl > dd i.fa {
	margin-right: 3px;
}

div.inner {
	display: none;
}

@media (max-width: 1000px) {
	#header > div.wrapper_header {
		width: 100%;
	}
}

/****************************
  nav
*****************************/

#nav-toggle {
	display: none;
}

#global_nav {
	width: 100%;
	margin:  0;
	padding: 0;
}
#global_nav > ul {
	margin:  0 auto;
	padding: 0;
	text-align: center;
}
#global_nav > ul > li {
	display: inline-block;
	margin:  0;
	padding: 0;
	text-align: center;
}
#global_nav > ul > li > a {
	display: block;
	margin:  6px 0 8px;
	padding: 2px 20px;
	border-left: 1px solid #fff;
	color: #fff;
	font-size: 17px;
	text-decoration: none;
	transition: all 0.2s;
	font-weight: bold;
}
#global_nav > ul > li:first-child > a {
	border-left: none;
}

#global_nav > ul > li > a.active {
	position: relative;
}
#global_nav > ul > li > a.active:after {
	position: absolute;
	z-index: 400;
	top:  calc(100% + 8px);
	left: calc(50%  - 7px);
	width:  0;
	height: 0;
	margin:  0;
	padding: 0;
	border: 7px solid transparent;
	content: ' ';
}

/****************************
  scroll
*****************************/

.fixed #global_nav {
	position: fixed;
	z-index: 200;
	top:  0px;
	left: 0px;
}

/****************************
  footer
*****************************/

#footer {
	width: 100%;
	margin:  0;
	padding: 0;
	color: #fff;
}
#footer a {
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
}
#footer a:hover {
	text-decoration: none;
}

#footer > .wrapper_footer {
	width: 1000px;
	margin:  0 auto;
	padding: 15px 0;
	/*background-image: url(../image/logo_footer.png);*/
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 193px 170px;
}

#footer > .wrapper_footer .footer_table {
	display: table;
	width: 100%;
	margin:  0;
	padding: 0;
}
#footer > .wrapper_footer .footer_table .footer_left {
	display: table-cell;
	padding: 0;
	vertical-align: middle;
	text-align: left;
}
#footer > .wrapper_footer .footer_table .footer_right {
	display: table-cell;
	padding: 0 40px 0 0;
	vertical-align: middle;
	text-align: right;
}

@media (max-width: 1000px) {
	#footer > .wrapper_footer {
		width: 100%;
	}
	#footer > .wrapper_footer .footer_table .footer_left {
		padding-left: 15px;
	}
	#footer > .wrapper_footer .footer_table .footer_right {
		padding-right: 15px;
	}
}

#footer dl {
	margin:  0;
	padding: 0;
}
#footer dl > dt {
	margin:  0;
	padding: 0 0 .3em;
	font-weight: normal;
}
#footer dl > dd {
	margin:  0;
	padding: .2em 0 0;
	font-weight: normal;
}
#footer dl > dd > a {
	margin:  0;
	padding: 0;
	text-decoration: none;
}

#copy {
	display: block;
	margin:  0;
	padding: 10px 0 0;
	text-align: center;
	color: #fff;
	font-weight: normal;
	font-size: 13px;
}
#copy a {
	color: #fff;
	font-size: 12px;
	text-decoration: none;
}

/****************************
  fix footer
*****************************/

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#footer {
	margin-top: auto;
}

/****************************
  effect
*****************************/

.effect_slide_left {
	transform: translate(40px, 0);
}
.effect_slide_top {
	transform: translate(0, 30px);
}
.effect_view {
	transform: translate(0, 0);
}

.effect .effect_each, 
.effect_scroll .effect_scroll_each {
	opacity: 0;
	transition: all .6s ease-out 0s;
}

.effect .effect_each.delay1,
.effect_scroll .effect_scroll_each.delay1 {
	transition-delay: 0.4s;
}
.effect .effect_each.delay2,
.effect_scroll .effect_scroll_each.delay2 {
	transition-delay: 0.6s;
}
.effect .effect_each.delay3,
.effect_scroll .effect_scroll_each.delay3 {
	transition-delay: 0.8s;
}
.effect .effect_each.delay4,
.effect_scroll .effect_scroll_each.delay4 {
	transition-delay: 1.0s;
}
.effect .effect_each.delay5,
.effect_scroll .effect_scroll_each.delay5 {
	transition-delay: 1.2s;
}
.effect .effect_each.delay6,
.effect_scroll .effect_scroll_each.delay6 {
	transition-delay: 1.4s;
}

/****************************
  figure_link
*****************************/

a.figure_link {
	display: inline-block;
	margin:  1.5em 0 0;
	padding: 0;
	text-decoration: none;
}

a.figure_link > figure {
	display: block;
	overflow: hidden;
	width: 100%;
	margin:  0;
	padding: 0;
	text-align: center;
	position: relative;
}
a.figure_link > figure > img {
	display: block;
	width: 100%;
	height: initial;
	transition: all 0.2s ease-in-out;
}
a.figure_link:hover > figure > img {
	opacity: .9;
	transform: scale(1.1, 1.1);
}
a.figure_link > figure > figcaption {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width:  100%;
	height: 100%;
	margin:  0;
	padding: 0;
	background-color: rgba(0,0,0, .4);
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	opacity: 0;
}
a.figure_link:hover > figure > figcaption {
	opacity: 1;
	text-decoration: none;
}
a.figure_link > figure > figcaption > span {
	display: table;
	position: absolute;
	top: 0;
	left: 0;
	width:  100%;
	height: 100%;
}
a.figure_link > figure > figcaption > span > span {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-size: 16px;
	line-height: 1;
}
a.figure_link > figure span i.fa {
	display: inline-block;
	margin:  0 auto;
	padding: 3px 5px 5px 7px;
	vertical-align: middle;
	text-align: center;
	border-radius: 8px;
	background-color: rgba(0, 0, 0, 0);
	color: rgba(255, 255, 255, 0);
	font-size: 36px;
	line-height: 1;
}
a.figure_link:hover > figure span i.fa {
	background-color: rgba(0, 0, 0, 0.7);
	color: rgba(255, 255, 255, 1);
}

/****************************
  color
*****************************/

#header, 
div.inner, 
#global_nav, 
#footer {
	background-color: #538dd5;
}

.fixed #global_nav {
	background-color: #538dd5;
}
#global_nav > ul > li > a.active:after {
	border-top: 14px solid #538dd5;
}
.fixed #global_nav > ul > li > a.active:after {
	border-top: 14px solid #538dd5;
}

#global_nav > ul > li > a:hover, 
#global_nav > ul > li > a.active, 
#footer a:hover {
	color: #275996;
}

h2.h2_home {
	color: #538dd5;
}

/****************************
  privacypolicy
*****************************/

#privacypolicy > .container {
	padding-top:    40px;
	padding-bottom: 40px;
}

p.p_privacypolicy {
	margin:  0;
	padding: 1em 0;
	text-align: justify;
	line-height: 1.7;
}

ul.ul_privacypolicy {
	margin:  0;
	padding: 0 0 .5em 1.5em;
	list-style-type: disc;
}

ul.ul_privacypolicy li {
	margin:  0;
	padding: .2em 0;
	line-height: 1.3;
}

p.p_privacypolicy a, 
ul.ul_privacypolicy li a {
	text-decoration: underline;
}

.fancybox_close {
	margin:  0;
	padding: 0;
	text-align: right;
}
.fancybox_close a {
	color: #000;
}
