/* Divider */
.divider {
  background: #FFFFFF;
  border-top: 2px solid #9B0000;
  border-bottom: 2px solid #9B0000;
  width: calc(100% - 40px);
  display: inline-block;
  padding: 20px;
 }

.btm-line {
  border-bottom: 2px solid #9B0000;
  width: calc(100% - 40px);
  display: inline-block;
  text-align: center;
  padding: 20px 20px 0 20px;
 }

/* 表 縦線無し */
.bl-none th, .bl-none td{
    border-right: none !important;
    border-left: none !important;
}
.bl-none td.cell01 {
  background-color: #cccccc3b;
  vertical-align: middle;
  text-align: center;
  width: 30%;
}

.link_button a:hover{
  border: 1px solid #9b0000;
  }

/* Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-template-rows: repeat(2, 1fr); /* 2行 */
  gap: 10px;
 }
.grid-item {
  position: relative;
  overflow: hidden;
 }
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
 }
.grid-item:hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
 }
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
 }
.g-text h3 {
  padding: 100px 15px 0 15px;
  text-align: center;
  color: #fff; 
 }
.g-text p {
  padding: 0 15px;
  line-height: 1em; 
  color: #fff;
 }

/* Tablet SP */
@media screen and (max-width: 768px) {
.grid-container {
  grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
  grid-template-rows: repeat(3, 1fr); /* 3行に変更 */
 }
}
/* END Grid */

/*
tr {
 vertical-align: middle;
 text-align: left;
}

tr td:nth-of-type(1) {
 vertical-align: middle;
 text-align: left;
}

.post_content td, .post_content th {
  text-align: left;
}
*/


/* テキスト内画像配置  */
img.img-in-text {
vertical-align: text-top;
margin: 0px;
padding: 0px;
}

/* レスポンシブ対応 改行 */
@media screen and (min-width: 768px){
.br-sp {display: none; }
.pc-hidden{display: none;}
.sp-text{word-break: break-all;}
.text-center{text-align:center;}
}

