﻿



#loader{z-index: 9999;background-color: #d5ecff;}
#loader img {
    animation-name: leftin;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    z-index: 1;
}
#loader img {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 0;
}
@keyframes leftin {
	0% {opacity:0;transform: translate(-100px,0);}
	100% {opacity:1;transform: translate(0,0);}
}


/* --------------------------FONT SIZE------------------------------ */
body, h1, h2, h3, h4, h5, h6 {
	font-weight: bold;line-height: 1.7;
}
#intro_txt h2 {
	font-size: 30px;
}
#contents h3 {
	font-size: 27px;
}
@media(max-width: 768px) {
	#intro_txt h2 {
	font-size: 27px;
}
#contents h3 {
	font-size: 20px;
}
}
@media(max-width: 667px) {
	#intro_txt h2 {
	font-size: 22px;
}
#contents h3 {
	font-size: 17px;
}
}
/* ---------------------共通-------------------------- */ 
body{
		background: #f5fcff;
background-image: url("https://www.transparenttextures.com/patterns/absurdity.png");

	}
.banner a {
	border-radius: 35px;
	color: #539af1;
	background-color: #fff;
	border: 2px solid #539af1;
	padding: 12px;
}
#contents .banner a {
    color: #ffffff;
    background-color: #539af1;border: none;
	padding: 17px;position: relative;
}
#contents .banner a:before {
    position: absolute;
    top: 50%;
    right: 30px;
    width: 32px;
    height: 5px;
    background: url(Dup/img/more.png) 0 0 no-repeat;
    background-size: 100%;
    content: "";
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
#contents .banner a:hover {
    background-color: #2c78d6;
}
.fadein, .fadein2, .fadein3{
     opacity: 0;
     transform: translateY(20px);
     transition: 1.1s;
     transition-property: opacity,transform
}
.fadein {
	transition: 1.2s;z-index: 0;
}
.fadein2 {
	z-index: 8;
}
.fadein3 {
	 transform: translateY(30px);
     transition: 1s;z-index: 10;
}
.fadein.fadetrans, .fadein2.fadetrans, .fadein3.fadetrans{
     opacity: 1;
     transform: none
}
@media(max-width: 768px) {
	main {
		padding-top: 143px;
	}
	#page_title #filter_white {/*ページタイトル画像*/
    padding-top: 106px!important;
    padding-bottom: 95px!important;
}
}
@media(max-width: 667px) {
main {
    padding-top: 61px;
}
#page_title #filter_white {
    padding-top: 80px!important;
    padding-bottom: 72px!important;
}
#info .info_txt {
    width: 90%;
    padding-bottom: 10px;
}
}
/* --------------------------header------------------------------ */
header {
	background: rgb(255 255 255 / 64%);
}
#page_title {
    background-position: 50% 22%;
}
.logo {
    width: 308px;margin-left: 20px;
}
.logo img {
		width: 100%!important;
	}
#header_menu ul li a span {
	font-size: 15px;
}
#header_menu ul li a:hover span {
	color: #329aef;
}
#header_menu ul li:last-child a span {
	background: #539af1;
    border: none;
    border-radius: 25px;
    color: #fff;
    padding: 10px 17px!important;
    font-weight: normal;
}
#header_menu ul li:last-child a:hover span {
	background: #2c78d6;
}

@media(max-width: 768px) {
	.logo {
		margin-left: auto;
		width: 302px;
	}
	#logo {
		    margin-bottom: 19px;
	}
	#header_menu ul li:first-child {
		display: none;
	}
	header #header #header_menu li {
    width: auto;
		padding-left: 10px;padding-right: 10px;
}
#header_menu ul li:last-child a span {
    padding: 7px 8px!important;
    font-size: 13px;
    margin-top: 4px;
}
}
@media(max-width: 667px) {
	header {
		padding-bottom: 0;
	}
	header #logo {
		padding-top: 15px;
		margin-bottom: 9px;
	}
.logo {
    width: 207px;margin-left: 10px;
}
	
}
/* -----------------------------TOP---------------------------------- */
#video:before {
	content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(135, 200, 255, 0.10);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#top_cms .top_cms_box {
    width: 100%!important;padding-right: 20px;
	padding-left: 20px;box-sizing: border-box;
}
#catch {
    position: absolute;
    top: 34%;
    left: 108px;
    width: 438px;z-index: 5;
}

#contents .txt_wrap {
    position: absolute;
    left: calc( 5%);
    top: calc(18% - 0px);
}
#contents .box:nth-of-type(2) .txt_wrap {
	position: absolute;
    left: calc( 58% - 30px);
    top: calc(20% - 0px);
}
#contents .box1 figure img, #contents .box3 figure img {
	border-radius: 30px 0 0 30px;
}
#contents .box2 figure img {
	border-radius: 0px 30px 30px 0px;
}
#contents .txt_wrap p, .txt_wrap h3 {
text-shadow: 1px 1px 1px #ffffff, -1px 1px 1px #ffffff, 1px -1px 1px #ffffff, -1px -1px 1px #ffffff, 1px 0px 1px #ffffff, 0px 1px 1px #ffffff, -1px 0px 1px #ffffff, 0px -1px 1px #ffffff;
}
figure img {
	box-shadow: none!important;
}
@media(max-width: 768px) {
#contents .txt_wrap {
    left: calc( -1%);
    top: calc(0% - 22px);
}
#contents .box:nth-of-type(2) .txt_wrap {
    left: calc( 50% + 20px);
    top: calc(0% - 0px);
}
	#catch {
    top: 28%;
    left: 38px;
    width: 382px;
}
	#intro {
		margin-top: -9px;
	}
}
@media(max-width: 667px) {
	#contents .txt_wrap {
    position: inherit;
    left: calc( 0%);
    top: calc(0% - 0px);
}
#contents .box:nth-of-type(2) .txt_wrap {
	position: inherit;
    left: calc( 0%);
    top: calc(0% - 0px);
}
#contents .box1 figure img, #contents .box3 figure img {
	border-radius: 0px;
}
#contents .box2 figure img {
	border-radius: 0px;
}
#catch {
    top: 24%;
    left: 26px;
    width: 202px;
}
	#intro #intro_txt {
    padding-top: 45px;
}
}

/* --------------------------TOP CMS と　下層------------------------------ */
#top_cms .cms_title h2 {
    padding: 0;
    margin: 0;
    position: relative;
}
#top_cms .cms_title span {
    padding-right: 10px;
    color: #cceeff;
    font-size: 41px;
    position: absolute;
    top: -16px;
    right: 0;
    z-index: -1;

}
.more {
	width: 100%;
}
.svg_box, .svg_box2 {
	display: none!important;
}
.cms_2-c .box_item, #cms_2-c .box_item {
	background: #fff;
	box-shadow: 13px 16px 0px 0px #eaf4f9;
	border-left: 0;
}
.cms_2-a.cms_wrap, .cms_1-c.cms_wrap, .cms_6-a.cms_wrap {
	background: #fff;
	padding: 20px;
}
#cms_3-e .cate_box:last-of-type {
    border-bottom: none;
}
@media(max-width: 677px) {
	#top_cms .cms_title span {
    color: #e7edf1;
    font-size: 50px;
    top: -31px;
    right: 0;
}
}
/*----------------------下層　only-----------------------*/
.cate_wrap figure, .sub_cate_box figure {
	margin: 30px auto;
}
.cate_list li a{
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 0.6em 1.3em;
    text-decoration: none;
    color: #212121;
    background: #fff;
    transition: .4s;font-size: 16px;
}

.cate_list li a:hover {
  background: #636363;color: #fff;
}



.cate_title {
     text-align: center;
	background-color: inherit;
    color: #000;
    border: none;
	letter-spacing: 0.5rem;
}
 
.cate_title span{
     position: relative;
     display: inline-block;
     padding-bottom:0.5em;
     border-bottom: 1px solid black;
}
      
.cate_title span::before,
.cate_title span::after {
     position: absolute;
     top: 100%;
     left:50%;
     transform:translateX(-50%);
     content: '';
     border: 10px solid transparent;
}
 
.cate_title span::before {
     border-top: 10px solid black;
}
 
.cate_title span::after {
     margin-top: -1px;
     border-top: 10px solid white;
}
@media(max-width: 667px) {
	.cate_list li {
		text-align: left;
	}
	.cate_list li a{
		display: block;text-align: center;
}
}
/* ------------------------FOOTER------------------------- */

@media(max-width: 667px) {
	#copyright {
		margin-right: 60px;
	}
	#page-top {
    right: 4px;
}
}
/* ------------------------メールフォーム------------------------- */
.g-recaptcha > div {
	margin: 0 auto 20px;
}
#form_bt {
	text-align: center;
}
@media all and (-ms-high-contrast: none) {
	#intro_txt h2 span {
    padding-bottom: 13px;
}
	header #header #header_menu li:last-child a span {
		padding: 11px 17px 8px!important
	}
	#page_title h2 span {
		padding-top: 25px;
	}
	#contact_tel a {
		padding: 28px 14px 16px;
	}
	#header_menu li span:nth-child(2) {
		top: -1.73em;
	}
	.cate_list li a {
		padding: 12px 10px 9px;
	}
	#cms_2-a .cate .cate_title {
		padding-top: 8px!important;
	}
	#page8 #tel_contact p a {
		padding: 17px 20px 12px;
	}
	#cms_3-e .cate_title {
		padding-top: 5px!important;
	}
	#contents .banner a {
		padding: 17px 17px 12px;
	}
	.banner a {
		padding: 12px 12px 8px;
	}
	}


