﻿/*--------リンク・フォント--------*/
body{
	font-family: 'NotoSans', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro," メイリオ", Meiryo, Osaka," ＭＳ Ｐゴシック", MS PGothic," sans-serif";
font-size:16px;
}
#contents1 h2,
#contents2 h2,
#main_img h2
{font-family: "NotoSans","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}
#footer_menu ul li a,
#copyright .font_en,
.fat-nav li a{font-family: "NotoSans","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}

#page_title .page_box h2{font-family: "NotoSans","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}

@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/NotoSans_r.woff') format('woff'),
        url('../Dup/img/Notosans_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 700;
    src: url('../Dup/img/Notosans_bold.woff') format('woff'),
        url('../Dup/img/Notosans_bold.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 900;
    src: url('../Dup/img/NotoSans_black.woff') format('woff'),
        url('../Dup/img/notosans_black.eot')  format('eot');
    font-display: swap;
}

.linkStyle{color: #333333; text-decoration: underline;}

#contents1 .font_14,
#contents2 .font_14,
#contents3 .font_14{font-size:calc(1rem);}
#contents3 span{
border: 1px solid #573001;
    width: 75%;
    margin: 6% 0 1.5%;
}

/*--------全体--------*/
.head_box .contact_bt a .fa-envelope:before { content: "\f095";}
.head_box .tel_bt{display:none;}
header.bg_color4 {background-color: #fff;}
#logo img{    width: 100%!important;}
main{
background-image: url(./Dup/img/back.png);
	background-color: #fdf7ee;
    background-attachment: fixed;
    background-size: cover;
}
#main_img h2{
font-size: 2.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
#main_menu ul li a {
    color: #270f03;
	padding-left: 0px;
	transition: .3s;
	font-weight: 700;
}
#main_menu ul li a:hover {
	padding-left: 25px;
	transition: all 0.3s;
}
#main_menu ul li a::before {
	width: 0px;
	height: 3px;
	transition: all 0.3s; 
	background-color: #270f03;
}
#main_menu ul li a:hover::before { width: 20px; }

@media screen and (min-width:769px) and (max-width:1050px){
	#main_menu ul li a {font-size: 14px;}
	#main_menu ul li a:hover { padding-left: 31px;}
}

.pc_box .link_box ul li{width: 13%!important;}

@media screen and (min-width:769px){
header .head_box{padding-left: 10%;padding-right: 10%;}
header.grid_3 { width: 20%!important;padding-top: 70px;}
.main_box {width: 80%!important;}
.main_box { margin-left: 20%;}
#contents2 .grid_6{padding-left: 4%;}
#contents2 figure{width: 45%!important;}
}

#contents1 h2{
	display: inline-block;
    background-color: #573001;
    color: #fff;
    padding: 12px 26px;
}
#contents1 p{	
    background-color: #fff;
    padding: 81px 50px 28px 50px;
    color: #270f03;
    margin-top: -57px;
}
#attach { display: none;}

#contents2 .grid_6,
#contents2 figure{z-index:+1;}
#contents2 .con2_bg{position: relative;}
#contents2 .con2_bg:before{
	content: "";
	display: block;
	width: 85%;
	height: 100%;
	position: absolute;
	background-color: #f7e4c8;
}
#contents2 .con2_bg:before{
	top: 50px;
    left: 0;
    z-index: 0;
}
#contents2 h2{
	font-size: 1.7rem;
	margin-top: 18%;
	margin-right: 5%;
}
#contents2 p{margin-top: 6%;}

#contents3{margin: 6% auto;}
#contents3 h3{	
    margin-top: 0;
    padding: 20px 20px 0px;
}
#contents3 p{	    
    margin-top: 0;
    padding: 20px 20px 40px;
}
#contents3 .con3_bg{background-color:#fff;}

@media screen and (min-width:1215px){
/*
#contents3 .grid_6{position: relative;}
#contents3 .grid_6 h3{
-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    top: -5%;
    background-color: #fff;
        height: 42%;
    font-size: 1.4rem;
    letter-spacing: 4px;
}

#contents3 .grid_6:last-of-type h3{
	text-orientation: upright;
    height: 63%;
	}
*/


}
.more{border-color: #603b1a;}

.button {
	overflow: hidden;  
	color: #573001;
	background: #ffb65f;
	border: none;
	padding-top: 15px;
	padding-bottom: 15px;
}

.button span {
  position: relative;
}

.button:before {
  position: absolute;
  top: 0;
  left: 105px;
  width: 440px;
  height: 500%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
  transform: translateX(-98%) translateY(-70%) rotate(135deg);
  background: #573001;
}

.button:hover:before {
	left: -13px;
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
  transform: translateX(-9%) translateY(-25%) rotate(135deg);
}
.button i{position:relative;}

.contact_bt .button:before {left: 108px;}
.contact_bt .button:hover:before {left: -22px;}

@media screen and (min-width:769px) and (max-width:1050px){
.contact_bt a span{    font-size: 1.7vw;}
.contact_bt .button:before { left: 101px;}
.contact_bt .button:hover:before { left: -31px;}
}

footer{
	background-color: #f7e4c8;
    max-width: inherit!important;
    padding: 3% 10%!important;
}
footer .footer_cms{color: #212121;}
.foot_tel_bt .button:before {left: 112px;}
.foot_tel_bt .button:hover:before {left: -19px;}

#top_cms .cms_2-a .cate_box{align-items: center;}
footer .logo img{max-width: 290px;}




/*--------下層--------*/
#page_title .page_box h2,#page_title .page_box p{text-shadow: none;}

.button2{padding: 9px 10px 11px 10px;}
.button2:hover {
	color:#fff;
	box-shadow: none;
	background: #ffb65f;
}
/*
#cms_5-a .cate:first-of-type .box_wrap{display:block;}
*/
#cms_5-a .cate_box{	
	border-left: none;
}
#cms_5-a .cate_title span{
    position: relative;
	padding-left: 50px;
}
#cms_5-a .cate_title span::before,
#cms_5-a .cate_title span::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #fff;    
}
#cms_5-a .cate_title span::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    transition: all 0.5s;
}
#cms_5-a .cate_title span::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);
	transition: all 0.5s;
}
#cms_5-a .cate_title.on_click span::before{
  transform: rotate(-135deg);
	transition: all 0.5s;
}
#cms_5-a .cate_title.on_click span::after{
  transform: rotate(135deg);
	transition: all 0.5s;
}
/*
#cms_5-a .cate:first-of-type .cate_title span::before{
    top:50%;
    left: 15px;
    transform: rotate(-135deg);
    transition: all 0.5s;
}
#cms_5-a .cate:first-of-type .cate_title span::after{    
    top:50%;
    left: 15px;
    transform: rotate(135deg);
	transition: all 0.5s;
}
#cms_5-a .cate:first-of-type .cate_title.on_click span::before{
  transform: rotate(0deg);
	transition: all 0.5s;
}
#cms_5-a .cate:first-of-type .cate_title.on_click span::after{
  transform: rotate(90deg);
	transition: all 0.5s;
}
*/

#page9 .box p a{    padding: 5px 10px 7px;}


/*--------タブレット--------*/
@media screen and (max-width: 768px){
header{padding: 1.8% 0!important;}

#contents1 p {margin-top: -52px;}
#contents2 .grid_6{padding-left: 5%;}
#contents3 .con3_bg:before {height: 100%;}
footer .link_box li {    max-width: 30px;}

#page8 #contact_line a{    background-image: url(./Dup/img/ban_line_sp.jpg)!important;}
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
header {
    padding: 0.8% 0 1.5% 0!important;
}
header #logo{max-width: 135px;}
#main_img h2 {
    width: 90%;
    font-size: 1.15rem;
}
#contents1 h2 {
display: block; 
padding: 3% 4%;
}
#contents1 p { margin-top: 0px;padding: 5% 7%;}
	#contents2 h2 {
    font-size: 6.5vw;
    padding-top: 0;
    padding-right: 0;
}
#contents2 .con2_bg:before {
    top: 21px;
    left: -30px;  
	width: 100%;
    height: 90%;
}

#contents3 span {width: 100%;}
footer .logo img { max-width: 250px;}

}



/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){
#contents3 .grid_6 h3{max-height:320px;margin-top:0%;}

#cms_5-a .cate_title span{padding:3px 0 5px 50px;}
}