:root {
  --ink: #21281f;
  --green: #304732;
  --line: #c7cdbe;
  --paper: #fafaf6;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.8 "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: var(--green);
  text-underline-offset: .22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid #926117;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  background: white;
  padding: .5rem;
  z-index: 2;
}

.skip:focus {
  top: .2rem;
}

.bar,.wrap {
  width: min(1100px,calc(100% - 56px));
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand {
  font: bold 1.6rem/1 Georgia,serif;
  letter-spacing: -.06em;
  text-decoration: none;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px,6vw,80px);
  align-items: center;
  padding: clamp(32px,5vw,76px) 0;
}

.eyebrow {
  font-size: .87rem;
  font-weight: bold;
  letter-spacing: .12em;
  color: var(--green);
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2 {
  font-family: "Hiragino Mincho ProN","Yu Mincho",serif;
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: clamp(32px,4.1vw,60px);
  letter-spacing: -.06em;
  margin: 14px 0 20px;
}

.lead {
  max-width: 34em;
}

.jump {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 14px;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

figcaption {
  font-size: .88rem;
  line-height: 1.65;
  margin-top: .75rem;
}

figcaption a {
  display: inline-block;
  padding: .35rem 0;
}

h2 {
  font-size: clamp(25px,3vw,38px);
  margin-bottom: 10px;
}

#plans {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  scroll-margin: 1rem;
}

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 14px;
}

.option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px,3vw,34px);
  border: 1px solid var(--line);
  background: #fff;
}

.option h3 {
  font-size: clamp(18px,2vw,24px);
  line-height: 1.55;
  margin-bottom: 10px;
}

.total {
  margin-top: auto;
  padding-top: 20px;
}

.total strong {
  font: 600 clamp(29px,3vw,42px)/1.3 "Yu Mincho",serif;
  margin: 0 .12em;
}

.breakdown,.note {
  font-size: .9rem;
}

.breakdown {
  margin: .4rem 0 1rem;
}

.button {
  background: var(--green);
  color: #fff;
  padding: 10px 17px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  gap: .6em;
  align-items: center;
  min-height: 48px;
}

.button:hover {
  background: #213623;
}

.note {
  color: #434d40;
}

.note a {
  white-space: nowrap;
}

.next {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  padding: 32px 0 52px;
}

.next p+p {
  margin-top: .6em;
}

footer.bar {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

@media(max-width:740px) {
  .wrap,.bar {
    width: calc(100% - 36px);
  }
  .bar {
    padding-block: 8px;
  }
  .hero,.options,.next {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 22px;
  }
  .hero img {
    max-height: 285px;
    object-fit: contain;
    background: #f1f0eb;
  }
  .options {
    gap: 12px;
  }
  #plans,.next {
    padding-block: 26px;
  }
  .next {
    gap: 6px;
  }
  .note a {
    white-space: normal;
  }
}
