@charset "UTF-8";

:root {
  --ink: #22233f;
  --navy: #2c2875;
  --pink: #ed168c;
  --yellow: #ffe137;
  --paper: #fffdf5;
  --white: #fff;
  --line: #202241;
  --shadow: 7px 7px 0 rgba(32, 34, 65, 0.22);
  --font-jp: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) url("../img/common/brick-w.jpg") center top / 760px auto repeat;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.theme-tama {
  --accent: #50b8d2;
  --accent-deep: #6040a2;
  --accent-soft: #dff7fb;
  --accent-pale: #f0fbfd;
}

body.theme-minato {
  --accent: #b9d831;
  --accent-deep: #46a9be;
  --accent-soft: #f4facf;
  --accent-pale: #fbfde9;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
  width: min(100% - 32px, 1120px);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header__logo { width: 150px; }

.site-header__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: right;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 66px;
  background: var(--accent);
  border-bottom: 5px solid var(--line);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 12px solid var(--yellow);
  border-radius: 50%;
  opacity: 0.95;
}

.hero::before { width: 110px; height: 110px; top: 28px; right: -62px; }
.hero::after { width: 46px; height: 46px; bottom: 22px; left: -26px; }

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.hero__copy { position: relative; z-index: 2; }

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--accent-deep);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 4.3vw, 1.25rem);
  font-weight: 900;
  line-height: 1.5;
  transform: rotate(-2deg);
}

.hero__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 11.5vw, 4.65rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.03;
  text-shadow: 4px 4px 0 var(--pink), 7px 7px 0 rgba(44, 40, 117, 0.55);
}

.hero__title-kicker {
  display: block;
  width: max-content;
  margin-bottom: 3px;
  padding: 2px 9px 3px;
  color: var(--pink);
  background: var(--white);
  border: 3px solid var(--line);
  font-size: 0.48em;
  text-shadow: none;
  transform: rotate(-3deg);
}

.hero__lead {
  margin: 24px 0 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.85;
}

.hero__visual {
  position: relative;
  margin: 34px -32px 0;
}

.hero__art-frame {
  overflow: hidden;
  border-block: 5px solid var(--line);
  background: #c8eff8;
}

.hero__art {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  object-position: center center;
}

.event-card {
  position: relative;
  width: calc(100% - 32px);
  margin: -22px auto 0;
  padding: 24px 18px 20px;
  background: var(--white);
  border: 4px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.event-card__top {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 3px dashed var(--accent-deep);
}

.event-card__year {
  padding-bottom: 7px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.event-card__date {
  color: var(--accent-deep);
  font-size: clamp(3.75rem, 18vw, 6.1rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.82;
}

.event-card__day {
  margin-left: 2px;
  color: var(--pink);
  font-size: 1.12rem;
  font-weight: 900;
}

.event-card__time {
  margin: 15px 0 5px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.35;
}

.event-card__reception {
  margin: 0;
  color: #5e6073;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--line);
}

.button--primary { color: var(--white); background: var(--pink); }
.button--secondary { color: var(--ink); background: var(--yellow); }

.section { padding: 64px 0; }
.section--white { background: rgba(255, 255, 255, 0.93); }
.section--tint { background: var(--accent-pale); }

.section__inner {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.section-title {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.65rem, 7vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.35;
  text-align: center;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto;
  font-weight: 600;
}

.section-lead strong { background: var(--yellow); }

.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.feature-card {
  position: relative;
  padding: 26px 20px 24px;
  background: var(--white);
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--accent-deep);
}

.feature-card__number {
  position: absolute;
  top: -18px;
  left: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--pink);
  border: 3px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.feature-card h3 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.45;
}

.feature-card p { margin: 0; }

.workshop-spotlight {
  display: grid;
  gap: 28px;
  align-items: center;
}

.workshop-spotlight__image {
  width: min(78%, 360px);
  margin: 0 auto;
  filter: drop-shadow(6px 7px 0 rgba(44, 40, 117, 0.17));
}

.workshop-spotlight__copy {
  padding: 26px 20px;
  background: var(--white);
  border: 3px solid var(--line);
  box-shadow: var(--shadow);
}

.workshop-spotlight__copy h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.4;
}

.workshop-spotlight__copy p { margin: 0; font-weight: 600; }

.details {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
}

.details__item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--line);
}

.details dt,
.details dd { margin: 0; }

.details dt {
  display: grid;
  place-items: center;
  padding: 15px 8px;
  color: var(--white);
  background: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 900;
}

.details dd {
  padding: 14px 16px;
  font-weight: 700;
}

.details dd small {
  display: block;
  color: #5c5f70;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
}

.apply-box {
  position: relative;
  overflow: hidden;
  padding: 34px 20px;
  color: var(--white);
  background: var(--accent-deep);
  border: 4px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.apply-box::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -44px;
  bottom: -44px;
  border: 12px solid var(--yellow);
  border-radius: 50%;
}

.apply-box__free {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 12px;
  color: var(--pink);
  background: var(--white);
  border: 3px solid var(--line);
  font-size: 1rem;
  font-weight: 900;
  transform: rotate(-2deg);
}

.apply-box h2 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1.2;
}

.apply-box__meta {
  margin: 18px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.apply-box__note {
  max-width: 620px;
  margin: 14px auto 0;
  font-size: 0.86rem;
  line-height: 1.65;
}

.apply-box__action {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin: 24px auto 0;
  color: var(--ink);
  background: var(--yellow);
}

.site-footer {
  padding: 44px 0 92px;
  background: var(--white);
  border-top: 4px solid var(--line);
  text-align: center;
}

.site-footer__inner { width: min(100% - 32px, 960px); margin: 0 auto; }
.site-footer__logo { width: min(310px, 78%); margin: 0 auto; }
.site-footer__support { margin: 24px 0 0; font-size: 0.9rem; font-weight: 700; }
.site-footer small { display: block; margin-top: 24px; color: #656777; font-size: 0.76rem; }

.mobile-cta {
  position: fixed;
  z-index: 50;
  right: 12px;
  bottom: 12px;
  left: 12px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.mobile-cta .button { width: 100%; }

body.is-hero-visible .mobile-cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
}

.hero__title-line { white-space: nowrap; }

@media (min-width: 680px) {
  .hero { padding: 54px 0 82px; }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
    gap: 42px;
  }
  .hero__visual { margin: 0; }
  .hero__art-frame { border: 5px solid var(--line); box-shadow: 10px 10px 0 var(--accent-deep); transform: rotate(1.5deg); }
  .hero__art { aspect-ratio: 1.1 / 1; }
  .event-card { width: min(92%, 450px); margin: -26px auto 0; }
  .hero__actions { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .workshop-spotlight { grid-template-columns: 0.8fr 1.2fr; }
  .details__item { grid-template-columns: 132px minmax(0, 1fr); }
  .details dt { font-size: 1rem; }
  .mobile-cta { right: 24px; bottom: 24px; left: auto; width: 250px; }
  .site-footer { padding-bottom: 48px; }
}

@media (min-width: 1000px) {
  .site-header { position: sticky; top: 0; }
  .site-header__inner { min-height: 76px; }
  .site-header__logo { width: 190px; }
  .hero__title { font-size: 4.2rem; }
  .section { padding: 88px 0; }
  .mobile-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ===== 講師紹介（2026-10-15 追加） ===== */
/* SP：写真＋名前を横並び、紹介文は全幅。PC（680px〜）：写真 | 本文 の2カラム */
.teacher-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "photo label"
    "photo name"
    "bio   bio";
  column-gap: 14px;
  align-items: center;
  max-width: 760px;
  margin: 44px auto 0;
  padding: 20px 18px;
  background: var(--white);
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--accent-deep);
}
.teacher-card__body { display: contents; }
.teacher-card__photo {
  grid-area: photo;
  width: 72px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 12px;
}
.teacher-card__label {
  grid-area: label;
  justify-self: start;
  align-self: end;
  margin: 0 0 2px;
  padding: 0 10px;
  color: var(--white);
  background: var(--pink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.teacher-card__name {
  grid-area: name;
  align-self: start;
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.45;
}
.teacher-card__name small {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}
.teacher-card__bio { grid-area: bio; margin: 14px 0 0; font-size: 0.95rem; }
@media (min-width: 680px) {
  .teacher-card {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-areas: "photo body";
    gap: 0 28px;
    align-items: start;
    padding: 26px 28px;
  }
  .teacher-card__body { display: block; grid-area: body; min-width: 0; }
  .teacher-card__photo { width: 120px; }
  .teacher-card__label { display: inline-block; margin: 0 0 6px; }
  .teacher-card__name { margin: 0 0 6px; }
  .teacher-card__name small { display: inline-block; margin-left: 0.3em; }
  .teacher-card__bio { margin: 0; }
}
