/* ============================================================
   singles.css – 婚活パーティページ専用スタイル
   ============================================================ */

/* ── Variables ── */
:root {
  --c-accent: #009DE6;
  --c-accent-dk: #013F98;
  --c-light-blue: #EBF4FB;
  --c-bg: #EBF4FB;
  --c-border: #D4E8F5;
  --c-text: #333333;
  --c-text-mid: #555555;
  --c-text-light: #999999;
  --sec-pad: 160px;
  --g-accent: linear-gradient(90deg, #00489D 0%, #009DE6 80%);
}

/* ── Reset / Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.page-singles {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--c-text);
  background: #fff;
  line-height: 1.7;
}

/* ── Container ── */
.ps-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ============================================================
   HERO
   構造（サイズ・背景・余白）は共通コンポーネント assets/css/components/rl-hero.css 側。
   ここではSINGLESページ固有のタイポグラフィのみ指定する。
   ============================================================ */
.rl-hero__title {
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: .06em;
  color: #fff;
  line-height: 1;
  margin: 0 0 10px;
}

.rl-hero__sub {
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   共通 Section
   ============================================================ */
.ps-section {
  padding: var(--sec-pad) 0;
}

.ps-section--bg {
  background: #fff;
}

.ps-section--photo {
  background-image: url('../images/singles/background.jpg');
  background-size: cover;
  background-position: center;
}

.ps-section--example {
  background: #F3F9FE;
  padding-bottom: calc(var(--sec-pad) / 2);
}

.ps-section--contact {
  background: #F3F9FE;
  padding-top: calc(var(--sec-pad) / 2);
}

.ps-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 56px;
  position: relative;
}


/* グラデーション見出し */
.ps-heading--gradient {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--g-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.ps-heading--gradient::after {
  display: none;
}

.ps-heading--brand {
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 32px;
}

.ps-heading--serif {
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 48px;
}

.ps-lead {
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  line-height: 1.9;
}

/* ============================================================
   ブランド紹介 / こんな方に向けて
   ============================================================ */
.ps-about-grid {
  border-radius: 10px;
  background: #F3F9FE;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 64px;
}

.ps-about-grid__body {
  background: #F3F9FE;
  border-radius: 14px;
  padding: 40px 48px;
}

.ps-about-grid__photo {
  min-height: 360px;
  border-radius: 14px 0 0 14px;
  background: var(--c-light-blue);
  overflow: hidden;
}

.ps-about-grid__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.ps-sub-heading {
  text-align: center;
  font-family: 'Hina Mincho', 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: #0064B5;
  margin-bottom: 24px;
}

.ps-sub-heading span {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  color: #0064B5;
}

.ps-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
  color: var(--c-text-mid);
}

.ps-check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #009DE6;
  background-image: url('../images/singles/Vector.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
  flex-shrink: 0;
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.ps-stats-grid {
  --stat-gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--stat-gap);
  margin-bottom: 64px;
}

.ps-stat {
  position: relative;
  text-align: center;
  padding: 32px 8px;
  background: #fff;
  border-radius: 14px;
}

.ps-stat:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(var(--stat-gap) / -2);
  width: 1px;
  height: 100%;
  background: #DDDDDD;
}

.ps-stat__badge {
  position: relative;
  display: inline-block;
  padding: 4px 36px;
  border-radius: 20px;
  background: var(--c-accent);
  color: #fff;
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-weight: 400;
  white-space: nowrap;
  margin-bottom: 16px;
}

.ps-stat__badge::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--c-accent);
}

.ps-stat__num {
  display: block;
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-size: 2.6rem;
  font-weight: 400;
  background: var(--g-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.ps-stat__num small {
  font-size: 1rem;
  font-weight: 500;
  margin-left: 2px;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ps-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--c-text-light);
}

.ps-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ps-reason {
  padding: 32px 26px;
  background: var(--c-light-blue);
  border-radius: 12px;
}

.ps-reason__title {
  text-align: center;
  font-family: 'Hina Mincho', 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: #0064B5;
  line-height: 1.5;
  margin-bottom: 12px;
}

.ps-reason__body {
  text-align: center;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-weight: 400;
  color: #222222;
  line-height: 1.85;
}

/* ============================================================
   過去開催パーティ一例
   ============================================================ */
.ps-section--example .ps-heading {
  font-family: 'Zen Old Mincho', 'Hina Mincho', 'Noto Serif JP', serif;
  font-size: 48px;
}

.ps-example-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.ps-example-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  color: #222222;
  line-height: 1.7;
}

.ps-example-list li::before {
  content: '●';
  flex-shrink: 0;
  font-size: 0.4rem;
  color: var(--c-accent);
}

.ps-example-note {
  text-align: center;
  margin-top: 32px;
  font-family: 'Zen Old Mincho', 'Hina Mincho', 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: #0064B5;
}

.ps-gallery {
  position: relative;
  margin-top: 40px;
  padding-left: max(40px, calc((100vw - 1080px) / 2 + 40px));
}

.ps-gallery__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.ps-gallery__track::-webkit-scrollbar {
  height: 6px;
}

.ps-gallery__track::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
}

.ps-gallery__item {
  flex: 0 0 350px;
  width: 350px;
  height: 262px;
  scroll-snap-align: start;
  background: var(--c-light-blue);
  overflow: hidden;
}

.ps-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--c-accent);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.2s;
}

.ps-gallery__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ps-gallery__nav:focus-visible,
.ps-gallery__track:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.ps-gallery__nav--prev {
  left: 8px;
}

.ps-gallery__nav--next {
  right: 8px;
}

/* ============================================================
   お問い合わせ CTA
   ============================================================ */
.ps-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 10px;
}

.ps-contact__photo {
  min-height: 400px;
  border-radius: 14px 0 0 14px;
  background: var(--c-light-blue);
  overflow: hidden;
}

.ps-contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.ps-contact__body {
  background: linear-gradient(120deg, #D9E4F0 0%, #D9F0FB 100%);
  border-radius: 0 14px 14px 0;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ps-contact__title {
  text-align: left;
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 400;
  color: #0064B5;
  margin-bottom: 20px;
  line-height: 1.5;
}

.ps-contact__text {
  font-size: 0.95rem;
  color: #222222;
  line-height: 1.9;
  margin-bottom: 32px;
}

.ps-contact__btn {
  position: relative;
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 250px;
  padding: 10px 10px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--c-accent);
  font-weight: 700;
  line-height: 1.9;
  text-decoration: none;
}

.ps-contact__btn-text {
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  background: linear-gradient(90deg, #00489D 0%, #009DE6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.ps-contact__btn-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  font-size: 14px;
}

.ps-contact__btn.btn-hover-fill:hover .ps-contact__btn-icon,
.ps-contact__btn.btn-hover-fill:focus-visible .ps-contact__btn-icon {
  border-color: transparent;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .ps-container {
    width: 90%;
  }
}

@media (max-width: 970px) {
  .ps-about-grid {
    gap: 0;
  }

  .ps-about-grid__body {
    padding: 40px 32px;
  }
}

@media (max-width: 700px) {
  .ps-about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ps-about-grid__photo {
    min-height: 260px;
    border-radius: 14px 14px 0 0;
  }

  .ps-about-grid__body {
    padding: 32px 24px;
  }
}

@media (max-width: 1024px) {
  .ps-reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ps-contact {
    grid-template-columns: 1fr;
  }

  .ps-contact__title {
    text-align: center;
  }

  .ps-contact__photo {
    border-radius: 14px 14px 0 0;
  }

  .ps-reason-grid {
    grid-template-columns: 1fr;
  }

  .ps-example-list {
    grid-template-columns: 1fr;
  }

  .ps-gallery {
    padding-left: 24px;
  }

  .ps-gallery__item {
    flex-basis: 200px;
  }

  .ps-contact__photo {
    min-height: 400px;
  }

  .ps-contact__body {
    padding: 32px 24px;
    border-radius: 0 0 14px 14px;
  }
}

@media (max-width: 768px) {
  .rl-hero__sub {
    font-size: 12px;
  }
}

@media (max-width: 850px) {
  .ps-stat__badge {
    padding: 8px 12px;
  }
}

@media (max-width: 540px) {
  :root {
    --sec-pad: 48px;
  }

  /* モバイル幅ではボタンいっぱいに広げる（それより広い場合は固定幅のまま） */
  .ps-contact__btn {
    box-sizing: border-box;
    width: 100%;
  }

  .ps-lead {
    font-size: 14px;
  }

  .ps-check-list li {
    font-size: 14px;
  }

  .ps-stat__badge {
    font-size: 12px;
    padding: 4px 8px;
  }

  .ps-stats-grid {
    --stat-gap: 8px;
  }

  .ps-stat__num {
    font-size: 20px;
  }

  .ps-stat__num small {
    font-size: 14px;
  }

  .ps-reason__body {
    font-size: 14px;
  }

  .ps-example-list li {
    font-size: 14px;
  }

  .ps-heading--serif {
    font-size: 32px;
  }

  .ps-heading {
    font-size: 24px;
  }

  .ps-section--example .ps-heading {
    font-size: 24px;
  }

  .ps-heading--brand {
    font-size: 20px;
  }

  .ps-contact__title {
    font-size: 20px;
  }

  .ps-sub-heading {
    font-size: 18px;
  }

}