/* ===================================
   buchimum Blog - style.css
   ３児ママ・ぶちmumのお金の大学実践ログ
   =================================== */

/* ---------- CSS Variables ---------- */
:root {
  --color-bg: #FAF8F5;
  --color-beige: #F5EDE0;
  --color-pink: #F2D9D9;
  --color-green: #D4E6D4;
  --color-lavender: #E8E0F0;
  --color-bluegray: #DDE6EE;
  --color-brown: #4A3728;
  --color-accent: #8B5E3C;
  --color-gray: #E8E0D8;
  --color-text-light: #8a7265;
  --color-text-muted: #b5a498;

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Lato', sans-serif;

  --shadow-card: 0 4px 20px rgba(74, 55, 40, 0.08);
  --shadow-hover: 0 8px 30px rgba(74, 55, 40, 0.14);
  --border-radius: 16px;
  --border-radius-sm: 10px;

  --max-width: 1100px;
  --section-padding: 80px 24px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-brown);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.profile-heading .section-label {
  display: inline-block;
  border: 0.8px solid var(--color-text-muted);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 0;
}

.section-title {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 400;
  color: var(--color-brown);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.section-title--center {
  text-align: center;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ====================================
   HEADER / NAVIGATION
   ==================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gray);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 24px;
}

/* Logo */
.site-logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  gap: 2px;
}

.logo-en {
  font-family: 'Sacramento', cursive;
  font-size: 30px;
  color: #5a4a3a;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: 6px;
}

.logo-ja {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: #9a8a7a;
  letter-spacing: 0.2em;
  text-align: center;
  width: 100%;
  margin-top: -6px;
}

/* Nav */
.main-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  border-radius: var(--border-radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 1.5px;
  background-color: var(--color-accent);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--color-accent);
  background-color: var(--color-beige);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.nav-icon svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-link:hover .nav-icon svg {
  transform: translateY(-2px);
}

.nav-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-text {
  white-space: nowrap;
  line-height: 1.3;
}

.nav-text-en {
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.nav-link:hover .nav-text-en {
  color: var(--color-accent);
}


/* ====================================
   HERO SECTION
   ==================================== */
.hero {
  padding: 0;
  background: linear-gradient(135deg, var(--color-bg) 60%, var(--color-beige) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 48%;
  gap: 0;
  align-items: stretch;
  height: 360px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 24px 24px 24px max(24px, calc(50vw - 574px));
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-pink);
  border-radius: 999px;
  padding: 6px 16px 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  width: fit-content;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--color-brown);
  position: relative;
  z-index: 2;
}

.hero-catch-wrap {
  display: inline-block;
  border-top: 0.5px solid #c8b8a8;
  border-bottom: 0.5px solid #c8b8a8;
  padding: 8px 0;
}

.hero-catch {
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.7;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-light);
  background-color: var(--color-gray);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.08em;
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-bg) 0%,
    rgba(250,248,245,0.5) 25%,
    transparent 55%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #F5EDE0, #F2D9D9 50%, #D4E6D4);
  color: var(--color-text-muted);
}

.hero-photo-placeholder svg {
  opacity: 0.5;
}

.hero-photo-placeholder span {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* Floating deco elements */
.hero-float-1,
.hero-float-2,
.hero-float-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* 小さめピンク丸 */
.hero-float-1 {
  top: 110px;
  left: 80px;
  width: 55px;
  height: 55px;
  background-color: var(--color-pink);
  opacity: 0.55;
  z-index: 1;
}

/* 小さめグリーン丸 */
.hero-float-2 {
  top: 240px;
  left: 60px;
  width: 36px;
  height: 36px;
  background-color: var(--color-green);
  opacity: 0.65;
  z-index: 1;
}

/* 大きな黄色丸：タイトルに被る */
.hero-float-3 {
  top: 120px;
  left: 40px;
  width: 160px;
  height: 160px;
  background-color: #F5D87A;
  opacity: 0.22;
  z-index: 0;
}

/* ====================================
   5 POWER CARDS SECTION
   ==================================== */
.powers-section {
  padding: 40px 24px 12px;
  background-color: var(--color-bg);
}

.powers-header {
  text-align: center;
  margin-bottom: 10px;
}

.powers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.power-card {
  border-radius: var(--border-radius);
  padding: 16px 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-brown);
}

.power-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.power-card--pink   { background-color: #F2D9D9; }
.power-card--green  { background-color: #D4E6D4; }
.power-card--beige  { background-color: #F5EDE0; }
.power-card--lavender { background-color: #E8E0F0; }
.power-card--blue   { background-color: #DDE6EE; }

.power-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.power-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.power-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.power-arrow {
  margin-top: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 14px;
  transition: background-color 0.2s;
}

.power-card:hover .power-arrow {
  background-color: white;
}

/* ====================================
   PROFILE SECTION
   ==================================== */
.profile-section {
  padding: 12px 24px 20px;
  background: linear-gradient(180deg, var(--color-beige) 0%, var(--color-bg) 100%);
}

.profile-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr 300px;
  gap: 24px;
  align-items: stretch;
}

/* Left: profile photo */
.profile-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
}

.profile-photo-frame {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  transform: scale(1.28);
}

/* Right: polaroid + sticky */
.profile-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* Left: SVG Illustration */
.profile-illust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.illust-caption {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-align: center;
}

.family-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Right: Profile Text */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.profile-name-en {
  font-family: var(--font-en);
  color: var(--color-accent);
  font-size: 18px;
}

.profile-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
}

.profile-divider {
  display: none;
  width: 40px;
  height: 1.5px;
  background: linear-gradient(to right, var(--color-accent), transparent);
  border-radius: 2px;
}

.profile-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-brown);
  letter-spacing: 0.03em;
}

.profile-text p {
  margin-bottom: 6px;
}

.profile-text p:last-child {
  margin-bottom: 0;
}

.profile-intro-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.8px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.profile-intro-link:hover {
  opacity: 0.65;
}

.profile-book-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.profile-book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Polaroid + Sticky Note */
/* ====================================
   POLAROID + STICKY NOTE
   ==================================== */

/* ポラロイド＋付箋　横並び */
.deco-row {
  position: relative;
  height: 190px;
}

/* チェキ風ポラロイド */
.polaroid {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 1;
  background: #fff;
  padding: 8px 8px 22px;
  box-shadow: 3px 6px 20px rgba(74,55,40,0.15), 0 1px 4px rgba(74,55,40,0.08);
  border-radius: 1px;
  transform: rotate(-4deg);
  width: 130px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.polaroid:hover {
  transform: rotate(-2deg) scale(1.03);
  box-shadow: 5px 10px 28px rgba(74,55,40,0.18);
}

/* マスキングテープ風デコ */
.polaroid::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 50px;
  height: 18px;
  background: rgba(216,183,163,0.50);
  border-radius: 2px;
}

.polaroid-photo {
  width: 114px;
  height: 108px;
  overflow: hidden;
  background: #e8e0d4;
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #a08878;
  padding-top: 6px;
  letter-spacing: 0.05em;
}

/* 付箋メモ */
.sticky-note {
  position: absolute;
  top: 10px;
  left: 65px;
  z-index: 2;
  background: #FAF5E8;
  padding: 16px 14px 18px;
  box-shadow: 2px 5px 14px rgba(74,55,40,0.10);
  border-radius: 2px;
  transform: rotate(2deg);
  width: 185px;
  transition: transform 0.3s ease;
}

.sticky-note:hover {
  transform: rotate(1deg) translateY(-2px);
}

/* 付箋のマスキングテープ */
.sticky-note::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(0.5deg);
  width: 48px;
  height: 16px;
  background: rgba(180,200,160,0.50);
  border-radius: 2px;
}

.sticky-note-title {
  font-family: 'Yomogi', cursive;
  font-size: 15px;
  color: #8B5E3C;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.sticky-note-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Yomogi', cursive;
  font-size: 12px;
  line-height: 1.8;
  color: #6a5040;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sticky-checkbox {
  width: 11px;
  height: 11px;
  border: 1px solid #b8a48a;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

/* ====================================
   RECENT POSTS SECTION (シンプルなブログカード)
   ==================================== */
.recent-section {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.recent-header {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.recent-link {
  font-size: 13px;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.recent-link:hover {
  opacity: 0.7;
}

.recent-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #F5EDE0, #F2D9D9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.post-cat-badge--pink   { background-color: var(--color-pink);   color: var(--color-accent); }
.post-cat-badge--green  { background-color: var(--color-green);  color: #3a6a3a; }
.post-cat-badge--beige  { background-color: var(--color-beige);  color: var(--color-accent); }

.post-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.post-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-brown);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-date {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  font-weight: 300;
  margin-top: auto;
}

/* ====================================
   SNS / SHOP SECTION
   ==================================== */
.sns-section {
  padding: 60px 24px 70px;
  background-color: var(--color-bg);
}

.sns-header {
  text-align: center;
  margin-bottom: 36px;
}

.sns-header .section-label {
  display: block;
  text-align: center;
  margin-bottom: 4px;
}

.sns-header .section-title {
  text-align: center;
}

.sns-grid {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
}

.sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sns-item:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.sns-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.sns-item:hover .sns-icon-wrap {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Platform colors */
.sns-icon--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sns-icon--x {
  background: #000000;
}

.sns-icon--minne {
  background: #F2EDE5;
}

.sns-icon--creema {
  background: #EBEBEB;
}

.sns-icon--mercari {
  background: #E83828;
}

.sns-icon--rakuma {
  background: white;
  overflow: hidden;
  border: 0.5px solid #e0e0e0;
}

.sns-icon--rakuten {
  background: #FF1493;
}

.sns-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-align: center;
}

/* ====================================
   FOOTER
   ==================================== */
.site-footer {
  background-color: var(--color-brown);
  color: var(--color-beige);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-en {
  font-family: var(--font-en);
  font-size: 26px;
  color: var(--color-beige);
  margin-bottom: 4px;
}

.footer-logo-ja {
  font-size: 11px;
  font-weight: 300;
  color: rgba(245, 237, 224, 0.6);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(245, 237, 224, 0.7);
  letter-spacing: 0.04em;
}

.footer-nav-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-beige);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-family: var(--font-en);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-nav-list a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 237, 224, 0.65);
  letter-spacing: 0.06em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-list a::before {
  content: '—';
  opacity: 0.4;
  font-size: 10px;
}

.footer-nav-list a:hover {
  color: var(--color-beige);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(245, 237, 224, 0.4);
  letter-spacing: 0.06em;
  font-weight: 300;
}

.footer-bottom a {
  color: rgba(245, 237, 224, 0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(245, 237, 224, 0.7);
}

/* ====================================
   SCROLL TO TOP
   ==================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(139, 94, 60, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--color-brown);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 900px) {
  .powers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px 20px;
  }

  .header-inner {
    height: 60px;
    flex-direction: column;
    height: auto;
    padding: 12px 20px;
    gap: 8px;
  }

  .nav-list {
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 10px;
  }

  .nav-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    padding: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .hero-content {
    padding: 24px 20px;
  }

  .hero-image-wrap {
    order: -1;
    height: 220px;
  }

  .hero-photo-img {
    width: 100%;
    height: 100%;
  }

  .powers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .powers-grid .power-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  .recent-grid {
    grid-template-columns: 1fr;
  }

  .recent-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .profile-bottom {
    flex-direction: column;
    align-items: center;
  }

  .polaroid {
    transform: rotate(-2deg);
  }

  .sticky-note {
    transform: rotate(0.5deg);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .powers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .powers-grid .power-card:last-child {
    grid-column: span 2;
    max-width: 60%;
  }
}

/* 楽天アフィリエイト PRセクション */
.pr-section {
  margin: 2rem 0 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff9f0;
  border: 1px solid #f5a623;
  border-radius: 8px;
}
.pr-label {
  font-size: 0.75rem;
  color: #bf5700;
  font-weight: bold;
  margin: 0 0 0.75rem;
  letter-spacing: 0.05em;
}
.pr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pr-item a {
  color: #bf5700;
  text-decoration: underline;
  font-size: 0.9rem;
  line-height: 1.5;
}
.pr-item a:hover {
  color: #e67e00;
}
