﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Noto+Sans+JP:wght@400;700&family=Shippori+Mincho:wght@800&display=swap');

body{
    font-size: 16px;
    color: #444444;
}

.font_14{
    font-size: 16px;
}

body, .font_sans-serif, .font_en{
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

#top_cms .cms_title p, #page_title p, a[href^="tel:"], .button{
    font-family: 'Montserrat', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

#main_img .main_txt{
    font-family: 'Shippori Mincho', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

.font_bold, #contents_box h2, #contents_box h3, #top_cms .cms_title h2, #page_title h2, .cate_title{
    font-weight: 700;
}

.txt_shadow, .txt_shadow-l, .txt_shadow-b{
    text-shadow: none;
}

.rectangle_img, .square_img, .normal_img img{
    border-radius: 20px;
    border: solid 3px #265e3e;
}

.link_box ul{
    justify-content: center;
}
.link_box ul li, footer .link_box li{
    background-color: #fff;
    border-radius: 50%;
    width: 50px!important;
    margin: 0 10px;
    max-width: inherit;
}

header.grid_3{
    width: 300px!important;
    background-color: transparent!important;
    box-sizing: border-box;
    height: 100%;
    padding: 0!important;
    padding-left: 50px!important;
    padding-bottom: 50px!important;
    top: 0;
    left: 0;
}
header.index{
    opacity: 0;
    top: -20px;
    transition: 1s;
    transition-property: top, opacity;
}
header.index.active{
    top: 0;
    opacity: 1;
}
header .head_box{
    padding: 0;
    background-image: url(./Dup/img/bg_img3.png);
    background-size: 100px;
    padding: 50px 30px!important;
    height: 100%;
    border-radius: 0 0 20px 20px;
}
header .fa-envelope{
    display: none;
}

#logo{
    padding: 0;
}

#main_menu{
    margin-bottom: 50px;
}
#main_menu ul li a{
    padding: 10px 0;
    text-align: center;
    margin: 0;
}
#main_menu ul li a:hover{
    padding-left: 0;
    transform: translateY(-5px);
}
#main_menu ul li a::before{
    display: none;
}

.main_box{
    width: 100%!important;
    margin-left: 0;
}

#main_img .scroll_bt{
    display: none;
}
#main_img .main_txt_wrap img:not(:first-child){
    position: absolute!important;
}
#main_img .main_txt_wrap img{
    top: 0;
    left: 0;
    filter: blur(5px);
    transform: scale(0.9);
}
#main_img .main_txt_wrap img.active{
    opacity: 1;
    filter: none;
    transform: none;
}
#main_img img{
    max-height: inherit;
    min-height: inherit;
    object-fit: contain;
}

.button.width_300{
    max-width: 200px;
}
.button{
    border: solid #265e3e;
    color: #265e3e;
}
.button:hover::after{
    display: none;
}
.button2, .button{
    border-color: #265e3e;
    transition: 0.3s;
    border-radius: 50px;
    border-width: 2px;
    font-weight: bold;
}
.button2:hover, .button:hover{
    box-shadow: none;
    background-color: #d1be8f;
    border-color: #d1be8f;
    color: #fff;
}

#contents1, #contents2, #contents3, #top_cms .cms_wrap, #top_cms .cms_title, #top_cms .more, footer, article.width_1280-max{
    padding-left: 350px!important;
    padding-right: 50px!important;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box
}

#contents1, #contents2, #contents3{
    padding-top: 100px;
    padding-bottom: 100px;
}

#contents1{
    background-image: url('./Dup/img/bg_img5.png'), url('./Dup/img/bg_img4.png');
    background-position: right bottom, top 0 left 200px;
    background-repeat: no-repeat;
    background-size: 500px;
}
#contents_box h2:first-letter {
    font-size: 30px;
    color: #265e3e;
}

#contents3{
    background-image: url('./Dup/img/bg_img2.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 50%;
    position: relative;
}
#contents3::before{
    position: absolute;
    content: "";
    width: 320px;
    height: 200px;
    background-image: url('./Dup/img/img1.png');
    background-size: contain;
    left: 320px;
    top: -70px;
    z-index: 1;
}
#contents3::after{
    position: absolute;
    content: "";
    width: 320px;
    height: 200px;
    background-image: url('./Dup/img/img2.png');
    background-size: contain;
    right: 20px;
    bottom: -120px;
    z-index: 1;
}

#top_cms_wrap{
    max-width: 100%;
    padding: 0;
    background-color: #f7f7f2;
}
#top_cms > .box{
    padding-top: 100px;
    padding-bottom: 100px;
    margin: 0;
    background-image: url('./Dup/img/bg_img6.png'), url('./Dup/img/bg_img7.png');
    background-position: top left, bottom left;
    background-repeat: repeat-x;
    background-size: 30px;
}
#top_cms > .box:nth-of-type(2), #top_cms > .box:nth-of-type(5){
    background-color: #fff;
    background-image: none;
}
#top_cms .cms_title{
    text-align: center;
    margin-bottom: 50px;
    padding: 0;
}
#top_cms .cms_title h2{
    font-size: 30px;
    color: #265e3e;
}
.cms_title::before{
    display: none;
}
#top_cms .cms_title p{
    color: #d1be8f;
}

article.width_1280-max{
    padding-top: 0;
    padding-bottom: 100px;
}
article.width_1280-max > section.width_1000-max{
    max-width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
}

#page_title{
    padding-left: 300px!important;
    text-align: center;
    margin-bottom: 100px;
}
#page_title .title_img::before{
    background-image: url('./Dup/img/bg_img7.png');
    background-position: bottom left;
    background-repeat: repeat-x;
    background-size: 30px;
    z-index: auto;
}
#page_title .page_box{
    margin: -100px 0 0;
    padding: 0;
    background-color: #265e3e;
    display: inline-block;
    padding: 30px 0;
    width: 200px;
}
#page_title .page_box::before{
    display: none;
}
#page_title .page_box h2{
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin-bottom: 20px;
    max-height: 205px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    display: inline-block;
}
#page_title .page_box p{
    color: #d1be8f;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 10px!important;
	margin-bottom: 50px;
	border-bottom: solid 2px #265e3e;
	color: #265e3e;
	font-weight: 700
}

#cms_3-b .cate_box{
    border-radius: 20px;
}

#cms_6-c .box_item, .cms_6-c .box_item{
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border: solid 2px #d1be8f;
    border-radius: 20px;
}
#cms_6-c .box_item:hover, .cms_6-c .box_item:hover{
    box-shadow: none;
    border: solid 2px #265e3e;
}
#cms_6-c .box_img1, .cms_6-c .box_img1{
    border: none!important;
}
#cms_6-c .box_open, .cms_6-c .box_open{
    top: 0;
    left: 0;
    z-index: 1000;
}
#cms_6-c .box_open_wrap, .cms_6-c .box_open_wrap{
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: 20px;
}
#cms_6-c .box_open > .d_flex, .cms_6-c .box_open > .d_flex{
    overflow-y: auto;
}
#cms_6-c .box_item, #cms_6-c .close, .cms_6-c .box_item, .cms_6-c .close{
    cursor: pointer;
}
#cms_6-c .close, .cms_6-c .close{
    top: 10px;
    right: 10px;
}

#cms_5-c_h .con_no, .cms_5-c_h .con_no{
	left: 20px;
	top: 15px
}
#cms_5-c_h .cate_box h3, #cms_5-c_h .cate_box p, .cms_5-c_h .cate_box h3, .cms_5-c_h .cate_box p{
	min-height: 1.5em
}
#cms_5-c_h .box_q, .cms_5-c_h .box_q{
	background-image: url(./Dup/img/icon_q.png);
	background-repeat: no-repeat;
	background-position: top 2px left;
	background-size: 60px
}
#cms_5-c_h .box_a, .cms_5-c_h .box_a{
	background-image: url(./Dup/img/icon_a.png);
	background-repeat: no-repeat;
	background-position: top 5px right;
	background-size: 60px
}
#cms_5-c_h .box_q, #cms_5-c_h .box_a, .cms_5-c_h .box_q, .cms_5-c_h .box_a{
	padding: 0 90px
}
#cms_5-c_h .box_q h3::before, .cms_5-c_h .box_q h3::before{
	position: absolute;
	content: "";
	width: 20px;
	height: 20px;
	left: -20px;
	top: 21px;
	background-image: url("./Dup/img/icon_q_f.png");
	background-size: contain
}
#cms_5-c_h .box_a p::before, .cms_5-c_h .box_a p::before{
	position: absolute;
	content: "";
	width: 20px;
	height: 20px;
	right: -20px;
	top: 21px;
	background-image: url("./Dup/img/icon_a_f.png");
	background-size: contain
}

footer{
    max-width: 100%!important;
    background-color: #f7f7f2;
    padding-top: 100px!important;
    padding-bottom: 100px!important;
    background-image: url('./Dup/img/bg_img6.png');
    background-position: top right;
    background-repeat: repeat-x;
    background-size: 30px;
}

.footer_cms{
    color: #444;
    line-height: 1.5;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header.index{
    opacity: 1;
    top: 0;
}
header.grid_3{
    width: 100%!important;
    padding: 0!important;
    height: auto;
}
header .head_box{
    max-width: 100%;
    height: auto;
    padding: 10px 0!important;
    border-radius: 0
}
#logo{
    max-width: 160px;
}
#main_img{
    height: 100vw;
}
#main_img .main_txt{
    top: calc(50% - 183px);
    right: calc(50% - 61px);
    width: 120px;
    padding-left: 0;
    padding-right: 0;
}
#contents1 {
    background-position: right -100px bottom, top 0 left -100px;
}
#contents3 {
    background-size: 60%;
}
#contents3::before{
    left: -20px;
    top: -60px;
}
#page_title{
    padding-left: 0!important;
}
#page_title .title_img{
    height: 200px;
}
#page_title .page_box {
    width: 160px;
}
#page_title .page_box h2{
    max-height: 180px;
}
#page_title .page_box p{
    font-size: 14px;
}
#contents1, #contents2, #contents3, #top_cms .cms_wrap, #top_cms .cms_title, #top_cms .more, footer, article.width_1280-max{
    padding-left: 50px!important;
}
#contents_box h2:first-letter {
    font-size: 26px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#logo{
    max-width: 120px;
}
#main_img .main_txt{
    top: calc(50% - 148px);
}
#main_img .main_txt.trans{
    top: 20px;
    right: 20px;
}
#contents1, #contents2, #contents3, #top_cms .cms_wrap, #top_cms .cms_title, #top_cms .more, footer{
    padding-left: 20px!important;
    padding-right: 20px!important;
}
#contents1 {
    background-position: right -50px bottom, top 0 left -50px;
    background-size: 400px;
}
#contents_box h2:first-letter {
    font-size: 24px;
}
#contents3 {
    background-image: url(./Dup/img/bg_img2.png);
    background-repeat: no-repeat;
    background-position: top right -100px;
    background-size: 100%;
}
#contents3::before{
    width: 240px;
    height: 150px;
    top: -80px;
}
#contents3::after{
    width: 240px;
    height: 150px;
    bottom: -80px;
}
article.width_1280-max{
    padding-left: 0!important;
    padding-right: 0!important;
}
#page_title .page_box {
    width: 160px;
}
#page_title .page_box h2{
    max-height: 145px;
}
.cate_title{
	font-size: 20px;
}
#cms_5-c_h .box_q, .cms_5-c_h .box_q{
	padding-right: 0
}
#cms_5-c_h .box_a, .cms_5-c_h .box_a{
	padding-left: 0
}
#cms_5-c_h .con_no, .cms_5-c_h .con_no{
    top: 13px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#main_img .main_txt{
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}
.pc_box .contact_bt a, #page10 ul li a{
    padding: 15px 0 15px;
}
.cate_list li a{
    padding-top: 10px;
    padding-bottom: 10px;
}
#page_title .page_box h2{
    letter-spacing: 4px;
}
#page9 .box p a{
    padding-top: 3px;
    padding-bottom: 5px;
}
}