﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;500&display=swap');
/* ----------　all　---------- */
.linkStyle{
	color:#809a66;
}
.linkStyle:hover{
	color:#809a66;
	opacity: 0.7;
	transition: all 0.5s;
}

html,.loader_txt, .cms_title h2, #catch h2, #question h2, #contents h2, #contents .box h3, #top_cms .cms_title h2, #page_title h2,.en_font {
    font-family: 'Noto Sans JP','Roboto', sans-serif!important;
}

body,.main_img_wrap {
    background-color: #f5efed;
}
.marker {
    background: transparent!important;
}
/* loading */
.loading_wrap{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 99999;
}
.load_logo {
    position: relative;
    z-index: 2;
    width: 300px!important;
    height: 300px!important;
    text-align: center;
    align-items: center;
}

.load_logo img {
    width: 100%;
    height: auto;
    width: 165px;
    padding-top: 75px;
}

.load_logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/Dup/img/logo-en.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation:25s linear infinite rotation;
}

@keyframes rotation{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}

/* nav */
header{background-color :rgba(122,176,206,0.85)!important;}

header.clone-nav {
    z-index: 5;
}

.header ul li a:hover {
    color: #333333!important;
}

/* footer */

#footer {
    background-color: #ffffff!important;
}

#footer .f_link {
    background-color: #ffffff!important;
}

#footer .sns_link li a {
    border: 1px solid #141868!important;
}

.menu .sns_link {
    border: none!important;
}

.sns_link li a:hover {
    opacity: 0.6;
}

footer .more_box, footer .more_box .more_txt1 {
        background-color: #ffffff!important;
}

/*固定リンク*/

.fix-box {
    bottom: 40%;
    right: 5px;
    z-index: 9;
}

.fix-link:nth-of-type(2){
    margin-top: 10px;
}

.fix-link a {
    flex-direction: column;
    color: #ffffff;
    text-align: center;
    background-color: #1f2c33;
    padding: 18px 15px;
    font-weight: bold;
    border-radius: 50%;
    font-size: 14px;
    transition: 0.5s all;
}

.fix-link a i {
    font-size: 30px;
    margin: 2px;
}

.fix-link a:hover {
    color: #1f2c33;
    background-color: #e6e6e6;
}
/* ----------　TOP　---------- */

/* main-img */

.menu .logo, .menu ul {
    background-color: transparent!important;
    text-align: center;
}

.menu ul li a {
    font-weight: bold;
}

.menu {
    left: 0;
    width: 15%!important;
}

.slider {
  position:relative;
	z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	margin: 0 8% 0 15%!important;
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
    border-radius: 0 0 50px 50px!important;
}

.slider button{
    display: none!important;
}
/* キャッチコピー */
.passing {
    top: 5%;
    left: 16%;
    z-index: 5;
}
.passing .passing-bar h2 {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 2;
    font-family: 'Kiwi Maru', serif;
}
.passing .passing-bar {
    position: relative;
    display: inline-block;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: #7ab0ce;
}
.passing.move .passing-bar:before {
    -webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
    animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing .passing-txt {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	padding: 5px 15px;
}
.passing.move .passing-txt {
    -webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
    animation: passing-txt 0s ease .5s 1 normal forwards;
    color: #c0e9ff;
    text-shadow: 2px 2px 5px rgb(0 0 0 / 15%), -2px 2px 5px rgb(0 0 0 / 15%), 2px -2px 5px rgb(0 0 0 / 15%), -2px -2px 5px rgb(0 0 0 / 15%);
}
@-webkit-keyframes passing-bar{
	0% {left: 0;right: auto;width: 0;}
	50% {left: 0;right: auto;width: 100%;}
	51% {left: auto;right: 0;width: 100%;}
	100% {left: auto;right: 0;width: 0;}
}
@keyframes passing-bar{
	0% {left: 0;width: 0;}
	50% {left: 0;width: 100%;}
	51% {left: 0;width: 100%;}
	100% {left: 100%;width: 0;}
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}
/* top */

.under {
    max-width: 1280px;
    text-align: center;
    margin: 50px auto 10px;
}

.top_cms_box.cms1 .top_cms_box_wrap {
    margin: 0 auto;
}

#contents .contents_wrap .title {
    font-size: 35px;
}

#catch .box {
    border-radius: 25px;
    column-gap: 5%;
}

#contents .box, #contents .box:nth-child(even) figure,#contents .box:nth-child(odd) .box_item {
    margin: 0!important;
}

#catch .box .sub_title, #contents .box .box_item .sub_title {
    transform: none;
    font-family: 'Noto Sans JP';
    font-weight: 700;
    font-size: 25px;
    left: 20px;
    color: #7ab0ce!important;
    background-color: #ffffff;
    padding: 10px 20px;
    border: 5px solid #7ab0ce;
}

#catch .box .title {
    margin-left: 0;
    padding: 0;
    background-color: transparent!important;
    color: #1f2c33!important;
    font-size: calc(1rem + 10px);
    font-weight: 700;
    margin-top: 15px;
}

#contents {
    background-color: #ffffff!important;
}

#contents .box {
    margin-top: 100px!important;
    column-gap: 5%!important;
}

#contents .con3 {
    margin-top: 100px!important;
}

#contents .box .box_item .sub_title {
    font-size: 24px!important;
    top: -60px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

.contents_wrap {
    width: 100%!important;
}

.contents_wrap .box figure {
    margin: 0px;
    order: 2;
    transform: translate(10px, -10px);
    border-radius: 25px;
    box-shadow: rgb(229 215 209) -25px 25px;
}

.contents_wrap .con2 figure {
    box-shadow: rgb(229 215 209) 25px 25px;
}

.contents_wrap .box figure img {
    width: 100%;
    height: auto;
    transform: none!important;
    top: 0px!important;
    left: 0!important;
}

#contents .box .box_item {
    margin: 0;
    order: 1;
    background-color: transparent;
    width: 45%!important;
}

.contents_wrap .con2 figure img {
    order: 1;
}

#contents .con2 .box_item {
    order: 2;
}

#contents .box .box_item:before {
    display: none;
}

#contents .box .box_item h3 span {
    font-size: 30px;
}

.con-space img {
    margin: 100px 0;
    width: 40%;
    max-width: 600px;
}

.link-bnr-box {
    width: 45%;
    max-width: 640px;
    margin: 100px auto;
    text-align: center;
    transition: 0.5s;
}

#contents .link-bnr-box {
    margin: 100px auto 50px;
}

.link-bnr-box:hover {
    opacity: 0.7;
}

/* top-cms */

.top_cms_box_wrap,.cms_title_box {
    background-color: #ffffff!important;
}

.date {
    font-weight: 700;
}

.cms_title_box {
    padding: 10px 30px;
}

.top_cms_box_wrap .cms_title, .cms_title_box{
    border: 5px solid #7ab0ce;
    background-color: #ffffff!important;
    color: #7ab0ce!important;
}

.top_cms_box_wrap .cms_title h2 span {
    font-weight: 900;
}

.top_cms_box.cms1 .sub_title, .cms_title_box h2 span  {
    color: #7ab0ce!important;;
}

/* ----------　下層ページ　---------- */

#page_title .title {
    border: 5px solid #7ab0ce;
}
.cate_list li a:hover {
    color: #ffffff!important;
}

#cms_5-f {
    padding-bottom: 50px!important;
}

.page6 .link-bnr-box {
    margin: 50px auto 100px;
}

#cms_5-f .cate_box .open_bt .box_title1::before, .cms_5-f .cate_box .open_bt .box_title1::before {
    display: none;
}

#cms_5-f .cate_box .open_bt .box_title1, .cms_5-f .cate_box .open_bt .box_title1 {
    margin-left: 50px;
}

.cate_title {
    font-weight: 900;
}

.cate > div {
    background-color: #ffffff!important;
}

.cate .box_wrap {
    background-color: transparent!important;
}

/* 会社情報 */

.page7 .box .box_item:nth-of-type(2) p {
    color: #1f2c33!important;
    font-weight: normal!important;
}

/* お問い合わせ */

.contact_tel_box {
    width: 45%;
    max-width: 640px;
    margin: 0 auto 100px;
}

/* プライバシーポリシー */
/* サイトマップ */





/* モーダル */
html.modalset{
	overflow: hidden;
}

.modal-open span {
    color: #ffffff;
    transition: 0.5s;
    border:none;
}

.modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
}
.modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 20px;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
.modal-wrap::-webkit-scrollbar {
	display: none;
}
.modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
.modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.modal-box{
	width: 90%;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}
.modal-box:before{
	content: "";
	display: block;
	background-color: #fff;
	box-sizing: border-box;
	width: 100%;
	height: 10%;
	position: absolute;
	bottom: 0;
	left: 50%;
	-ms-transform: translate(-50%,0);
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
	z-index: 0;
}
.modal-box .inner{
	background: #fff;
	max-height: 500px;
	overflow: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.modal-box .inner::-webkit-scrollbar {
	display:none;
}
.modal-box .inner > :first-child {
	margin-top: 0;
}

.modal-box .modal-close{
	cursor: pointer;
	position: absolute;
    top: 0;
    right: 0;
}
.modal-box .modal-close span{
	display: block;
	width: 50px;/*枠の大きさ*/
	height: 50px;/*枠の大きさ*/
	position: relative;
}

.modal-box .modal-close span::before, .modal-box .modal-close span::after{
	content: "";
	display: block;
	width: 100%;/*バツ線の長さ*/
	height: 2px;/*バツ線の太さ*/
	background: #000;
	transform: rotate(45deg);
	transform-origin:0% 50%;
	position: absolute;
	top: calc(14% - 1px);
	left: 14%;
}

.modal-box .modal-close span::after{
	transform: rotate(-45deg);
	transform-origin:100% 50%;
	left: auto;
	right: 14%;
}
.modal-open span{cursor: pointer;}

.modal_title_wrap{
	top: 0;
	left: 0;
}
.modal_title1{padding-top: 60px;}
.modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
.modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}

.modal_title2 {
    font-weight: bold;
}

#youtube {
    width: 60%;
    margin: 20px auto;
}

/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
    .slider {
    margin: 0 0% 0 0%!important;
    height: 50vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}   

.slider-item {
    height:50vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
.passing {
    bottom: 10%;
    left: 5%;
}

.passing .passing-bar h2 {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 2;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.fix-box {
        bottom: 10px;
        right: 60px;
        display: flex;
        column-gap: 10px;
        transition: 0.5s;
    }

.fix-link:nth-of-type(2) {
        margin-top: 0;
    }

.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.contents_wrap {
        width: 90%!important;
    }
    
.con-space img {
    margin: 50px 0;
    width: 70%;
}

#contents .box .box_item {
        width: 100%!important;
        order:2;
        margin-top: 100px;
    }

.contents_wrap .box figure {
        order: 1;
    }

.link-bnr-box, .contact_tel_box {
        width: 60%;
    }
    

#youtube {
    width: 80%;
    margin: 30px auto;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){

.load_logo {
    width: 150px!important;
    height: 150px!important;
}

.load_logo img {
    width: 100%;
    height: auto;
    width: 75px;
    padding-top: 40px;
}
.page-top {
        bottom: 15px;
    }

.fix-box {
        bottom: 15px;
    }

.fix-box .fix-link:nth-of-type(1) a{
        display: none;
    }

.link-bnr-box {
        width: 85%;
    }

.passing {
    bottom: 3%;
    left: 0%;
}

.passing .passing-bar h2 {
    font-size: 25px;
    }

.slider {
    margin: 0 0% 0 0%!important;
    height: 40vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
    .slider-item {
    height:40vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

.under {
    width: 85%;
}

#catch .box .title {
        margin-top: 60px;
}

#contents .contents_wrap .title {
    font-size: 30px;
}

#contents .box .box_item h3 span {
    font-size: 25px;
}
    #contents .box .box_item h3 {
        margin-top: 20px;
    }

.contents_wrap .con2 figure {
        transform: translate(-12px, -10px);
    }

.contact_tel_box {
        width: 90%;
    }
    
.con1 .box_item p {
    margin-top: 20px;
}
    
#catch .box .sub_title, #contents .box .box_item .sub_title {
    font-size: 20px!important;
    padding: 10px 10px;
}

.cate_title {
    font-size: 1rem;
}

#youtube {
    width: 90%;
}
    
}

/* ----------top news ---------- */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}

/* ----------top garally ---------- */
#topcms_gallery_type1 .loopSliderWrap{
    top: 0;
    left: 0;
    height: 450px;
}
#topcms_gallery_type1 .loopSlider {
    margin: 0 auto;
    height: 450px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul {
    height:450px;
    float: left;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul .li {
    width: 450px;
    height: 450px;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 0;
}
#topcms_gallery_type1 .loopSlider .ul .li img{
    border-radius: 0;
}
#topcms_gallery_type1 .loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

/*リンクボタン*/
#topcms_gallery_type1 .btn{z-index: 3;}
#topcms_gallery_type1 .btn a::before {
    content: '';
    position: absolute;
    bottom: 55px;
    right: 27%;
    width: 42%;
    height: 1px;
    background: #333;
    transition: all .3s;
}
#topcms_gallery_type1 .btn a::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 27%;
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    transition: all .3s;
}
#topcms_gallery_type1 .btn a:hover::before {
    right: 16%;
    background: #fff;
}
#topcms_gallery_type1 .btn a:hover::after {
    right: 15%;
    background: #fff;
}
#topcms_gallery_type1 .btn {
    display: block;
}
#topcms_gallery_type1 .btn a {
    background: #fff;
    color: #212121;
    width: 200px;
    height: 200px;
    display: flex;
    align-content: center;
    justify-content: center;
    border-radius: 50%;
    flex-wrap: wrap;
    transition: all 0.4s;
}
#topcms_gallery_type1 .btn a:hover {
    background: #1c1c1c;
    color: #fff;
}
#topcms_gallery_type1 .btn a span, .btn a strong {
    text-align: center;
}
@media(max-width: 768px) {
#topcms_gallery_type1,#topcms_gallery_type1 .loopSliderWrap,#topcms_gallery_type1 .loopSlider,#topcms_gallery_type1 .loopSlider ul,#topcms_gallery_type1 .loopSlider .ul .li{
	height: 280px;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 280px;
}
#topcms_gallery_type1 {
    padding-bottom: 0;
    padding-top: 0;
}
}
@media(max-width: 667px) {
#topcms_gallery_type1,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 179px!important;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 179px;
}
#topcms_gallery_type1 .btn a::after {
    bottom: 35px;
    right: 27%;
}
#topcms_gallery_type1 .btn a::before {
    bottom: 30px;
    right: 27%;
}
#topcms_gallery_type1 .btn a {
    width: 140px;
    height: 140px;
    line-height: 1.7;
}
}

/*youtube*/
.youtube_box{
  position: relative;
  width: 80%;
  padding-top: 44.8%;
}
.youtube_box iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
.youtube_box:empty {
    display: none;
}


/* ----------　スマホ　---------- */
.youtube_box{
  width: 100%;
  padding-top: 56%;
}
