:root {
  --bg: #fff9f3;
  --bg-soft: #fff2e8;
  --paper: #fffdfb;
  --text: #4a2f25;
  --text-sub: #77554a;
  --line: #f2d8c7;
  --primary: #ff8b72;
  --primary-deep: #e66853;
  --mint: #afe6d4;
  --orange-soft: #ffc6ab;
  --shadow: 0 16px 40px rgba(194, 117, 85, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #ffe9da 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, #ffe0cd 0%, transparent 36%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Kiwi Maru", "Hiragino Maru Gothic ProN", sans-serif;
  line-height: 1.3;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

main {
  display: block;
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
}

.orb-one {
  width: 280px;
  height: 280px;
  background: #ffd2bc;
  top: -80px;
  left: -80px;
}

.orb-two {
  width: 360px;
  height: 360px;
  background: #fdd6ec;
  right: -120px;
  top: 18vh;
  animation-delay: -2s;
}

.orb-three {
  width: 300px;
  height: 300px;
  background: #cef6ea;
  left: 30vw;
  bottom: -120px;
  animation-delay: -5s;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid #ffe7d8;
  border-radius: 999px;
  position: sticky;
  top: 10px;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 251, 247, 0.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header.compact {
  position: static;
  border-radius: var(--radius-lg);
  margin-top: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(210, 132, 96, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-sub);
}

.site-nav a:hover {
  color: var(--primary-deep);
}

.legal-nav {
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #845848;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 64px auto;
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c06f4d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb99f, #ffd9c4);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-top: 14px;
}

.hero-sub {
  margin-top: 18px;
  color: var(--text-sub);
  font-size: 1.1rem;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 104, 83, 0.28);
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.btn-ghost {
  background: #fff;
  color: #8e5a45;
  border-color: #efccb8;
  box-shadow: none;
}

.hero-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  background: #fff;
  border: 1px solid #f5d7c5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: #7f5444;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.phone-stack {
  width: min(100%, 460px);
  position: relative;
  min-height: 670px;
}

.phone {
  width: min(280px, 70%);
  border-radius: 34px;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  position: absolute;
}

.phone.front {
  right: 2%;
  top: 10%;
  transform: rotate(6deg);
}

.phone.back {
  left: 4%;
  top: 20%;
  transform: rotate(-8deg);
}

.section-head h2,
.section-head h1 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--text-sub);
}

.feature-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #f3ddcf;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(194, 117, 85, 0.08);
}

.feature-card h3 {
  font-size: 1.25rem;
}

.feature-card p {
  margin-top: 10px;
  color: var(--text-sub);
}

.shots-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shot-card {
  margin: 0;
  background: #fff;
  border: 1px solid #f4dac9;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 10px 24px rgba(180, 106, 77, 0.11);
}

.shot-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.shot-card figcaption {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--text-sub);
}

.cta-inner {
  background: linear-gradient(130deg, #ffe9dd, #fff6ef 45%, #ebfff7);
  border: 1px solid #f3dccd;
  border-radius: 30px;
  padding: 36px;
}

.cta p {
  color: var(--text-sub);
  margin-top: 12px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 70px auto 24px;
  border-top: 1px dashed #eccfbf;
  padding-top: 20px;
  display: grid;
  gap: 10px;
  color: #7d5546;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a,
.legal-footer a {
  text-decoration: none;
  color: #965f4a;
}

.copyright {
  font-size: 0.86rem;
  color: #9f7a69;
}

.legal {
  margin-top: 28px;
}

.legal-date {
  font-size: 0.96rem;
  color: #a16f59;
}

.legal-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #f1dacb;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 14px;
}

.legal-card h2 {
  font-size: 1.2rem;
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.legal-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff3ea;
  color: #88533f;
  border: 1px solid #f5d2bb;
}

.contact-wrap {
  margin-top: 28px;
}

.contact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #f1dbc9;
  border-radius: var(--radius-lg);
  padding: 22px;
}

.contact-card h2 {
  font-size: 1.2rem;
}

.contact-card p {
  color: var(--text-sub);
}

.contact-mail {
  margin: 8px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

details {
  border-top: 1px solid #f1dacb;
  padding-top: 10px;
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.contact-form-panel {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #f1dbc9;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.contact-form-panel p {
  margin-top: 8px;
  color: var(--text-sub);
}

form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eecdb8;
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
  padding: 12px;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 139, 114, 0.35);
  border-color: #e9967f;
}

.form-note {
  margin-top: -2px;
  font-size: 0.86rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

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

  .phone-stack {
    min-height: 560px;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .shots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    border-radius: 18px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    background: #fff8f2;
    border: 1px solid #f2d6c6;
    border-radius: 16px;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .legal-nav {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    flex-direction: row;
  }

  .section {
    width: calc(100% - 20px);
    margin: 40px auto;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

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

  .cta-inner {
    padding: 24px;
  }
}
