:root {
  --mm-ink: oklch(24% 0.015 60);
  --mm-accent: oklch(50% 0.17 20);
  --mm-accent-strong: oklch(55% 0.2 20);
  --mm-accent-deep: oklch(42% 0.17 20);
  /* 立ち上がりが速く終わりが緩やかな、滑らかに感じるイージング */
  --mm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* スムーススクロールは html に指定しないとアンカーリンクに効かない */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #F9F6F3; }
a { color: var(--mm-accent); text-decoration: none; transition: color 0.25s var(--mm-ease); }
a:hover { color: oklch(40% 0.17 20); }

.mm-page {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--mm-ink);
  background: #F9F6F3;
}

/* ヘッダー */
.mm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.4s var(--mm-ease);
}
.mm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 32px;
}
.mm-logo-wrap { display: flex; align-items: center; }
.mm-logo-link { display: flex; align-items: center; transition: opacity 0.25s var(--mm-ease); }
.mm-logo-link:hover { opacity: 0.65; }
.mm-logo-img { height: 32px; width: auto; }
.mm-logo-tagline {
  margin-left: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--mm-ink);
  white-space: nowrap;
}
.mm-desktop-nav {
  gap: 28px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  align-items: center;
}
.mm-nav-link {
  color: var(--mm-ink);
  text-decoration: none;
  padding-bottom: 4px;
  background-image: linear-gradient(var(--mm-accent-strong), var(--mm-accent-strong));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: background-size 0.35s var(--mm-ease), color 0.35s var(--mm-ease);
}
.mm-nav-link:hover { color: var(--mm-accent-strong); background-size: 100% 2px; }
.mm-nav-divider { width: 1px; height: 18px; background: oklch(88% 0.01 70); }

/* SNS アイコン */
.mm-sns-row { display: flex; align-items: center; gap: 10px; }
.mm-sns-row-bordered { padding-top: 12px; border-top: 1px solid oklch(93% 0.008 70); }
.mm-social {
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--mm-ink);
  transition: background-color 0.3s var(--mm-ease), transform 0.3s var(--mm-ease);
}
.mm-social-black { background: #000; }
.mm-social:hover { background: var(--mm-accent); transform: translateY(-2px) scale(1.08); }
.mm-social-lg { width: 30px; height: 30px; }
.mm-social-sm { width: 26px; height: 26px; }
.mm-icon-x-header { width: 14px; height: 14px; }
.mm-icon-note-header { width: 17px; height: 17px; }

/* モバイルメニュー */
.mm-mobile-menu { position: fixed; top: 20px; right: 32px; z-index: 100; }
.mm-menu-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: none;
  background: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 10px oklch(24% 0.015 60 / 0.15);
  transition: transform 0.25s var(--mm-ease), box-shadow 0.25s var(--mm-ease);
}
.mm-menu-btn:hover { transform: scale(1.06); box-shadow: 0 4px 16px oklch(24% 0.015 60 / 0.22); }
.mm-menu-btn-bar { width: 18px; height: 2px; background: var(--mm-ink); border-radius: 2px; }
.mm-mobile-dropdown {
  position: absolute;
  top: 52px;
  right: 0;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 24px oklch(24% 0.015 60 / 0.18);
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 160px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

/* ボタン */
.mm-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  border-radius: 999px;
  transition: background-color 0.3s var(--mm-ease), color 0.3s var(--mm-ease),
              transform 0.3s var(--mm-ease), box-shadow 0.3s var(--mm-ease);
}
.mm-btn:hover { transform: translateY(-2px); }
.mm-btn:active { transform: translateY(0); transition-duration: 0.08s; }
.mm-btn svg { transition: transform 0.3s var(--mm-ease); }
.mm-btn:hover svg { transform: translate(2px, -2px); }
.mm-btn-primary { color: white; background: var(--mm-accent); }
.mm-btn-primary:hover { color: white; background: var(--mm-accent-deep); box-shadow: 0 8px 18px oklch(50% 0.17 20 / 0.3); }
.mm-btn-light { color: var(--mm-ink); background: white; }
.mm-btn-light:hover { color: var(--mm-ink); background: oklch(95% 0.008 70); box-shadow: 0 8px 18px oklch(15% 0.01 60 / 0.35); }
.mm-btn-lg { font-size: 15px; padding: 14px 28px; }
.mm-btn-md { font-size: 14px; padding: 13px 26px; }
.mm-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.mm-btn-disabled {
  display: inline-block;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: oklch(60% 0.01 60);
  background: oklch(93% 0.008 70);
  border: 1px solid oklch(88% 0.01 70);
  border-radius: 999px;
  padding: 12px 25px;
  cursor: not-allowed;
}

/* ヒーロースライダー */
.mm-hero {
  position: relative;
  margin: 0 auto;
  padding: 0;
  transition: background-color 0.6s ease;
  display: grid;
  touch-action: pan-y;
}
.mm-hero-slide {
  grid-column: 1; grid-row: 1;
  max-width: 1120px; width: 100%; margin: 0 auto;
  box-sizing: border-box;
  display: flex; align-items: center; gap: 80px; flex-wrap: wrap;
  justify-content: center;
  padding: 36px 32px 44px;
  transition: opacity 0.6s ease;
}
.mm-hero-slide--media { position: relative; overflow: hidden; }
.mm-hero-bg-blur {
  position: absolute; inset: 0;
  background-image: url('images/sample-orikousan.png');
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  transform: scale(1.15);
  z-index: 0;
}
.mm-hero-overlay { position: absolute; inset: 0; background: oklch(15% 0.01 60 / 0.72); z-index: 1; }
.mm-hero-img { width: 400px; height: 400px; flex-shrink: 0; object-fit: contain; object-position: center; }
.mm-hero-img--card { position: relative; z-index: 2; border-radius: 18px; }
.mm-hero-content { max-width: 440px; }
.mm-hero-content--front { position: relative; z-index: 2; }
.mm-hero-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 38px;
  line-height: 1.35;
  margin: 0 0 20px;
  color: var(--mm-ink);
}
.mm-hero-title--light { color: white; }
.mm-hero-desc {
  font-size: 15px;
  line-height: 2;
  color: oklch(38% 0.015 60);
  margin: 0 0 28px;
  max-width: 440px;
}
.mm-hero-desc--light { color: oklch(88% 0.01 70); margin: 0 0 20px; }
.mm-hero-arrow {
  position: absolute;
  bottom: 20px;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-ink);
  cursor: pointer;
  z-index: 65;
  display: flex; align-items: center; justify-content: center;
  background-color: #F9F6F3;
  transition: background-color 0.3s var(--mm-ease), transform 0.3s var(--mm-ease), box-shadow 0.3s var(--mm-ease);
}
.mm-hero-arrow:hover { background-color: white; transform: scale(1.12); box-shadow: 0 4px 14px oklch(24% 0.015 60 / 0.2); }
.mm-hero-arrow:active { transform: scale(0.96); transition-duration: 0.08s; }
.mm-hero-arrow--prev { left: 32px; }
.mm-hero-arrow--next { right: 32px; }
.mm-hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.mm-hero-dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.4s var(--mm-ease), transform 0.3s var(--mm-ease);
}
.mm-hero-dot:hover { transform: scale(1.4); }

/* セクション共通 */
.mm-section { max-width: 1120px; margin: 0 auto; padding: 0 32px 96px; }
#events { padding-top: 64px; }
.mm-section-title { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 700; font-size: 24px; margin: 0 0 28px; }
.mm-section-title--tight { margin: 0 0 20px; }

/* イベント */
.mm-event-card {
  background: white;
  border: 1px solid oklch(90% 0.01 70);
  border-radius: 14px;
  padding: 8px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: oklch(42% 0.015 60);
}
.mm-event-row { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; padding: 16px 0; }
.mm-event-row + .mm-event-row { border-top: 1px solid oklch(93% 0.008 70); }
.mm-event-date {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--mm-accent);
  min-width: 132px;
}
.mm-event-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.mm-event-name:hover { color: var(--mm-accent-strong); text-decoration: none; }

/* 作品カード */
.mm-work-card {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(340px, 1fr);
  background: white;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  border: 1px solid oklch(90% 0.01 70);
}
.mm-work-img { overflow: hidden; width: 100%; aspect-ratio: 1 / 1; align-self: center; }
.mm-work-img img { width: 100%; height: 100%; object-fit: contain; }
.mm-work-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.mm-work-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--mm-ink);
  margin-bottom: 10px;
}
.mm-work-desc { font-size: 14px; line-height: 1.8; color: oklch(42% 0.015 60); margin-bottom: 16px; }
.mm-work-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.mm-tag { font-size: 14px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }
.mm-tag-pink { color: oklch(50% 0.17 20); background: oklch(93% 0.025 20); }
.mm-tag-orange { color: oklch(58% 0.11 70); background: oklch(94% 0.03 75); }
.mm-tag-blue { color: oklch(48% 0.09 230); background: oklch(93% 0.02 230); }

/* サークルメンバー */
.mm-member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mm-member-card {
  background: white;
  border: 1px solid oklch(90% 0.01 70);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}
.mm-member-photo { width: 88px; height: 88px; margin: 0 auto; border-radius: 999px; object-fit: cover; display: block; }
.mm-member-name { font-size: 13px; font-weight: 700; margin-top: 14px; }
.mm-member-role { font-size: 12px; color: oklch(52% 0.015 60); margin-top: 4px; }
.mm-member-links { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mm-member-icon-x { width: 13px; height: 13px; }
.mm-member-icon-note { width: 16px; height: 13px; }
.mm-member-sites { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mm-member-site-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--mm-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.mm-member-site-link:hover { color: var(--mm-accent-strong); text-decoration: none; }

/* SNS 誘導 */
.mm-sns-cards-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.mm-sns-heading { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 700; font-size: 24px; margin: 0 0 12px; text-align: center; line-height: 1.5; }
.mm-sns-card {
  display: flex; align-items: center; gap: 14px;
  background: white;
  border: 1px solid oklch(90% 0.01 70);
  border-radius: 14px;
  padding: 18px 28px;
  color: var(--mm-ink);
  min-width: 236px;
  transition: transform 0.3s var(--mm-ease), box-shadow 0.3s var(--mm-ease), border-color 0.3s var(--mm-ease);
}
.mm-sns-card:hover {
  color: var(--mm-ink);
  transform: translateY(-3px);
  border-color: oklch(86% 0.02 40);
  box-shadow: 0 12px 26px oklch(24% 0.015 60 / 0.12);
}
.mm-sns-icon {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--mm-ease);
}
.mm-sns-card:hover .mm-sns-icon { transform: scale(1.08); }
.mm-sns-icon-x { background: #000; }
.mm-sns-icon-note { background: #000; }
.mm-sns-card-icon-x { width: 18px; height: 18px; }
.mm-sns-card-icon-note { width: 22px; height: 22px; }
.mm-sns-card-title { display: block; font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 700; font-size: 15px; }
.mm-sns-card-desc { display: block; font-size: 12px; color: oklch(52% 0.015 60); margin-top: 3px; }

/* お問い合わせ */
.mm-contact { text-align: center; }
.mm-contact-title { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 700; font-size: 24px; margin: 0 0 12px; line-height: 1.5; }
.mm-contact-desc { font-size: 13px; color: oklch(52% 0.015 60); margin: 0 0 16px; line-height: 1.8; }
.mm-contact-mail {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--mm-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  word-break: break-all;
}
.mm-contact-mail:hover { color: var(--mm-accent-strong); text-decoration: none; }

/* フッター */
.mm-footer {
  border-top: 1px solid oklch(90% 0.01 70);
  padding: 24px 32px;
  text-align: center;
  font-size: 12px;
  color: oklch(55% 0.01 60);
}

@media (max-width: 640px) {
  .mm-hero-slide { flex-direction: column !important; text-align: center; gap: 24px !important; padding-left: 20px !important; padding-right: 20px !important; }
  .mm-hero-slide img, .mm-hero-slide image-slot { width: 70% !important; max-width: 340px !important; height: auto !important; aspect-ratio: 1 / 1; }
  .mm-hero-slide h1 { font-size: 26px !important; }
  .mm-hero-slide p { font-size: 12px !important; text-align: left !important; }
  .mm-hero-slide > div { max-width: 100% !important; }
  .mm-hero-slide .mm-btn-row { justify-content: center !important; }
  .mm-section { padding-left: 20px !important; padding-right: 20px !important; }
  .mm-work-card { grid-template-columns: 1fr !important; }
  .mm-work-card image-slot { height: auto !important; aspect-ratio: 1 / 1; }
  .mm-header-inner { padding-top: 14px !important; padding-bottom: 14px !important; }
  .mm-member-grid { grid-template-columns: 1fr !important; }
  .mm-member-photo { width: 104px !important; height: 104px !important; }
  .mm-member-name { font-size: 17px !important; margin-top: 16px !important; }
  .mm-member-role { font-size: 14px !important; }
  .mm-member-links { gap: 14px !important; margin-top: 14px !important; }
  .mm-social-sm { width: 34px !important; height: 34px !important; }
  .mm-member-icon-x { width: 16px !important; height: 16px !important; }
  .mm-member-icon-note { width: 19px !important; height: 16px !important; }
  .mm-member-sites { gap: 8px !important; margin-top: 14px !important; }
  .mm-member-site-link { font-size: 15px !important; }
  .mm-desktop-nav { display: none !important; }
  .mm-mobile-menu { display: flex !important; top: 9px !important; right: 20px !important; }
  .mm-work-title { font-size: 22px !important; }
  .mm-event-row { gap: 2px !important; }
  .mm-event-row > span:first-child { min-width: 100% !important; }
  .mm-sns-heading { font-size: 19px !important; }
  .mm-sns-card { width: 100%; min-width: 0 !important; box-sizing: border-box; }
  .mm-contact-title { font-size: 19px !important; }
  .mm-contact-mail { font-size: 16px !important; }
  html { scroll-padding-top: 72px; }
}

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