﻿@import url('https://fonts.googleapis.com/css2?family=Texturina&display=swap');
.font1{
    font-family: 'Texturina', serif;
}
.offset-1re {
    margin-left: 4.33333%;
}
.grid_7re {
    width: 66.33333%!important;
}
.grid_3re {
    width: 21%!important;
}

/*全ページ*/
body::before{background-color: rgba(0,0,0,0.2);}
#header{
   padding:50px;
}
#header h1{
   width:30%!important;
}
#main_menu li a{
   line-height:1.2;
}
#main_img{box-shadow:none!important;}
#main_contents{
   background-image:url(./Dup/img/top1.png);
   background-repeat:no-repeat;
   background-position:top left 20px;
}
#main_contents #main_menu li.active::before {
    background-color: #aa8565;
}
#main_contents #main_menu li::before{
    border: 2px solid #aa8565;
}
#footer h3 span,.footer_menu li a,#copyright{
   color:white;
}
#footer .grid_6  h3 + p{
    font-family: 'Texturina', serif;
}
.linkStyle{
  color: #e2c736; 
}

/*トップページ*/
#intro::before,#contents::before{
   content:'';
   position:absolute;
   display:block;
   background-repeat:no-repeat;
}
#contents::before{
   width:960px;
   height:143px;
   background-image:url(./Dup/img/item2.png);
   top:30px;
   right:10px;
}
#intro::before{
   width:1026px;
   height:156px;
   background-image:url(./Dup/img/item.png);
   top:0;
   left:10px;
}
#contents h4{
   width:100%!important;
   text-align:center;
}
#contents h3 span,#top_cms .top_cms_title h3 span{
  border-top:0!important;
}
#top_cms .top_cms_title h4 span{
   border-bottom: 1px solid #fff;
}
#intro .more a,#top_cms .more a,#contents_link a h4{
   border:0;
   border-bottom:1px solid #fff;
}
#intro .more a:hover{
   border-bottom:1px solid #aa8565;
}
#top_cms .more a:hover{
   border-bottom:1px solid #aa8565;
}

/*下層ページ*/
#page_title h3 span{
    font-family: 'Texturina', serif;
}
#page_title h2 span{
   border-top:0;
}
#page_title h2 span,#page_title h3 span{text-shadow:0 0 7px #333;}
#page_title::after{background-color:rgba(199,208,212,0.3)!important;}
#cms_5-b .cate_box .box_item{
   padding: 20px 30px 20px;
}
#contact_mail a{
  font-size:calc(1rem + 5px);
  line-height: 2.2;
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 1030px){
#intro::before,#contents::before{
   background-size:80%;
}
#contents::before{
    right: initial;
    left: 0;
}
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#header {
    padding: 30px;
}
#header h1 {
    width: 70%!important;
}
#main_contents{
   background-image:none;
}
.grid_7re {
    width: 100%!important;
}
.offset-1re {
    margin-left:0;
}
#intro::before, #contents::before {
    background-size: 70%;
}
#footer .grid_6 h3{
   font-size:30px;
}
#main_nav > div{padding-top:50px;}
#main_nav > div > ul li{margin-top:30px;}
#main_nav .bnr,#main_nav .bnr2{
  position:relative;
  z-index:2;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#header {
    padding: 10px;
}
#intro::before, #contents::before {
    background-size: 30%;
}
.top_cms_title h3 span{
   letter-spacing: 1px;
   font-size:25px;
}
#main_nav > div {
    padding-top: 20px;
}
#main_nav > div > ul{
    margin-bottom: 20px;
}
#main_nav > div > ul li {
    margin-top: 20px;
}
#contact_mail a{
  font-size:calc(1rem - 1px);
  line-height: 3.2;
}
}

/* ---------- IEの処理 ---------- */

@media all and (-ms-high-contrast: none){
#main_menu li a{
    line-height:1.5;
}
.cate_list a{
  padding:12px 10px 6px 40px;
}
.link_page04 p{
  padding:15px 10px 9px 10px;
}
}


/*-------------------------- 追加ページ　記事URL化 ------------------------------*/

#cms_3-c .input {
    position: relative;
    padding: 2px 3px 2px 5px;
    background: #aa8565;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}
#cms_3-c .input:before {
    display: block;
    position: absolute;
    content: "";
    background-image: url(./Dup/img/copy.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    top: 7px;
    left: 11px;
    z-index: 1;
}
#cms_3-c input {
    padding: 5px 13px 5px 30px;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
}


@media screen and (max-width: 667px){
#cms_3-c .date {
    width: 110px;
}
#cms_3-c .input {
    margin-right: 0;
    transform: none;
}
#cms_3-c .input:before {
    width: 17px;
    height: 17px;
    top: 8px;
    left: 10px;
    z-index: 1;
}
#cms_3-c input {
    padding: 3px 4px 3px 26px;
    font-size: 12px;
}
}


/*--------------------------ここまで------------------------------*/

#cms_4-a .bnr a{
    width:fit-content;
}


/*-----------------追加ページカテリスト　開閉----------------------------*/

.list_box {
	border: 1px solid #909090;
	background-color:#fff;
}
.list_box:hover{
    background-color:#3d4957;
    transition:all 0.3s;
}
.list_box:hover .box_title1{
    color:#fff;
}
/*--▼開閉時のカクつき回避▼--*/
.list_box .cate_list li:last-of-type{
    margin-bottom:0!important;
}
/*--▲開閉時のカクつき回避▲--*/
.list_box .open_bt{
	position: relative;
	cursor: pointer;
	padding: 10px 0 10px 30px;
}
.list_box .open_bt .arrow_be i{
    transform: rotate(180deg);
}

.list_box .open_bt .arrow.arrow_be　.fa-chevron-down:before {
	transform: rotate(-180deg);
	transition:  0.5s;
}

.list_box .open_bt .box_title1 {
	display: inline-block;
	position: relative;
	letter-spacing: 1px;
	cursor: pointer;
}

.list_box .box_item {
	display: none;
	padding: 0px 30px;
}
.list_box .box_txt1 {
	padding: 1em;
	background-color: #f5f5f5;
	border-radius: 5px;
}

@media screen and (max-width: 768px){
.list_box .open_bt .box_title1 {
	padding-right: 20px;
}
}
@media screen and (max-width: 667px){

.list_box .box_txt1 {
	padding: 0.2em 1.2em;
}
}




.img_title{
    z-index: 1;
    width:100%;
    text-align:center;
    top:50%;
    transform:translateY(-50%);
}
