﻿@font-face {
font-family: "RM1c_b";
  src: url("./Dup/default/RM1c_b.ttf") format("ttf"),url("./Dup/default/RM1c_b.eot") format("eot"),url("./Dup/default/RM1c_b.woff") format("woff"),url("./Dup/default/RM1c_b.woff2") format("woff2");
}
.font1{font-family: "RM1c_b","sans-serif";}
/*--------------------------自動リンク--------------------------*/
.linkStyle{color: #284196; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #284196;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block; margin-bottom: 20px;}
}


/* color */
body,.txt_color_nomal{color: #333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #4b8c41} /* メインカラー */
.txt_color2{color: #b9dc78} /* サブカラー */
.txt_color3{color: #284196} /* アクセントカラー1 */
.txt_color4{color: #e6e6e6} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #4b8c41} /* メインカラー */
.bg_color2{background-color: #b9dc78} /* サブカラー */
.bg_color3{background-color: #284196} /* アクセントカラー1 */
.bg_color4{background-color: #e6e6e6} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #4b8c41}
.border_color2{border-color: #b9dc78}
.border_color3{border-color: #284196}
.border_color4{border-color: #e6e6e6}


/*--------------------------------
全体
--------------------------------*/
#left_bar div{z-index: 1;}

/*--------------------------------
TOP
--------------------------------*/
#pc_intro{background-color: white;}

.links_bt .touch{
animation: updown 1.2s ease-in-out infinite alternate;
max-width: 150px;
width: 10%;
bottom:-10px;
left: 63%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#left_link .links_bt .touch{
width: 30%;
left: 80%;
}
@keyframes updown{
  0% {
    transform: translate(-50%,0);
  }
  100% {
    transform: translate(-50%,10px);
  }
}


#contents h3,#contents figure{margin-bottom: 30px!important;}
#contents .box_txt{background-color : #fff!important;}
#pc_news {background-color: #fff!important;}
/*--------------------------------
下層
--------------------------------*/
#main_left #left_link{top: 60%;width: 40%!important;}
#page_title{background-color: #284196!important;padding-top: 0;padding-bottom: 30px;}
#page_title figure.mg_b-20px{margin-bottom: 0;}

/* 5-b Q削除 */
#cms_5-b .cate_box .open_bt .box_title1::before, .cms_5-b .cate_box .open_bt .box_title1::before{display: none;}
#cms_5-b .cate_box .open_bt .box_title1, .cms_5-b .cate_box .open_bt .box_title1{margin-left: 70px;}


/*IEのみ*/
@media all and (-ms-high-contrast: none) {
#cms_2-a .cate .cate_title{padding-top:10px;}

#contact_tel a{padding-bottom: 24px;}
#tel_txt h3{padding-bottom: 0;}
#tel_txt p{padding-bottom: 15px;}

}

/*タブレット以上（769px以上）
--------------------------------------------------------------------------*/
@media  screen and (min-width: 769px){
header{
background-image: url(./Dup/default/bg.jpg);
background-size: 70%;
background-position: center center;
}
#top_header{background-color: transparent!important;}
#main_right header, #page_title{ padding-right: 0; }
#main_right main #page_container{ padding-right: 5%; }
#page_title{padding-left: 0;}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#top_link{ margin-top: 0; margin-bottom: 50px; }
.links_bt .touch{
width: 40%;
bottom: 0;
left: 80%;
}
#main_menu .swiper-container{padding-top: 5px;}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#top_link .links_bt{ width: 60%!important;}
.links_bt .touch{
width: 30%;
bottom: 5%;
left: 85%;
}
}



/*--------------------------------
アニメーション
--------------------------------*/
.pc .rotateOut{
  -webkit-animation-name: rotateOut;
  animation-name: rotateOut;
}
.sp .rotateOut{
  -webkit-animation-name: rotateOutSP;
  animation-name: rotateOutSP;
}
@keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}
@keyframes rotateOutSP{
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
}
.animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.pc .rotateOut{
  -ms-animation-name: rotateOutIE;
  animation-name: rotateOutIE;
}
}
@keyframes rotateOutIE {
  from {
    -ms-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }
  to {
    -ms-transform-origin: center;
    transform-origin: center;
    -ms-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
}