@charset "UTF-8";

/* =========================================================
 * 2026年9月の星占い（全ブランド共通LP）
 * SP: calc(● * (100vw / 375)) ／ PC: rem（1rem = 10px）
 * ========================================================= */

/* パンくず下の余白（PC） */
@media only screen and (min-width: 768px) {
  .breadcrumb__list {
    padding-bottom: 1.6rem;
  }
}

/* ---------------------------------------------------------
 * カスタムプロパティ（:root ではなく .p-feature に定義する）
 * --------------------------------------------------------- */
.p-feature {
  --text: #211717;
  --main: #e8ddc4;
  --bg: #ebe4d4;
  --line: #2c0707;
  --white: #fff;

  --font-jp: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "Noto Sans JP", "游ゴシック体", YuGothic, "Yu Gothic", "メイリオ", sans-serif;
  --font-mincho: "Noto Serif JP", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W6", "YuMincho", "Yu Mincho", source-han-serif-japanese, serif;
  --font-notoSans:"Noto Sans JP", sans-serif;

  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* 星座ごとのイラスト背景色 */
  --bg-aries: #e2eae7;
  --bg-taurus: #dfeadc;
  --bg-gemini: #fed9c9;
  --bg-cancer: #f8c7b8;
  --bg-leo: #e5ebcf;
  --bg-virgo: #d7e5e6;
  --bg-libra: #f8ebcf;
  --bg-scorpio: #e1e8ef;
  --bg-sagittarius: #fce4da;
  --bg-capricorn: #f7f0d2;
  --bg-aquarius: #d7e5e6;
  --bg-pisces: #e5ebcf;

  /* 星座ごとのラッキーカラー（チップ・CTAボタン共通） */
  --lucky-aries: #c9b7a6;
  --lucky-taurus: #d3a7cb;
  --lucky-gemini: #4b4677;
  --lucky-cancer: #dfc154;
  --lucky-leo: #be2939;
  --lucky-virgo: #a29d19;
  --lucky-libra: #000;
  --lucky-scorpio: #fff;
  --lucky-sagittarius: #e1932d;
  --lucky-capricorn: #a3d4ec;
  --lucky-aquarius: #eca5af;
  --lucky-pisces: linear-gradient(180deg, #f5d442 0%, #cba605 100%);

  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: var(--font-weight-regular);
}

.p-feature :where(img, svg) {
  width: 100%;
  height: auto;
}

.p-feature :where(a) {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------------------------------
 * レイアウト共通
 * --------------------------------------------------------- */
.l-content {
  padding-top: calc(40 * (100vw / 375));
  padding-bottom: calc(80 * (100vw / 375));
}

.l-inner {
  width: 100%;
  margin-inline: auto;
  padding-inline: calc(15 * (100vw / 375));
}

@media only screen and (min-width: 768px) {
  .l-content {
    padding-top: 4rem;
    padding-bottom: 0;
  }

  .l-content--zodiac {
    padding-top: 6rem;
  }

  .l-inner {
    max-width: 124rem; /* 1200px + 左右 padding 2rem × 2 */
    padding-inline: 2rem;
  }
}

/* ---------------------------------------------------------
 * セクションタイトル（罫線＋角丸ピル）
 * --------------------------------------------------------- */
.component-section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(47 * (100vw / 375));
}

.component-section-title::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--line);
  content: "";
  transform: translateY(-50%);
}

.component-section-title__text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: calc(12 * (100vw / 375)) calc(16 * (100vw / 375));
  border-radius: calc(38 * (100vw / 375));
  box-shadow: inset 0 0 0 2px var(--line);
  background-color: var(--main);
  color: var(--line);
  font-family: var(--font-mincho);
  font-size: calc(16 * (100vw / 375));
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .component-section-title {
    min-height: 6.5rem;
  }

  .component-section-title::before {
    height: 0.2rem;
  }

  .component-section-title__text {
    padding: 1.8rem 3rem;
    border-radius: 3.8rem;
    box-shadow: inset 0 0 0 0.2rem var(--line);
    font-size: 2rem;
  }
}

/* ---------------------------------------------------------
 * ボタン
 * --------------------------------------------------------- */
.component-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(300 * (100vw / 375));
  min-height: calc(50 * (100vw / 375));
  margin-inline: auto;
  padding: calc(13 * (100vw / 375)) calc(10 * (100vw / 375));
  font-size: calc(14 * (100vw / 375));
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
  transition: opacity 0.3s ease;
}

.component-button--fill {
  background-color: var(--text);
  color: var(--white);
}

.component-button--outline {
  border: 1px solid var(--text);
  color: var(--text);
  font-size: calc(13 * (100vw / 375));
}

.component-button--wide {
  width: calc(345 * (100vw / 375));
  font-size: calc(16 * (100vw / 375));
}

@media (any-hover: hover) {
  .component-button:hover {
    opacity: 0.7;
  }
}

@media only screen and (min-width: 768px) {
  .component-button {
    width: 34.5rem;
    min-height: 5rem;
    padding: 1.3rem 1rem;
    font-size: 1.5rem;
  }

  .component-button--wide {
    width: 34.5rem;
    font-size: 1.6rem;
  }

  .component-button--outline {
    font-size: 1.5rem;
  }
}

.component-button-group {
  display: flex;
  flex-direction: column;
  gap: calc(10 * (100vw / 375));
  padding-top: calc(50 * (100vw / 375));
}

.component-button-group--top {
  padding-top: calc(80 * (100vw / 375));
}

@media only screen and (min-width: 768px) {
  .component-button-group {
    gap: 2rem;
    padding: 8rem 0 14.7rem;
  }
}

/* ---------------------------------------------------------
 * メインビジュアル
 * --------------------------------------------------------- */
.project-mainvisual {
  width: 100%;
}

.project-mainvisual img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media only screen and (min-width: 768px) {
  .project-mainvisual {
    width: 60rem;
    margin-inline: auto;
  }
}

/* ---------------------------------------------------------
 * リード文
 * --------------------------------------------------------- */
.section-lead {
  padding: calc(40 * (100vw / 375)) calc(20 * (100vw / 375)) calc(48 * (100vw / 375));
}

.section-lead__text {
  margin: 0;
  font-family: var(--font-notoSans);
  font-size: calc(13 * (100vw / 375));
  font-optical-sizing: auto;
  font-weight: var(--font-weight-regular);
  font-style: normal;
  line-height: 2.4;
  letter-spacing: 0.08em;
  text-align: center;
}

.section-lead__text + .section-lead__text {
  margin-top: calc(13 * 2.4 * (100vw / 375));
}

@media only screen and (min-width: 768px) {
  .section-lead {
    padding: 6rem 2rem 8rem;
  }

  .section-lead__text {
    max-width: 43.6rem; /* デザイン: PC 436px */
    margin-inline: auto;
    font-size: 1.4rem;
  }

  .section-lead__text + .section-lead__text {
    margin-top: 3.6rem; /* 1行分（1.4rem × 2.4） */
  }
}

/* ---------------------------------------------------------
 * 先生からのメッセージ
 * --------------------------------------------------------- */
.section-message__body {
  padding: calc(50 * (100vw / 375)) calc(20 * (100vw / 375)) calc(46 * (100vw / 375));
}

.section-message__text {
  margin: 0;
  font-family: var(--font-notoSans);
  font-optical-sizing: auto;
  font-weight: var(--font-weight-regular);
  font-style: normal;
  font-size: calc(13 * (100vw / 375));
  line-height: 2.4;
  letter-spacing: 0.06em;
  text-align: justify;
}

.section-message__text + .section-message__text {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .section-message__body {
    width: 61.5rem;
    margin-inline: auto;
    padding: 8rem 0 8.3rem;
  }

  .section-message__text {
    font-size: 1.4rem;
    text-align: left;
    letter-spacing: 0.08em;
  }

  .section-message__text + .section-message__text {
    margin-top: 0;
  }
}

/* ---------------------------------------------------------
 * 12星座リスト
 * --------------------------------------------------------- */
.section-zodiac__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(20 * (100vw / 375)) calc(7 * (100vw / 375));
  margin: 0;
  padding: calc(50 * (100vw / 375)) 0 calc(80 * (100vw / 375));
}

@media only screen and (min-width: 768px) {
  .section-zodiac__list {
    max-width: 124rem; /* 1200px + 左右 padding 2rem × 2 */
    margin-inline: auto;
    gap: 4rem 1.4rem;
    padding: 8rem 2rem 10rem;
  }
}

@media only screen and (min-width: 768px) {
  .section-zodiac__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* 星座アイテム（イラスト＋星座名） */
.component-zodiac-item {
  display: flex;
  flex-direction: column;
  gap: calc(10 * (100vw / 375));
}

.component-zodiac-item__illust {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--zodiac-bg, var(--main));
}

.component-zodiac-item__illust img {
  display: block;
}

.component-zodiac-item__name {
  margin: 0;
  font-family: var(--font-notoSans);
  font-size: calc(12 * (100vw / 375));
  font-weight: var(--font-weight-semibold);
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: 0.01em;
  text-align: center;
}

.component-zodiac-item__period {
  display: block;
}

@media (any-hover: hover) {
  .component-zodiac-item:hover .component-zodiac-item__illust {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
}

@media only screen and (min-width: 768px) {
  .component-zodiac-item {
    gap: 1rem;
  }

  .component-zodiac-item__name {
    font-size: 1.4rem;
  }
}

/* ---------------------------------------------------------
 * 先生プロフィール
 * --------------------------------------------------------- */
.component-artist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(30 * (100vw / 375));
  width: calc(345 * (100vw / 375));
  margin-inline: auto;
  padding: calc(40 * (100vw / 375)) calc(20 * (100vw / 375));
  border: 2px solid var(--text);
  border-radius: 4px;
  background-color: var(--main);
}

.component-artist__photo {
  width: calc(200 * (100vw / 375));
}

.component-artist__photo img {
  display: block;
  aspect-ratio: 25 / 32;
  object-fit: cover;
}

.component-artist__body {
  display: flex;
  flex-direction: column;
  gap: calc(23 * (100vw / 375));
  width: 100%;
}

.component-artist__role {
  margin: 0 0 calc(14 * (100vw / 375));
  font-size: calc(12 * (100vw / 375));
  line-height: 1;
  letter-spacing: 0.08em;
}

.component-artist__name {
  margin: 0;
  font-size: calc(28 * (100vw / 375));
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.component-artist__text {
  margin: 0;
  font-size: calc(13 * (100vw / 375));
  font-family: var(--font-notoSans);
  font-weight: var(--font-weight-regular);
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

@media only screen and (min-width: 768px) {
  .component-artist {
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
    width: 100%;
    max-width: 100rem;
    padding: 7.8rem;
    border-width: 0.2rem;
    border-radius: 0.4rem;
  }

  .component-artist__photo {
    flex-shrink: 0;
    width: 25rem;
  }

  .component-artist__body {
    gap: 4rem;
  }

  .component-artist__role {
    margin-bottom: 1.6rem;
    font-size: 1.3rem;
  }

  .component-artist__name {
    font-size: 2.8rem;
  }

  .component-artist__text {
    font-size: 1.4rem;
  }
}

/* ---------------------------------------------------------
 * 星座ページ：占い詳細
 * --------------------------------------------------------- */
.section-fortune__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(30 * (100vw / 375));
  padding: calc(50 * (100vw / 375)) calc(25 * (100vw / 375));
}

.section-fortune__zodiac {
  width: calc(180 * (100vw / 375));
}

.section-fortune__detail {
  display: flex;
  flex-direction: column;
  gap: calc(20 * (100vw / 375));
  width: 100%;
}

.section-fortune__heading {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: calc(24 * (100vw / 375));
  font-weight: var(--font-weight-bold);
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.section-fortune__text {
  margin: 0;
  font-size: calc(14 * (100vw / 375));
  line-height: 2.4;
  letter-spacing: 0.08em;
}

@media only screen and (min-width: 768px) {
  .section-fortune__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 6rem;
    padding: 8rem 2rem;
  }

  .section-fortune__zodiac {
    flex-shrink: 0;
    width: 20rem;
  }

  .section-fortune__detail {
    gap: 2.2rem;
    width: 55rem;
  }

  .section-fortune__heading {
    font-size: 2.4rem;
  }

  .section-fortune__text {
    font-size: 1.4rem;
  }
}

/* 星座ページのイラスト（詳細サイズ） */
.section-fortune__zodiac .component-zodiac-item__name {
  font-size: calc(13 * (100vw / 375));
  letter-spacing: 0.01em;
}

@media only screen and (min-width: 768px) {
  .section-fortune__zodiac .component-zodiac-item__name {
    font-size: 1.4rem;
  }
}

/* ---------------------------------------------------------
 * 星座ページ：ラッキーカラー
 * --------------------------------------------------------- */
.section-color {
  padding-top: calc(50 * (100vw / 375));
  padding-bottom: calc(80 * (100vw / 375));
  border-bottom: 2px solid var(--text);
}

.section-color__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(60 * (100vw / 375));
  padding: calc(50 * (100vw / 375)) calc(15 * (100vw / 375)) 0;
}

@media only screen and (min-width: 768px) {
  .section-color {
    padding-top: 0;
    padding-bottom: 7.7rem;
    border-bottom-width: 0.2rem;
  }

  .section-color__inner {
    gap: 6rem;
    width: 100%;
    max-width: 85rem; /* 810px + 左右 padding 2rem × 2 */
    margin-inline: auto;
    padding: 8rem 2rem 0;
  }
}

/* ラッキーカラー（チップ＋カラー名） */
.component-lucky-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(23 * (100vw / 375));
}

.component-lucky-color__chip {
  width: calc(70 * (100vw / 375));
  height: calc(70 * (100vw / 375));
  border-radius: 50%;
  background: var(--lucky-color, var(--main));
}

.component-lucky-color__name {
  margin: 0;
  font-size: calc(14 * (100vw / 375));
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .component-lucky-color {
    gap: 3rem;
  }

  .component-lucky-color__chip {
    width: 10rem;
    height: 10rem;
  }

  .component-lucky-color__name {
    font-size: 1.6rem;
  }
}

/* おすすめアイテム */
.section-color__recommend {
  width: 100%;
}

.section-color__recommend-heading {
  margin: 0;
  font-size: calc(16 * (100vw / 375));
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

.section-color__product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(20 * (100vw / 375)) calc(15 * (100vw / 375));
  margin: 0;
  padding: calc(18 * (100vw / 375)) 0 0;
}

.section-color__cta {
  padding-top: calc(40 * (100vw / 375));
}

@media only screen and (min-width: 768px) {
  .section-color__recommend-heading {
    font-size: 1.8rem;
  }

  .section-color__product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    padding-top: 3rem;
  }

  .section-color__cta {
    padding-top: 4rem;
  }
}

/* CTAボタン（ラッキーカラー） */
.component-button--cta {
  background: var(--lucky-color, var(--main));
  color: var(--text);
  font-family: var(--font-jp);
}

.component-button--cta.is-light-text {
  color: var(--white);
}

/* 商品カード */
.component-product-card {
  display: flex;
  flex-direction: column;
  gap: calc(11 * (100vw / 375));
}

.component-product-card__image img {
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.component-product-card__credit {
  display: flex;
  flex-direction: column;
  gap: calc(5 * (100vw / 375));
}

.component-product-card__brand,
.component-product-card__name {
  margin: 0;
  font-size: calc(13 * (100vw / 375));
  line-height: 1.75;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.component-product-card__price {
  display: block;
}

@media (any-hover: hover) {
  .component-product-card__link:hover .component-product-card__image {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
}

@media only screen and (min-width: 768px) {
  .component-product-card {
    gap: 1.2rem;
  }

  .component-product-card__credit {
    gap: 0.5rem;
  }

  .component-product-card__brand,
  .component-product-card__name {
    font-size: 1.3rem;
  }
}

/* ---------------------------------------------------------
 * スクロールアニメーション
 * --------------------------------------------------------- */
/* 初期非表示は JS が動いているときだけ（js/script.js が html に .js-fade を付与）。
   JS の読み込み失敗時にコンテンツが消えないようにするため。 */
.js-fade .fade-up {
  opacity: 0;
  transform: translateY(calc(20 * (100vw / 375)));
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade .fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media only screen and (min-width: 768px) {
  .js-fade .fade-up {
    transform: translateY(2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-fade .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------
 * 星座ごとの色（イラスト背景・ラッキーカラー）
 * --------------------------------------------------------- */
.component-zodiac-item--aries { --zodiac-bg: var(--bg-aries); }
.component-zodiac-item--taurus { --zodiac-bg: var(--bg-taurus); }
.component-zodiac-item--gemini { --zodiac-bg: var(--bg-gemini); }
.component-zodiac-item--cancer { --zodiac-bg: var(--bg-cancer); }
.component-zodiac-item--leo { --zodiac-bg: var(--bg-leo); }
.component-zodiac-item--virgo { --zodiac-bg: var(--bg-virgo); }
.component-zodiac-item--libra { --zodiac-bg: var(--bg-libra); }
.component-zodiac-item--scorpio { --zodiac-bg: var(--bg-scorpio); }
.component-zodiac-item--sagittarius { --zodiac-bg: var(--bg-sagittarius); }
.component-zodiac-item--capricorn { --zodiac-bg: var(--bg-capricorn); }
.component-zodiac-item--aquarius { --zodiac-bg: var(--bg-aquarius); }
.component-zodiac-item--pisces { --zodiac-bg: var(--bg-pisces); }

.section-color--aries { --lucky-color: var(--lucky-aries); }
.section-color--taurus { --lucky-color: var(--lucky-taurus); }
.section-color--gemini { --lucky-color: var(--lucky-gemini); }
.section-color--cancer { --lucky-color: var(--lucky-cancer); }
.section-color--leo { --lucky-color: var(--lucky-leo); }
.section-color--virgo { --lucky-color: var(--lucky-virgo); }
.section-color--libra { --lucky-color: var(--lucky-libra); }
.section-color--scorpio { --lucky-color: var(--lucky-scorpio); }
.section-color--sagittarius { --lucky-color: var(--lucky-sagittarius); }
.section-color--capricorn { --lucky-color: var(--lucky-capricorn); }
.section-color--aquarius { --lucky-color: var(--lucky-aquarius); }
.section-color--pisces { --lucky-color: var(--lucky-pisces); }

/* グリッド内のリスト項目（アンカーを高さいっぱいに広げる） */
.section-zodiac__list > li,
.section-color__product-list > li {
  display: flex;
}

.section-zodiac__list > li > a,
.section-color__product-list > li > a {
  width: 100%;
}

/* リストのマーカー除去（サイト共通CSSに依存しない）
   ※ margin は各リストの基本ルール側で指定する（ここで margin:0 を書くと
      PC の margin-inline:auto を後勝ちで打ち消してしまうため） */
.section-zodiac__list,
.section-color__product-list {
  list-style: none;
}
