﻿@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');

#main_menu, #main_img h2, #contents1 h2, #contents2 h2, #contents3 h3, #top_cms .cms_title .font_en, .button, #page_title .page_box .font_en, .cate_title, .box_title, .box_title1, a[href^="tel:"], #sp_foot{
    font-family: 'Sawarabi Mincho', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

.font_bold{
    font-weight: normal;
}
i.fa-envelope{
    display: none;
}
.txt_shadow, .txt_shadow-b, .txt_shadow-l{
    text-shadow: none;
}

.main_box{
    overflow: hidden;
}

.button{
    background-color: #f9f9f9;
    color: #333;
    border: none;
}
.button:hover{
    background-color: transparent;
    color: #333;
}
.button:hover::after{
    box-shadow: inset 0 0 0 15em #f7f9ef;
}
.button2{
    border: solid 1px #333;
    color: #333;
}
.button2:hover{
    border-color: #75a9ff;
    background-color: #75a9ff;
    color: #fff;
    box-shadow: none;
}

.fadein .fade_box{
    opacity: 0;
    transition:  1s;
    transition-property: opacity,transform;
    transform: translateY(20px);
}
#contents2 .fadein figure.fade_box{
    transform: translateX(20px);
}
#contents3 .fadein figure.fade_box{
    transform: translateX(-20px);
}
.fadein .fade_box.active{
    opacity: 1;
    transform: none!important;
}

.link_box ul{
    justify-content: center;
}
.link_box ul li{
    margin: 0 10px;
}

header{
    background-color: #fff!important;
    border-right: solid 1px #333;
    background-image: url('./Dup/img/header.png');
    height: 100%;
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
#main_menu ul li a{
    color: #333;
}
#main_menu ul li a:hover{
    color: #75a9ff;
}
#main_menu ul li a::before{
    background-color: #333;
}

#main_img h2{
    width: auto;
    text-align: left;
    color: #333;
    padding: 30px;
    padding-left: 50px;
    border-left: solid 1px #333;
    left: 30px;
    right: 0;
    bottom: 30px;
    top: auto;
    transform: none;
    font-size: 30px;
    z-index: 3;
}
.scroll_bt{
    display: none;
}

#contents1{
    max-width: 100%;
    padding: 100px 0;
    background-image: url('./Dup/img/intro.png');
    background-position: right bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
#contents1 h2{
    padding: 10px 50px;
    margin-bottom: 30px;
    border-left: solid 5px #333;
}
#contents1 p{
    padding: 0 50px 0 80px;
}

#contents2{
    max-width: 100%;
    padding: 100px 0;
}
#contents2 h2{
    padding: 10px 0;
    padding-left: 50px;
    border-left: solid 5px #333;
}
#contents2 p{
    padding: 0;
    padding-left: 70px;
}

#contents3{
    z-index: 1;
}
#contents3::before{
    position: absolute;
    content: "";
    width: 70%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #f7f9ef;
    z-index: -1;
}
#contents3 h3::before{
    position: absolute;
    content: "";
    width: 30px;
    height: 3px;
    left: 0;
    top: 0;
    background-color: #333;
}

.top_cms_wrap{
    max-width: 100%;
    padding: 100px 0 0;
}
#top_cms .cms_title{
    padding: 10px 0;
    padding-left: 50px;
    border-left: solid 5px #333;
}
#top_cms .cms_title p{
    color: #75a9ff
}
.cms_title::before{
    display: none;
}
#top_cms .top_cms_box > .cms_wrap{
    max-width: 1280px;
    padding: 0 50px;
    margin: 0 auto;
}

.footer_cms{
    color: #333;
}

#cms_5-b .cate_box .open_bt .box_title1::before, .cms_5-b .cate_box .open_bt .box_title1::before{
    color: #333!important;
}

#page_title .page_box{
    margin: 50px 0;
    padding: 10px 0;
    padding-left: 50px;
    border-left: solid 5px #333;
}
#page_title .page_box::before{
    display: none;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 20px!important;
	margin-bottom: 50px;
	border-bottom: solid 1px #333;
	color: #333;
	font-weight: normal;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 5px;
    left: 0;
    bottom: -5px;
    background-color: #333;
}

#sp_foot{
    left: 0;
    bottom: 0;
    z-index: 10;
}
#sp_foot .open, #sp_foot a{
    height: 40px;
    line-height: 40px;
}
#sp_foot.trans{
    bottom: -83px;
}
#sp_foot.trans .open i{
    transform: rotate(180deg);
}



/** tablet 780 **/
@media screen and (max-width: 768px){
header{
    border-right: none;
    border-bottom: solid 1px #333;
    padding: 16px 0!important;
    height: auto;
    background-size: 120px;
}
#main_img h2 {
    font-size: 24px;
    padding: 20px;
}
#top_cms .cms_title h2{
    font-size: 20px;
}
.fat-nav li a{
    color: #333;
}
.fat-nav li a.border_so1{
    border: solid 1px #333;
    color: #333;
}
.hamburger .bg_color1{
    background-color: #333;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
header{
    padding: 15px 0!important;
}
#main_img h2 {
    font-size: 16px;
    left: 20px;
    bottom: 0;
}
#contents1 h2, #contents2 h2 {
    padding: 10px 30px;
    margin-bottom: 20px;
}
#contents1 p, #contents2 p{
    padding: 0 30px;
}
#contents2 p{
    margin-bottom: 30px;
}
#top_cms .cms_title{
    padding-left: 30px;
}
#top_cms .top_cms_box > .cms_wrap{
    padding: 0 30px;
}
#page_title .page_box{
    padding-left: 30px;
}
.cate_title{
	font-size: 20px;
}
footer{
    padding-bottom: 150px!important;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#main_menu, #main_img h2, #contents1 h2, #contents2 h2, #contents3 h3, #top_cms .cms_title .font_en, .button, #page_title .page_box .font_en, .cate_title, .box_title, .box_title1, a[href^="tel:"]{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.button{
    padding: 18px 0 12px;
}
}