﻿/*--------リンク・フォント--------*/
@font-face {
    font-family: 'A1gothic';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/A1gothic_r.woff') format('woff'),
        url('../Dup/img/A1gothic_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'A1gothic';
    font-style: normal;
    font-weight: 700;
    src: url('../Dup/img/A1gothic_bold.woff') format('woff'),
        url('../Dup/img/A1gothic_bold.eot')  format('eot');
    font-display: swap;
}

body{font-family: "A1gothic","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    font-size: 16px;
}
.linkStyle{color: #333333; text-decoration: underline;}

/*--------全体--------*/

 body{
  animation: bgchange 20s ease infinite;
}
@keyframes bgchange{
      0%   {background:#ffe6e1;}
      25%  {background:#fdcb9e;}
      50%  {background:#fdcbc1;}
      75%  {background:#ffff8c;}
      90%  {background:#b2dffb;}
      100% {background:#ffe6e1;}
 }
.add_shadow{box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;}
.add_shadow2{box-shadow: rgba(0, 0, 0, 0.1) -4px -4px 12px;}
.add_shadow3{box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;}
.add_shadow4{box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;}
.head_box .contact_bt a .fa-envelope:before { content: "\f086";}

.fadein {
   opacity: 0;
   transform: translateY(50px);
   transition: all 0.6s 0s;
 }
 
 .head_box,
 #logo{max-width:350px;}
#main_img{
  max-height: initial;
  min-height: auto;
}

#main_menu li{
    position: relative;
    margin-bottom: 30px;
    transition: 0.3s;
}
#main_menu li a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0px;
}
#main_menu li span{
    display: block;
    padding-top:25px;
    font-size: 1rem;
    color: #fff;
}
#main_menu li:hover{
    opacity:0.7;
    transition: 0.3s;
}
.link_box ul li{width: calc(50% / 5)!important;}

#contents_box{
        background: url(./Dup/img/item_01.png) no-repeat;
    background-size: 75%;
    background-position: -20% 0%;
}
#contents2{
    border: 4px solid #f68100;
    padding: 30px;
}
#contents2 h2{
        border: 2px solid #333;
    padding: 9px 10px 5px;
    background-color: #fff;
    margin-bottom: 35px;
}
.button{
    display: block;
    border: 1px solid #fff;
    background-color: #fff;
    color: #0f95a0;
    padding: 10px 20px;
    transition: all .3s;
    font-weight: 700;
}
.button:hover {
  box-shadow:7px 8px 2px 0px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
    color: #ffffff;
    background-color: #27c9d6;
}
.button2{
    display: block;
    border: 1px solid #fff;
    background-color: #fff;
    color: #0f95a0;
    transition: all .3s;
    font-weight: 700;
}
.button2:hover {
  box-shadow:7px 8px 2px 0px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
    color: #ffffff;
    background-color: #27c9d6;
}
.footer_cms.txt_color3{color:#333;}
.foot_tel_bt a{display:none;}

.cms_2-c .cate_box{
    width:calc(100% / 3 - 50px);
}
.cms_2-c .cate_box i{
    top: 50%;
    right: -45px;
    font-size: 1.5em;
}
.cms_2-c .cate_box:last-of-type i{
    display: none;
}
.cms_2-c .cate_box i:last-of-type {
    display: none;
}


/*--------下層--------*/
#page_title .page_box h2,
#page_title .page_box p{text-shadow:none;}
#cms_6-c .cate_box{
    width:calc(100% / 2 - 20px)!important;
}
#cms_6-c .cate_box .box_title {
    position: relative;
    display: block;
    background-color: #f68100;
    padding: 10px 15px;
    text-align: center;
    color: #fff;
}
#cms_6-c .cate_box .box_title::before {
    content: "";
    position: absolute;
    border: solid 12px transparent;
    border-top: solid 12px #f68100;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

#page8 .tel_box{
    position: relative;
    overflow: hidden;
    padding: 20px 20px 15px 20px;
}

#page8 .tel_box > a:before{
    content:"";
    position: absolute;
    width:100vw;
    height:100vh;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    left:50%;
    top:50%;
}
@media screen and (max-width: 1200px){
    #page8 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
        
    }
}

/*--------タブレット--------*/
@media screen and (max-width: 768px){
    #logo {max-width: 200px;}
    .main_box {padding-top: 71px;}
    .cms_2-c .cate_box {width: calc(100% / 3 - 30px);}
    .cms_2-c .cate_box i {
    right: -32px;
    top: 77px;
    transform: translateY(-50%);
    }
      footer .link_box ul{justify-content: space-around;}
   .button,
   .button2{
    box-shadow: 7px 8px 2px 0px rgb(0 0 0 / 30%);
    border-color: #ffffff;
    color: #ffffff;
    background-color: #27c9d6;
}

}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
    #logo {
    max-width: 150px;
}
.main_box {
    padding-top: 57px;
}
#contents2 {
    padding: 15px;
}
.cms_2-c .cate_box i:last-of-type {
    display: block;
}
    .cms_2-c .cate_box {
    width: 100%;
}
.cms_2-c .cate_box i:first-of-type {
    display: none;
}
.cms_2-c .cate_box:last-of-type i{
    display: none;
}
.cms_2-c .cate_box i {
    right: 44%;
    top: auto;
    bottom: -10.2%;
    transform: translate(-50%, -50%);
}
#cms_6-c .cate_box {
    width: 100%!important;
}
#page8 .tel_box > a{
    font-size: 7vw;
}
}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){


}