/* ================================================================
   LEAP! Theme — Main Stylesheet
   Converted from Figma Make (React + Tailwind) to plain CSS
   ================================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem; /* SP: ヘッダー高さ */
}

@media (min-width: 768px) {
  html { scroll-padding-top: 5rem; } /* PC: ヘッダー高さ */
}

body {
  background-color: #ffffff;
  color: #2D2A2E;
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ----------------------------------------------------------------
   2. Utility Classes
   ---------------------------------------------------------------- */

/* Gradient text (logo, hero title, group names) */
.gradient-text {
  background: linear-gradient(135deg, #EE8AB2 30%, #B2DEF7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dancing Script decorative text */
.tagline-script {
  font-family: 'Dancing Script', cursive;
}

/* ----------------------------------------------------------------
   3. Layout
   ---------------------------------------------------------------- */
.leap-main {
  padding-bottom: 3rem;
}

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .section-inner {
    padding: 0 2.5rem;
  }
}

/* Content width limiter for text/list blocks */
.section-inner > *:not(.chapter-heading) {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------
   4. Site Header
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0.6rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 2.5rem;
    height: 5rem;
  }
}

/* ----------------------------------------------------------------
   5. Logo
   ---------------------------------------------------------------- */
.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #EE8AB2, #B2DEF7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

@media (min-width: 768px) {
  a.site-logo {
    font-size: 1.8rem;
  }
}

/* ----------------------------------------------------------------
   6. Desktop Navigation
   ---------------------------------------------------------------- */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  color: #2D2A2E;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #EE8AB2, #B2DEF7);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: #E8507A;
}

.nav-link:hover::after {
  width: 100%;
}

/* ----------------------------------------------------------------
   7. SNS Icons
   ---------------------------------------------------------------- */
.sns-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sns-icon {
  color: #2D2A2E;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-icon:hover {
  color: #E8507A;
}

.sns-icon svg {
  display: block;
}

/* ----------------------------------------------------------------
   8. Mobile Menu Button
   ---------------------------------------------------------------- */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #2D2A2E;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ----------------------------------------------------------------
   9. Mobile Menu Overlay
   ---------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) 0.6rem 0 1.5rem;
  height: calc(4rem + env(safe-area-inset-top, 0px));
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: #2D2A2E;
  transition: color 0.2s ease;
  opacity: 0;
  transform: translateY(12px);
  transition: color 0.2s ease, opacity 0s, transform 0s;
}

.mobile-menu.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
  transition:
    color 0.2s ease,
    opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.mobile-nav-link:hover {
  color: #E8507A;
}

/* Stagger delays for mobile nav links */
.mobile-menu.is-open .mobile-nav-link[data-delay="0"] { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-nav-link[data-delay="1"] { transition-delay: 0.09s; }
.mobile-menu.is-open .mobile-nav-link[data-delay="2"] { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-nav-link[data-delay="3"] { transition-delay: 0.17s; }
.mobile-menu.is-open .mobile-nav-link[data-delay="4"] { transition-delay: 0.21s; }
.mobile-menu.is-open .mobile-nav-link[data-delay="5"] { transition-delay: 0.25s; }

.mobile-menu-sns {
  opacity: 0;
  margin-top: 1rem;
  transition: opacity 0s;
}

.mobile-menu.is-open .mobile-menu-sns[data-delay="6"] {
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1) 0.32s;
}

.mobile-menu-footer {
  text-align: center;
  padding-bottom: 2.5rem;
  opacity: 0;
  transition: opacity 0s;
}

.mobile-menu.is-open .mobile-menu-footer[data-delay="7"] {
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1) 0.38s;
}

.mobile-menu-footer .tagline-script {
  font-family: 'Shippori Mincho', serif;
  color: #8A8590;
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------
   10. Hero Section
   ---------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background-color: #FBF8F5;
}

/* Notebook ruled lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(238, 232, 226, 0.5);
}

.hero-inner {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 0 2.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

/* ---- Hero Text Block ---- */
.hero-text {
  width: 100%;
  max-width: 720px;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 2rem;
  text-align: center;
  opacity: 0;
  animation: heroFadeUp 0.5s cubic-bezier(0.0, 0.0, 0.2, 1) 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-text {
    width: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.hero-title-wrap {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  display: block;
  color: #8A8590;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title { font-size: 7rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 9rem; }
}

.hero-heading {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #2D2A2E;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-heading { font-size: 1.6rem; }
}

.hero-desc {
  font-size: 0.9rem;
  color: #8A8590;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-sns {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-sns { margin-top: 3rem; }
}

/* ---- Hero Visual ---- */
.hero-visual {
  display: none !important;
  /* TODO: 一時的に非表示 */
  width: 100%;
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroFadeScale 0.6s cubic-bezier(0.0, 0.0, 0.2, 1) 0.3s forwards;
}

@media (min-width: 768px) {
  .hero-visual {
    width: 60%;
    height: 80%;
  }
}

.hero-kv-placeholder,
.hero-kv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.hero-kv-placeholder {
  background-color: #F5EDE7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.kv-corner-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(225deg, #ffffff 50%, #EDE5DD 50%);
}

@media (min-width: 768px) {
  .kv-corner-fold { width: 4rem; height: 4rem; }
}

.kv-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #C4B8AC;
}

.kv-placeholder-icon {
  width: 3rem;
  height: 3rem;
  opacity: 0.4;
}

.kv-placeholder-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kv-placeholder-size {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem;
  color: rgba(196, 184, 172, 0.7);
}

/* ---- Scroll Indicator ---- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0;
  animation: heroFadeUpCenter 0.5s cubic-bezier(0.0, 0.0, 0.2, 1) 1.3s forwards;
}

.scroll-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem;
  color: #8A8590;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-chevron {
  color: #8A8590;
  animation: bounce 1.2s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   11. Chapter Heading (shared across sections)
   ---------------------------------------------------------------- */
.chapter-heading {
  margin-bottom: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .chapter-heading { margin-bottom: 3.5rem; }
}

.chapter-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #8A8590;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.chapter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #2D2A2E;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .chapter-title { font-size: 2.6rem; }
}

.chapter-accent-line {
  margin-top: 0.75rem;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #EE8AB2, #B2DEF7);
  transition: width 0.6s cubic-bezier(0.0, 0.0, 0.2, 1) 0.3s;
}

.chapter-heading.is-revealed .chapter-accent-line {
  width: 4rem;
}

/* ----------------------------------------------------------------
   12. Scroll Reveal (Intersection Observer target)
   ---------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 0.5s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   13. Information Section
   ---------------------------------------------------------------- */
.information-section {
  background-color: #ffffff;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .information-section { padding: 7rem 0; }
}

.news-list {
  max-width: 1100px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #EEE8E2;
  margin: 0 -1rem;
  transition: background-color 0.2s ease, transform 0.2s cubic-bezier(0.0, 0.0, 0.2, 1);
}

@media (min-width: 768px) {
  .news-item {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.news-item:hover {
  background-color: rgba(251, 248, 245, 0.5);
  transform: translateX(4px);
}

.news-date {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.8rem;
  color: #8A8590;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.news-category {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.125rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid;
  flex-shrink: 0;
  width: fit-content;
}

.news-title {
  font-size: 0.88rem;
  color: #2D2A2E;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.news-item:hover .news-title {
  color: #E8507A;
}

/* ---- View All link ---- */
.section-view-all {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.view-all-link {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.8rem;
  color: #8A8590;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.view-all-link:hover {
  color: #E8507A;
  transform: translateX(4px);
}

/* ----------------------------------------------------------------
   14. Profile Section
   ---------------------------------------------------------------- */
.profile-section {
  background-color: #FBF8F5;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .profile-section { padding: 7rem 0; }
}

.profile-groups {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .profile-groups {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .profile-groups { gap: 3.5rem; }
}

.profile-group {
  position: relative;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  background:
    linear-gradient(#FBF8F5, #FBF8F5) padding-box,
    linear-gradient(135deg, #EE8AB2, #B2DEF7) border-box;
  transition: box-shadow 0.3s ease;
}

.profile-group::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.profile-group > * {
  position: relative;
  z-index: 1;
}

.profile-group:hover::before {
  opacity: 1;
}

.profile-group:hover {
  box-shadow: 0 4px 20px rgba(178, 222, 247, 0.25);
}

.profile-group--main {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .profile-group--main { width: 62%; }
  .profile-group--seed { width: 38%; }
}

/* ---- Group Card ---- */
.group-card {
  display: block;
  color: inherit;
}

/* Group photo */
.group-photo {
  display: none; /* TODO: 一時的に非表示 */
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.group-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.group-card:hover .group-photo-img {
  transform: scale(1.02);
}

.group-photo-placeholder {
  width: 100%;
  height: 100%;
  background-color: #F5EDE7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.corner-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(225deg, #FBF8F5 50%, #EDE5DD 50%);
}

@media (min-width: 768px) {
  .corner-fold { width: 3rem; height: 3rem; }
}

.photo-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #C4B8AC;
  transition: transform 0.2s ease;
}

.group-card:hover .photo-placeholder-inner {
  transform: scale(1.02);
}

.photo-placeholder-icon {
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.4;
}

.photo-placeholder-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-placeholder-size {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem;
  color: rgba(196, 184, 172, 0.5);
}

/* Group info */
.group-name-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.group-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .group-name { font-size: 2.6rem; }
}

.group-name--seed {
  color: #2D2A2E;
}

.group-subtitle {
  font-size: 0.72rem;
  color: #8A8590;
}

.group-member-count {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.78rem;
  color: #8A8590;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.group-desc {
  font-size: 0.82rem;
  color: #8A8590;
  max-width: 440px;
  text-wrap: pretty;
}

/* Hover accent line */
.group-accent-line {
  margin-top: 1.25rem;
  height: 1px;
  width: 0;
  transition: width 0.2s ease;
}

.group-card:hover .group-accent-line {
  width: 4rem;
}

.group-accent-line--gradient {
  background: linear-gradient(90deg, #EE8AB2, #B2DEF7);
}

.group-accent-line--dark {
  background: #2D2A2E;
}

/* Profile annotation */
.profile-annotation {
  margin-top: 2.5rem;
  text-align: right;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.profile-annotation .tagline-script {
  font-size: 0.85rem;
  color: #C4B8AC;
}

/* ----------------------------------------------------------------
   15. Schedule Section
   ---------------------------------------------------------------- */
.schedule-section {
  background-color: #FFF0F3;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .schedule-section { padding: 7rem 0; }
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Schedule Card ---- */
.schedule-card {
  background-color: #ffffff;
  border-radius: 2px;
  overflow: hidden;
  border-left: 3px solid #E8507A;
  height: 100%;
  display: block;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.schedule-card:hover {
  transform: translateY(-4px);
}

.schedule-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.schedule-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.schedule-card:hover .schedule-thumb-img {
  transform: scale(1.03);
}

.schedule-body {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .schedule-body { padding: 2rem; }
}

.schedule-date {
  display: block;
  font-size: 0.82rem;
  color: #E8507A;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}

.schedule-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #2D2A2E;
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.schedule-venue {
  font-size: 0.75rem;
  color: #8A8590;
  margin-bottom: 0.25rem;
}

.schedule-desc {
  font-size: 0.75rem;
  color: rgba(138, 133, 144, 0.7);
  text-wrap: pretty;
}

/* ----------------------------------------------------------------
   16. Blog Section
   ---------------------------------------------------------------- */
.blog-section {
  background-color: #ffffff;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .blog-section { padding: 7rem 0; }
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Blog Card ---- */
.blog-card {
  display: block;
  color: inherit;
}

.blog-thumb {
  aspect-ratio: 16 / 10;
  background-color: #F5EDE7;
  border-radius: 2px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-thumb {
  transform: scale(1.02);
}

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

.blog-thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #C4B8AC;
}

.blog-thumb-placeholder svg {
  width: 2rem;
  height: 2rem;
  opacity: 0.4;
}

.blog-thumb-placeholder span {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem;
}

/* Bookmark ribbon (newest post) */
.blog-bookmark {
  position: absolute;
  top: 0;
  right: 1rem;
  width: 1.5rem;
  height: 2.5rem;
  background-color: rgba(232, 80, 122, 0.8);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.375rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}

.blog-bookmark span {
  color: #ffffff;
  font-size: 0.5rem;
}

.blog-date {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.75rem;
  color: #8A8590;
  margin-bottom: 0.375rem;
  font-variant-numeric: tabular-nums;
}

.blog-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: #2D2A2E;
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
  color: #E8507A;
}

.blog-excerpt {
  font-size: 0.78rem;
  color: #8A8590;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-wrap: pretty;
}

/* ----------------------------------------------------------------
   17. Site Footer
   ---------------------------------------------------------------- */
.site-footer {
  background-color: #ffffff;
  position: relative;
}

.footer-ruled-line {
  position: relative;
  height: 1px;
  margin: 0 1.5rem;
  background-color: #EEE8E2;
}

.footer-ruled-line::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(238, 232, 226, 0.4);
}

@media (min-width: 768px) {
  .footer-ruled-line { margin: 0 2.5rem; }
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner { padding: 1.5rem 2.5rem; }
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.footer-tagline {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  color: #8A8590;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-nav-group {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav-link {
  font-size: 0.78rem;
  color: #8A8590;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: #E8507A;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #EEE8E2;
}

.footer-copy {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem;
  color: rgba(138, 133, 144, 0.6);
  text-align: center;
}

/* ----------------------------------------------------------------
   18. Keyframe Animations
   ---------------------------------------------------------------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes heroFadeUpCenter {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}

@keyframes heroFadeScale {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1);    }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(5px); }
}

/* ----------------------------------------------------------------
   19. Accessibility
   ---------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #E8507A;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ----------------------------------------------------------------
   Breadcrumb (共通)
   ---------------------------------------------------------------- */
.info-single__breadcrumb {
  background-color: #FBF8F5;
  border-bottom: 1px solid #EEE8E2;
}

.info-single__breadcrumb-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .info-single__breadcrumb-inner { padding: 0.75rem 2.5rem; }
}

.breadcrumb-link {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.72rem;
  color: #8A8590;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover { color: #E8507A; }

.breadcrumb-sep {
  font-size: 0.65rem;
  color: #C4B8AC;
}

.breadcrumb-current {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.72rem;
  color: #2D2A2E;
}

/* reCAPTCHA バッジを全ページで非表示（規約に基づきコンタクトページ内にテキスト表記） */
.grecaptcha-badge {
  visibility: hidden;
}
