/* ========================================
   サブページ共通コンテンツスタイル
   (celebration / longrun / portrait / memorial / self-photo / id-photo / business)
======================================== */

/* ページイントロ（キャッチコピー＋本文） */
.sp-intro {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-intro__catch {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--sumi);
}

.sp-intro__body {
  font-size: 16px;
  line-height: 2;
  color: var(--sumi);
}

.sp-intro__note {
  font-size: 14px;
  color: #888;
  background: var(--off-white);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: left;
  line-height: 1.9;
}

/* 価格インフォブロック */
.sp-price {
  max-width: 680px;
  margin-inline: auto;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-price__item {
  background: var(--white);
  border: 1px solid var(--light-beige);
  border-radius: 4px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.sp-price__item--featured {
  border-color: var(--beige);
  border-width: 2px;
}

.sp-price__label {
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 500;
  color: var(--sumi);
  line-height: 1.7;
}

.sp-price__label small {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  display: block;
  margin-top: 4px;
}

.sp-price__amount {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 500;
  color: var(--beige);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-align: right;
}

.sp-price__amount small {
  font-family: var(--font-gothic);
  font-size: 11px;
  font-weight: 400;
  color: #999;
}

.sp-price__note {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 680px;
  margin-inline: auto;
}

/* チェックリスト */
.sp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin-inline: auto;
  margin-top: 32px;
}

.sp-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--sumi);
}

.sp-checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--beige);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* テーブル */
.sp-table {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  margin-top: 40px;
  border-collapse: collapse;
}

.sp-table th,
.sp-table td {
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid var(--light-beige);
  text-align: left;
  vertical-align: top;
}

.sp-table th {
  font-weight: 500;
  color: var(--sumi);
  background: var(--off-white);
  white-space: nowrap;
  width: 40%;
}

.sp-table td {
  color: var(--sumi);
}

.sp-table td small {
  font-size: 12px;
  color: #888;
}

/* セクション内リンクブロック（誘導） */
.sp-banner {
  max-width: 680px;
  margin-inline: auto;
  margin-top: 48px;
  background: var(--off-white);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-banner__title {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 400;
  color: var(--sumi);
}

.sp-banner__body {
  font-size: 15px;
  line-height: 2;
  color: var(--sumi);
}

/* 3つの入口ボックス（ロングラン） */
.sp-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.sp-door {
  background: var(--white);
  border: 1px solid var(--light-beige);
  border-radius: 4px;
  padding: 28px 24px;
  text-align: center;
}

.sp-door__num {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 36px;
  color: var(--beige);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 12px;
}

.sp-door__title {
  font-family: var(--font-gothic);
  font-size: 15px;
  font-weight: 500;
  color: var(--sumi);
  margin-bottom: 12px;
}

.sp-door__items {
  font-size: 13px;
  color: #888;
  line-height: 2;
}

/* キャプショングリッド（お祝い撮影一覧） */
.sp-caption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.sp-caption-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light-beige);
}

.sp-caption-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-caption-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(0,0,0,0.45);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ビジネス藍墨カラー */
.btn--dark-primary {
  background: var(--ai-sumi);
  color: var(--white);
  border: 1px solid var(--ai-sumi);
}

.btn--dark-primary:hover {
  background: var(--white);
  color: var(--ai-sumi);
  opacity: 1;
}

.btn--dark-primary:hover .btn__arrow {
  background-color: var(--ai-sumi);
}

/* ========================================
   フォトグリッド（3枚）
======================================== */
.sp-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: var(--sp-md);
}

.sp-photo-grid__item {
  overflow: hidden;
  border-radius: var(--radius);
}

.sp-photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   ギャラリー（5枚横並び）
======================================== */
.sp-gallery {
  display: flex;
  gap: 4px;
  margin-top: var(--sp-md);
}

.sp-gallery__item {
  flex: 1 0 0;
  min-width: 0;
  aspect-ratio: 567 / 750;
  overflow: hidden;
  position: relative;
}

.sp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   モバイル
======================================== */
@media (max-width: 768px) {
  .sp-price__item {
    flex-direction: column;
    gap: 8px;
  }

  .sp-price__amount {
    text-align: left;
  }

  .sp-doors {
    grid-template-columns: 1fr;
  }

  .sp-gallery {
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sp-gallery__item {
    flex: 0 0 40vw;
  }

  .sp-caption-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-table th {
    width: 45%;
  }
}

/* ========================================
   セルフ撮影 動画
======================================== */
.sp-video {
  max-width: 480px;
  margin: 48px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.sp-video__title {
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 500;
  color: var(--sumi);
  text-align: center;
  margin-bottom: 16px;
}

.sp-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   セルフ撮影 動画＋テキスト横並び
======================================== */
.sp-video-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin: var(--sp-md) auto 0;
}

.sp-video-row .sp-video {
  flex: 0 0 calc((1100px - 32px) / 3);
  max-width: none;
  margin: 0;
}

.sp-video-row .sp-video {
  max-width: none;
  margin: 0;
}

.sp-video-row__text {
  max-width: 320px;
}

.sp-video-row__text .sp-checklist {
  margin-inline: 0;
  margin-top: 0;
  max-width: none;
}

@media (max-width: 768px) {
  .sp-video-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .sp-video-row .sp-video {
    flex: 0 0 auto;
    width: 100%;
  }

  .sp-video-row__text {
    max-width: 100%;
  }
}

/* ========================================
   ポートレート イントロ（テキスト左・写真右）
======================================== */
.portrait-hero {
  display: grid;
  grid-template-columns: 6fr 5fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-sm);
}

.portrait-hero__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portrait-hero__catch {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--sumi);
}

.portrait-hero__body {
  font-size: 16px;
  line-height: 2;
  color: var(--sumi);
}

.portrait-hero__img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.portrait-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .portrait-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
