/* ==========================================================================
   トップページ（未ログイン時）エントランスLP専用スタイル
   2026-08-22: 宮田さん確認のうえ、明朝×アンバー×左揃えのデザインに全面刷新
   2026-08-28: 高木さん指示により、カード類（ユーザー・サービス・相談BOX）と
   ボタン形状をログイン後UI（main.css）のデザインルールに統一。
   明朝体見出し・アンバーのアクセント・ヒーローの印象はそのまま維持。
   カード部品は main.css の共通クラス（.profile-card / .scroll-card /
   .action-card / .tag-category / .faq-item 等）を直接再利用している。
   2026-08-28（同日）: 高木さん指示により細部を調整。カテゴリアイコン・
   「登録は無料です」バッジをサイト共通のタウペ／クリームに変更、
   ヒーロー・登録ボタンのカスタム青をサイト共通の --blue（main.css）に統一
   （ビジョンページ https://test00.advio.jp/vision/ の青と同系統）、
   Become a listenerのアイコンを絵文字からFont Awesome（他画面と共通の
   fa-comments/fa-pen/fa-store等）に変更しブロックを中央揃えに、
   MOMENTSとヒーロー画像の間の余白を確保、コラム行のスクロールバーを非表示、
   MOMENTSの番号にアンバーの丸バッジをあしらった。
   ========================================================================== */

main.entrance {
  max-width: none;
  padding: 0;
  --ent-ink: #20242b;
  --ent-ink-soft: #22252c;
  --ent-paper: #f7f6f2;
  --ent-paper-raised: #ffffff;
  --ent-paper-line: #e4e1d8;
  --ent-amber: #c98a34;
  --ent-amber-deep: #a66b22;
  --ent-amber-tint: #f3e3cb;
  background: var(--ent-paper);
  color: var(--ent-ink);
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.85;
}

main.entrance a { color: inherit; }
main.entrance img { max-width: 100%; display: block; }

main.entrance .ent-mincho {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}

.ent-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.ent-section { padding: 44px 0; scroll-margin-top: 90px; }
#services { padding-bottom: 24px; }
#categories { padding-top: 24px; padding-bottom: 24px; }
.ent-section-raised { background: var(--ent-paper-raised); border-top: 1px solid var(--ent-paper-line); border-bottom: 1px solid var(--ent-paper-line); }
/* 背景だけ白にする（罫線は付けない）版。Ranking＋Topicsのグループで使用 */
.ent-section-white { background: var(--ent-paper-raised); }

/* 共通見出し（左揃え） */
.ent-section-head { margin: 0 0 26px; }
#moments .ent-section-head { margin-bottom: 16px; }
.ent-title-more { font-size: 12px; font-weight: 400; color: var(--ent-ink-soft); text-decoration: none; white-space: nowrap; }
.ent-title-more:hover { text-decoration: underline; }
/* サブ見出し＋「もっと見る」の行（コラム・おすすめ投稿など、1セクション内に複数ブロックがある場合） */
.ent-subhead-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 36px 0 10px; }
.ent-subhead-row:first-of-type { margin-top: 8px; }
.ent-subhead-row .ent-subhead { margin: 0; }
.ent-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  color: #767676;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.ent-title {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 14px;
  text-wrap: wrap;
}
/* .ent-hero-title-br-mobileと同じ考え方：スマホ幅だけ自然な区切りで改行させたい
   見出し（Categories等）で使う。PCでは無効（非表示）のまま */
.ent-title-br-mobile { display: none; }
@media (max-width: 640px) {
  .ent-title-br-mobile { display: inline; }
}
.ent-lead {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ent-ink-soft);
  margin: 0;
  max-width: 34em;
}

/* 共通ボタン（形状は main.css の .btn に合わせたピル型。配色はLPの黒／アウトライン） */
.ent-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--ent-ink);
  color: var(--ent-paper);
  cursor: pointer;
  transition: opacity .15s ease;
}
.ent-btn:hover { opacity: .85; }
.ent-btn-amber { background: var(--ent-amber); color: var(--ent-ink); }
.ent-btn-quiet {
  background: transparent;
  color: var(--ent-ink);
  border-color: var(--ent-ink);
}
.ent-btn-quiet:hover { opacity: .7; }
.ent-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; width: 100%; }
.ent-btn-center { display: flex; width: max-content; margin: 32px auto 0; }

/* --------------------------------------------------------------------------
   ヒーロー（左揃え）
   -------------------------------------------------------------------------- */
.ent-hero {
  position: relative;
  padding: 69px 0 62px;
  min-height: 224px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.ent-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero_ocean.ee8dbd7ccad8.jpg");
  background-size: cover;
  background-position: center 60%;
  z-index: -2;
}
.ent-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10, 12, 16, .36) 0%, rgba(10, 12, 16, .24) 32%, rgba(10, 12, 16, .09) 58%, rgba(10, 12, 16, 0) 80%);
  z-index: -1;
}
.ent-hero-title {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .01em;
  margin: 0 0 22px;
  text-wrap: balance;
  max-width: 12em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.ent-hero-title em {
  font-style: normal;
  border-bottom: 3px solid #e8b64a;
  padding-bottom: 0;
}
/* スマホ幅のみ「その悩み、」の後で改行し3行に（PCは現状のまま2行） */
.ent-hero-title-br-mobile { display: none; }
@media (max-width: 640px) {
  .ent-hero-title-br-mobile { display: inline; }
}
.ent-hero-lead-intro {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}
.ent-hero-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ent-hero-points li {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.7;
  color: rgba(255, 255, 255, .96);
  padding-left: 18px;
  position: relative;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}
.ent-hero-points li::before {
  content: "";
  position: absolute;
  left: 1px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1d5c8f;
}
.ent-hero-chips {
  margin-top: 20px;
  font-size: 12.5px;
  color: #2a2e35;
  font-weight: 700;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ent-hero-chips span::before { content: "・"; color: var(--ent-amber); margin-right: 5px; }
.ent-hero-chips span:first-child::before { content: none; }
.ent-hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: #3a3d44;
  line-height: 1.6;
}

/* 乗算ブレンドで海の写真に馴染ませる。白文字自体に乗算をかけると
   （白は乗算の単位元のため）文字が背景と同化して消えてしまうので、
   色は::beforeの背景レイヤーだけにかけ、文字（.ent-btn-label）は
   z-indexで一段上に明示的に重ね、通常合成のまま表示する。 */
.ent-hero .ent-btn {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border-color: transparent !important;
}
.ent-hero .ent-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blue);
  mix-blend-mode: multiply;
}
.ent-hero .ent-btn:hover::before {
  background: #1d5c8f;
}
.ent-hero .ent-btn:hover {
  opacity: 1;
}
.ent-hero .ent-btn-label {
  position: relative;
  z-index: 1;
  color: #fff;
  mix-blend-mode: normal;
}

/* --------------------------------------------------------------------------
   お知らせ・注目トピック
   -------------------------------------------------------------------------- */
.ent-notices-section { padding: 8px 0 44px; }
/* Rankingセクションとの間の区切り線。.ent-inner内に置くことで画面幅いっぱいには広がらない
   （MOMENTSの各エピソード間の罫線と同じ考え方） */
.ent-notices-divider { border-top: 1px solid var(--ent-paper-line); margin: 0 0 26px; }
.ent-notice-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 4px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ent-notice-row::-webkit-scrollbar { display: none; }
.ent-notice-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(51,44,41,0.14);
  padding: 14px 18px;
}
.ent-notice-empty { color: var(--ent-ink-soft); text-align: center; }
.ent-notice-date { font-size: 11px; color: var(--ent-ink-soft); margin-bottom: 4px; }
.ent-notice-title { font-size: 12.5px; font-weight: 700; line-height: 1.6; }

/* --------------------------------------------------------------------------
   MOMENTS（縦積みの物語リスト）
   -------------------------------------------------------------------------- */
.ent-stories { background: var(--ent-paper-raised); border-top: 1px solid var(--ent-paper-line); padding-top: 44px; padding-bottom: 24px; }
.ent-story {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 18px;
  padding: 20px 0;
  border-top: 1px solid var(--ent-paper-line);
}
.ent-story:first-of-type { border-top: none; padding-top: 6px; }
.ent-story-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #EFEAE4;
  display: flex; align-items: center; justify-content: center;
  align-self: start;
  font-family: "游明朝", "Yu Mincho", serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--taupe);
}
.ent-story-eyebrow {
  grid-column: 2;
  font-size: 12px;
  color: #767676;
  letter-spacing: .04em;
  margin: 0 0 8px;
}
.ent-story blockquote {
  grid-column: 2;
  margin: 0 0 12px;
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: balance;
}
.ent-story-foot { grid-column: 2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ent-story-foot a { font-size: 13px; font-weight: 700; color: var(--ent-amber-deep); text-decoration: none; }
.ent-story-foot a:hover { text-decoration: underline; }
.ent-pill-soon {
  font-size: 11px;
  color: var(--ent-ink-soft);
  background: #EDEDED;
  padding: 3px 10px;
  border-radius: 999px;
}
.profile-card .ent-pill-soon { font-size: 10px; padding: 2px 10px; margin-top: 8px; }

/* --------------------------------------------------------------------------
   Avit callout
   -------------------------------------------------------------------------- */
.ent-avit-band {
  background: var(--ent-paper-raised);
  color: var(--ent-ink);
  padding: 32px 0;
}
.ent-avit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 22px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(51,44,41,0.14);
}
.ent-avit-text {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}
.ent-avit-mascot { height: 44px; width: auto; flex-shrink: 0; }
.ent-avit-band h2 { font-size: 16px; margin: 0 0 2px; font-weight: 600; }
.ent-avit-band p { margin: 0; font-size: 13px; color: var(--ent-ink-soft); max-width: 34em; }
.ent-btn-avit {
  background: #EFEAE4;
  white-space: nowrap;
  flex-shrink: 0;
}
/* main.entrance a { color: inherit } の詳細度に勝つため2クラス指定にする */
main.entrance .ent-btn-avit { color: var(--ent-ink); }
.ent-avit-icon { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   People（横スクロールカード：main.css の .profile-card を再利用）
   -------------------------------------------------------------------------- */
/* FP準備中カードだけはLP独自の「近日公開」表現を重ねる */
.profile-card.ent-is-pending {
  opacity: .75;
  box-shadow: none;
  border: 1px dashed #DDD6CD;
}
.ent-empty { color: var(--ent-ink-soft); font-size: 13px; }
.ent-people-group { margin-bottom: 26px; }
.ent-people-group:last-of-type { margin-bottom: 0; }
.ent-people-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ent-ink-soft);
  margin: 0 0 10px;
}
.ent-people-group-title::after { content: ""; flex: 1; height: 1px; background: var(--ent-paper-line); }

/* --------------------------------------------------------------------------
   Become a listener（2カラム）
   -------------------------------------------------------------------------- */
.ent-listener { background: #EBEFF4; border-top: 1px solid var(--ent-paper-line); border-bottom: 1px solid var(--ent-paper-line); padding: 44px 0; }
.ent-listener-inner {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}
.ent-listener .ent-title { max-width: none; }
.ent-listener .ent-lead { max-width: none; }
#people .ent-lead { max-width: none; }
.ent-listener-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ent-listener-feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(51,44,41,0.14);
  padding: 20px 16px;
  text-align: center;
}
.ent-listener-feature-icon {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 10px;
}
.ent-listener-feature-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ent-ink);
  margin-bottom: 4px;
}
.ent-listener-feature-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ent-ink-soft);
}
.ent-listener-card {
  text-align: center;
  max-width: none;
  margin: 28px auto 0;
}
.ent-listener-closing {
  margin: 0 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ent-ink);
}
.ent-listener-card .ent-btn { width: auto; min-width: 220px; justify-content: center; margin-top: 0; padding: 14px 32px; }
.ent-listener-card-note { font-size: 10.5px; font-weight: 400; color: var(--ent-ink-soft); opacity: .7; margin: 10px 0 0; }
.ent-listener-card .ent-btn-listener-signup {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(49,155,208,.35);
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ent-listener-card .ent-btn-listener-signup:hover {
  background: #1d5c8f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(49,155,208,.4);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Services / Column（横スクロール行。カードは main.css の .scroll-card）
   -------------------------------------------------------------------------- */
.ent-subhead { font-size: 14.5px; font-weight: 700; margin: 36px 0 16px; color: var(--ent-ink); }
.ent-subhead:first-of-type { margin-top: 40px; }
.ent-column-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ent-column-row::-webkit-scrollbar { display: none; }
.ent-column-card {
  scroll-snap-align: start;
  flex: 0 0 190px;
  height: 217px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(51,44,41,0.14);
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: var(--ent-ink);
  display: block;
  transition: opacity .15s ease;
}
.ent-column-card:hover { opacity: .72; }
.ent-column-card img, .ent-column-thumb-empty {
  width: 100%;
  height: 95px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #fff, #E8E3DD);
}
.ent-column-body { padding: 12px 14px; }
.ent-column-title {
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  height: 6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* --------------------------------------------------------------------------
   横スクロール行の矢印ボタン
   -------------------------------------------------------------------------- */
.ent-scroll-wrap { position: relative; }
.ent-scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E8E3DD;
  box-shadow: 0 2px 8px rgba(32,36,43,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  color: var(--ent-ink);
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
.ent-scroll-arrow:hover { background: var(--ent-ink); color: #fff; border-color: var(--ent-ink); }
.ent-scroll-arrow.is-hidden { opacity: 0; pointer-events: none; }
.ent-scroll-arrow-prev { left: -8px; }
.ent-scroll-arrow-next { right: -8px; }
@media (max-width: 640px) {
  .ent-scroll-arrow { display: none; }
}

/* --------------------------------------------------------------------------
   FAQ（よくある質問：main.css の .faq-item を再利用）
   -------------------------------------------------------------------------- */
.ent-faq-list { margin: 0 0 24px; }

/* --------------------------------------------------------------------------
   Categories（グループ＋タグ行）
   -------------------------------------------------------------------------- */
#categories .ent-lead { max-width: none; }
.ent-cat-group { margin-bottom: 20px; }
.ent-cat-group h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ent-ink);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ent-cat-group h3 i { color: var(--taupe); font-size: 13px; width: 16px; }
.ent-cat-group h3 a { text-decoration: none; color: inherit; }
.ent-cat-group h3 a:hover { color: var(--ent-amber-deep); }
.ent-tag-row { display: flex; flex-wrap: wrap; gap: 9px; }
/* 子カテゴリのタグはログイン後UIの .tag（クリーム地・タウペ文字のピル）に合わせる */
.ent-tag-row a {
  font-size: 12.5px;
  text-decoration: none;
  color: #A08877;
  background: #EFEAE4;
  padding: 7px 14px;
  border-radius: 999px;
}
.ent-tag-row a:hover { color: var(--ent-ink); }

/* --------------------------------------------------------------------------
   main.css共通カード部品をLP内で正しく描画するための調整
   （`main.entrance a { color: inherit }` の詳細度が main.css 側の一部の
   低詳細度ルールに勝ってしまうため、ここで上書きして本来の配色に戻す）
   -------------------------------------------------------------------------- */
main.entrance .profile-card,
main.entrance .scroll-card,
main.entrance .action-card { color: var(--ink, #332C29); }
main.entrance .scroll-card-author { color: var(--taupe, #A08877); }
main.entrance .scroll-card-author:hover { color: var(--ink, #332C29); }
/* カードの影が行の端で切れないよう、行に少し余白を持たせる */
main.entrance .scroll-row { padding: 4px 4px 14px; }

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 780px) {
  .ent-listener-features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ent-story { grid-template-columns: 24px 1fr; }
  .ent-story-num { width: 24px; height: 24px; font-size: 11px; }
  .ent-avit-inner { flex-direction: column; align-items: flex-start; }
  .ent-avit-inner .ent-btn-avit { align-self: center; margin-top: 4px; }
}
@media (max-width: 560px) {
  .ent-section { padding: 32px 0; }
  .ent-hero { padding: 48px 0 44px; }
  .ent-btn { width: 100%; justify-content: center; }
  .ent-listener { padding: 32px 0; }
}
