@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap'); /* Google Fonts用のCSSを読み込み */

/* Base
------------------------------------------------------------*/
html{
	font-size: 58%;
}

body{
	padding-top: 0px;
	font-family: "Noto Sans JP", "游ゴシック", YuGothic, "メイリオ", Verdana, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 1.6rem;
    line-height: 1.75;
    color: #808080;
}

a,a:hover{
	text-decoration: none;
}

a:link	{
	color : #808080;
}
a:visited	{
	color : #808080;
} 

a:hover	{
	color : #D6E7B1;
} 


/* header
------------------------------------------------------------*/

.header_pc ul {
  list-style: none; /* リストの点消す */
	 margin:0;
 padding:10px;
}

.header_pc li {
display: inline; /* リスト横並びに */
}

.header_pc{
	display: flex;
	justify-content: space-between;
	margin: 10px 10px;

}

/* ナビゲーション
------------------------------------------------------------*/

.home {
 padding-left:24px;
	padding-right: 20px;
 background-image:url("../images/home_icon.jpg");
	background-size:20px 20px;
 background-repeat:no-repeat;
}

.tsushin {
 padding-left:24px;
	padding-right: 20px;
 background-image:url("../images/tsushin_icon.jpg");
	background-size:20px 20px;
 background-repeat:no-repeat;
}

.syoukai {
 padding-left:24px;
	padding-right: 20px;
 background-image:url("../images/syoukai_icon.jpg");
	background-size:20px 20px;
 background-repeat:no-repeat;
}

.jirei {
 padding-left:24px;
	padding-right: 20px;
 background-image:url("../images/jirei_icon.jpg");
	background-size:20px 20px;
 background-repeat:no-repeat;
}

.access {
 padding-left:24px;
	padding-right: 20px;
 background-image:url("../images/access_icon.jpg");
	background-size:20px 20px;
 background-repeat:no-repeat;
}

.mail {
 padding-left:24px;
 background-image:url("../images/mail_icon.jpg");
	background-size:20px 20px;
 background-repeat:no-repeat;
}


/* メイン
------------------------------------------------------------*/


.main{
	display: flex;
	align-items: flex-start;
	box-shadow:5px 5px 5px rgba(0,0,0,0.3);
}

.mein-ph{
	width: 100%;
	height: auto;
	box-shadow:5px 5px 5px rgba(0,0,0,0.3);
	z-index: 5;
}

.mobile_mein-ph{
	display: none;
}

/* ブログ
------------------------------------------------------------*/

.second{
	background-color: #ADCF62;
	padding: 20px;
}


.kiji{
	padding-top: 50px;
	padding-bottom: 50px;
}

.blog{
	margin: 50px 20px ;
}

.blog_title{
	display: flex;
    justify-content: left;
	padding-top: 50px;
	margin-top: 50px;
	margin-bottom: 10px;
    max-width: 1080px;
	margin: 0 auto;
}

h2{
	font-size: 1.5rem;
	font-weight: 400;
	color: white;
	margin-top: 55px;
	margin-left: 50px;
}

.kiji .container {
    max-width: 1080px;
    margin: 0 auto;
}

.kiji .container::after {
    display: block;
    content: "";
    clear: both;
}

.blog-box {
    position: relative;
    float: left;
    width: 32%;
	margin: 0 2% 40px 0;
    color: #555;
}

.blog-box:nth-of-type(3n) {
    margin-right: 0;
}

.blog-box img {
    max-width: 100%;
	height: auto; 
	border-radius:8px;
}

.blog-box-inner {
    height: 120px;
    padding: 0px 20px 0px 20px;
    box-sizing: border-box;
	background-color: #fff;
}

.blog-box-inner h3 {
    margin: 0;
	padding-top: 10px;
	line-height: 1.5;
    font-size: 1.8rem;
    font-weight: 700;
	color: #ADCF62;
}

.blog-box-inner span {
	width: 88%;
	height: 40px;
    white-space: pre-wrap;
    overflow: hidden;
	text-overflow: ellipsis;
    position: absolute;
	padding: 0px 20px 0px 0px;
    bottom: 15px;
    font-size: 1.2rem;
    color: #4c4c4c;
}


h5{
	font-size: 1.5rem;
	text-align:center;
	color: white;
}

h5 a:link	{
	color : white;
}
h5 a:visited	{
	color : white;
} 

h5 a:hover	{
	color : #FFFF00;
} 





footer {
    padding: 20px 0;
    font-size: 1.4rem;
    font-weight: 300;
    text-align: center;
    color: #fff;
    background-color: #7DA346;
	z-index: 10;
}

.blog-box_mobile{
	margin-bottom: 60px;
}




/* PC表示 769px以上
------------------------------------------------------------*/
@media (min-width: 769px) {
.header_mobile{
		display:none ;	
	}
	
.blog-box_mobile{
		display:none ;	
	}
	
	/*ポップアップここから*/
.popup_wrap input {
  display: none;
}

.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.popup_trigger{
  position: absolute;
  width: 100%;
  height: 100%;
}

.popup_content {
  position: relative;
  align-self: center;
  overflow: auto;
  width: 90%;
  height: auto;
	max-height: 90%;
  max-width: 800px;
  padding: 30px 30px 15px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
}

.popup_content_img{
	margin-top: 15px;
	width: 100%;
	height: auto;
	text-align : center;
}

.popup_content p{
	text-align : center;
	font-size: 14px;
	line-height:2;
}

.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}


.blog-box img:hover {
	opacity: 0.8 ;
}


.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

/*ポップアップココまで*/
}



@media screen and (max-width: 900px) {
	
.header_pc li {
		font-size: 1.5vw;
	}
	
.home {
	padding-right: 5px;
	background-size:18px 18px;
}

.tsushin {
    padding-right: 5px;
	background-size:18px 18px;
}

.syoukai {
    padding-right: 5px;
	background-size:18px 18px;
}

.jirei {
    padding-right: 5px;
	background-size:18px 18px;
}

.access {
    padding-right: 5px;
	background-size:18px 18px;
}

.mail {
    padding-right: 0px;
	background-size:18px 18px;
}

}


/* モバイル表示 769px以下
------------------------------------------------------------*/

@media screen and (max-width: 769px) {
	
.popup_wrap{
		display:none ;/* pc版のポップアップなし */
	}	
	
	
/* モバイル版メニュー
------------------------------------------------------------*/	
	
.mein-ph{
	display:none ;	/* pc版のメイン画像を隠す */
	}
	

.header_pc{
	display:none ;	/* pc版のメニューボタンを隠す */
	}
	
.header_mobile{
		display: block !important;	
	}
		
	
.sp-nav {
    position: absolute;
    top: 8rem;
    left: 0;
    display: none;
    z-index: 1000;
    width: 100%;
    background-color: #ffffff;
    opacity: .9;
}

.sp-nav-list {
    width: 100%;
    padding: 5% 0% 5% 12%;
    font-size: 2.2rem;
    text-align: left;
    list-style: none;
	line-height:2;
}

.sp-nav-list li {
    margin-bottom: 1rem;
}
	
.home,.tsushin,.syoukai,.jirei,.access,.mail{
    padding-left: 50px;
	padding-right: 20px;
	background-size:35px 35px;
}
	
.nav-button{
	color: #ffffff;
	font-size: 3rem;
	}
	
	
/* モバイル版トップ
------------------------------------------------------------*/
	
.mobile_mein-ph{
	width: 100%;
	height: auto;
	display: block !important;
	z-index: 100;
	box-shadow:5px 5px 5px rgba(0,0,0,0.3);
	}	
	
.top{
		position: relative;
	}	
	
.nav-button{
	display:block !important;
	position: absolute;
	right: 10px;
	z-index: 2000;
	}	
	
	
.blog-box {
    display: none;
}
	
.blog-box-inner_mobile{
	display: block !important;
	background-color: #fff;
}
	
.blog-box_mobile img {
    max-width: 100%;
	height: auto; 
	border-radius:8px;
}
	

.blog-box-inner_mobile h3 {
    margin: 0;
	padding-top: 10px;
	padding-left: 15px;
    font-size: 1.8rem;
    font-weight: 700;
	color: #ADCF62;
}

.blog-box-inner_mobile p {
	padding: 0px 15px 20px 15px;
    font-size: 1.3rem;
    color: #4c4c4c;
}	
	
.kiji{
	padding-top: 20px;
	padding-bottom: 40px;
}	
			
	
}