@import url("assets/fonts/kiwi-maru/kiwi-maru.css");

:root {
  --paper: #fffcf5;
  --ink: #171412;
  --muted: #5f5750;
  --accent: #fa573e;
  --line: #dfd5c8;
  --deep: #304254;
  --font-jp: "Kiwi Maru", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-jp);
  line-height: 1.8;
}

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

.reveal-on-scroll {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(54px) scale(0.96);
  will-change: opacity, filter, transform;
}

.reveal-on-scroll.is-visible {
  animation: revealIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-delay.is-visible {
  animation-delay: 240ms;
}

.reveal-float.is-visible {
  animation:
    revealIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) both,
    softFloat 7s ease-in-out 1500ms infinite;
}

.reveal-photo.is-visible {
  animation: revealPhoto 1400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(60px) scale(0.94);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes revealPhoto {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(72px) translateX(-18px) rotate(-1.8deg) scale(0.92);
  }

  60% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-8px) translateX(4px) rotate(0.4deg) scale(1.015);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) translateX(0) rotate(0) scale(1);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.01);
  }
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 252, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--accent);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(36px, 6vw, 80px) clamp(20px, 6vw, 88px);
}

.hero-photo img {
  width: min(520px, 100%);
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 17px;
  font-weight: 500;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  color: var(--accent);
  font-size: clamp(64px, 12vw, 156px);
  font-weight: 500;
  line-height: 1.02;
}

h2 {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.35;
}

.page-hero {
  padding: clamp(72px, 12vw, 140px) clamp(20px, 6vw, 88px) clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 26px);
}

.profile-list {
  display: grid;
  gap: 18px;
  max-width: 460px;
}

.profile-list div {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

dt {
  color: var(--muted);
  font-size: 14px;
}

dd {
  font-size: 19px;
}

.section {
  padding: clamp(64px, 10vw, 124px) clamp(20px, 6vw, 88px);
}

.about-section,
.contact-section,
.facebook-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 680px;
}

.section-copy p,
.contact-section p,
address {
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 26px);
  font-style: normal;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.image-pair img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.activities-section {
  background: #f6eee4;
  border-top: 1px solid var(--line);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.activity-grid article {
  min-height: 240px;
  padding: 28px;
  background: var(--paper);
}

.activity-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
}

.activity-grid p {
  color: var(--muted);
}

.newsletter-promo-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.newsletter-promo-section .text-link-button {
  justify-self: start;
}

.newsletter-promo-section p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 26px);
}

.text-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 168px;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.text-link-button:hover {
  background: var(--accent);
  color: #fff;
}

.organization-section {
  border-top: 1px solid var(--line);
  background: #fff8ec;
}

.organization-section > div {
  max-width: 820px;
}

.organization-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 26px);
}

.contact-section img {
  width: min(420px, 100%);
  justify-self: center;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff8ec;
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--deep);
  font-size: 15px;
  font-weight: 500;
}

.contact-form em {
  margin-left: 8px;
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(250, 87, 62, 0.28);
  outline-offset: 2px;
}

.contact-form button {
  justify-self: start;
  min-height: 48px;
  padding: 10px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.contact-form button:hover {
  background: #d9422c;
  border-color: #d9422c;
}

.facebook-section {
  background: var(--deep);
  color: #fffaf0;
}

.facebook-section h2,
.facebook-section p {
  color: inherit;
}

.facebook-section .eyebrow {
  color: rgba(255, 250, 240, 0.76);
}

.facebook-link {
  margin-top: 28px;
}

.facebook-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #fffaf0;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.facebook-embed {
  display: grid;
  place-items: center;
  min-height: 660px;
}

.facebook-embed iframe {
  width: min(500px, 100%);
  max-width: 100%;
  min-height: 620px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.newsletter-section {
  padding-top: clamp(48px, 8vw, 88px);
}

.newsletter-list {
  display: grid;
  gap: 18px;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: #fff8ec;
  border: 1px solid var(--line);
}

.newsletter-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.newsletter-card h2 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: clamp(24px, 3.4vw, 40px);
}

.newsletter-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 132px;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.download-link.is-disabled {
  border-color: var(--line);
  background: #e5ddd2;
  color: var(--muted);
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .about-section,
  .newsletter-promo-section,
  .contact-section,
  .facebook-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

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

  .image-pair img {
    height: 280px;
  }

  .newsletter-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 62px;
  }

  .image-pair,
  .activity-grid {
    grid-template-columns: 1fr;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .reveal-float.is-visible {
    animation: none;
  }
}
