@charset "UTF-8";

/* =========================================================
   基本設定
========================================================= */
:root {
  --color-bg: #f5f1e8;
  --color-bg-soft: #faf8f3;
  --color-surface: #ffffff;
  --color-text: #2f2c27;
  --color-text-light: #746e63;
  --color-line: #d8d0c2;
  --color-gold: #b89a43;
  --color-gold-dark: #92772f;
  --color-shadow: rgba(70, 57, 35, 0.10);

  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  --content-width: 800px;
  --radius-large: 18px;
  --radius-medium: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 20px;	
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    linear-gradient(rgba(245, 241, 232, 0.96), rgba(245, 241, 232, 0.96)),
    repeating-linear-gradient(
      45deg,
      rgba(184, 154, 67, 0.04) 0,
      rgba(184, 154, 67, 0.04) 1px,
      transparent 1px,
      transparent 9px
    );
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.035em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.pc-only {
  display: inline;
}


/* =========================================================
   ヘッダー
========================================================= */
.site-header {
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 4px 18px rgba(58, 48, 30, 0.05);
}

.site-header__inner {
  width: min(var(--content-width), 95%);
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.35;
}

.site-logo__small {
  margin-bottom: 4px;
  color: var(--color-gold-dark);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.site-logo__main {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.menu-button {
  display: none;
}

.global-nav {
  border-top: 1px solid rgba(216, 208, 194, 0.75);
}

.global-nav ul {
  width: min(var(--content-width), 95%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 13px 8px;
  color: #4d483f;
  text-align: center;
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.global-nav a:hover {
  color: var(--color-gold-dark);
  background: rgba(184, 154, 67, 0.07);
}


/* =========================================================
   ページ全体
========================================================= */
.page-wrap {
  width: min(var(--content-width), 95%);
  margin: 0 auto;
  padding: 34px 0 72px;
}

.section {
  margin-top: 64px;
}

.section-heading {
  margin-bottom: 25px;
  text-align: center;
}

.section-heading__sub {
  margin: 0 0 3px;
  color: var(--color-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: 0.12em;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: 13px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gold),
    transparent
  );
}


/* =========================================================
   メインビジュアル
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 76px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.94), rgba(255,255,255,0.68) 55%, rgba(244,236,218,0.88)),
    linear-gradient(135deg, #f4eedf 0%, #fbfaf6 50%, #e9dfc8 100%);
  border: 1px solid #ded5c4;
  border-radius: var(--radius-large);
  box-shadow: 0 14px 34px var(--color-shadow);
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(184, 154, 67, 0.18);
  border-radius: 50%;
}

.hero::before {
  top: -110px;
  left: -70px;
}

.hero::after {
  right: -90px;
  bottom: -130px;
}

.hero__eyebrow {
  margin: 0 0 12px;
  color: var(--color-gold-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.5;
  letter-spacing: 0.09em;
}

.hero__lead {
  position: relative;
  z-index: 1;
  margin: 22px 0 28px;
  color: var(--color-text-light);
  font-size: 0.97rem;
}


/* =========================================================
   ボタン
========================================================= */
.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 220px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(70, 57, 35, 0.18);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #c2a550, #92772f);
}

.button--sub {
  min-width: 190px;
  color: var(--theme-dark, var(--color-gold-dark));
  background: #fff;
  border: 1px solid var(--theme, var(--color-gold));
}


/* =========================================================
   占いカード
========================================================= */
.fortune-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fortune-card {
  --theme: #b89a43;
  --theme-dark: #8f742e;
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 190px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid #e1dbd1;
  border-top: 4px solid var(--theme);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 22px rgba(70, 57, 35, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fortune-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(70, 57, 35, 0.12);
}

.fortune-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-dark);
  background: color-mix(in srgb, var(--theme) 12%, white);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
}

.fortune-card__body {
  padding: 22px 22px 20px;
}

.fortune-card__label {
  margin: 0 0 2px;
  color: var(--theme-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.fortune-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.28rem;
}

.fortune-card p {
  margin-top: 0;
  color: var(--color-text-light);
  font-size: 0.88rem;
  line-height: 1.65;
}

.fortune-card__link {
  display: inline-flex;
  align-items: center;
  color: var(--theme-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.fortune-card__link::after {
  content: "→";
  margin-left: 7px;
}


/* =========================================================
   カテゴリごとのテーマカラー
   ベースデザインを変えず、この変数だけで色分けできます
========================================================= */
.theme-birthday {
  --theme: #b28a63;
  --theme-dark: #826244;
}

.theme-birthdate {
  --theme: #8a9a7b;
  --theme-dark: #617054;
}

.theme-name {
  --theme: #8a7fa6;
  --theme-dark: #665a82;
}

.theme-area {
  --theme: #768f9c;
  --theme-dark: #526c78;
}

.theme-love {
  --theme: #b8878e;
  --theme-dark: #8a5f66;
}

.theme-money {
  --theme: #b89a43;
  --theme-dark: #88702f;
}

.theme-daily {
  --theme: #8b8272;
  --theme-dark: #625b50;
}


/* =========================================================
   今日の運勢
========================================================= */
.today-panel {
  --theme: #8b8272;
  --theme-dark: #625b50;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid #dfd8cc;
  border-left: 6px solid var(--theme);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 22px rgba(70, 57, 35, 0.07);
}

.today-panel__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-dark);
  background: color-mix(in srgb, var(--theme) 12%, white);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.today-panel__body {
  padding: 30px;
}

.today-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.today-panel p {
  margin: 0 0 19px;
  color: var(--color-text-light);
}


/* =========================================================
   コラム一覧
========================================================= */
.article-list {
  display: grid;
  gap: 14px;
}

.article-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid #e2dcd2;
  border-radius: var(--radius-medium);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(70, 57, 35, 0.10);
}

.article-card__thumb {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9d9588;
  background:
    linear-gradient(135deg, rgba(184,154,67,0.08), rgba(255,255,255,0.6)),
    #eee8dc;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.article-card__body {
  padding: 20px 22px;
}

.article-card__category {
  display: inline-block;
  margin: 0 0 7px;
  padding: 2px 10px;
  color: var(--color-gold-dark);
  background: rgba(184, 154, 67, 0.10);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.article-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.55;
}

.article-card time {
  color: #918a7e;
  font-size: 0.75rem;
}


/* =========================================================
   注意書き
========================================================= */
.site-note {
  margin-top: 64px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
}

.site-note h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.site-note p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.85rem;
}


/* =========================================================
   フッター
========================================================= */
.site-footer {
  color: #ece6da;
  background: #3d3932;
}

.site-footer__inner {
  width: min(var(--content-width), 95%);
  margin: 0 auto;
  padding: 40px 0 24px;
  text-align: center;
}

.site-footer__logo {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 0.82rem;
}

.footer-nav a {
  color: #d6cfc2;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  margin: 28px 0 0;
  color: #aaa296;
  font-size: 0.72rem;
}


/* =========================================================
   下層ページ用コンテンツ
========================================================= */

/* コンテンツ全体 */
.content-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 40px auto 0;
  background: #ffffff;
  border: 1px solid #ded5c4;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(70, 57, 35, 0.10);
}

/* heroに似た円形装飾 */
.content-section::before,
.content-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(184, 154, 67, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.content-section::before {
  top: -130px;
  left: -100px;
}

.content-section::after {
  right: -110px;
  bottom: -140px;
}


/* =========================================================
   ページタイトル部分
========================================================= */

.content-section__header {
  position: relative;
  z-index: 1;
  padding: 56px 40px 44px;
  text-align: center;
  background:
    radial-gradient(
      circle at center top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 45%,
      rgba(247, 242, 231, 0.85) 100%
    );
  border-bottom: 1px solid #e5ded2;
}

/* 英字の小見出し */
.content-section__eyebrow {
  margin: 0 0 8px;
  color: #92772f;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

/* ページタイトル */
.content-section__header h1 {
  margin: 0;
  color: #2f2c27;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "HGS明朝E",
    serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

/* タイトル下の金色ライン */
.content-section__header h1::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    #b89a43,
    transparent
  );
}

/* ページ説明文 */
.content-section__lead {
  max-width: 620px;
  margin: 20px auto 0;
  color: #746e63;
  font-size: 0.96rem;
  line-height: 1.9;
}


/* =========================================================
   本文表示部分
========================================================= */

.content-section__body {
  position: relative;
  z-index: 1;
  padding: 44px 42px 48px;
  background: #ffffff;
}

/* 本文内の大見出し */
.content-section__body > h2 {
  margin: 0 0 28px;
  padding: 11px 14px 11px 18px;
  color: #2f2c27;
  background: #faf8f3;
  border-left: 4px solid #b89a43;
  border-bottom: 1px solid #ded7ca;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "HGS明朝E",
    serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

/* 本文直下の通常段落 */
.content-section__body > p {
  margin: 0 0 1.6em;
  color: #4c473f;
  font-size: 0.96rem;
  line-height: 2;
}


/* =========================================================
   本文内の囲みボックス
========================================================= */

.content-box {
  margin-top: 24px;
  padding: 26px 28px;
  background: #faf9f6;
  border: 1px solid #e3ddd2;
  border-radius: 12px;
}

/* 最初のボックスは上余白をなしにする */
.content-section__body > h2 + .content-box {
  margin-top: 0;
}

/* ボックス見出し */
.content-box h3 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 20px;
  color: #564b2d;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "HGS明朝E",
    serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* ボックス見出し前の飾り */
.content-box h3::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 9px;
  height: 9px;
  background: #b89a43;
  border: 2px solid #f0e5c2;
  border-radius: 50%;
}

/* ボックス本文 */
.content-box p {
  margin: 0;
  color: #746e63;
  font-size: 0.94rem;
  line-height: 1.9;
}

/* ボックス内の段落が複数ある場合 */
.content-box p + p {
  margin-top: 1.2em;
}


/* =========================================================
   下層コンテンツ内の汎用要素
========================================================= */

/* h3を囲みボックス外で使う場合 */
.content-section__body > h3 {
  margin: 36px 0 18px;
  padding-bottom: 9px;
  color: #3c3831;
  border-bottom: 1px solid #dcd5c8;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "HGS明朝E",
    serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* リスト */
.content-section__body ul,
.content-section__body ol {
  margin: 20px 0;
  padding-left: 1.6em;
}

.content-section__body li {
  margin-bottom: 8px;
  color: #4c473f;
  line-height: 1.8;
}

/* リンク */
.content-section__body a:not(.button) {
  color: #92772f;
  text-decoration: underline;
  text-decoration-color: rgba(146, 119, 47, 0.45);
  text-underline-offset: 4px;
}

.content-section__body a:not(.button):hover {
  color: #6f5920;
  text-decoration-color: #6f5920;
}

/* 強調文字 */
.content-section__body strong {
  color: #4f421f;
  font-weight: 700;
}

/* 区切り線 */
.content-section__body hr {
  height: 1px;
  margin: 36px 0;
  background: linear-gradient(
    to right,
    transparent,
    #d2c7b4,
    transparent
  );
  border: 0;
}


/* =========================================================
   スマートフォン
========================================================= */

@media screen and (max-width: 680px) {

  .content-section {
    margin-top: 22px;
    border-radius: 14px;
  }

  .content-section::before,
  .content-section::after {
    width: 160px;
    height: 160px;
  }

  .content-section::before {
    top: -95px;
    left: -80px;
  }

  .content-section::after {
    right: -85px;
    bottom: -105px;
  }

  .content-section__header {
    padding: 40px 20px 32px;
  }

  .content-section__eyebrow {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .content-section__header h1 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    letter-spacing: 0.07em;
  }

  .content-section__header h1::after {
    width: 60px;
    margin-top: 14px;
  }

  .content-section__lead {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: left;
  }

  .content-section__body {
    padding: 28px 20px 34px;
  }

  .content-section__body > h2 {
    margin-bottom: 22px;
    padding: 10px 10px 10px 14px;
    font-size: 1.22rem;
  }

  .content-box {
    margin-top: 18px;
    padding: 20px 18px;
    border-radius: 10px;
  }

  .content-box h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
  }

  .content-box p {
    font-size: 0.9rem;
    line-height: 1.85;
  }
}

/* =========================================================
   スマートフォン
========================================================= */
@media (max-width: 680px) {

  .pc-only {
    display: none;
  }
  html {
    font-size: 20px;
  }
	
  .site-header__inner {
    min-height: 78px;
    justify-content: flex-start;
  }

  .site-logo {
    align-items: flex-start;
  }

  .site-logo__small {
    font-size: 0.62rem;
  }

  .site-logo__main {
    font-size: 1.32rem;
  }

  .menu-button {
    position: absolute;
    top: 50%;
    right: 0;
    width: 44px;
    height: 44px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--color-line);
    border-radius: 8px;
  }

  .menu-button span {
    width: 100%;
    height: 1px;
    background: #4c473e;
  }

  .global-nav {
    display: none;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    width: 95%;
    padding: 8px 0 12px;
    grid-template-columns: 1fr;
  }

  .global-nav a {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(216, 208, 194, 0.72);
  }

  .page-wrap {
    width: 95%;
    padding-top: 20px;
  }

  .section {
    margin-top: 48px;
  }

  .hero {
    min-height: 360px;
    padding: 52px 22px;
    border-radius: 14px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .hero__lead {
    font-size: 0.9rem;
  }

  .fortune-grid {
    grid-template-columns: 1fr;
  }

  .fortune-card {
    grid-template-columns: 72px 1fr;
    min-height: 168px;
  }

  .fortune-card__body {
    padding: 18px 17px 16px;
  }

  .fortune-card h3 {
    font-size: 1.18rem;
  }

  .today-panel {
    grid-template-columns: 1fr;
  }

  .today-panel__mark {
    min-height: 76px;
    font-size: 1.5rem;
  }

  .today-panel__body {
    padding: 23px 20px 25px;
  }

  .article-card {
    grid-template-columns: 110px 1fr;
  }

  .article-card__thumb {
    min-height: 145px;
  }

  .article-card__body {
    padding: 15px 14px;
  }

  .article-card h3 {
    font-size: 0.95rem;
  }

  .site-note {
    padding: 22px 20px;
  }
}



@media (max-width: 430px) {
  html {
    font-size: 17px;
  }	
  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card__thumb {
    min-height: 150px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }
}
