﻿@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');
@media(min-width: 769px) {
	video {
	min-width: 100%;
	min-height: 100vh;
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
	video.width_100per {
		width: inherit!important;
	}
}
#loader.bg_white, #footer {
		background: url(Dup/img/nami.png);
    background-size: 200px auto;
    background-color: #e7f7cb;
}
body, nav.tb_hide .en_font {
	font-family: 'Kosugi Maru', sans-serif!important;
}


header {
	background-color: #99ff00;
	padding-right: 10px;
	padding-left: 10px;
}
#footer .tel {
	display: none;
}
#footer_txt {
	padding: 20px 0;
}
nav.tb_hide {
	padding: 35px 0px 25px;
}
nav.tb_hide ul {
	font-size: 17px;
}
/*--------------------active-------------------*/
nav.tb_hide li.active {
	position: relative;
	text-align: center;background-color: inherit;
}
nav.tb_hide li.active:before {
	content: "";
	position: absolute;
	top: 3px;left: 0;
	display: block;
	background: url(Dup/img/active1.svg) no-repeat;
	background-size: 40px auto;
	width: 40px;
	height: 50px;
}
nav.tb_hide li.active:after {
	content: "";
	position: absolute;
	top: 3px;right: 0;
	display: block;
	background: url(Dup/img/active2.svg) no-repeat;
	background-size: 40px auto;
	width: 40px;
	height: 50px;
}
/*-----------------------------------------------*/
#header h1 {
	width: 78%;
	max-width: 180px;
	margin: 0 auto 30px;
}
.sns_links ul {
	position: relative;
}
.sns_links ul:after {
    content: "";
    position: absolute;
    bottom: -155px;
    right: 0;
    left: 0;
    margin: auto;
    display: block;
    background: url(Dup/img/yoyaku.png) no-repeat;
    background-size: 40px auto;
    width: 40px;
    height: 170px;
}

#menu_wrap {
    background-color: #f1fdd9;
}

@media(max-width: 768px) {
#header h1 {
    width: 16%;
    max-width: 180px;
    margin: 0 auto 0px;
}
}
/* ------------------- TOPページ ------------------------ */
#main_wrap {
box-shadow: 0 0 15px rgba(159,193,103,0.50);
}
#main_img {
	position: relative;
    background: rgba(255,255,255,0.15);
	overflow: hidden;
}
#main_img:before {
content: "";
	position: absolute;
	top: 0px;left: 0;
	display: block;
	background-size: 100% auto;
	background-position: 0 0;
    width: 57%;
    height: 600px;
    z-index: 400;
}
@media(max-width: 768px) {
	#main_img:before {
    background-size: 100% auto;
    width: 70%;
    height: 80%;
}
	#main_img {
    position: relative;
    height: auto;
    min-height: inherit;
}
}
#top_cms {
	padding-top: 50px;
	padding-bottom: 20px;
}
#contents1 {
	    position: relative;
    background: url(Dup/img/nami.png);
    background-size: 200px auto;
    background-color: #e7f7cb;
}
#contents1:after {
    content: "";
    position: absolute;
    top: -65px;
    right: 5px;
    display: block;
    background-size: 100% auto;
    background-position: 0 0;
    width: 43%;
    height: 280px;
}
#contents1 h4, #contents2 h3 {
	font-size: 28px;
}
@media(max-width: 768px) {
	
#contents1:after {
    top: 0px;
    right: 8px;
    width: 58%;
    height: 220px;
}
	
#contents1 h4, #contents2 h3{
	font-size: 25px;
}
}
.date {
	color: #212121;
}
#main_wrap h2.en_font, h3.en_font {
	font-family: 'Kosugi Maru', sans-serif!important;
}
.hvr_bg_color3:hover {
    background-color: #88e200;
}
#contents2 {
	position: relative;
}
#contents2:before {
	content: "";
	position: absolute;
	top: 3%;left: 3%;
	display: block;
	background-size: 100% auto;
	width: 50%;
	height: 50%;
	z-index: 400;
}
@media(max-width: 768px) {
	#intro {
    background-position: left calc(100%) top calc(102%);
    background-size: 60% auto;
}
}
/*----------------------------------------*/
#page_title.active > div::after {
    border: none;
}

#cms_3-f h3 span {
   padding-bottom: 15px;
}
/* --------------privacy----------------*/
.privacy_wrap h3 span.txt_color3 {
	font-weight: bold;
	color: #ff0000;
	font-size: 35px;vertical-align: bottom;
}
@media(max-width: 500px) {
	.privacy_box {
		padding-right: 0;padding-left: 0;
	}
	
}
.banner_box {
	max-width: 500px;margin: 30px auto 0;justify-content: space-between;
}
.banner_box.ptn1 {
		justify-content: center;
	}
.banner_box div {
	margin-bottom: 40px;
	width: 48%;
}
.banner img {
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
#page08 #contact_tel a {
	padding: 8% 0;
} 
@media(max-width: 667px) {
	.banner_box {
		display: block;margin-bottom: 30px;
	}
	.banner_box div + div {
		margin-top: 15px;
	}
	.banner_box div {
	width: 80%;
		margin-right: 0;margin-left: 0;margin: auto;
} 
}
@media all and (-ms-high-contrast: none) {
	#cms_1-e .date {
	padding-top: 10px!important;
}
	#cms_2-d .cate_title {
		padding-top: 10px!important;
	}
	#cms_5-a .cate .cate_title span:last-of-type {
		padding-top: 0!important;
	}
	.tb_hide ul li a.d_block {
		padding: 20px 10px 0 10px!important;
	}
	#cms_3-f .sub_cate_title {
		padding-top: 0!important;
	}
}