:root {
  --orange: #f8935c;
  --action: #a63d10;
  font-family: Inter, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: #221812;
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; }
a { color: inherit; }
button { cursor: pointer; font: inherit; }
:focus-visible { outline: 3px solid #214e96; outline-offset: 5px; }
.header {
  max-width: 1200px;
  margin: auto;
  padding: 17px clamp(20px, 3.1vw, 40px) 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.home {
  justify-self: start;
  padding: .26em .76em;
  border-radius: 21px;
  background: var(--orange);
  color: #fff;
  font-size: clamp(1rem, 4vw, 3rem);
  font-weight: 900;
  text-decoration: none;
}
.logo { display: block; width: clamp(94px, 19vw, 228px); height: auto; }
.menu-toggle {
  justify-self: end;
  display: grid;
  align-content: center;
  gap: 8px;
  width: clamp(45px, 5.2vw, 62px);
  min-height: 48px;
  padding: 0;
  background: none;
  border: 0;
}
.menu-toggle span { height: 5px; border-radius: 5px; background: var(--orange); }
.hero {
  position: relative;
  isolation: isolate;
  width: min(87.67%, 1052px);
  min-height: min(42.67vw, 512px);
  margin: clamp(58px, 7vw, 84px) auto 48px;
  border: clamp(3px, .42vw, 5px) solid var(--orange);
  border-radius: clamp(22px, 3.5vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  align-items: center;
}
.illustration {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  inset-inline-start: -8.7%;
  bottom: 0;
  display: block;
  width: 60%;
  height: auto;
}
.hero-copy {
  grid-column: 2;
  min-width: 0;
  padding: 10px clamp(14px, 1.7vw, 20px) 10px 0;
}
h1 {
  margin: 0;
  color: var(--orange);
  font-family: Inter, "Arial Black", Arial, sans-serif;
  font-size: clamp(2rem, 10.67vw, 8rem);
  font-weight: 900;
  line-height: 1.21;
  text-align: right;
}
h1 span { display: block; }
.start {
  position: absolute;
  z-index: 2;
  bottom: 3.5%;
  inset-inline-start: 24.4%;
  display: grid;
  place-items: center;
  width: clamp(62px, 12.42vw, 149px);
  aspect-ratio: 1;
  border: clamp(3px, .42vw, 5px) solid var(--orange);
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
}
.arrow {
  position: relative;
  width: 52%;
  height: clamp(4px, .75vw, 9px);
  border-radius: 999px;
  background: currentColor;
}
.arrow::after {
  position: absolute;
  inset: 50% 0 auto auto;
  width: 61%;
  aspect-ratio: 1;
  border: solid currentColor;
  border-width: clamp(4px, .75vw, 9px) clamp(4px, .75vw, 9px) 0 0;
  border-radius: 4px;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}
.start:hover { background: #fff3eb; }
dialog { border: 0; color: inherit; background: #fff; }
dialog::backdrop { background: rgb(33 24 18 / 35%); }
.menu {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  padding: 24px;
  width: min(346px, 90vw);
  height: 100dvh;
  max-height: none;
}
.menu[open], .notice[open] { animation: appear .3s ease-out; }
.close { display: block; margin-left: auto; width: 44px; height: 44px; font-size: 2rem; line-height: 1; border: 0; background: none; color: var(--action); }
.menu nav { display: grid; gap: 12px; margin-top: 24px; font-size: 1.2rem; font-weight: 750; }
.menu nav a { min-height: 44px; padding-block: 8px; }
.menu nav span { padding-top: 8px; }
.menu-note { color: var(--action); }
.notice { width: min(390px, 88vw); padding: 24px; border-radius: 14px; }
.notice h2 { margin-top: 0; }
.notice button { min-height: 44px; padding-inline: 16px; }
@keyframes appear { from { opacity: 0; } }
@media (max-width: 640px) {
  .hero {
    width: calc(100% - 40px);
    margin-top: 32px;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .hero-copy { grid-row: 1; grid-column: 1; padding: 16px 18px 0; }
  h1 { font-size: clamp(2rem, 10.9vw, 4.3rem); }
  .illustration {
    position: static;
    width: 100%;
    max-width: 440px;
    justify-self: center;
    border-radius: 0 0 18px 18px;
  }
  .start { inset-inline-start: auto; inset-inline-end: 5%; bottom: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .menu[open], .notice[open] { animation: none; }
}

