/* トップページを縦に詰める（2026-11-26 安藤さん）
   ・佐渡の海の段：余白を詰める
   ・選ばれる理由／お客様の声／掲載メディアを1つの段にまとめる
   トップ（index.html）だけが読み込む。style.css の後に読む。 */

/* ---- 佐渡の海 ---- */
.home-page .sado-ocean {
  padding: 48px 0 44px;
}
.home-page .owner-story {
  gap: 32px;
  margin-bottom: 28px;
}
.home-page .owner-story__portrait img {
  width: 140px;
  height: 140px;
}
.home-page .owner-story .owner-story-quote .quote-line {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.5;
}
.home-page .owner-story .owner-story-quote cite {
  margin-top: 12px;
}
.home-page .sado-features {
  margin-top: 0;
  gap: 16px 40px;
}
.home-page .sado-feature strong {
  margin-bottom: 2px;
}
.home-page .sado-ocean .btn-outline {
  margin-top: 24px;
}

@media (max-width: 820px) {
  .home-page .sado-ocean {
    padding: 36px 0 32px;
  }
  /* 顔写真と言葉を横並びのまま小さく */
  .home-page .owner-story {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }
  .home-page .owner-story__portrait img {
    width: 84px;
    height: 84px;
    outline-width: 2px;
    outline-offset: 3px;
  }
  .home-page .owner-story .owner-story-quote .quote-line {
    font-size: 1.12rem;
  }
  .home-page .owner-story .owner-story-quote cite {
    font-size: 0.72rem;
    margin-top: 6px;
  }
  .home-page .sado-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }
  .home-page .sado-feature strong {
    font-size: 0.95rem;
  }
  .home-page .sado-feature span {
    display: block;
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

/* ---- 選ばれる理由＋お客様の声＋掲載メディア ---- */
.home-page .why-us--merged {
  background: var(--white);
  padding: 48px 0 32px;
}
.home-page .why-us--merged .section-title {
  margin-bottom: 24px;
}
.home-page .why-us--merged .section-title h2 {
  color: var(--primary);
}

/* 4つの数字を横1列に。間は細い縦線 */
.why-us-stats {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
}
.why-us-stat {
  text-align: center;
  padding: 4px 12px;
  border-left: 1px solid var(--gray-light);
}
.why-us-stat:first-child {
  border-left: none;
}
.home-page .why-us-stat .why-us-accent {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  color: var(--primary);
  min-width: 0;
  height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.why-us-accent--logo img {
  height: 34px;
  width: auto;
  display: block;
}
.why-us-stat p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--dark);
}
.why-us-stat .why-us-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
}

/* お客様の声：明るい段に合わせて淡いカードに */
.home-page .why-us--merged .reviews-grid .review-card {
  background: #f1f7fb;
  border: 1px solid #dde8f0;
  padding: 20px 22px;
}
.home-page .why-us--merged .review-stars {
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.home-page .why-us--merged .review-text {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--dark);
}
.home-page .why-us--merged .review-author {
  font-size: 0.76rem;
  color: var(--gray);
}
.home-page .why-us--merged .carousel-controls {
  margin: 12px 0 20px;
}
.home-page .why-us--merged .carousel-controls--reviews .staff-dot::after {
  background: #b9c6d3;
}
.home-page .why-us--merged .carousel-controls--reviews .staff-dot.is-active::after {
  background: var(--primary);
}

/* 掲載メディア：1行に */
.press-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}
.press-inline__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.08em;
}
.press-inline .press-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0;
}
.press-inline .press-logo-text {
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .home-page .why-us--merged {
    padding: 36px 0 24px;
  }
  .why-us-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
    margin-bottom: 20px;
  }
  .why-us-stat:nth-child(3) {
    border-left: none;
  }
  .home-page .why-us-stat .why-us-accent {
    font-size: 1.9rem;
    height: 2.4rem;
  }
  .why-us-accent--logo img {
    height: 28px;
  }
  .why-us-stat p {
    font-size: 0.76rem;
  }
  .home-page .why-us--merged .reviews-grid .review-card {
    flex-basis: 86%;
  }
  .press-inline,
  .press-inline .press-logos {
    gap: 6px 18px;
  }
  .press-inline .press-logo-text {
    font-size: 0.8rem;
  }
}

/* 次は、あなたの番です。 */
.mid-cta--after-why p:first-child {
  margin-bottom: 8px !important;
}
.mid-cta--after-why p:nth-child(2) {
  margin-bottom: 16px !important;
}

/* 店舗情報：「駐車場3台」を途中で折らない */
.home-page .nowrap { white-space: nowrap; }

/* スタッフ紹介：PCでは4人を横1列に並べる（2026-11-26 安藤さん「4人横並びで出るようにしよう」）
   4人とも見えるので、PCでは送りボタンと点を出さない。5人以上になったら、ここを見直す */
@media (min-width: 1024px) {
  .home-page .staff-carousel .staff-card {
    flex-basis: calc((100% - 72px) / 4);
    padding: 24px 18px;
  }
  .home-page .staff-carousel .staff-photo {
    width: 104px;
    height: 104px;
  }
  .home-page .staff-carousel .carousel-controls {
    display: none;
  }
}

/* 横に送らせない（2026-11-26 安藤さん「お客さんに横にスクロールさせる手間を減らしてあげよう」
   「お客さんが情報探してみてくれるなんて考えないほうがいい。絶対」）
   スタッフは、送りボタンを使わず全部を一度に見せる。
   口コミは例外で横送りのまま（安藤さん「3つだろうが6つだろうが何でもいい」「横スクロールにすると画面の削減になる」）。 */
.home-page .staff-carousel .staff-grid {
  display: grid !important;
  overflow: visible;
  scroll-snap-type: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.home-page .staff-carousel .carousel-controls {
  display: none !important;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .home-page .staff-carousel .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* 口コミ：横送りのまま、文字と余白を詰めて背を低くする */
  .home-page .why-us--merged .reviews-grid .review-card {
    padding: 14px 16px;
  }
  .home-page .why-us--merged .review-stars {
    display: none;
  }
  .home-page .why-us--merged .review-text {
    font-size: 0.84rem;
    line-height: 1.7;
    margin-bottom: 4px;
  }
  /* スタッフ：縦に重ねる。写真を小さくして横に置く */
  .home-page .staff-carousel .staff-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-page .staff-carousel .staff-card {
    padding: 16px;
  }
  .home-page .staff-carousel .staff-photo {
    width: 60px;
    height: 60px;
  }
  .home-page .staff-carousel .staff-role {
    margin-bottom: 8px;
  }
  .home-page .staff-carousel .staff-message {
    font-size: 0.84rem;
    line-height: 1.7;
  }
}

/* スマホのスタッフは「名前・役職・ガイド歴・本人の一言」だけ。得意なことは「スタッフ紹介」のページで見せる（2026-11-26 安藤さん） */
@media (max-width: 640px) {
  .home-page .staff-carousel .staff-strength {
    display: none;
  }
}

/* 「佐渡の海について」ボタンは特徴4つの並びの中に置く（2026-11-26 安藤さん「他の項目とずれてて釣り合いが取れてない」）
   PC：3列目に置き、上下2段の真ん中にそろえる。スマホ：特徴の下に1段 */
@media (min-width: 821px) {
  .home-page .sado-ocean-content {
    max-width: none;
  }
  /* 文が折れない幅で3列に並べ、列の間を同じ幅にそろえる */
  .home-page .sado-features {
    grid-template-columns: max-content max-content auto;
    column-gap: 72px;
    max-width: none;
    align-items: start;
  }
  .home-page .sado-ocean .sado-features__more {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: start;
    margin-top: 0;
  }
}
@media (max-width: 820px) {
  .home-page .sado-ocean .sado-features__more {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 8px;
  }
}

/* スマホの「選ばれている理由」をさらに詰める（2026-11-26 安藤さん「1番ここやばい。コンパクトにできないかな」）
   中身は消さず、文字と余白を小さくする */
@media (max-width: 640px) {
  .home-page .why-us--merged {
    padding: 28px 0 18px;
  }
  .home-page .why-us--merged .section-title {
    margin-bottom: 14px;
  }
  .home-page .why-us--merged .section-title h2 {
    font-size: 1.22rem;
    line-height: 1.4;
  }
  .why-us-stats {
    row-gap: 10px;
    margin-bottom: 14px;
  }
  .why-us-stat {
    padding: 0 6px;
  }
  .home-page .why-us-stat .why-us-accent {
    font-size: 1.45rem;
    height: 1.8rem;
    margin-bottom: 2px;
  }
  .why-us-accent--logo img {
    height: 22px;
  }
  .why-us-stat p {
    font-size: 0.7rem;
    line-height: 1.5;
  }
  .why-us-stat .why-us-sub {
    font-size: 0.66rem;
    margin-top: 0;
  }
  .home-page .why-us--merged .reviews-grid .review-card {
    padding: 12px 14px;
  }
  .home-page .why-us--merged .review-text {
    font-size: 0.8rem;
    line-height: 1.65;
  }
  .home-page .why-us--merged .review-author {
    font-size: 0.7rem;
  }
  /* 矢印は出さず点だけ。指ではじいて送る */
  .home-page .why-us--merged .carousel-controls {
    margin: 6px 0 10px;
  }
  .home-page .why-us--merged .carousel-controls .staff-nav {
    display: none;
  }
  .home-page .why-us--merged .carousel-controls .staff-dot {
    height: 20px;
    width: 18px;
  }
  .press-inline {
    gap: 4px 12px;
    padding-top: 10px;
  }
  .press-inline__label {
    flex-basis: 100%;
    text-align: center;
    font-size: 0.68rem;
  }
  .press-inline .press-logos {
    flex-wrap: nowrap;
    gap: 14px;
  }
  .press-inline .press-logo-text {
    font-size: 0.7rem !important;
    white-space: nowrap;
  }
  .press-inline .press-logo-text span[style*="letter-spacing"],
  .press-inline .press-logo-text[style*="letter-spacing"] {
    padding: 3px 10px !important;
    letter-spacing: 2px !important;
  }
}

/* 店舗情報：電話とメールは押しやすいよう高さ44pxのリンク。見出しをリンクの文字の高さにそろえる（2026-11-26 安藤さん「直して」） */
.home-page .shop-card-info .info-row:has(a) {
  align-items: center;
}
