/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
a{
	text-decoration:underline;
}
h3{
	margin:3.2em 0 1.8em!important;
}
thead td{
	background-color:#7acc40;
	color:#fff;
}
.main-wrap{
	padding:0
	margin:0;
}
.mv-demo{
  width: 100%;
  height: 500px;
}
/**お知らせ**/
.news-section{
	width:1040px;
	margin:50px auto;
}
.custom-post {
    display: flex;
    align-items: center;
    gap: 10px; /* 日付とタイトルの間隔 */
    padding: 5px 0;
}
.post-date {
    font-size: 14px;
    color: #666;
}
/**TOPコンテンツ**/
.content-section{
	width:1040px;
	margin:0 auto;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3列 */
    grid-gap: 75px; /* 要素の間隔 */
}

@media (max-width: 834px) { /* タブレット */
	.content-grid {
		grid-template-columns: repeat(2, 1fr); /* 2列 */
		grid-gap: 50px;
	}
	.content-section{
		width:80%;
		margin:0 auto;
	}
	.news-section{
		width:80%;
		margin:0 auto;
	}
}
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 834px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .content-grid {
		grid-template-columns: repeat(2, 1fr); /* 2列 */
		grid-gap: 50px;
	}
	.content-section{
		width:80%;
		margin:0 auto;
	}
	.news-section{
		width:80%;
		margin:0 auto;
	}
}
@media (max-width: 768px) { /* スマホ */
    .content-grid {
        grid-template-columns: repeat(1, 1fr); /* 1列 */
		grid-gap: 50px;
    }
	.content-section{
		width:80%;
		margin:0 auto;
	}
	.news-section{
		width:80%;
		margin:0 auto;
	}
}
.content-grid > div{
  width:100%;
  height:395px;
  padding:65px 20px 20px 20px;
  background-image: url('https://test.gotemba-digital.jp/wp-content/uploads/images/contents_backimg_02.png');
  background-size: cover;           /* 画面にぴったりフィット */
  background-position: center;      /* 中央に配置 */
  background-repeat: no-repeat;     /* 繰り返しなし */
}
@media (max-width: 768px){
	.content-grid > div{%;
  		height:459px;
  		padding:75px 20px 20px 20px;
	}
}
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 834px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.content-grid > div{%;
  		height:600px;
  		padding:75px 20px 20px 20px;
	}
}
.content-title{
	font-size:18px;
	font-weight:bold;
	margin:20px 0 10px 0!important;
}
.content-grid div p{
	margin:0;
	padding:0;
}
.content-grid img{
	border-radius:10px;
}
.end-section{
	margin-top:50px;
}

.footer_navi{
	display:none!important;
}
#copyright {
	text-align:center;
	float:none!important;
}

/**固定ページ**/

.cate-title{
	height:100px;
	padding:20px;
	background-color:#1ca166;
	color:#fff;
	text-align:center;
	font-size:24px;
	font-weight:bold;
	margin-bottom:40px;
}
.page_title {
    padding: 20px 30px;
    font-weight: bold!important;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    background-color: #1ca166!important;
	color:#fff;
	text-align:center;
}
.sc_toggle_box{
	margin-bottom:2.2em!important;
}
.sc_toggle_box .sc_toggle_title {
	background-color:#1ca166;
	color:#fff;
	font-weight:bold;
}