﻿/* ----------　all　---------- */
.linkStyle{
	color:#00714d;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#00714d;
	opacity: 0.7;
	transition: all 0.5s;
}

html {
    font-size: 16px;
}

.wrap_bg {
    background-image: url('/Dup/img/paper_bg1.jpg');
    background-size: 50%;
}

body,.nav_tel, .main_page_link_span, .main_img_txt, .main_img_txt2, .contents1_title, .contents1_subtitle, .more_btn, .about_area_title, .contents_no, .contents2_title, .contents3_title, .modal_txt_wrap h2, .top_cms_title, .footer_tel, .footer_mail, #page_title, #page8 #phone a, #page9 h3, #page10 li a {
    font-family: 'Montserrat', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/* nav */

.index .main_header h1 {
    max-width: 300px;
    margin: 0 auto;
}

/* footer */

#fix-bnr-box {
    bottom: 0;
    right: 70px;
    width: 35%;
    z-index: 5;
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
}


/* ----------　TOP　---------- */

/* main-img */

.main_img {
    background-size: contain;
}

.maincopy {
    max-width: 880px;
    width: 50%;
    right: -13%;
    bottom: 0%;
}

/* top */

#contents1 {
    background-image: url('/Dup/img/intro-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-bottom: 100px;
}

#contents1:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 0;
    background-image: url(Dup/img/con1-bt.png),url(Dup/img/hasi.png);
    background-repeat: no-repeat;
    background-position: 100% 105%, -5% 0;
    background-size: 50%, 25%;
}

.contents1_title:before {
    content: "";
    width: 40%;
    height: 100%;
    max-width: 260px;
    position: absolute;
    top: -95%;
    left: -10%;
    background-image: url('/Dup/img/con1-sub.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.contents2_item .contents_no, .contents3_item .contents_no {
    background-color: #00714d;
    padding: 10px 20px;
    border-radius: 50%;
}

.contents3_item .contents_no {
    left: 75px;
}

/* top-cms */

.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}


/*illust*/

.ilu1 {
    width: 25%;
    top: -10%;
    left: 3%;
    opacity: 0.5;
}

.ilu2 {
    right: 3%;
    top: 55%;
    width: 30%;
    z-index: 0;
    opacity: 0.5;
}

.ilu3 {
    width: 30%;
    top: 105%;
    opacity: 0.5;
}

#cms_6-d .cate_box:after, .cms_6-d .cate_box:after {
    color: #eed4a4;
}

/* ----------　下層ページ　---------- */

#page_title .page_title_inner {
        background-position: 50% 65%;
}

#cms_6-d .cate_title {
    font-size: 1.5rem;
}

/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
body {
    overflow: hidden;
}
    
#fix-bnr-box {
    width: 55%;
}

.maincopy {
    right: 0;
    left: 0;
    margin: auto;
    width: 80%;
    bottom: -40%;
}

#contents1:before {
    background-position: 100% 100%, -10% 70%;
    background-size: 85%, 30%;
}

.contents2_item .contents_no, .contents3_item .contents_no {
    top: 0;
    left: 0;
}

/*#cms_6-d .cate_box:nth-of-type(odd):after, .cms_6-d .cate_box:nth-of-type(odd):after {*/
/*    right: 0;*/
/*    padding-right: 0;*/
/*}*/

.ilu1 {
    width: 30%;
    top: 1%;
    left: 1%;
}

.ilu2 {
    right: 3%;
    top: 48%;
    width: 40%;
}

.ilu3 {
    width: 40%;
    top: 115%;
    left: -5%;
}
    
    
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
#fix-bnr-box {
    right: 50px;
    width: 160px;
}

.maincopy {
    width: 90%;
    bottom: -45%;
}

.main_img {
        background-image: url(/Dup/img/mainvisual-sp.png) !important;
        width: 100vw;
        height: 70vh;
        max-height: 900px;
        min-height: 500px;
    }

.index .main_header h1 {
    max-width: 250px;
    margin: 0;
}

.contents1_title:before {
    width: 90%;
    height: 120%;
    max-width: initial;
    transform: rotate(11deg);
    left: 0;
    right: 0;
    margin: auto;
}

#contents1 {
    padding-bottom: 0;
}

#contents1:before {
    background-size: 101%, 35%;
    background-position: 100% 100%, -20% -3%;
}

.contents2_item .contents_no, .contents3_item .contents_no {
    top: 25px;
    left: 10px;
    font-size: 25px;
    padding: 0;
    background-color: transparent;
    color: #00714d;
    font-weight: bold;
}

.ilu1 {
    width: 40%;
    top: 2%;
    left: 1%;
}

.ilu2 {
    right: 3%;
    top: 53%;
    width: 55%;
}

.ilu3 {
    width: 50%;
}

#page_title .title_box {
    padding: 5px;
    width: 90%!important;
    padding-top: 25px;
        top: 50%;
}
    
    
    
}