/* ==========================================================
   株式会社桃パフェ - style.css
   ========================================================== */
:root {
  --peach: #ff8fa3;
  --peach-deep: #f4587a;
  --peach-dark: #d63d63;
  --peach-light: #ffe3ea;
  --peach-tint: #fff5f7;
  --cream: #fffaf3;
  --choco: #4a2c35;
  --text: #4a3a40;
  --text-sub: #8a707a;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(214, 61, 99, 0.10);
  --font-head: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  --font-body: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--peach-deep); }
ul { list-style: none; }

.pc-only { display: inline; }
.center { text-align: center; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9em 2.4em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--peach) 0%, var(--peach-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(244, 88, 122, 0.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(244, 88, 122, 0.45); }
.btn--ghost {
  background: var(--white);
  color: var(--peach-deep);
  border: 2px solid var(--peach);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--peach-tint); }
.btn--large { font-size: 1.15rem; padding: 1.1em 3em; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(214, 61, 99, 0.08);
}
.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--choco);
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.header__logo-mark { font-size: 1.6rem; }
.header__logo-mark-img {
  height: 48px;
  aspect-ratio: 1080 / 1250;
  object-fit: cover;
}
.header__logo-text b { color: var(--peach-deep); font-weight: 800; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color .2s;
}
.nav__list a:hover { color: var(--peach-deep); }
.nav__cta {
  background: linear-gradient(135deg, var(--peach) 0%, var(--peach-deep) 100%);
  color: var(--white) !important;
  padding: 0.55em 1.4em;
  border-radius: 999px;
}
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 20px 110px;
  background: linear-gradient(160deg, #ffd9e2 0%, #ffe9ee 45%, #fff3e8 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.float-item {
  position: absolute;
  left: var(--x); top: var(--y);
  font-size: var(--s);
  opacity: 0.7;
  color: var(--peach);
  animation: floaty 6s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
.hero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.hero__logo {
  width: min(380px, 72vw);
  margin: 0;
  aspect-ratio: 1080 / 1250;
  object-fit: cover;
}
.hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--peach-deep);
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.35rem, 3.4vw, 2.4rem);
  line-height: 1.65;
  color: var(--choco);
  margin-bottom: 32px;
}
.marker {
  background: linear-gradient(transparent 62%, #ffc2cf 62%);
  padding: 0 0.1em;
}
.hero__lead {
  color: var(--text-sub);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 90px; display: block; }

/* ===== Sections ===== */
.section { padding: 96px 20px; }
.section--tint { background: var(--peach-tint); }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__inner--narrow { max-width: 780px; }
.section__eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--peach);
  text-align: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--choco);
  text-align: center;
  margin-bottom: 22px;
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  width: 56px; height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), var(--peach-deep));
  margin: 14px auto 0;
}
.section__lead {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 56px;
}

/* ===== MVV ===== */
.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--peach);
}
.mvv__card--vision { border-top-color: #ffb347; }
.mvv__card--values { border-top-color: #7ec8a9; }
.mvv__label {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--peach-deep);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.mvv__card--vision .mvv__label { color: #e08a1e; }
.mvv__card--values .mvv__label { color: #3d9a72; }
.mvv__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--choco);
  line-height: 1.7;
  margin-bottom: 14px;
}
.mvv__text { font-size: 0.92rem; color: var(--text-sub); }
.mvv__values li { margin-bottom: 16px; }
.mvv__values b {
  display: block;
  font-family: var(--font-head);
  color: var(--choco);
}
.mvv__values span { font-size: 0.88rem; color: var(--text-sub); }

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(214, 61, 99, 0.18);
}
.service__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--peach-light);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  margin-bottom: 18px;
}
.service__title {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--choco);
  margin-bottom: 10px;
}
.service__text { font-size: 0.9rem; color: var(--text-sub); }

/* ===== Company ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table th, .company-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--peach-light);
  font-size: 0.95rem;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 30%;
  background: var(--peach-tint);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--choco);
  white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--choco);
  color: #f2d9df;
  padding: 44px 20px;
}
.footer__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.footer__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.footer__copy { font-size: 0.8rem; opacity: 0.7; }

/* ===== Reveal animation (JS有効時のみ隠す) ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-item { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .mvv, .services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .pc-only { display: none; }
  .mvv, .services { grid-template-columns: 1fr; }
  .section { padding: 72px 20px; }
  .hero { padding: 130px 20px 110px; }

  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 12px 24px rgba(214, 61, 99, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 360px; }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
  }
  .nav__list li { width: 100%; text-align: center; }
  .nav__list a { display: block; padding: 12px 0; }
  .nav__cta { margin: 10px auto 0; width: fit-content; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
  }
  .nav-toggle span {
    display: block;
    width: 24px; height: 3px;
    border-radius: 2px;
    background: var(--peach-deep);
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .company-table th { width: 26%; padding: 16px 14px; }
  .company-table td { padding: 16px 14px; }
}
