/* ============================================================
   Essential — 会社 TOP スタイル
   サンゴ朱（コーラル）ベース、子ども・親子向けポップ
   ============================================================ */

:root {
  --brand: #d6483c;
  --brand-bright: #ee6555;
  --brand-deep: #b53929;
  --brand-pale: #fde8e3;
  --brand-pale-2: #fff3ee;
  --accent-gold: #f5c563;
  --accent-warm: #fdc85a;
  --accent-leaf: #5fa86f;
  --cream: #fffaf3;
  --cream-deep: #fff3e4;
  --ink: #2b2421;
  --ink-soft: #5a4e46;
  --ink-mute: #968779;
  --line: #f0e1d1;
  --shadow-soft: 0 4px 16px rgba(214, 72, 60, 0.10);
  --shadow-card: 0 10px 32px rgba(60, 30, 10, 0.12);
  --shadow-pop: 0 14px 36px rgba(214, 72, 60, 0.22);
  --shadow-fuda: 0 8px 22px rgba(122, 60, 30, 0.18);
  --radius: 24px;
  --radius-sm: 14px;

  --font-display: "M PLUS Rounded 1c", "Klee One", system-ui, sans-serif;
  --font-body: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, sans-serif;
  --font-fuda: "Klee One", "M PLUS Rounded 1c", serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 15% 8%, rgba(253, 200, 90, 0.12) 0%, transparent 36%),
    radial-gradient(circle at 90% 12%, rgba(238, 101, 85, 0.10) 0%, transparent 42%),
    radial-gradient(circle at 85% 92%, rgba(214, 72, 60, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  font-feature-settings: "palt" 1;
}

/* ============ 背景装飾（散らした小マーク） ============ */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-deco-shape {
  position: absolute;
  color: rgba(214, 72, 60, 0.12);
  font-size: 2rem;
  filter: blur(0.2px);
}
.bg-deco-shape-1 { top: 14%;  left: 8%;  font-size: 1.6rem; color: rgba(245, 197, 99, 0.42); }
.bg-deco-shape-2 { top: 22%;  right: 12%; font-size: 2.4rem; color: rgba(238, 101, 85, 0.18); }
.bg-deco-shape-3 { bottom: 28%; left: 14%; font-size: 1.4rem; color: rgba(238, 101, 85, 0.20); }
.bg-deco-shape-4 { bottom: 12%; right: 8%; font-size: 2rem;   color: rgba(245, 197, 99, 0.35); }

@media (min-width: 720px) {
  .bg-deco-shape-1 { font-size: 2.2rem; }
  .bg-deco-shape-2 { font-size: 3.2rem; }
  .bg-deco-shape-3 { font-size: 1.8rem; }
  .bg-deco-shape-4 { font-size: 2.6rem; }
}

/* ============ ヘッダ ============ */
.site-header {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 22px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  padding: 6px 4px;
  transition: transform 0.12s ease;
}
.site-logo:hover { transform: translateY(-1px); }

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--brand);
  filter: drop-shadow(0 4px 8px rgba(214, 72, 60, 0.28));
}
.site-logo-mark svg { width: 100%; height: 100%; }

.site-logo-text {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
}

/* ============ メイン ============ */
.site-main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 22px 40px;
}

/* ============ ヒーロー（コンテンツカード） ============ */
.hero {
  margin-top: 14px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero-eyebrow-dot {
  color: var(--accent-gold);
  font-size: 0.7rem;
  letter-spacing: 0;
}

.content-cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}

/* ----- メインのコンテンツカード（百人一首） ----- */
.content-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--brand-pale-2) 100%);
  border: 2px solid rgba(214, 72, 60, 0.16);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
  border-color: rgba(214, 72, 60, 0.34);
}
.content-card:active { transform: scale(0.99); }

/* visual area (左 or 上) */
.content-card-visual {
  position: relative;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.45) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 100%);
  padding: 30px 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card-fuda {
  position: relative;
  width: 110px;
  aspect-ratio: 73 / 100;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}
.content-card-fuda-paper {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fffdf6 0%, #fff5e0 100%);
  border: 5px solid #fff;
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 2px rgba(214, 72, 60, 0.18) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}
.content-card-fuda-char {
  font-family: var(--font-fuda);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1;
}
.content-card-fuda-kana {
  font-family: var(--font-fuda);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
}

/* decorative sparkles around the fuda */
.content-card-fuda-deco {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.content-card-fuda-deco-1 { top: -10px; right: -16px; font-size: 1.4rem; color: rgba(255, 255, 255, 0.92); }
.content-card-fuda-deco-2 { bottom: -12px; left: -18px; font-size: 1rem; color: var(--accent-gold); }
.content-card-fuda-deco-3 { top: 30%; right: -22px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* body */
.content-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content-card-tag {
  display: inline-block;
  width: fit-content;
  padding: 3px 12px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.content-card-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.content-card-title ruby rt {
  font-size: 0.4em;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.content-card-subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.content-card-subtitle ruby rt { font-size: 0.5em; color: var(--ink-mute); }
.content-card-desc {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.85;
}
.content-card-desc ruby rt { font-size: 0.5em; color: var(--ink-mute); }
.content-card-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 11px 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px rgba(214, 72, 60, 0.32);
  transition: background 0.12s ease, transform 0.12s ease;
}
.content-card-cta ruby rt { color: rgba(255, 255, 255, 0.7); font-size: 0.5em; }
.content-card:hover .content-card-cta { background: var(--brand-bright); }
.content-card-cta-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}
.content-card:hover .content-card-cta-arrow { transform: translateX(3px); }

@media (min-width: 720px) {
  .content-card {
    grid-template-columns: 280px 1fr;
  }
  .content-card-visual {
    min-height: 100%;
    padding: 36px 24px;
  }
  .content-card-fuda { width: 140px; }
  .content-card-fuda-char { font-size: 3.4rem; }
  .content-card-body { padding: 28px 30px 30px; }
  .content-card-title { font-size: 1.95rem; }
}

/* ----- Coming Soon ノート ----- */
.coming-soon-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px dashed rgba(214, 72, 60, 0.28);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.coming-soon-note ruby rt { font-size: 0.5em; color: var(--ink-mute); }
.coming-soon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand-pale);
  color: var(--brand);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ============ About ============ */
.about {
  max-width: 720px;
  margin: 56px auto 0;
}
.about-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.36em;
  text-align: center;
  text-transform: uppercase;
}
.about-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 2px solid rgba(214, 72, 60, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}
.about-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.05em;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.12s ease, color 0.12s ease;
}
.about-link:hover {
  background: var(--brand);
  color: #fff;
}
.about-link ruby rt { font-size: 0.5em; color: inherit; opacity: 0.7; }

/* ============ フッタ ============ */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 56px auto 0;
  padding: 22px 22px 28px;
  border-top: 1px dashed rgba(214, 72, 60, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
}
.site-footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
}
.site-footer-divider { color: var(--ink-mute); opacity: 0.6; }
.site-footer-badge {
  padding: 2px 9px;
  background: rgba(214, 72, 60, 0.10);
  color: var(--brand);
  border: 1px solid rgba(214, 72, 60, 0.22);
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  font-size: 0.82rem;
  line-height: 1.6;
}
.site-footer-link {
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 4px 2px;
  border-bottom: 1px dotted rgba(214, 72, 60, 0.35);
}
.site-footer-link:hover {
  color: var(--brand-deep);
  border-bottom-style: solid;
}
.site-footer-link ruby rt { color: rgba(181, 57, 41, 0.55); font-size: 0.5em; }
.site-footer-sep { color: var(--ink-mute); opacity: 0.6; }
