﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Red+Hat+Display:wght@600&display=swap');

body, .font_sans-serif, .font_serif{
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

a[href^="tel:"], .intro_no, .date{
    font-family: 'Red Hat Display', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

.font_bold{
    font-weight: 700;
}

#wrap, #contents .back_color2 .contents_box{
    background-image: url('./Dup/img/bg_img.jpg');
    background-size: 1000px;
}

#logo img{
    width: 100%!important;
}
header.index_header:not(.clone-nav) #logo{
    padding-top: 10px;
}
header.clone-nav #header{
    padding-top: 10px;
}
header.clone-nav .header_info, header.all_header .header_info{
    margin-left: 0;
}
header.clone-nav #logo, header.all_header #logo{
    width: 180px!important;
}
#header .tel i, #header .contact i{
    padding-right: 0;
    border-right: none;
}
.index_header #header #header_menu li, .index_header #header #header_menu li:hover{
    padding: 0;
    border-top: none;
}
.index_header #header #header_menu li a{
    display: block;
    padding: 25px 10px 10px;
    transition: 0.3s;
    position: relative;
}
.index_header #header #header_menu li a:hover{
    padding: 30px 10px 5px;
}
.index_header #header #header_menu li a::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 10px;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    background-color: #333;
    opacity: 0.2;
    transition: 0.3s;
}
.index_header #header #header_menu li a:hover::before{
    height: 15px;
    opacity: 1;
}

main.pd_b-100px{
    padding-bottom: 0;
}

#intro {
    height: inherit;
    max-height: inherit;
    text-align: center;
}
#intro .intro_no{
    top: 50px;
    left: -40px;
    transform: rotate(180deg);
}

#contents h2{
    margin-top: -120px;
}
#contents .back_color2 .contents_box{
    padding: 50px;
}
#contents .box h3{
    display: block;
    position: relative;
    margin-left: 0;
    width: 100%!important;
    font-weight: 700;
}
#contents .box h3:before{
    display: none;
}
#contents .box h3::after{
    position: absolute;
    content: "";
    width: 10px;
    height: 100%;
    left: -50px;
    top: 0;
    background-color: currentColor;
}

#top_cms{
    padding-bottom: 1px;
}
#top_cms .cms_title .bg-mask {
    background: rgba(255,255,255,0.4);
}
#top_cms .cms_title .title_box{
    padding: 0;
    background-color: transparent!important;
}
#top_cms .cms_title .title_box h2{
    padding: 30px;
    background-color: #50a035;
    color: #fff;
    font-weight: 700;
    font-size: 26px;
    max-height: inherit;
    transform: translateY(50px);
}
#top_cms .container{
    margin-top: 50px;
}
#top_cms .contents{
    position: static;
}
#top_cms .top_cms_box:first-of-type .contents{
    margin: 0;
}

.cms_2-a_h .cate_box a:hover .bg{
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);
}

#news_list > li > p{
    padding-right: 30px;
    position: relative;
}
#news_list > li > p::before, #news_list > li > p::after{
    position: absolute;
    content: "";
    width: 15px;
    height: 1px;
    background-color: currentColor;
    right: 5px;
    bottom: 26px;
}
#news_list > li > p::before{
    transform: rotate(90deg);
    transition: 0.3s;
}
#news_list > li > p.trans::before{
    transform: none;
}

#page_title{
    height: inherit;
    min-height: 300px;
    margin-bottom: 150px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row;
}
#page_title .back_color, #page_title .back_color2{
    background-color: transparent!important;
}
#page_title h2{
    max-height: 200px;
    transform: translateY(60px);
    opacity: 0;
    background-color: #50a035;
    color: #fff;
    padding: 50px;
    line-height: 1.5;
    font-size: 30px;
    font-weight: 700;
    transition: 1s;
    transition-property: transform, opacity;
}
#page_title.trans h2{
    transform: translateY(50px);
    opacity: 1;
}

.cate_list li a{
    padding: 5px 15px!important;
    font-size: 14px;
    background-color: #302D2A;
    color: #fff;
}
.cate_list li a:hover{
    opacity: 1;
    color: #fff;
    background-color: #50a035;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: center;
	padding-bottom: 50px!important;
	margin-bottom: 50px;
	color: #50a035;
	font-weight: 700;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: currentColor;
}

#cms_1-f #news_list > li a:hover i{
    padding-right: 0;
}

#cms_2-a .cate_box:nth-of-type(odd){
    flex-direction: row-reverse;
}

footer{
    background-color: rgba(0,0,0,0.02)!important;
}
#footer{
    border-top: none!important;
}
#footer .txt_color1{
    color: #333;
}
#footer .txt_color_nomal{
    color: #50a035;
}
#footer h3{
    margin-bottom: 30px;
}
#footer .footer_cms{
    margin-bottom: 30px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header .header_info{
    margin-left: 0;
}
header.index_header:not(.clone-nav) #logo{
    padding-top: 0;
}
#logo{
    width: 180px!important;
}
#contents .back_color2 .contents_box{
    padding: 20px;
}
#contents .box h3::after{
    width: 5px;
    left: -20px;
}
#top_cms .top_cms_box:first-of-type .contents{
    margin: auto;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
header.clone-nav #header{
    padding-top: 5px;
}
header .header_info{
    width: 120px!important;
}
#logo, header.clone-nav #logo, header.all_header #logo{
    width: 130px!important;
}
#intro .intro_no{
    transform: none;
}
#contents h2{
    margin-top: -80px;
}
#contents h2 span{
    -webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
#top_cms .cms_title .title_box h2{
    font-size: 22px;
}
#page_title{
    min-height: 250px;
}
#page_title h2 {
    max-height: 180px;
    padding: 40px;
    font-size: 26px;
}
#footer #info{
    text-align: center;
}
#footer .footer_cms{
    text-align: left;
    display: inline-block;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#intro .intro_no{
    top: 175px;
    left: 80px;
}
#top_cms .btn, #page10 .btn{
    padding-top: 0;
}
.page9 #page_title h2{
    width: 90px;
}
#page9 .box_wrap .box p a{
    padding-top: 2px;
}
}