:root {
  --yellow: #f5c518;
  --navy: #003f88;
  --heading: #1e2d3b;
  --text: #1e2d3b;
  --red: #c41e3a;
  --gray-bg: #f4f4f4;
  --form-bg: #f7f7f7;
  --form-border: #3b3a3a;
  --button: #3b3a3a;
  --white: #ffffff;
  --header-h: 96px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-gothic: "MS Gothic", "ＭＳ ゴシック", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  --content: min(870px, calc(100% - 48px));
  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 8px;
  z-index: 2000;
  padding: 8px 12px;
  background: var(--yellow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow {
  width: var(--content);
}

/* Header: yellow brand + navy nav, overlays hero */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(400px, 32vw);
  min-width: 280px;
  padding: 0 20px;
  background: var(--yellow);
  color: #111;
  text-decoration: none;
}

.site-header__brand img {
  width: 52px;
  height: auto;
  flex-shrink: 0;
}

.site-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-header__name {
  font-family: var(--font-gothic);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.site-header__sub {
  font-family: var(--font-gothic);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
}

.site-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px 0 24px;
  background: var(--navy);
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__menu a.is-current,
.site-header__menu a:hover {
  color: var(--yellow);
}

.site-header__toggle {
  display: none;
}

/* Hero: layered like Wix (1440×752 composition) */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 752;
  min-height: 280px;
  overflow: hidden;
  background: #e8952f;
}

.hero img {
  position: absolute;
  max-width: none;
}

.hero__wash {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero__brush {
  left: calc(41.59% - 300px);
  top: 15.43%;
  width: 48.75%;
  height: auto;
}

.hero__portrait {
  left: calc(33.69% + 20px);
  top: auto;
  bottom: 0;
  width: 45%;
  height: auto;
}

.hero__slogan {
  left: calc(30.56% - 200px);
  top: calc(var(--header-h) + 12px);
  width: 28.75%;
  height: auto;
}

.hero__name {
  left: calc(30.56% - 200px);
  top: calc(62.1% + 10px);
  width: 36.13%;
  height: auto;
}

.hero__party {
  left: calc(58.73% + 90px);
  top: calc(var(--header-h) + 12px);
  width: 15.5%;
  height: auto;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 4%;
  top: auto;
  z-index: 2;
  width: 55px;
  transform: translateX(-50%);
}

.hero__scroll img {
  position: static;
  width: 100%;
  height: auto;
}

@keyframes fadeGrowIn {
  0%   { opacity: 0; transform: translateY(120px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glideInLeft {
  0%   { transform: translateX(-100%); opacity: 0; }
  1%   { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes glideInRight {
  0%   { transform: translateX(100vw); opacity: 0; }
  1%   { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes bob {
  0%,
  100% { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, 6px); }
}

.hero:not(.play) .hero__layer {
  opacity: 0;
}

.hero.play .hero__portrait { animation: fadeGrowIn 1s var(--ease) both; }
.hero.play .hero__brush    { animation: glideInRight 1.5s var(--ease) both; }
.hero.play .hero__slogan   { animation: glideInLeft 1.8s var(--ease) both; }
.hero.play .hero__name     { animation: glideInLeft 1.8s var(--ease) both; }
.hero.play .hero__party    { animation: glideInRight 1.8s var(--ease) both; }

.hero.play .hero__scroll {
  animation: bob 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero__layer,
  .hero .hero__scroll,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero .hero__scroll {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
}

.reveal.in {
  animation: revealUp 1s var(--ease) both;
}

.reveal-left.in {
  animation: revealLeft 1.2s var(--ease) both;
}

.reveal-right.in {
  animation: revealRight 1.2s var(--ease) both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}

@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: none; }
}

@keyframes revealRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.section {
  padding: 72px 0 88px;
}

.section--policy {
  background: var(--white);
  padding: 8px 0 88px;
}

.section-title {
  margin: 0 0 40px;
  color: var(--heading);
  font-family: var(--font-gothic);
  font-size: 55px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  margin: 14px auto 0;
  background: var(--yellow);
}

.section-title--left {
  text-align: left;
}

.section-title--left::after {
  margin-left: 0;
}

/* Policy intro: navy box, white type */
.policy-intro {
  margin: 0 auto 56px;
  padding: 48px 32px 40px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.policy-intro__catch {
  margin: 0 0 8px;
  font-size: 80px;
  font-weight: 400;
  line-height: 1.4;
}

.policy-intro__sub {
  margin: 0 0 18px;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.4;
}

.policy-intro__lead {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

/* Policy cards: single column, like Wix */
.policy-list {
  display: grid;
  gap: 48px;
}

.policy-card {
  padding: 40px 36px 36px;
  background: #f7f7f7;
}

.policy-card__icon {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.policy-card__icon--time {
  width: 84px;
  height: 84px;
}

.policy-card__title {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 50px;
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.4em;
  font-family: var(--font-gothic);
  font-size: 24px;
  line-height: 1.4;
  color: #3b3a3a;
}

.policy-card li + li {
  margin-top: 0.7em;
}

.policy-card__illust {
  display: block;
  width: min(50%, 320px);
  height: auto;
  margin: 24px auto 0;
}

/* Greeting: full-bleed photo, gray panel top-left, 60px photo at bottom */
.section--greeting {
  padding: 0;
  background: var(--white);
}

.greeting {
  position: relative;
  padding-bottom: 60px;
}

.greeting__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.greeting__bg img {
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.greeting__text {
  position: relative;
  z-index: 1;
  width: min(860px, 68%);
  max-width: 100%;
  margin: 0;
  padding: 56px 48px 48px;
  background: #f7f7f7;
}

.prose p {
  margin: 0 0 1.1em;
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 1.4;
  color: #3b3a3a;
}

.prose strong {
  color: var(--red);
  font-weight: 700;
}

.greeting__sign {
  margin: 16px 0 0;
  text-align: right;
}

.greeting__sign img {
  display: inline-block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
}

/* Profile */
.section--profile {
  background: var(--white);
}

.profile__badge {
  margin: 0 auto 24px;
  text-align: center;
}

.profile__badge img {
  display: block;
  width: min(260px, 48vw);
  height: auto;
  margin: 0 auto;
}

.profile__list {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-family: var(--font-gothic);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #3b3a3a;
}

.profile__list > li {
  margin-bottom: 0.55em;
}

.profile__list ul {
  margin: 0.35em 0 0;
  padding-left: 1.25em;
  list-style: none;
}

/* Achievements strip */
.section--achievements {
  padding: 28px 0 30px;
  background: #f7be00;
}

.achievements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: center;
  position: relative;
}

.achievements::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: #ffffff;
  transform: translateX(-0.5px);
}

.achievements__col {
  padding: 0 24px;
}

.achievements__role,
.achievements__sub {
  margin: 0;
  color: #003f88;
  font-family: var(--font-gothic);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.achievements__title {
  margin: 18px 0 0;
  color: #003f88;
  font-family: var(--font-gothic);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.15;
}

.achievements__catch {
  margin: 18px 0 0;
  color: #003f88;
  font-family: var(--font-gothic);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.15;
}

/* Gallery: 2x2 squares */
.section--gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-grid__item {
  margin: 0;
}

.gallery-grid__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Scenery band between gallery and contact */
.scenery {
  height: 420px;
  background-image: url("../images/hero-banner.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Contact */
.section--contact {
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}

.contact__subheading {
  margin: 0 0 12px;
  color: var(--heading);
  font-family: var(--font-gothic);
  font-size: 25px;
  font-weight: 400;
}

.contact__lead {
  margin: 0 0 20px;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.5;
  color: #3b3a3a;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form__label {
  margin-bottom: -6px;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.35;
  color: #3b3a3a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--form-border);
  border-radius: 0;
  background: var(--form-bg);
  font: inherit;
  font-size: 14px;
}

.contact-form input {
  height: 36px;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 149px;
  height: 40px;
  margin-top: 8px;
  border: 0;
  border-radius: 0;
  background: var(--button);
  color: #f2bd1d;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.contact__subheading--office {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.contact__subheading--office::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 10px;
  background: #f2bd1d;
}

.button:hover,
.button:focus-visible {
  background: #222;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
}

.form-note.is-success {
  color: #1b5e20;
}

.form-note.is-error {
  color: var(--red);
}

.office {
  font-style: normal;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.5;
  color: #3b3a3a;
}

.office p {
  margin: 0 0 0.6em;
}

.office a {
  text-decoration: none;
}

.office a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 28px 16px 40px;
  background: var(--white);
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sns-links img {
  width: 48px;
  height: 48px;
}

/* Support (応援する) */
.section--support {
  background: var(--white);
}

.section--support .section-title {
  margin-bottom: 12px;
}

.support__subtitle {
  margin: 0 0 40px;
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #3b3a3a;
}

.support__intro {
  text-align: center;
}

.support__intro p,
.support-text p {
  margin: 0 0 1em;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.7;
  color: #3b3a3a;
}

.support-text p:last-child {
  margin-bottom: 0;
}

.support-text small {
  font-size: 14px;
}

.support__cta {
  margin: 32px 0 56px;
  text-align: center;
}

.support__cta--inner {
  margin: 36px 0 0;
}

.button--wide {
  width: min(320px, 100%);
  height: 52px;
  margin-top: 0;
  font-size: 16px;
  text-decoration: none;
}

.support__heading {
  margin: 0 0 24px;
  color: var(--heading);
  font-family: var(--font-gothic);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.support-panel {
  padding: 40px 40px 44px;
  background: #f7f7f7;
  border-top: 8px solid var(--yellow);
}

.support-panel + .support-panel {
  margin-top: 48px;
}

.support-panel__title {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: var(--font-gothic);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.support-panel__lead {
  margin: 0 0 16px;
  font-family: var(--font-gothic);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: #3b3a3a;
}

.support-ways {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.support-way {
  padding: 24px 28px 26px;
  background: var(--white);
  border-left: 6px solid var(--navy);
}

.support-way__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--font-gothic);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.support-way .support-text p {
  font-size: 16px;
}

/* Subpages (forms, thanks, privacy) */
.subpage main {
  padding-top: var(--header-h);
}

.section--form {
  padding: 64px 0 88px;
}

.form-page {
  width: min(760px, calc(100% - 48px));
}

.page-title {
  margin: 0 0 36px;
  color: var(--heading);
  font-family: var(--font-gothic);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.page-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  margin: 14px auto 0;
  background: var(--yellow);
}

.page-title--thanks {
  font-size: 30px;
}

.form-page__intro {
  margin-bottom: 48px;
}

.form-page__intro p,
.form-page__privacy-note,
.form-submit__note {
  margin: 0 0 1em;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.7;
  color: #3b3a3a;
}

.form-page--thanks .form-page__intro {
  text-align: center;
}

.entry-form {
  display: grid;
  gap: 22px;
}

.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field__label {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  font-family: var(--font-gothic);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #3b3a3a;
}

.req {
  margin-left: 2px;
  color: var(--red);
  font-weight: 700;
}

.opt {
  margin-left: 2px;
  font-weight: 400;
}

.entry-form input[type="text"],
.entry-form input[type="email"],
.entry-form input[type="tel"],
.entry-form textarea,
.entry-form select {
  width: 100%;
  height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--form-border);
  border-radius: 0;
  background: var(--form-bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.entry-form textarea {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.entry-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, #3b3a3a 50%), linear-gradient(135deg, #3b3a3a 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.entry-form input:focus,
.entry-form textarea:focus,
.entry-form select:focus {
  outline: 3px solid rgba(0, 63, 136, 0.25);
  outline-offset: 0;
  border-color: var(--navy);
  background-color: var(--white);
}

.entry-form [aria-invalid="true"] {
  border-color: var(--red);
  background-color: #fff5f6;
}

.entry-form ::placeholder {
  color: #9a9a9a;
}

.field__row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.input--zip {
  max-width: 260px;
}

.field__row--date select {
  flex: 1;
}

.select--half {
  max-width: 260px;
}

.field__note {
  margin: 6px 0 0;
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.field__error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}

.button--small {
  flex-shrink: 0;
  width: auto;
  height: 44px;
  margin-top: 0;
  padding: 0 22px;
  justify-self: start;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-block {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid #c8c8c8;
  min-width: 0;
}

.form-block__title {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--navy);
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
}

.form-block__title + * {
  clear: both;
}

.form-block__lead {
  margin: 0 0 4px;
  font-family: var(--font-gothic);
  font-size: 15px;
  color: #3b3a3a;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.5;
  color: #3b3a3a;
  cursor: pointer;
}

.check input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.check .field__error {
  flex-basis: 100%;
}

.check--agree {
  flex-wrap: wrap;
  justify-content: center;
}

.check--agree a {
  color: var(--navy);
}

.sub-panel {
  display: grid;
  gap: 18px;
  margin: 0 0 8px;
  padding: 24px 26px 28px;
  background: #ececec;
  border-left: 6px solid var(--yellow);
}

.sub-panel[hidden] {
  display: none;
}

.sub-panel__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-gothic);
  font-size: 19px;
  font-weight: 700;
}

.sub-panel__title + .field__note {
  margin-top: -12px;
}

.sub-panel input[type="text"],
.sub-panel input[type="email"],
.sub-panel input[type="tel"],
.sub-panel textarea {
  background-color: var(--white);
}

.form-page__privacy-note {
  margin-top: 16px;
  font-size: 15px;
}

.form-submit {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 8px;
  padding: 32px 20px;
  background: #f7f7f7;
  text-align: center;
}

.form-submit__note {
  margin: 0;
  font-size: 15px;
}

.button--submit {
  justify-self: center;
}

.form-submit .form-note {
  min-height: 0;
  font-weight: 700;
}

/* Donation */
.form-page__intro--center {
  text-align: center;
}

.notice-box {
  margin: 0 0 48px;
  padding: 36px 36px 30px;
  background: #f7f7f7;
  border-top: 8px solid var(--yellow);
}

.notice-box__title {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: var(--font-gothic);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.notice-box__lead {
  margin: 0 0 24px;
  font-family: var(--font-gothic);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: #3b3a3a;
}

.notice-box__heading {
  margin: 22px 0 6px;
  color: var(--heading);
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 700;
}

.notice-box p {
  margin: 0 0 0.6em;
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.7;
  color: #3b3a3a;
}

.input--amount {
  max-width: 220px;
  text-align: right;
}

.field__unit {
  font-family: var(--font-gothic);
  font-size: 17px;
  color: #3b3a3a;
}

.field__note--top {
  margin: 0 0 10px;
}

.radio-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-bottom: 8px;
}

.form-submit__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 700;
}

.form-submit__checks {
  display: grid;
  gap: 12px;
  text-align: left;
}

.form-submit__checks a {
  color: var(--navy);
}

/* Privacy policy */
.policy h2 {
  margin: 36px 0 10px;
  padding-left: 12px;
  border-left: 6px solid var(--yellow);
  color: var(--heading);
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.policy p,
.policy li,
.policy address {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.8;
  color: #3b3a3a;
}

.policy p {
  margin: 0 0 0.8em;
}

.policy ul {
  margin: 0 0 0.8em;
  padding-left: 1.4em;
}

.policy address {
  margin: 8px 0 0;
  padding: 18px 22px;
  background: #f7f7f7;
  font-style: normal;
}

.policy a {
  color: var(--navy);
}

.policy__date {
  margin-top: 32px !important;
  text-align: right;
}

/* Footer note */
.site-footer__note {
  margin: 0 0 14px;
  font-family: var(--font-gothic);
  font-size: 15px;
  text-align: center;
  color: #3b3a3a;
}

@media (max-width: 960px) {
  :root {
    --header-h: 80px;
  }

  .subpage main {
    padding-top: 0;
  }

  .section--form {
    padding: 40px 0 56px;
  }

  .form-page {
    width: calc(100% - 32px);
  }

  .page-title {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .page-title--thanks {
    font-size: 20px;
  }

  .form-page__intro {
    margin-bottom: 32px;
  }

  .form-page__intro p {
    font-size: 15px;
  }

  .field__label,
  .check {
    font-size: 16px;
  }

  .sub-panel {
    padding: 20px 14px 22px;
  }

  .field__row--date {
    gap: 8px;
  }

  .form-submit {
    padding: 24px 14px;
  }

  .notice-box {
    padding: 26px 16px 22px;
  }

  .notice-box__title {
    font-size: 21px;
  }

  .notice-box__heading {
    font-size: 16px;
  }

  .notice-box p,
  .policy p,
  .policy li,
  .policy address {
    font-size: 14px;
  }

  .policy h2 {
    font-size: 17px;
  }

  .support__subtitle {
    font-size: 17px;
    margin-bottom: 28px;
  }

  .support__intro {
    text-align: left;
  }

  .support__intro p,
  .support-text p {
    font-size: 15px;
  }

  .support__heading {
    font-size: 24px;
  }

  .support-panel {
    padding: 28px 18px 32px;
  }

  .support-panel__title {
    font-size: 22px;
  }

  .support-way {
    padding: 18px 16px 20px;
  }

  .support-way__title {
    font-size: 18px;
  }

  .support-way .support-text p {
    font-size: 14px;
  }

  .site-header {
    position: fixed;
    background: var(--yellow);
  }

  body {
    padding-top: var(--header-h);
  }

  .site-header__inner {
    position: relative;
    background: var(--yellow);
  }

  .site-header__brand {
    width: auto;
    min-width: 0;
    flex: 1;
    padding-right: 56px;
  }

  .site-header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .site-header__toggle span {
    display: block;
    height: 2px;
    background: #111;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    background: var(--navy);
  }

  .site-header.is-open .site-header__nav {
    display: block;
  }

  .site-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero {
    aspect-ratio: auto;
    height: min(72vh, 640px);
    min-height: 480px;
  }

  .hero img {
    height: auto;
  }

  .hero img.hero__wash {
    height: 100%;
    object-fit: fill;
  }

  .hero__slogan {
    width: 52%;
    left: 4%;
    top: 6%;
  }

  .hero__name {
    width: 58%;
    left: 3%;
    top: auto;
    bottom: 10%;
  }

  .hero__portrait {
    width: 72%;
    left: auto;
    right: -4%;
    top: auto;
    bottom: 0;
  }

  .hero__brush {
    width: 78%;
    left: 16%;
    top: 10%;
  }

  .hero__party {
    width: 28%;
    left: auto;
    right: 3%;
    top: 5%;
  }

  .hero__scroll {
    width: 40px;
    bottom: 3%;
  }

  .section {
    padding: 48px 0 56px;
  }

  .section-title {
    font-size: 32px;
  }

  .policy-intro {
    padding: 32px 20px;
    margin-bottom: 32px;
  }

  .policy-card {
    padding: 8px 0 24px;
  }

  .greeting {
    padding-bottom: 60px;
  }

  .greeting__text {
    width: auto;
    margin: 0 20px;
    padding: 48px 24px 32px;
  }

  .section-title--left {
    text-align: center;
  }

  .section-title--left::after {
    margin-left: auto;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .button {
    justify-self: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scenery {
    height: 200px;
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .site-header__brand img {
    width: 40px;
  }

  .hero {
    height: min(70vh, 580px);
    min-height: 460px;
  }

  .prose p {
    font-size: 14px;
  }

  .achievements {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .achievements::before {
    display: none;
  }

  .achievements__col {
    padding: 0;
  }
}
