﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Yusei+Magic&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/* ----------　all　---------- */
.linkStyle{
	color:#83a575;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#83a575;
	opacity: 0.7;
	transition: all 0.5s;
}


body {
    font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
}



/* nav */


/* footer */

footer {
    z-index: 1;
    background-image: url(Dup/img/wood-bg.jpg);
    background-size: cover;
    height: auto!important;
}

#footer {
    position: initial;
    height: auto;

}

/* ----------　TOP　---------- */

/* main-img */

header .logo {
    width: 15%;
    position: absolute;
    left: 0;
    top: 5px;
}

.main_wrap:before {
    content: "";
    width: 100%;
    height: 5%;
    position: absolute;
    top: -5%;
    left: 0;
    background-image: url(/Dup/img/top-saku.png);
    background-size: 100%;
    background-position: 0 101%;
    background-repeat: no-repeat;
    z-index: 1;
}

.main_img {
    height: 100%;
    opacity: 0.3;
}

.main_img_wrap .catch {
    top: 45%;
    right: 0%;
    left: auto;
    bottom: auto;
    transform: rotate(5deg);
}


/* top */

#contents .box h3 {
    font-family: 'Yusei Magic', sans-serif;
}

#contents .box h3:before {
    display: none;
}

.img-container:before {
    background: #83a575;
}

.t_cms_img2 .img-container:before {
    background: #5c3230;
}

#contents .box figure:after {
    display: none;
}

#contents .box .txt_wrap {
    background-image: url(Dup/img/con-bg1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#contents .box:nth-of-type(2) .txt_wrap {
    background-image: url(Dup/img/con-bg2.png);
}

#contents .box:nth-of-type(3) .txt_wrap {
    background-image: url(Dup/img/con-bg3.png);
}

#contents .box:nth-of-type(2):before {
    content: "";
    width: 100%;
    height: 125px;
    position: absolute;
    top: -124px;
    left: 0;
    background-image: url('/Dup/img/con2-top.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
}

#contents .box:nth-of-type(2):after {
    content: "";
    width: 100%;
    height: 125px;
    position: absolute;
    bottom: -124px;
    left: 0;
    background-image: url('/Dup/img/con2-bt.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
}

#contents .box figure:before {
    content: "";
    position: absolute;
    width: 20%;
    height: 35%;
    bottom: 0;
    z-index: 2;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 300px;
    right: 5%;
}

.t_cms_img1:before {
    background-image: url('/Dup/img/chara1.png');
}

.t_cms_img2:before {
    background-image: url('/Dup/img/chara2.png');
}

.t_cms_img3:before {
    background-image: url('/Dup/img/chara3.png');
}

.other .box figure {
    opacity: 0.4;
}

/* top-cms */

.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
}
.topcms_news_type4 .cate_box{
	background-color: #fff;
	padding: 0;
	box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
	border-top: 2px solid #5c3230;
}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}

.topcms_about_type1 {counter-reset: box 0;padding-top: 35px;}
.topcms_about_type1 .cate_box {
	width: 31%!important;
	padding: 55px 25px 25px;
	background-color: #f5f5f5;
	border-radius: 10px;
	box-sizing: border-box;
}
.topcms_about_type1 .number {
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90px;
}
.topcms_about_type1 .number::before {
	counter-increment: box 1;
	content: "0"counter(box);
	font-size: 67px;
	line-height: 1;
	text-align: center;
	color: #5c3230;
	display: inline-block;
	position: absolute;
	right: 0;
	left: 0;
	top: -42px;
	margin: auto;
	z-index: 0;
}
.topcms_about_type1 .number::after {
	content: "";
	position: absolute;
	display: block;
	width: 73%;
	height: 2px;
	background: #5c3230;
	left: 0;
	right: 0;
	margin: auto;
	top: 22px;
}
.topcms_about_type1 .cate_box .box_title1{font-size: 18px;line-height: 1.6;z-index: 1}


/* ----------　下層ページ　---------- */

.cate_list li {
    margin-right: 10px;
    margin-bottom: 15px;
    width: 30%;
    text-align: left;
}

.v_type1 .triangle {
    display: block;
    border: #000 solid 2px;
    box-shadow: 5px 5px 0 0 #e2e2e2;
}
.v_type1 .triangle:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: #FFF transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}
.v_type1 .triangle:after {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: #171010 transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

#title_img span {
    position: relative;
}

#title_img span:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #eeecea;
    opacity: 0.5;
}

/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
header .logo {
    position: initial;
}
    
.main_img_wrap .catch {
    top: 55%;
    transform: none;
}
    
.main_img_wrap {
    height: 70vh;
    background-position: 35%;
}

.main_wrap {
        margin-top: 70vh;
}

.main_wrap:before {
    height: 3%;
    top: -3%;
    left: 0;
}
    
#contents .box .txt_wrap {
    width: 90%;
    padding-right: 0px;
    margin-bottom: 30px;
}

#contents .box figure {
    width: 90%;
    margin-top: 30px;
    text-align: center;
}

.t_cms_img2 {
    order: 2;
}

#contents .box figure:before {
    width: 20%;
    height: 60%;
    bottom: 0;
    z-index: 2;
    right: 3%;
}

.t_cms_img2:before {
    right: auto;
    left: 3%;
}

.topcms_about_type1 .cate_box {
	margin: 0 auto 80px;
	width: 80%!important;
}
.topcms_about_type1 .cate_box:last-of-type {
	margin-bottom: 0;
}

.cate_list li {
    width: 45%;
    text-align: left;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
.main_img_wrap {
    height: 55vh;
    background-position: 35%;
    background-size: cover;
    margin-top: 10vh;
}

.main_img_wrap .catch {
    top: 58vh;
}

.main_wrap {
    margin-top: 95vh;
}
    
.main_wrap:before {
    top: -85px;
    left: -10px;
    background-image: url(/Dup/img/top-saku-sp.png);
    background-position: 0 101%;
    width: 105%;
    height: 85px;
}
    
.topcms_news_type4 .cate_box {
    width: 100%!important;
    margin-bottom: 30px;
}

#contents .box:nth-of-type(2):before {
    background-image: url('/Dup/img/con2-top-sp.png');
}

#contents .box:nth-of-type(2):after {
    background-image: url('/Dup/img/con2-bt-sp.png');
}

#contents .box figure:before {
    width: 30%;
    height: 60%;
    right: 2%;
}

.t_cms_img2 {
    order: 2;
}

.t_cms_img1:before {
    bottom: auto;
    top: -30%;
}

.t_cms_img2:before {
    left: auto;
    right: 2%;
}

.t_cms_img3:before {
    width: 40%;
}

.topcms_menu_type3 .cate:last-of-type{margin-bottom: 0}

.topcms_about_type1 .cate_box {
	width: 90%!important;
	padding: 50px 25px 25px;
}
.topcms_about_type1 .number::before{
	font-size: 59px;
	top: -34px;
}
.topcms_about_type1 .number::after{
	width: 72%;
}

#page_title .img-container::after {
    background-color: rgba(92,50,48,0.4);
}

.cate_list li {
    width: 90%;
    text-align: left;
}

.page10 .more span {
    display: none;
}
    
}