﻿/*--------リンク・フォント--------*/
@font-face {
    font-family: 'hiragino_min';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/hiragino_min_r.woff') format('woff'),
        url('../Dup/img/hiragino_min_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'hiragino_min';
    font-style: normal;
    font-weight: 700;
    src: url('../Dup/img/hiragino_min_b.woff') format('woff'),
        url('../Dup/img/hiragino_min_b.eot')  format('eot');
    font-display: swap;
}
body{font-family: "hiragino_min","游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";}
.linkStyle{color: #333333; text-decoration: underline;}



/*--------全体--------*/
.shadow{box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;}
.shadow-b{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}
main{
        background-image: url(./Dup/img/back.png);
    background-attachment: fixed;
}
#main_img{
    width: 90%;
    padding-top: 50px;
}
#main_img .slider .box_img{opacity: 1;}
.swiper-container{ witdh:100%; max-width:1900px; }
.swiper-slide-next,.swiper-slide-prev{ opacity: 0.6; }

#intro_txt {
    background: url(./Dup/img/item_01.png) no-repeat;
    background-position: 1% 13%;
    background-size: 6%;
}
#intro_txt h2{
    display: inline;
    padding: 3px 5px;
    background-color: #fff;
    font-size: 2.5em;
}
#contents .box_wrap .box{    width: 90%;}
#contents .box_wrap .box:nth-of-type(2){margin-left:auto;}





.more a {    
  position:relative;        
  display:inline-block;        
  transition:all 0.3s ease-in-out;
}
.more a::before {
    content: ''; 
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;    
    width: 100%;
    height: 100%;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
     opacity: 0;
    transform: scale(0, 1);    
    transition: all 0.3s;
}
.more a::after {
    content: ''; 
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;    
    width: 100%;
    height: 100%;
    background-color:#333;    
    transition: all 0.3s;
}
.more a:hover{background-color: rgba(255, 255, 255, .35);}
.more a:hover::before {
    opacity: 1;
    transform: scale(1, 1);
}
.more a:hover::after {
    opacity: 0;
    transform: scale(0, 1);
}
.more a span {
  position: relative;
  z-index: 2;    
  color: #fff;    
    transition: all 0.3s;
}
.more a:hover span {
    letter-spacing: 2px;
  color: #333;
}

.cms_6-a .cate_box:first-of-type{border-top: 1px solid;	}
.cms_6-a .cate_box:last-of-type{border-bottom: 1px solid;}

#top_cms .d_flex > .top_cms_box{
    width: 50%;
    box-sizing: border-box;
}
#top_cms .d_flex > .top_cms_box:first-of-type{
    padding-right: 25px;
}
#top_cms .d_flex > .top_cms_box:nth-of-type(2){
    padding-left: 25px;
}



/*--------下層--------*/
#cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2{
	border-color: #777777;
	word-break: break-all;
}
#cms_6-b .cate_box:first-of-type{
	border-top: 1px solid #777777;
}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2{
	border-color: #777777;
	word-break: break-all;
}
.cms_6-b .cate_box:first-of-type{
	border-top: 1px solid #777777;
}
#page8 .tel_box{
    padding: 15px 20px 15px 20px;
    position: relative;
    overflow: hidden;
}

#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){
    #main_img{
    padding-top: 0px;
}
    #intro_txt h2 {
    font-size: 2em;
}
#intro_txt {
    background-position: -1% 13%;
    background-size: 7%;
}
#top_cms .d_flex > .top_cms_box:first-of-type{
    padding-left: 15px;
    padding-right: 10px;
}
#top_cms .d_flex > .top_cms_box:nth-of-type(2){
    padding-left: 10px;
    padding-right: 15px;
}

}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
    .navToggle {
    right: 12px;
    top: 1.7%;
    width: 40px;
}
    .navToggle span {
    width: 30px;
    }
    #header #logo{width: 55%!important;}
    #header #logo h1{    padding: 3px 0;}

    #intro_txt h2 {
    font-size: 1.5em;
    letter-spacing: 2px;
    padding: 0.07em 5px;
}
#intro_txt {
    background-position: 0% 6%;
    background-size: 10%;
}
#contents .box_wrap .box {
    width: 100%;
}
#top_cms .d_flex > .top_cms_box {
    width: 100%;
}
#top_cms .d_flex > .top_cms_box:first-of-type{
    padding: 0px;
}
#top_cms .d_flex > .top_cms_box:nth-of-type(2){
    padding: 0px;
}
.more a {
    padding: 10px 0;
    font-size: 4.2vw;
}
.page05 #cms_6-b .cate_box{
    padding: 5px;
}
.page05 #cms_6-b .box_wrap{
    background-color: rgba(255,255,255,0.4);
    border: 1px solid #777777;
}
.page05 #cms_6-b .box_txt1{
   background-color: rgba(255,255,255,0);
    color: #333;
    font-weight: 700;
    border-bottom: 1px dashed #777777;
    border-top: none;
    border-left: none;
    border-right: none;
}
.page05 #cms_6-b .box_txt2{
    font-size: 3.5vw;
}

}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){

#contact_tel a {padding:37px 30px 30px}
}
