#about {
  padding: 30px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
}

/* 特徴ボックス全体 */
.features__ {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 1fr); /* 4列にする */
  gap: 24px; /* 要素間の隙間 */
  padding: 20px 0;
}


/* 各ボックス */
.feature-box {
  position: relative;
  width: 320px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* グラデーション重ねる */
.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  z-index: 1;
}

.feature-box h3,
.feature-box p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-box p {
  font-size: 14px;
  color: #f0f0f0;
}

/* ホバー効果 */
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* 各背景画像 */
.bag-img-one {
  background: url('../images/stylish_01.jpg') center center / cover no-repeat;
}

.bag-img-two {
  background: url('../images/eki.jpg') center center / cover no-repeat;
}

.bag-img-three {
  background: url('../images/majang2.jpg') center center / cover no-repeat;
}

.bag-img-four {
  background: url('../images/sub-trunk-room.png') center center / cover no-repeat;
}


/*S ポップアップ画面　設備Section S*/
.facilities-section {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}
.section-title {
  font-size: 2.4em;
  margin-bottom: 40px;
  color: #333;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.facility-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.facility-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.facility-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ff5e5e;
}

.facility-card p {
  font-size: 0.95em;
  color: #555;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  float: right;
  cursor: pointer;
}

.entertainment-icons li {
  list-style: none;
  margin: 8px 0;
  font-size: 16px;
}
.entertainment-icons i {
  color: #ff5722;
  margin-right: 10px;
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/*E ポップアップ画面Section E*/


/*S ポップアップ画面　アクセスSection S*/
.access-section-pop {
  display: none;
  position: fixed;
  background-color: #f8f8f8;
  z-index: 9999;
  /*padding-top: 80px;*/
  padding: 60px 20px;
  text-align: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.access-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.access-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.access-card img {
  width: 280px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.access-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ff5e5e;
}

.access-card p {
  font-size: 0.95em;
  color: #555;
}

#access_popup {
  display: none;
}

/*E ポップアップ画面Section E*/


/* スマホ対応 */
@media (max-width: 1450px) {
    .feature-box {
        position: relative;
        width: 280px;
        height: 180px;
        border-radius: 12px;
        overflow: hidden;
        color: white;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 20px;
        background-size: cover;
        background-position: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .access-card img {
      width: 200px;
      height: auto;
      object-fit: contain;
      margin-bottom: 20px;
    }
}

@media (max-width: 1350px) {
    .feature-box {
        position: relative;
        width: 280px;
        height: 180px;
        border-radius: 12px;
        overflow: hidden;
        color: white;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 20px;
        background-size: cover;
        background-position: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .access-card img {
      width: 200px;
      height: auto;
      object-fit: contain;
      margin-bottom: 20px;
    }
}

@media (max-width: 970px) {
  .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列にする */
    gap: 24px; /* 要素間の隙間 */
    padding: 20px 0;
  }

  .feature-box {
    width: 90%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .features__old {
    flex-direction: column;
    align-items: center;
  }

  .features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
  }

  .feature-box {
    width: 90%;
    height: 200px;
  }
}