:root {
  --paper: #fffaf2;
  --paper-strong: #fff4e6;
  --orange: #f57b1f;
  --orange-dark: #d95d08;
  --brown: #5f3a20;
  --brown-soft: #8c725f;
  --green: #64b684;
  --cream: #fff0d8;
  --line: #ead9c8;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(95, 58, 32, 0.11);
  color-scheme: light;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 88% 8%, rgba(245, 123, 31, 0.12) 0 7rem, transparent 7.1rem),
    var(--paper);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 156px;
}

.header-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--orange-dark);
}

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  padding: 56px 72px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(234, 217, 200, 0.8);
  border-radius: 52px 52px 20px 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-copy {
  align-self: center;
  padding-bottom: 64px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

h1,
h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.55rem);
}

.hero-lead {
  max-width: 30rem;
  margin: 26px 0 36px;
  color: var(--brown-soft);
  font-size: 1.08rem;
}

.primary-link {
  min-height: 58px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 0 var(--orange-dark);
}

.primary-link:hover,
.primary-link:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 6px 0 var(--orange-dark);
}

.primary-link:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 4px solid rgba(100, 182, 132, 0.45);
  outline-offset: 4px;
}

.hero-character {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-picture {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  aspect-ratio: 1;
  background: transparent;
}

.character-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(95, 58, 32, 0.12));
}

.contact,
.faq {
  padding: 130px 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 96px;
}

.contact-intro p:not(.section-label) {
  max-width: 28rem;
  margin: 28px 0 12px;
  color: var(--brown-soft);
}

.mail-address {
  color: var(--orange-dark);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-list {
  padding: 40px;
  align-self: start;
  border-radius: 34px;
  background: var(--paper-strong);
}

.contact-list > p:first-child {
  margin-top: 0;
  font-weight: 800;
}

.contact-list ul {
  margin: 20px 0 26px;
  padding-left: 1.4em;
}

.contact-list li + li {
  margin-top: 8px;
}

.privacy-note {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 0.92rem;
}

.faq {
  padding-top: 24px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 32px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 28px 54px 28px 0;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange-dark);
  content: "+";
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

.answer {
  padding: 0 38px 28px 0;
  color: var(--brown-soft);
}

.answer p,
.answer ol {
  margin-top: 0;
}

.answer p:last-child,
.answer ol:last-child {
  margin-bottom: 0;
}

.closing {
  margin-bottom: 54px;
  padding: 60px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  border-radius: 30px 30px 52px 52px;
  background: var(--brown);
  color: var(--white);
}

.closing .section-label {
  color: #ffc48d;
}

.primary-link.light {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--brown);
  box-shadow: 0 8px 0 #d6c0aa;
}

.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 52px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--brown-soft);
}

.site-footer img {
  width: 104px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  margin-left: auto;
}

@media (max-width: 820px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    padding-top: 20px;
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: 0;
    padding: 48px 28px 0;
    grid-template-columns: 1fr;
    border-radius: 34px 34px 16px 16px;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-lead {
    margin-top: 20px;
  }

  .hero-character {
    min-height: 330px;
  }

  .character-picture {
    width: 310px;
  }

  .contact,
  .faq {
    padding: 90px 12px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-list {
    padding: 28px;
    border-radius: 26px;
  }

  .faq {
    padding-top: 0;
  }

  .faq-heading {
    position: static;
  }

  .closing {
    margin-bottom: 36px;
    padding: 44px 28px 50px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px 20px 34px 34px;
  }

  .primary-link.light {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .site-footer p:last-child {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 15px;
  }

  .header-link {
    font-size: 0.9rem;
  }

  .hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero-character {
    min-height: 290px;
  }

  .character-picture {
    width: 270px;
  }

  .primary-link {
    width: 100%;
  }

  summary {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
