.wp-block-columns{
	display:flex !important;
	flex-wrap:wrap;
	gap:30px;
	align-items:flex-start;
}

.wp-block-columns > .wp-block-column{
	flex:1 1 45% !important;
	min-width:300px;
	margin:0 !important;
}

.product-grid-m{
	display:grid !important;
	grid-template-columns:repeat(2, 1fr);
	gap:24px;
}

.product-grid-m .wp-block-column{
	margin:0 !important;
	min-width:auto !important;
}

.product-grid-m img{
	width:315px;
	height:auto;
	display:block;
	border-radius:8px;
}

.product-grid-m h5{
	margin-top:12px !important;
	margin-bottom:0 !important;
	font-size:16px;
	line-height:1.5;
}
/* SPも2カラム維持 */
@media (max-width:767px){
	.product-grid-m{
		grid-template-columns:repeat(1, 1fr);
		gap:16px;
	}

	.product-grid-m h5{
		font-size:14px;
		line-height:1.4;
	}
}
.product-grid{
	display:grid !important;
	grid-template-columns:repeat(4, 1fr);
	gap:24px;
}

.product-grid .wp-block-column{
	margin:0 !important;
	min-width:auto !important;
}

.product-grid img{
	width:100%;
	height:auto;
	display:block;
	border-radius:8px;
}

.product-grid h5{
	margin-top:12px !important;
	margin-bottom:0 !important;
	font-size:16px;
	line-height:1.5;
}

/* tablet */
@media (max-width:1024px){
	.product-grid{
		grid-template-columns:repeat(2, 1fr);
	}
}

/* SPも2カラム維持 */
@media (max-width:767px){
	.product-grid{
		grid-template-columns:repeat(2, 1fr);
		gap:16px;
	}

	.product-grid h5{
		font-size:14px;
		line-height:1.4;
	}
}
.br-sp {
    display: none;
}

@media (max-width: 767px) {
    .br-sp {
        display: block;
    }
}
/* ファイルアップロード */

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom:20px;
}

.upload-item {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  box-sizing: border-box;
}

/* tablet */
@media screen and (max-width: 768px) {
  .upload-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* smartphone */
@media screen and (max-width: 480px) {
  .upload-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .upload-item {
    padding: 12px;
  }
}


/* 全体 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* カード */
.info-card {
  border: 1px solid #ddd;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

/* タイトル */
.info-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  line-height: 1.4;
}

/* 注釈 */
.info-card p {
  flex: 1;
  margin: 0 0 12px;
  line-height: 1.6;
  font-size: 14px;
}

/* 画像 */
.info-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* スマホ時：2カラム維持して縮小 */
@media screen and (max-width: 768px) {
  .info-grid {
    gap: 8px;
  }

  .info-card {
    padding: 8px;
  }

  .info-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .info-card p {
    font-size: 11px;
    margin-bottom: 6px;
    line-height: 1.4;
  }
}

/* 超小型端末 */
@media screen and (max-width: 480px) {
  .info-grid {
    gap: 6px;
  }

  .info-card {
    padding: 6px;
  }

  .info-card h3 {
    font-size: 12px;
  }

  .info-card p {
    font-size: 10px;
  }
}

.lb_bk{
    background-color: #958f8f26;
    padding: 0px;
    margin-right: 10px;
    border-radius: 5px;
}
.fileArea {
    display: flex;
    align-items: center;
    gap: 10px;
}