/* rara.y — ブランド配色（淡いイエロー × フォレストグリーン・アクセント） */
:root {
  --primary-color: #355c45;
  --secondary-color: #f5eab8;
  --tertiary-color: #fffdf5;
  --main-ttl-color: #2f332e;
  --font-accent: "Noto Serif JP", serif;
  --font-deco: "Cormorant Garamond", serif;
  --font-ui: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

html {
  background-color: var(--tertiary-color);
}

body {
  font-family: var(--font-ui);
  color: var(--main-ttl-color);
  background-color: var(--tertiary-color);
}

/* スクロール余白 */

#top,
#about,
#features,
#links,
#access {
  scroll-margin-top: 6rem;
}

@media (min-width: 1024px) {
  #top,
  #about,
  #features,
  #links,
  #access {
    scroll-margin-top: 8rem;
  }
}

/* テキストロゴ */

.rara-text-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-decoration: none;
  color: var(--primary-color);
}

.rara-logo-main {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.rara-logo-sub {
  font-family: var(--font-ui);
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-top: 0.2rem;
  opacity: 0.92;
}

.rara-loading-brand .rara-logo-main {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  color: var(--primary-color);
  animation: raraLogoReveal 2s ease forwards;
}

@keyframes raraLogoReveal {
  from {
    opacity: 0;
    letter-spacing: 0.35em;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.12em;
    transform: translateY(0);
  }
}

#loading_logo.rara-loading-brand {
  max-width: none;
  width: auto;
  height: auto;
}

#loading_logo.rara-loading-brand img {
  display: none;
}

/* ヘッダー SNS（Facebook アイコン枠は淡い黄土のボタン風に） */

#header #header-logo {
  max-width: min(300px, 58vw);
}

@media (min-width: 1024px) {
  #header #header-logo {
    max-width: 360px;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  flex-wrap: nowrap;
}

#header .custom-logo-link {
  flex: 1 1 auto;
  min-width: 0;
}

#header .header-instagram {
  flex-shrink: 0;
}

#header .facebook-icon svg {
  display: block;
  width: clamp(34px, 5vw, 44px);
  height: clamp(34px, 5vw, 44px);
}

#header .header-instagram .svg-background {
  fill: var(--primary-color);
}

#header .header-instagram:hover .svg-background {
  opacity: 0.88;
}

/* ABOUT：淡イエロー帯でも読めるよう文字色を調整 */

#about {
  background-color: var(--secondary-color);
}

#about p {
  color: #383838;
}

#about h2.top-ttl-w {
  color: var(--primary-color);
}

#about .button-w a {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

#about .button-w a::after {
  background: var(--primary-color);
}

#about .button-w a:hover {
  background: rgb(53 92 69 / 0.08);
}

/* スクロール誘導（淡色背景でも見える色） */

#top .scroll .arrow::before {
  background-color: var(--primary-color);
}

#top .scroll .arrow::after {
  border-bottom-color: var(--primary-color);
}

#top .circle-text span {
  color: var(--primary-color);
}

/* セクション見出し中央寄せ */

#features h2.top-ttl,
#links h2.top-ttl,
#access h2.top-ttl {
  text-align: center;
}

#features h2.top-ttl span,
#links h2.top-ttl span,
#access h2.top-ttl span {
  display: block;
}

/* FEATURE の装飾数字（ベースが淡くても自然に読めるように） */

#features .number {
  color: var(--primary-color);
  opacity: 0.14;
}

/* LINKS セクション */

.rara-links-section {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(to bottom, var(--tertiary-color), #fffbeb);
}

.rara-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .rara-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    max-width: none;
  }
}

.rara-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgb(53 92 69 / 0.2);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgb(245 234 184 / 0.35);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rara-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgb(53 92 69 / 0.12);
}

.rara-link-ttl {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary-color);
}

.rara-link-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #515151;
}

/* アクセス直下 CTA */

.access-list a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.access-list a:hover {
  opacity: 0.85;
}

.rara-access-cta {
  margin-top: 2rem;
  text-align: center;
}

a.button-b-inline {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  color: var(--primary-color);
  font-family: var(--font-accent);
  border: 1px solid var(--primary-color);
  border-radius: 2.5rem;
  display: inline-block;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a.button-b-inline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* フッターのテキストロゴ */

.footer-logo.rara-footer-brand {
  height: auto;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-logo.rara-footer-brand .rara-logo-main {
  display: block;
  text-align: center;
}

.footer-logo.rara-footer-brand .rara-logo-sub {
  display: block;
  text-align: center;
}

.footer-icon svg {
  display: inline-block;
  vertical-align: middle;
}

/* ellie の #footer svg { fill:#fff } を打ち消し、Facebook の二色を維持 */

#footer .footer-sns svg {
  fill: none;
}

#footer .facebook-icon .svg-background {
  fill: var(--primary-color);
}

#footer .facebook-icon .svg-shape {
  fill: #fff !important;
}

/* CTA の光沢スイープ（shine）・ボタン装飾ラインのアニメを無効化 */

#pc-g-nav .menu li:last-child a::after,
#g-nav .menu li:last-child a::after {
  content: none;
  animation: none;
}

#pc-g-nav .menu li:last-child a,
#g-nav .menu li:last-child a {
  overflow: visible;
}

.button-w a::after,
.button-b a::after {
  display: none;
}

.button-w a:hover::after,
.button-b a:hover::after {
  animation: none;
}
