/* 改行設定 */
.wordBreak-keepAll {
  word-break: keep-all;
}

.overflowWrap-breakWord {
  overflow-wrap: break-word;
}

/* 背景設定 */
body {
  margin: 0;
  font-family: 'Press Start 2P', 'DotGothic16', sans-serif;
  background-image: url(./img/bg.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* 白いフィールド */
.overlay {
  background: rgba(255, 255, 255, 0.9);
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
  min-height: 100vh;
}

/* 見出し */
header {
  text-align: center;
  padding: 20px 0;
}
header h1 {
  font-size: 1.8rem;
}
header p {
  font-size: 1rem;
  color: #555;
}

/* 魅力＋コジャケ横並び */
.intro-with-kojak {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.intro-text {
  flex: 1 1 300px;
}
.intro-text h2 {
  border-left: 5px solid #4caf50;
  padding-left: 10px;
  font-size: 1rem;
}
.intro-text ul {
  list-style: none;
  padding-left: 0;
}
.intro-text li {
  margin: 10px 0;
  font-size: 0.9rem;
}
.intro-kojak {
  flex: 0 0 200px;
  text-align: center;
}
.kojak {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* 画像スペース */
.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.image-placeholder {
  background: #eee;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
  border: 2px dashed #ccc;
}

/* ライトボックス（モーダル） */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #ccc;
}

/* 連絡先リンク */
.contact {
  text-align: center;
  margin-top: 40px;
}
.contact-link {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.contact-link:hover {
  background: #388e3c;
}

/* フッター */
footer {
  text-align: center;
  font-size: 0.6rem;
  color: #777;
  margin-top: 50px;
}

/* スマホ対応 */
@media (max-width: 600px) {
  /* 白いフィールド */
  .overlay {
   background: rgba(255, 255, 255, 0.9);
    max-width: 95vw;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
  }
  header h1 {
    font-size: 1.2rem;
  }
  .intro-text h2 {
    font-size: 0.9rem;
  }
  .kojak {
    max-width: 150px;
  }
}