/* ============================================================
   Variables — rie-fujikawa.com デザインシステム
   ============================================================ */
:root {
  --c-text:       #49413E;
  --c-orange:     #FF7F29;
  --c-orange-d:   #e06820;
  --c-bg:         #ffffff;
  --c-bg-warm:    #fff8f4;
  --c-bg-peach:   #fff3ee;
  --c-border:     #e8ddd8;
  --c-line:       #06C755;
  --c-line-d:     #05a847;
  --c-muted:      #7a6e6a;
  --c-light:      #b0a49f;

  --f-serif:  'Zen Maru Gothic', serif;
  --f-sans:   'Noto Sans JP', sans-serif;
  --f-en:     'Montserrat', sans-serif;

  --max-w:    1100px;
  --max-w-sm: 720px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: 1.5rem;
  line-height: 2;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: var(--c-text); text-decoration: none; display: inline-block; transition: opacity 0.4s ease; }
a:hover { opacity: 0.6; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes sway1 {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50%       { transform: rotate(4deg)  scale(1.04); }
}
@keyframes sway2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ============================================================
   Layout
   ============================================================ */
.sec { padding: 110px 0; position: relative; overflow: hidden; }
.sec__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   Typography
   ============================================================ */
.sec-label {
  font-family: var(--f-en);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-orange);
  display: block;
  margin-bottom: 14px;
}
.sec-label--center { text-align: center; }

.sec-title {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 56px;
}
.sec-title--center { text-align: center; }

.text-orange { color: var(--c-orange); }

/* ============================================================
   Buttons
   ============================================================ */
.btn-line-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 288px;
  height: 76px;
  background: var(--c-line);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 38px;
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.3);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.btn-line-main:hover {
  background: var(--c-line-d);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(6, 199, 85, 0.4);
  opacity: 1;
}
.btn-line-main--lg {
  width: 340px;
  height: 86px;
  font-size: 1.7rem;
}
.btn-line-main__icon { width: 24px; height: 24px; flex-shrink: 0; }

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 288px;
  height: 76px;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 38px;
  box-shadow: 0 6px 24px rgba(255, 127, 41, 0.3);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.btn-orange:hover {
  background: var(--c-orange-d);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 127, 41, 0.45);
  opacity: 1;
}

/* ============================================================
   Header
   ============================================================ */
.header-wrap {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-border);
}
.header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo a {
  font-family: var(--f-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.05em;
}
.header__nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav li a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-text);
}
.header__cta {
  background: var(--c-orange);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600 !important;
  transition: background 0.3s, opacity 0.3s !important;
}
.header__cta:hover { background: var(--c-orange-d); opacity: 1 !important; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}

/* ============================================================
   Main Visual
   ============================================================ */
.main-visual {
  position: relative;
  min-height: 100vh;
  padding-top: 98px;
  display: flex;
  align-items: center;
  background: var(--c-bg);
  overflow: hidden;
}
.main-visual__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.main-visual__text { flex: 1; }
.main-visual__catch {
  font-size: 1.4rem;
  color: var(--c-muted);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.main-visual__title {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem, 4.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--c-text);
  margin-bottom: 28px;
}
.main-visual__sub {
  font-size: 1.5rem;
  color: var(--c-muted);
  line-height: 2;
  margin-bottom: 44px;
}
.main-visual__note {
  margin-top: 16px;
  font-size: 1.2rem;
  color: var(--c-light);
  letter-spacing: 0.05em;
}
.main-visual__img { flex-shrink: 0; }
.main-visual__photo-wrap {
  position: relative;
  width: 420px;
}
.main-visual__photo-placeholder {
  width: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(73, 65, 62, 0.12);
}
.main-visual__photo-placeholder svg { width: 100%; height: auto; }

.main-visual__photo-img {
  width: 420px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(73, 65, 62, 0.16);
  display: block;
}

/* Decorative circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-c1 {
  width: 120px; height: 120px;
  background: var(--c-bg-peach);
  top: -30px; right: -20px;
  animation: sway2 5s ease-in-out infinite;
}
.deco-c2 {
  width: 60px; height: 60px;
  background: rgba(255, 127, 41, 0.15);
  bottom: 30px; left: -10px;
  animation: sway2 7s ease-in-out infinite 1s;
}
.deco-dot-group {
  position: absolute;
  bottom: -20px; right: -10px;
  width: 80px; height: 80px;
  background-image: radial-gradient(var(--c-orange) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.25;
  animation: sway1 8s ease-in-out infinite;
}

/* Hero waves (top/bottom decorations) */
.main-visual__deco-top,
.main-visual__deco-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
}
.main-visual__deco-top {
  top: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23fff3ee' fill-opacity='0.6' d='M0,40 C360,80 1080,0 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat center / cover;
}
.main-visual__deco-bottom {
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23fff8f4' fill-opacity='1' d='M0,40 C360,0 1080,80 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat center / cover;
}

/* ============================================================
   About
   ============================================================ */
.sec-about { background: var(--c-bg-warm); }
.sec-about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}
.sec-about__img { flex-shrink: 0; }
.about-photo-wrap {
  position: relative;
  width: 300px;
}
.about-photo-placeholder {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(73, 65, 62, 0.1);
}
.about-photo-placeholder svg { width: 100%; height: auto; }

.deco-flower {
  position: absolute;
  pointer-events: none;
}
.deco-f1 {
  width: 70px; height: 70px;
  top: -20px; right: -20px;
  background: radial-gradient(circle at 50% 50%, var(--c-orange) 15%, transparent 16%),
              radial-gradient(circle at 50% 10%, var(--c-orange) 15%, transparent 16%),
              radial-gradient(circle at 90% 50%, var(--c-orange) 15%, transparent 16%),
              radial-gradient(circle at 50% 90%, var(--c-orange) 15%, transparent 16%),
              radial-gradient(circle at 10% 50%, var(--c-orange) 15%, transparent 16%);
  opacity: 0.18;
  animation: sway1 6s ease-in-out infinite;
}
.deco-f2 {
  width: 50px; height: 50px;
  bottom: 20px; left: -15px;
  background: var(--c-bg-peach);
  border-radius: 50%;
  animation: sway2 5s ease-in-out infinite 0.5s;
}

.sec-about__content { flex: 1; padding-top: 12px; }
.sec-about__role {
  font-size: 1.3rem;
  color: var(--c-orange);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.sec-about__bio p {
  font-size: 1.45rem;
  color: var(--c-muted);
  line-height: 2;
  margin-bottom: 18px;
}

.sec-about__deco-wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C480,60 960,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center / cover;
}

/* ============================================================
   Problem
   ============================================================ */
.sec-problem { background: var(--c-bg); padding-top: 0; }
.sec-problem .sec__inner { max-width: var(--max-w-sm); padding-top: 72px; }

.sec-problem__visual {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}
.sec-problem__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.sec-problem__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 20, 15, 0.35) 0%,
    rgba(30, 20, 15, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec-problem__overlay-text {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.problem-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
  transition: background 0.2s;
}
.problem-item:first-child { border-top: 1px solid var(--c-border); }
.problem-item:hover { background: var(--c-bg-peach); }
.problem-check {
  color: var(--c-orange);
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
}
.problem-closing {
  text-align: center;
  font-family: var(--f-serif);
  font-size: 1.8rem;
  font-weight: 500;
}

/* ============================================================
   Product
   ============================================================ */
.sec-product { background: var(--c-bg); text-align: center; }
.sec-product__lead {
  font-size: 1.5rem;
  color: var(--c-muted);
  line-height: 2;
  margin-bottom: 48px;
}
.sec-product__img-wrap {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(73, 65, 62, 0.1);
}
.sec-product__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease);
}
.sec-product__img-wrap:hover .sec-product__img { transform: scale(1.03); }

/* ============================================================
   Benefits
   ============================================================ */
.sec-benefits { background: var(--c-bg-warm); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit-card {
  background: var(--c-bg);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(73, 65, 62, 0.06);
  border: 1px solid var(--c-border);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(73, 65, 62, 0.12);
}
.benefit-card__num {
  font-family: var(--f-en);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--c-orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}
.benefit-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  animation: sway2 6s ease-in-out infinite;
}
.benefit-card__title {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
}
.benefit-card__desc {
  font-size: 1.35rem;
  color: var(--c-muted);
  line-height: 1.9;
}
.sec-benefits__deco-dot {
  position: absolute;
  top: 60px; right: 40px;
  width: 120px; height: 120px;
  background-image: radial-gradient(var(--c-orange) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.12;
  animation: sway1 10s ease-in-out infinite;
}

/* ============================================================
   Voice
   ============================================================ */
.sec-voice { background: var(--c-bg-peach); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--c-bg);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(73, 65, 62, 0.06);
  border: 1px solid var(--c-border);
}
.voice-card__quote {
  font-family: var(--f-en);
  font-size: 4rem;
  color: var(--c-orange);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 8px;
}
.voice-card__text {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 24px;
}
.voice-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-bg-peach);
  border: 2px solid var(--c-border);
  flex-shrink: 0;
}
.author-name { font-size: 1.3rem; font-weight: 500; }
.author-attr { font-size: 1.1rem; color: var(--c-light); margin-top: 2px; }

/* ============================================================
   CTA Section
   ============================================================ */
.sec-contact {
  position: relative;
  text-align: center;
  padding: 142px 0;
  overflow: hidden;
}

/* 背景画像 */
.sec-contact__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.sec-contact__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.sec-contact__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 244, 0.88) 0%,
    rgba(255, 240, 230, 0.92) 50%,
    rgba(255, 248, 244, 0.88) 100%
  );
}

.sec-contact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 40px;
}
.cta-gifts {
  display: inline-block;
  text-align: left;
  margin-bottom: 44px;
  font-size: 1.5rem;
}
.cta-gifts li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gift-icon { font-size: 1.6rem; }
.cta-note {
  margin-top: 18px;
  font-size: 1.2rem;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}
.sec-contact__deco-l,
.sec-contact__deco-r {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--c-orange);
  pointer-events: none;
}
.sec-contact__deco-l { left: -80px; }
.sec-contact__deco-r { right: -80px; }

/* ============================================================
   FAQ
   ============================================================ */
.sec-faq { background: var(--c-bg); }
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--c-orange); }
.faq-q::marker, .faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--c-orange);
  flex-shrink: 0;
  transition: transform 0.3s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding-bottom: 24px;
  font-size: 1.4rem;
  color: var(--c-muted);
  line-height: 2;
}

/* ============================================================
   Footer CTA
   ============================================================ */
.sec-footer-cta {
  background: var(--c-bg-peach);
  text-align: center;
}
.footer-cta-desc {
  font-size: 1.5rem;
  color: var(--c-muted);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 2;
}

/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
  background: var(--c-text);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.site-footer__brand {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 24px;
}
.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 1.2rem;
}
.site-footer__nav a { color: rgba(255,255,255,0.6); }
.site-footer__nav a:hover { color: #fff; opacity: 1; }
.site-footer__copy { font-size: 1.1rem; }

/* ============================================================
   Mobile (800px breakpoint — same as reference)
   ============================================================ */
@media (max-width: 800px) {
  html { font-size: 56.25%; } /* 9px base for mobile */

  .sec { padding: 72px 0; }
  .sec__inner { padding: 0 5vw; }

  /* Header */
  .header { padding: 0 5vw; }
  .header__nav { display: none; }
  .header__hamburger { display: flex; }

  /* Main Visual */
  .main-visual__inner {
    flex-direction: column;
    padding: 48px 5vw 60px;
    text-align: center;
  }
  .main-visual__img { order: -1; }
  .main-visual__photo-wrap { width: 100%; max-width: 320px; }
  .main-visual__photo-placeholder { width: 100%; }
  .main-visual__photo-img { width: 100%; }
  .main-visual__title { font-size: 7.25vw; }

  /* About */
  .sec-about__inner {
    flex-direction: column;
    align-items: center;
    padding: 0 5vw;
    text-align: center;
  }
  .about-photo-wrap { width: 200px; }
  .sec-about__bio { text-align: left; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; }

  /* Voice */
  .voice-grid { grid-template-columns: 1fr; }

  /* Buttons */
  .btn-line-main { width: 80vw; max-width: 288px; height: 68px; }
  .btn-line-main--lg { width: 85vw; max-width: 320px; height: 76px; }
  .btn-orange { width: 80vw; max-width: 288px; height: 68px; }
}
