@charset "UTF-8";

/* Define grid areas */
.eco-header { grid-area: header; }
.eco-footer { grid-area: footer; }
.eco-main { grid-area: main; }

.eco {
	display: grid;
	grid-template-areas: 
    	"header"
         "main "
         "footer";
	grid-template-rows:
    	70px
        1fr
        auto;
	min-height: 100vh;
}


/*----------------------------------------------------------------------
■ Custom Styles
----------------------------------------------------------------------*/
body {
	line-height: 1.2;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 'Hiragino Sans',  sans-serif;
}

.eco-header {
	background-color: #FAFCF5;
	display: flex;
    justify-content:left;
	align-items: center;
    position: fixed;
	width:100%;
    height:70px;
    padding-bottom: 20px;
    z-index: 77;
}

.eco-footer {
	background-color: #88AEA7;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: left;
	text-align: left;
    padding:1em 0;
}

.eco-main {
	background-color: #FAFCF5;
    align-items: center;
	text-align: left;
}


/*----------------------------------------------------------------------
■header
----------------------------------------------------------------------*/
.logo{
	margin-left:0.25em;
    margin-top:20px;
    display: block;
}

/*--------------------
 ドロップダウンメニュー
-----------------------*/
#menu-btn-check {display: none;}

/* 子メニュー */
#menu > li > ul li {
	display: none;
	width:100%;
}

#menu-btn-check {
	display: none;
	cursor: pointer;
	cursor: hand;
}


/* PC */
@media (min-width: 850px) {

nav{
	display: flex;
    padding: 1em;
}

.h_nav{
	display: flex;
	list-style-type: none;
    width:100%;
    margin:2em 0 0 3em;
}

.h_nav li{
    text-align:center;
	font-size:0.85em;
    line-height:1em;
    margin-right:1.5em;
    width:80px;
    padding-bottom:10px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
}


.h_nav a{
	display:block;
	text-decoration: none;
	height:100%;
    align-text:center;
}


/* 子メニュー */
#menu li ul {
	position: absolute;
    margin-top: 2px;
}

#menu > li > ul > li {
  padding: 10px;
  background-color: #FAFCF5;
  border-bottom: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  text-align: left;
}

#menu li ul li:first-child {border-top: 1px solid #999;}
#menu li ul li:last-child {border-bottom:none;}

#menu input{display: none;}

#menu li:hover {background: #EEE;}

#menu > li:hover > ul > li,
#menu li ul li:hover > ul > li {display: block;}


/* 色分け */

.n_1{border-bottom: solid 5px #CC3333;}
.n_2{border-bottom: solid 5px #666699;}
.n_3{border-bottom: solid 5px #669933;}
.n_4{border-bottom: solid 5px #996699;}
.n_5{border-bottom: solid 5px #CC9900;}
.n_6{border-bottom: solid 5px #FFCC33;}
.n_7{border-bottom: solid 5px #000000;}


}/*--- PC ---*/


/* スマホ */
@media (max-width: 850px) {

.h_nav{
	display: block;
}

/*三印*/
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color:#88AEA7;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

/*×印*/
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu {
	display: none;
}

/* input非表示 */
nav input{display:none;}


/* スマホメニュー */

.menu-content {
    width: 100%;
    height:90%;
    position: fixed;
    top: 70px;
    left: 100%;
    background-color: #88AEA7;
    transition: all 0.5s;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.h_nav {
    padding: 5px 0 50px 10px;
}

.h_nav li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
    padding-left:20px;
}

.h_nav li a {
	display:inline-block;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    padding: 10px 15px 10px 0;
    position: relative;
}

.h_nav li ul li{
	border-bottom: solid 1px #000;
}

.h_nav li ul li:last-child {
	border-bottom: none;
}


/* ハンバーガーメニューがクリックされた時 */
#menu-btn-check:checked ~ .menu-content {left: 0;}

#menu-btn-check:checked ~ * #menu {
	display: block;
}

#menu-btn-check:checked ~ * #menu > li {
	overflow-y: visible;
}

#menu > li > label:hover {
    cursor: pointer;
    cursor: hand;
}

#menu li ul {
	position: static;
}


/* 子メニューがクリックされた時 */
#menu input[type="checkbox"]:checked ~ label ~ ul > li {
    max-height: inherit;
    overflow-y: visible;
    display: block;
}

.angletoggle:before {content: "\f107";}

#navi input[type="checkbox"]:checked ~ label .pd .angletoggle:before {content: "\f106";}


}/*----- スマホ -----*/


/*----------------------------------------------------------------------
■footer
----------------------------------------------------------------------*/
footer p{
	font-weight: 700;
}

footer address{
	font-style:normal;
    font-size:0.75em;
}

.f_adrs{
    padding: 0 1em 1em 0.75em;
}

.f_nav ul{
	display:flex;
    list-style-type: none;
    align-items: center;
	text-align: center;
}

.f_nav li{
	font-size:.75em;
	display: block;
	margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 1em;
    border-left: 1px solid #fff;
    padding: 0 1em 0 1em;
}

.f_nav li:first-child{
	border-left: none;
}

.f_nav a{
	text-decoration: none;
}
    
.f_logo{
	display: flex;
    justify-content:right;
    align-items: flex-end;
    padding-right:0.5em;
}
.f_logo img{
	max-width:15vw;
	max-height:20vh;
}

/*----------------------------------------------------------------------
■topページ
----------------------------------------------------------------------*/  
/* PC */
@media (min-width: 850px) {

.thema{
	display: flex;
	position: relative;
    text-align: center;
	align-items: center;
	justify-content: center;
    height:400px;
    z-index:20;
}

.thema img{
	max-width:480px;
    border-radius:30px;
}

.img-vw img{
	width:100%;
    height:400px;
    object-fit:cover;
    position: absolute;
    top: 75px;
    left: 0;
}

}/* PC */


/* スマホ */
@media (max-width: 850px) {

.thema{
	display: flex;
	position: relative;
    text-align: center;
	align-items: center;
	justify-content: center;
    height:200px;
    z-index:20;
}

.thema img{
    max-width:70%;
    max-height:70%;
    border-radius:30px;
}

.img-vw img{
	width:100%;
    height:200px;
    object-fit:cover;
    position: absolute;
    top: 70px;
    left: 0;
}

}/* スマホ */


.news{
    padding:10px 0 15px 10px;
}

.news ul{
    line-height: 2em;
    list-style-type: none;
}

.news li{
	border-bottom: dashed 1px #006633;
}

.news a{
    text-decoration:none;
}

.news span{
	margin-left:0.5em;
	padding-right:1em;
}

.sl{
	font-size:small;
    color:#fff;
    padding: 0 1em 0 1em;
    border-radius: 10px;
    vertical-align: top;
}

.l_1{color:#CC3333;}
.l_2{color:#666699;}
.l_3{color:#669933;}
.l_4{color:#996699;}
.l_5{color:#CC9900;}
.l_6{color:#FFCC33;}
.l_7{color:#000;}

.sl_1{background: #CC3333;}
.sl_2{background: #666699;}
.sl_3{background: #669933;}
.sl_4{background: #996699;}
.sl_5{background: #CC9900;}
.sl_6{background: #FFCC33;}
.sl_7{background:#000;}

@media only screen and (max-width: 850px) {
.sl { display: none !important; }
}


/*----------------------------------------------------------------------
■article
----------------------------------------------------------------------*/ 
/* パンくず */
.pan{
font-size:70%;
}

#article{
top:70px; left:0px;
line-height: 1.5;
background-color: #EAE6D9;
border-radius: 20px;
margin: 5px;
padding:20px 15px 0px 15px;
}

#article_top{
margin-bottom:20px;
}

#article_contents p{
padding-bottom:10px;
font-size: 100%;
}

#article_contents ul{
padding-bottom:10px;
font-size: 100%;
}


#article_bottom{
text-align:right;
padding-top: 50px;
}



/*----- ◇article移動 -----*/
.article_middle{
text-align:right;
border-bottom:dotted 1px #6E3A07;
margin-bottom: 10px;
}

#article_bottom a{
font-size:80%;
position:relative;
margin-right:10px;
bottom: 15px;
}

/* idリンク調整 */
#article_contents .anc{
display: block;
padding-top: 75px;
margin-top: -75px;
}


.midashi{
font-size: small;
margin-bottom:15px;
}

/* PC */
@media (min-width: 850px) {

#article_contents .anc{
display: block;
padding-top: 90px;
margin-top: -90px;
}

}