/* ================================
   基本スタイル（全体）
================================ */
body {
  font-family: 'Zen Maru Gothic', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffaf7;
  color: #333;
}

/* ================================
   ヘッダー・タイトル
================================ */
header {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: #fff2ec;
}

.sub-title {
  font-size: 0.9rem;
  color: #d08c8c;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.8rem;
  color: #a65f3e;
  margin: 0;
}

.detail-title {
  font-size: 1.6rem;
  color: #a65f3e;
  margin-bottom: 1rem;
  text-align: center;
}

.detail-price {
  font-size: 1.2rem;
  color: #d17a8a;
  text-align: center;
  margin-bottom: 1rem;
}

/* ================================
   セクション全体レイアウト
================================ */
.detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.detail-description,
.details-text,
.description-section,
.option-section {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}

.detail-description {
  margin-bottom: 2rem;
  text-align: center;
}

.details-text {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.details-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
  text-align: center;
}

.details-text p {
  margin-bottom: 1.2rem;
  white-space: pre-line;
}

/* 囲み */
.description-section,
.option-section,
.contact-buttons {
  background-color: #fdf7f0;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 有料オプション用 */
.option-section {
  max-width: 500px;
  width: 90%;
  margin: 2rem auto;
}

.option-section h2 {
  text-align: center;
  color: #a65f3e;
  margin-bottom: 1rem;
}

.option-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

/* ================================
   ギャラリー
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery-grid img,
.gallery img {
  width: 100%;
  height: auto;
  object-fit: contain; /* or remove */
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

/* ================================
   YouTube 埋め込み
================================ */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sample-title {
  text-align: center;
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  color: #a65f3e;
}

.youtube-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* ================================
   フッター
================================ */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  padding: 2rem 0 1rem;
}

/* ================================
   ボタン系 共通スタイル
================================ */

/* ボタン配置用 */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  align-items: center;
}

.contact-buttons h5 {
  text-align: center;
  color:#f7999c ;
}

/* 上へ戻るボタン（他の構造と被らないなら btn-back で統一可能） */
.back-top {
  text-align: center;
  margin-top: 2rem;
}
.back-top a {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: #f2d4c9;
  color: #333;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}
.back-top a:hover {
  background-color: #e8c1b3;
}

/* LINEボタン：優しい緑、丸く、やわらかい */
.btn-line {
  background-color: #60c08c;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  width: 80%;
  max-width: 280px;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: none; /* ここで影を消します */
}

.btn-line:hover {
  background-color: #4aad76;
}

/* LINE文囲み */
.contact-buttons {
  max-width: 500px;
  width: 90%;
  margin: 2rem auto;
}

.contact-buttons h3 {
  text-align: center;
  color: #a65f3e;
  margin-bottom: 1rem;
}

/* ココナラボタン：優しい赤系 */
.btn-coconala {
  background-color: #e48b8b;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  width: 80%;
  max-width: 280px;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: none;
}

.btn-coconala:hover {
  background-color: #d87777;
}

/* トップへ戻るボタン：やさしいグレー */
.btn-back {
  background-color: #c4c4c4;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  width: 80%;
  max-width: 280px;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: none;
}

.btn-back:hover {
  background-color: #a8a8a8;
}
.youtube-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 の比率 */
  height: 0;
  overflow: hidden;
}

.youtube-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.youtube-container {
  max-width: 500px;
  margin: 0 auto;
}

.description-image {
  text-align: center; /* 親要素で中央寄せ */
  margin-bottom: 2rem; /* 必要に応じて */
}

.description-image img {
  max-width: 100%;
  height: auto;
  display: inline-block; /* imgはinline-blockで中央寄せ */
}

/* ISUM詳細の料金表 */
.price-table-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  background: #fdf7f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Zen Maru Gothic', sans-serif;
}

.price-table-title {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 18px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.6;
}

.price-table th {
  width: 35%;
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
  text-align: left;
}

.price-table td {
  background-color: #fff;
  color: #333;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}
