@charset "utf-8";

/* =========================================================
   オトスケッチ企画 — ルートサイト
   配色はロゴ画像から抽出：
   ink #52402A / pill #E2DA61 / paper #FDF6D9
   ========================================================= */

:root {
  --paper: #fdf6d9;
  --paper-2: #f6ecc6;
  --ink: #52402a;
  --ink-soft: #7a6647;
  --pill: #e2da61;
  --pill-deep: #c9c04a;
  --olive: #8f8626;
  --teal: #6eb2bd;
  --navy: #0d4a76;
  --orange: #e17623;

  --maxw: 1080px;
  --pad: clamp(20px, 5vw, 48px);

  --font-jp: "Zen Maru Gothic", ui-rounded, "Hiragino Maru Gothic ProN",
    "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Zen Maru Gothic", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.05vw + 12px, 17px);
  line-height: 2;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

/* 紙の質感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   ヘッダー
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.site-header__logo img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.nav a {
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  border-radius: 3px;
  background: var(--pill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  z-index: -1;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

/* ---------------------------------------------------------
   ヒーロー
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(52px, 11vw, 116px) 0 clamp(40px, 8vw, 88px);
  text-align: center;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__blob--a {
  width: 46vw;
  max-width: 460px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #f2eb9a, #e2da61 62%, transparent 72%);
  top: -12%;
  left: -10%;
  opacity: 0.34;
}

.hero__blob--b {
  width: 34vw;
  max-width: 330px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, #bfe0e6, #6eb2bd 60%, transparent 72%);
  right: -12%;
  bottom: -18%;
  opacity: 0.34;
}

.hero__logo {
  position: relative;
  width: min(560px, 82%);
  margin: 0 auto clamp(22px, 4vw, 34px);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero__lead {
  position: relative;
  font-size: clamp(1.02rem, 2.1vw, 1.32rem);
  line-height: 2.3;
  margin: 0;
  font-weight: 500;
}

.hero__lead b {
  font-weight: 500;
  background: linear-gradient(transparent 62%, var(--pill) 62%, var(--pill) 92%, transparent 92%);
  padding-inline: 2px;
}

.hero__en {
  position: relative;
  margin: clamp(20px, 4vw, 30px) 0 0;
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* 波線の区切り */
.wave {
  display: block;
  width: 100%;
  height: 22px;
  color: color-mix(in srgb, var(--ink) 22%, transparent);
}

/* ---------------------------------------------------------
   セクション共通
   --------------------------------------------------------- */
.section {
  padding: clamp(56px, 10vw, 104px) 0;
  position: relative;
}

.section--tint {
  background: var(--paper-2);
}

.section__head {
  margin: 0 0 clamp(28px, 5vw, 46px);
  text-align: center;
}

.section__en {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.1;
  color: var(--olive);
  letter-spacing: 0.02em;
}

.section__ja {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.about {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.about p {
  margin: 0 0 1.4em;
}

.about p:last-child {
  margin-bottom: 0;
}

.about__note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.values {
  list-style: none;
  max-width: 900px;
  margin: clamp(34px, 6vw, 54px) auto 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  text-align: left;
}

.values li {
  background: var(--paper);
  border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 22px 22px 22px 4px;
  padding: 22px 22px 24px;
}

.values b {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.values span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.values .mark {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

/* ---------------------------------------------------------
   イベント
   --------------------------------------------------------- */
.events {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  max-width: 860px;
  margin-inline: auto;
}

.ev-card {
  display: grid;
  grid-template-columns: minmax(0, 230px) 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  background: var(--paper);
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 28px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s ease;
}

.ev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -20px rgba(82, 64, 42, 0.55);
}

.ev-card__thumb {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #6eb2bd, #1c5d83);
  aspect-ratio: 1 / 1;
}

.ev-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-card__date {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  color: var(--olive);
}

.ev-card__date time {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-en);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  line-height: 0.85;
}

.ev-card__date b {
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.1rem);
  letter-spacing: -0.02em;
}

.ev-card__date i {
  font-style: normal;
  font-size: clamp(1.4rem, 3.4vw, 1.8rem);
  padding-inline: 0.06em;
  opacity: 0.6;
}

.ev-card__date span {
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding-bottom: 0.2em;
}

.ev-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 2.6vw, 1.34rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.ev-card__desc {
  margin: 0 0 16px;
  font-size: 0.85rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.ev-card__meta {
  display: grid;
  grid-template-columns: 3.4em 1fr;
  gap: 4px 12px;
  margin: 0 0 18px;
  font-size: 0.8rem;
  line-height: 1.85;
}

.ev-card__meta dt {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding-top: 0.2em;
}

.ev-card__meta dd {
  margin: 0;
}

.ev-card__more {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 2px solid var(--pill);
  padding-bottom: 3px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.ev-card__more:hover,
.ev-card__more:focus-visible {
  border-color: var(--pill-deep);
}

@media (max-width: 680px) {
  .ev-card {
    grid-template-columns: 1fr;
  }

  .ev-card__thumb {
    max-width: 320px;
    margin-inline: auto;
  }

  .ev-card__meta {
    grid-template-columns: 1fr;
    gap: 0 0;
  }

  .ev-card__meta dt {
    margin-top: 8px;
  }
}

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.contact {
  text-align: center;
}

.contact__mail {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 2px solid var(--pill);
  padding-bottom: 4px;
}

.socials {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: clamp(24px, 5vw, 36px) 0 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-2px);
  background: var(--pill-deep);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ---------------------------------------------------------
   フッター
   --------------------------------------------------------- */
.site-footer {
  padding: clamp(36px, 7vw, 60px) 0 clamp(28px, 5vw, 44px);
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.site-footer img {
  width: 150px;
  margin: 0 auto 18px;
  opacity: 0.85;
}

/* ---------------------------------------------------------
   スクロール演出
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__logo { animation: none; }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
