﻿@font-face {
font-family: "RM1c_med";
  src: url("./Dup/img/RM1c_med.ttf") format("ttf"),url("./Dup/img/RM1c_med.eot") format("eot"),url("./Dup/img/RM1c_med.woff") format("woff"),url("./Dup/img/RM1c_med.woff2") format("woff2");
}
.font1,.font_en,#main_menu{font-family: "RM1c_med","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents1,#contents2,#contents2 div.grid_6,#contents2 figure,#contents3{position: relative;}
/*リピートなし*/
#main_img .catch span,#contents1:before,#contents2:before,#contents2 div.grid_6:before,#contents2 figure:before,#contents3:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
#main_img .catch{
width: 50vw;
height: 15vw;
position: absolute;
top: 2vw;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 1;
}
#main_img .catch span{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 50vw;
height: 15vw;
top: 0;
left: 0;
opacity: 0;
}

#contents1:before{
background-image: url(./Dup/img/obj1.png);
width: 250px;
height: 170px;
bottom: 15px;
left: 48%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents2 div.grid_6:before{
background-image: url(./Dup/img/obj3.png);
width: 150px;
height: 120px;
top: -125px;
left: -10px;
}
#contents2 figure:before{
background-image: url(./Dup/img/obj4.png);
width: 170px;
height: 170px;
bottom: -95px;
left: -100px;
opacity: 0.7;
}

#contents3:before{
background-image: url(./Dup/img/obj2.png);
width: 130px;
height: 175px;
bottom: 10px;
right: 50px;
}

.cms_title::before,#page_title .page_box::before{
background-color: transparent;
background-image: url(./Dup/img/obj4.png);
background-size: cover;
background-repeat: no-repeat;
width: 100px;
height: 100px;
top: -55px;
left: -15px;
-ms-transform: none;
-webkit-transform: none;
transform: none;
}
#page_title .page_box::before{
width: 120px;
height: 120px;
top: -70px;
left: 25px;
}
/*--------------------------------
全体
--------------------------------*/
header.grid_3{width: 350px!important;padding-top: 100px;}
.contact_bt a,.tel_bt a{background-color: #64CDCD;}
.contact_bt a:hover,.tel_bt a:hover{background-color: #ffaf5f;border-color: #ffaf5f;}


.main_box.grid_9{
overflow: hidden;
width: calc(100% - 350px)!important;
margin-left: 350px!important;
min-width: 700px;
}

/* 角丸 */
#contact_tel a{border-radius: 50px;}
figure,.normal_img img,.contact_bt a,.tel_bt a,.foot_tel_bt a,.more a,.cate_list a,#page10 li a{border-radius: 30px;}

/* ヘッダー*/
#main_menu ul li a,header .contact_bt a,header .tel_bt a{color: #333;}
#main_menu ul li a::before{background-color: #eb9c4d;}

/* SNSリンク */
.link_box li{margin-right: 3%;}
.link_box li:last-of-type{margin-right: 0;}
.link_box ul.flex_space-between{
justify-content: center;
align-items: center;
}

/* ページタイトル影 */
#page_title h2,#page_title p{text-shadow: none;}

/* お問い合わせボタン hover */
.button:hover::after{box-shadow: inset 0 0 0 15em #64CDCD;}

/* ボタン */
.more a,.foot_tel_bt a{position: relative;z-index: 0;}

/* キャッチコピー */
.txt1{width: 80%;}

/* フッターテキスト 文字色 */
.footer_cms.txt_color3{color: #333;}

.fadein_up{
    opacity : 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
	transition:transform 1.5s ease,opacity 2s ease; 
}
.fadein_up.scrollin{
    opacity : 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

@-webkit-keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
-webkit-animation: bounceIn 0.75s ease forwards;
animation: bounceIn 0.75s ease forwards;
}
/*--------------------------------
TOP
--------------------------------*/
#contents1{padding-bottom: 150px;}


#contents3 > div{
padding: 0 50px 50px;
position: relative;
}
#contents3 > div::before{
position: absolute;
content: "";
width: 100%;
top: 100px;
bottom: 0;
border-radius: 20px;
background-color: #fffaf7;
z-index: -1;
left: 0;
}

/* TOP お知らせ */
.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}
}
/*--------------------------------
下層
--------------------------------*/
.button2:hover{box-shadow: none;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

header.grid_3{width: 100%!important;padding-top: 10px;}
.main_box.grid_9{
padding-top: 65px;
min-width: auto;
width: 100%!important;
margin-left: 0!important;
}
footer .link_box li{max-width: 40px;}

#contents1:before{
width: 200px;
height: 135px;
bottom: 45px;
}
#contents2 div.grid_6:before{
width: 120px;
height: 100px;
top: -105px;
}
#contents2 figure:before{
width: 100px;
height: 100px;
bottom: -45px;
left: -50px;
}

#contents3:before{
width: 100px;
height: 135px;
bottom: -35px;
right: 10px;
}
#contents3 > div{padding: 0 20px 50px;}

#page_title .page_box{padding-left: 60px;}
#page_title .page_box::before{
width: 100px;
height: 100px;
top: -50px;
left: 0;
}


}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

.main_box.grid_9{padding-top: 52px;}

#main_img .catch,#main_img .catch span{
width: 70vw;
height: 22vw;
}

#contents1{padding-bottom: 100px;}
#contents1:before{
width: 170px;
height: 115px;
bottom: 20px;
}
#contents2:before{
background-image: url(./Dup/img/obj3.png);
width: 120px;
height: 100px;
bottom: 0;
left: 0;
z-index: 1;
}
#contents2 div.grid_6:before{
display: none;
z-index: 1;
}
#contents2 figure:before{display: none;}
#contents3:before{
width: 80px;
height: 108px;
}
.cms_title{padding-left: 10px;}
.cms_title::before{
width: 70px;
height: 70px;
top: -40px;
left: -15px;
}
#page_title .page_box{padding-left: 30px;}
#page_title .page_box::before{
width: 70px;
height: 70px;
top: -30px;
left: -10px;
}

}

/*IE*/
@media all and (-ms-high-contrast: none) {
.tel_bt a,.foot_tel_bt a{padding-bottom: 10px;}
.more a{padding-bottom: 5px;}
}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #64CDCD; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #64CDCD;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #64CDCD;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #FFCD9B;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #64CDCD;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #f4fbfb;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #eb9c4d;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #FFEADB;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #64CDCD;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #f4fbfb;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #FFCD9B;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #FFEADB;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #64CDCD;}
.border_color2,.hvr_border_color2:hover{border-color: #f4fbfb;}
.border_color3,.hvr_border_color3:hover{border-color: #FFCD9B;}
.border_color4,.hvr_border_color4:hover{border-color: #FFEADB;}