﻿@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap');

/* ----------　all　---------- */
.linkStyle{
	color:#7ABBA4;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#7ABBA4;
	opacity: 0.7;
	transition: all 0.5s;
}

body {
    overflow: hidden;
}

body, .txt_color_nomal {
    color: #333333;
}

html, body {
    font-size: 16px;
}

.font_12{font-size: 14px;}
.font_14{font-size: 16px;}
.font_15{font-size: 17px;}
.font_16{font-size: 18px;}
.font_18{font-size: 20px;}
.font_20{font-size: 22px;}
.font_22{font-size: 24px;}
.font_24{font-size: 26px;}
.font_26{font-size: 28px;}
.font_28{font-size: 30px;}
.font_30{font-size: 32px;}
.font_100per{
font-size: -webkit-calc(1rem + 2px);
font-size: calc(1rem + 2px);
}
.font_2up{
font-size: -webkit-calc(1rem + 4px);
font-size: calc(1rem + 4px);
}
.font_4up{
font-size: -webkit-calc(1rem + 6px);
font-size: calc(1rem + 6px);
}
.font_6up{
font-size: -webkit-calc(1rem + 8px);
font-size: calc(1rem + 8px);
}
.font_8up{
font-size: -webkit-calc(1rem + 10px);
font-size: calc(1rem + 10px);
}
.font_10up{
font-size: -webkit-calc(1rem + 12px);
font-size: calc(1rem + 12px);
}
.font_2dw{
font-size: -webkit-calc(1rem);
font-size: calc(1rem);
}


/* nav */

#con_nav ul li {
    max-width: 25%;
}

.fixbnr {
    display: none;
}

.head_tel p, .footer_tel p {
    font-family: 'Noto Sans JP', sans-serif;
}

/*.fix-con {*/
/*    bottom: 10px;*/
/*    right: 80px;*/
/*    text-align: center;*/
/*    background-color: #ffffff;*/
/*    border: 1px solid #333333;*/
/*    padding: 15px 25px;*/
/*    border-radius: 24px;*/
/*    transition: 0.3s;*/
/*}*/

/*.fix-con a {*/
/*    line-height: 1;*/
/*}*/

.fix-con {
    bottom: 10px;
    right: 80px;
    text-align: center;
    transition: 0.3s;
    width: 45%;
}

#con_nav li:last-child a {
    background-color: transparent;
    box-shadow: none;
    display: block;
    height: auto;
    border-radius: 0;
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
}

#sns_link {
    flex-direction: column;
}

.hamburger_line {
    background-color: #7abba4;
}

/* footer */

#gmap{
    border-radius: 24px 0 0 24px;
}

#footer_info .info_txt_wrap {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0 24px 24px 0;
}

/*sheep anime*/

.demo_item{
    width: 250px;
    height: 120px;
    border-radius: 10px;
    background-image: url("../dup/img/sheep-w.gif");
    background-size: contain;
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    position: relative;
        top: 20px;
}

.under_page .demo_item {
    background-image: url("../dup/img/sheep.gif");


}

.demo_stage{
    position: relative;
    width: 100%;
    height: 120px;
    top: 0px;
    display: block;
    border-bottom: solid #7ABBA4 2px;
}

.under_page .demo_stage {
    border: none;
}

.demo_wrap{
	display: block;
    position: absolute;
    top: 0;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-duration: 20s;
    animation-iteration-count: 1;
	margin-right: -25px;
}
.demo_wrap[data-order="left"] {
    animation-name: GoLeft;
}
.demo_wrap[data-order="right"] {
    animation-name: GoRight;
}
[data-order="right"] > .demo_item {
    transform: rotateY(180deg);
}
@keyframes GoLeft {
	0% {right: 10%;}
	100% {right: 90%;}
}
@keyframes GoRight {
	0% {right: 90%;}
	100% {right: 10%;}
}
@keyframes upDown {
	0% {top: 0;}
	100% {top: 3px;}
}


/* ----------　TOP　---------- */

/* main-img */

#main_img::before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background-color: rgba(122, 187, 164, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.main-copy {
    z-index: 4;
    top: 35%;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 750px;
}

/* top */

.con_sub_title {
    font-size: 40px;
}

.fon_jos {
    font-family: 'Nanum Myeongjo', serif;
}

.img-container:before {
    background: #7ABBA4;
}

#top_contents1 {
    background-image: url(Dup/img/ilu1.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 45%;
    margin-top: 100px;
}

#top_contents1 .con1_img2 {
    display: none;
}

#top_contents3{
    padding-top: 100px;
    background-image: url(Dup/img/ilu2.png),url(Dup/img/ilu1.png);
    background-repeat: no-repeat;
    background-position: left top, right bottom;
    padding-bottom: 100px;
    background-size: 45%;
}

#top_contents3 .con3_box1 {
    margin-top: 50px;
    transform: none;
}

.con3_wrap .d_flex {
    align-items: center;
}

#top_contents3 .con3-ilu img {
    border-radius: 0;
    max-width: 70px;
    margin-bottom: 10px;
}

#top_contents3 .con_title {
    font-size: 20px;
}

.con_txt {
    line-height: 2.3;
}

#attach {
    height: auto;
    padding-top: 150px;
}

.attach_txt {
    text-shadow: 0 0 5px rgb(0 0 0 / 15%);
    margin-bottom: 20px;
}

.dec1 {
    right: -5px;
    top: 45%;
    width: 400px;
}

.dec2 {
    top: 63%;
    left: -10px;
    width: 400px;
}

/*モーダル*/

html.modalset{
	overflow: hidden;
}
.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: 1;
}
.modal-box .inner{
	 background: rgba(255,255,255,1);
	max-height: 500px;
    overflow: auto;
	-ms-overflow-style: 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;
    color: #333333;
    border-color: #333333;
    width: auto;
    display: inline-block;
    padding: 15px 50px;
    border-radius: 10px;
    background-color: #ffffff;
    transition: 0.3s;
}

.modal-open .icon-right {
    display: none;
}

.modal-open span:hover {
    color: #ffffff;
    border-color: #7ABBA4;
    background-color: #7ABBA4;
}

.modal_title_wrap{
	top: 0;
	left: 0;
}

.modal-box .inner figure img {
        width: 100%!important;
    height: auto!important;
}

/* top-cms */

#top_news {
    padding: 50px 5%;
}

.cms1inner {
    border-radius: 24px;
    padding: 50px;
    background-color: #FCF8F0;
}

#top_cms {
    background-color: #ffffff;
    padding: 0px 5% 100px;
}

#top_cms .cms_box {
    border-radius: 24px;
    padding: 50px;
    background-color: #FCF8F0;
    border: none;
}

#top_cms .cms_box:last-of-type {
    margin-top: 150px;
}


/*top-more*/

.toppage .more a {
    color: #333333;
    background-color: #ffffff;
    font-weight: 700;
    border: 1px solid;
    border-radius: 20px;
    padding: 20px 55px;
    transition: 0.3s;
    text-transform:lowercase;
}

.toppage .more a:hover {
    color: #ffffff;
    border-color: #7ABBA4;
    background-color: #7ABBA4;
}

.toppage .more a:before, .toppage .more a:after {
    display: none;
}

.toppage .con3_wrap3 .more a,.toppage .con3_wrap4 .more a {
    padding: 20px 30px;
}

/*footer more*/

#footer_info .more a {
    font-weight: normal;
    background-color: transparent;
    text-align: center;
    border: 3px solid #eedcb3;
    border-radius: 20px;
}

#footer_info .more a:hover {
    color: #7ABBA4;
}

/* ----------　下層ページ　---------- */

.under_page > div {
    background-image: url(Dup/img/ilu3.png), url(Dup/img/ilu4.png);
    background-repeat: no-repeat;
    background-position: right center, left center;
    background-size: contain;
}

#page_title .con2_bg {
    background-color: #7ABBA4;
    opacity: 0.35;
}

#page_title .sub_title {
    font-weight: bold;
}

#page03 .cate > div:first-of-type, #page04 .cate > div:first-of-type {
    border-radius: 24px;
}

.pager li:not(.prev) a, .pager li:not(.next) a {
    width: 80px;
}

.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;
}

.v_type3 .cate_box{border: 1px solid #7ABBA4;}
.v_type3 .box_title1{color: #7ABBA4;}

/* 会社情報 */
/* お問い合わせ */

#page10 .more {
    font-family: 'Kiwi Maru', serif;
}

.con-tel-box a, .con-rsv-box a {
    border: 1px solid;
    padding: 20px;
    line-height: 1.5;
    border-radius: 25px;
    margin-top: 20px;
}

/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
#gmap{
    border-radius: 24px;
}

.main-copy {
    width: 95%;
}
    
#top_contents3 .con_title, .con3_no {
    text-align: center;
}

.con3-ilu {
    margin: 0 auto 10px;
}

#top_contents3 .con3_box1,#top_contents3 .con3_box2,#top_contents3 .con3_box3 {
    padding: 0;
    margin-top: 50px;
}

#top_contents1 .con1_img {
    padding-bottom: 45vh;
}

#top_contents3 {
background-size: 55%;
}

.dec1 {
    top: 43%;
    z-index: 2;
}

.dec2 {
    top: 70%;
    z-index: 2;
}

.under_page > div {
    background-size: 30%;
    background-position: right bottom,left bottom;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
.loader_icon {
    width: 200px;
}

.fix-con {
    right: 50px;
    width: 80%;
}

#footer_info .info_txt_wrap {
    margin-bottom: 20px;
}

#top_contents1,#top_contents3 {
    background-size: 70%;
}

#attach {
    padding-top: 100px;
}

.demo_stage {
    height: 70px;
}

.demo_item {
    width: 125px;
    height: 70px;
}

.dec1 {
    width: 250px;
    top: 40%;
}

.dec2 {
    width: 250px;
    top: 67%;
}

#top_cms .cms_box {
    padding: 15px;
}
    
#top_contents1 .con1_img2 {
    width: 60%!important;
    bottom: -90px;
}


#top_contents3 .con3_no {
    font-size: 25px;
}
    
    
.main-copy {
    top: 25%;
}
    
.youtube_box{
  width: 100%;
  padding-top: 56%;
}
}



/* top-cms1(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}
}