.bx-wrapper img {
  width: 100% !important;
}

.col {
  text-shadow: 1px 1px 0px rgb(255, 255, 255);
}
.col h4 {
  margin: 0 0 36px;
}
.col1 .photo {
  width: 48%;
}
.col1 .photo img {
  width: 100%;
  height: auto;
}
.col1 {
}
.col3 {
  padding: 0 0 150px;
  background: url(../images/bg02.jpg) no-repeat right bottom;
}
.col3 .photo {
  width: 49%;
}
.col3 .photo img {
  width: 100%;
  height: auto;
}
.col4 .photo {
  width: 25%;
}
.col4 .photo img {
  width: 100%;
  height: auto;
}
.col4 .photo2 {
  position: relative;
  float: right;
  width: 30%;
  z-index: 10;
  margin: 0 0 0 10px;
}
.col4 .photo2 img {
  width: 100%;
  height: auto;
}
.caption {
  font-size: 1rem;
}
.grid_wrapper .box .btn a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.grid_wrapper .box {
  position: relative;
  padding: 0 0 60px;
}
.grid_wrapper .box .btn a .btn_send {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-left: -120px;
}
.grid_wrapper .item:hover img {
  opacity: 0.75;
}
.grid_wrapper .item img {
  width: 100%;
  height: auto;
}
.grid_wrapper .price {
  background: #eee;
  margin: 15px 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
}
.grid_wrapper .price span {
  font-weight: normal;
  font-size: 1.4rem;
  color: #666;
}
.grid_wrapper .caption h3 {
  font-size: 1.6rem;
}
.grid_wrapper .caption {
  font-size: 1.4rem;
}
#topics {
  margin: 0 auto 20px;
  border-bottom: 1px dotted #ccc;
}
#topics dt {
  float: left;
}
#topics dd {
  padding-left: 7em;
}
#coupon .row {
  margin: 0 -20px;
}
#coupon .inner {
  margin: 0 20px;
}
#coupon .inner h3 {
  background: #fa4071;
  line-height: 42px;
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}
@media (min-width: 992px) {
  .topics {
    width: 50%;
  }
}

.btn_muryo {
  display: block;
  width: 100%;
  max-width: 1000px;
  line-height: 80px;
  text-align: center;
  margin: 30px auto;
  background-color: #009d70;
  color: #fff;
  font-size: 3.6rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.btn_muryo:hover {
  opacity: 0.75;
}
@media (max-width: 768px) {
  .btn_muryo {
    width: auto;
    font-size: 1.8rem;
    line-height: 1.5;
    padding: 10px 0;
    margin: 15px 10px;
  }
}

.certificate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  margin: 0 auto 30px;
}
@media (max-width: 768px) {
  .certificate {
    width: auto;
    padding: 0 15px;
    flex-direction: column-reverse;
    gap: 30px;
  }
}

.certificate__img {
  width: 320px;
  cursor: pointer
}
@media (max-width: 768px) {
  .certificate_img {
    width: auto;
  }
}
.certificate__desc {
  flex: 1;
}
.certificate__desc h3{
  font-size: 20px;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 15px;
}
/* モーダルの背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

/* モーダル表示時のスタイル */
.modal.show {
  display: flex !important;
}

/* モーダル画像本体 */
.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 表示時にスケール＆フェードイン */
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* 背景フェードイン */
@keyframes fadeIn {
  from { background-color: rgba(0,0,0,0); }
  to { background-color: rgba(0,0,0,0.8); }
}
