/* ==========================================================
   KADA — 대한치과경영학회
   Dedicated mobile stylesheet (separate mobile pages under /m/)
   ========================================================== */

:root {
  --paper: #FAF7F1;
  --paper-2: #F1EDE4;
  --ink: #10201C;
  --ink-soft: #3C4B47;
  --deep: #0E3B33;
  --deep-2: #0A2C26;
  --mint: #9FE8D2;
  --coral: #FF6A3D;
  --line: rgba(16, 32, 28, 0.14);
  --line-light: rgba(250, 247, 241, 0.18);
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px; /* bottom nav */
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { padding: 0 22px; }

::selection { background: var(--mint); color: var(--deep-2); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- top bar ---------- */
.m-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 18px;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
  color: var(--paper);
}
.m-header.scrolled {
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.m-logo { display: flex; align-items: center; gap: 9px; }
.m-logo .mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--deep-2);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  transition: 0.3s;
}
.m-logo .mark.logo-image {
  display: block;
  background: transparent !important;
  object-fit: contain;
}
.m-header.scrolled .m-logo .mark { background: var(--deep); color: var(--mint); }
.m-logo b { font-size: 14.5px; font-weight: 800; letter-spacing: -0.3px; }

.m-header-right { display: flex; align-items: center; gap: 10px; }
.m-lang {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 5px 12px;
  opacity: 0.9;
}
.m-menu-btn {
  width: 40px; height: 40px;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.m-menu-btn span {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.m-menu-btn span:nth-child(1) { transform: translateY(-7px); }
.m-menu-btn span:nth-child(2) { transform: translateY(0); }
.m-menu-btn span:nth-child(3) { transform: translateY(7px); }
body.menu-open .m-menu-btn span:nth-child(1) { transform: translateY(0) rotate(45deg); }
body.menu-open .m-menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .m-menu-btn span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
body.menu-open .m-header { color: var(--paper); background: none; box-shadow: none; }
body.menu-open .m-header .m-logo .mark { background: var(--mint); color: var(--deep-2); }

/* ---------- fullscreen menu ---------- */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--deep-2);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 30px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
body.menu-open .m-menu { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.m-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.5s;
}
.m-menu nav a small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
}
body.menu-open .m-menu nav a { transform: none; opacity: 1; }
body.menu-open .m-menu nav a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .m-menu nav a:nth-child(2) { transition-delay: 0.13s; }
body.menu-open .m-menu nav a:nth-child(3) { transition-delay: 0.18s; }
body.menu-open .m-menu nav a:nth-child(4) { transition-delay: 0.23s; }
body.menu-open .m-menu nav a:nth-child(5) { transition-delay: 0.28s; }
body.menu-open .m-menu nav a:nth-child(6) { transition-delay: 0.33s; }
body.menu-open .m-menu nav a:nth-child(7) { transition-delay: 0.38s; }
.m-menu .m-menu-foot {
  margin-top: 34px;
  font-size: 13px;
  color: rgba(250, 247, 241, 0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-menu .m-menu-foot a { color: var(--mint); font-weight: 600; }

/* ---------- hero ---------- */
.m-hero {
  position: relative;
  min-height: 100svh;
  background: var(--deep-2);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 26px 90px;
  overflow: hidden;
}
.m-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 40% at 90% 8%, rgba(159, 232, 210, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(255, 106, 61, 0.12), transparent 55%);
}
.m-hero-year {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 180px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(159, 232, 210, 0.22);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.m-hero > * { position: relative; }
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
}
.m-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--mint); }
.m-hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.m-hero h1 em { font-style: normal; color: var(--mint); }
.m-hero .sub {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(250, 247, 241, 0.78);
}
.m-hero .ctas { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.m-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  transition: transform 0.2s;
}
.m-btn:active { transform: scale(0.97); }
.m-btn-primary { background: var(--coral); color: #fff; }
.m-btn-ghost { border: 1.5px solid rgba(250, 247, 241, 0.4); color: var(--paper); }
.m-btn-dark { background: var(--deep); color: var(--paper); }
.m-btn-white { background: #fff; color: var(--coral); }
.m-journal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--mint);
  color: var(--deep-2);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--deep-2);
  border-bottom: 1px solid var(--deep-2);
}
.marquee-track { display: flex; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  padding: 0 18px;
  display: flex; align-items: center; gap: 36px;
}
.marquee span::after { content: "✚"; font-size: 11px; color: var(--coral); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ---------- sections ---------- */
.m-section { padding: 68px 22px; }
.m-section-head { margin-bottom: 34px; }
.m-section-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
  display: block;
  margin-bottom: 8px;
}
.m-section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.m-section-title .en {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* about */
.m-big {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.m-big mark { background: linear-gradient(transparent 62%, var(--mint) 62%); color: inherit; }
.m-body { color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.m-body p + p { margin-top: 14px; }

.m-pillars { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.m-pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  position: relative;
}
.m-pillar .icon { font-size: 26px; margin-bottom: 14px; display: block; }
.m-pillar h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.m-pillar p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.m-pillar .tag {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  line-height: 1;
}

/* activities dark */
.m-section-dark {
  background: var(--deep-2);
  color: var(--paper);
  border-radius: 32px;
  margin: 0 12px;
  padding: 60px 24px;
}
.m-section-dark .m-section-title .en { color: rgba(250, 247, 241, 0.55); }
.m-acts { display: flex; flex-direction: column; gap: 13px; }
.m-act {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 24px 22px;
}
.m-act small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 6px;
}
.m-act h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.m-act p { font-size: 13.5px; color: rgba(250, 247, 241, 0.72); line-height: 1.8; margin-top: 8px; }

/* conference history timeline (activities) */
.act-toggle { cursor: pointer; }
.act-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--coral);
}
.act-more .arr { transition: transform 0.35s; font-size: 10px; }
.act-toggle.open .act-more .arr { transform: rotate(180deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s, margin-top 0.5s, margin-bottom 0.5s;
}
.acc-panel.open { max-height: 3600px; opacity: 1; margin-top: 13px; }
/* m-acts 내부: gap 대신 margin으로 간격 처리 (닫힌 패널이 이중 간격을 만들지 않도록) */
.m-acts { gap: 0; }
.m-acts > .m-act { margin-bottom: 13px; }
.m-acts > *:last-child { margin-bottom: 0; }
.m-acts .acc-panel.open { margin-top: 0; margin-bottom: 13px; }
.acc-inner {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 22px 20px;
  background: rgba(159, 232, 210, 0.04);
}
.conf-tl-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 4px;
}
.conf-item { padding: 24px 0; border-top: 1px solid var(--line-light); }
.conf-item:first-of-type { border-top: none; }
.conf-year {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--mint);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.conf-body h4 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 6px;
}
.conf-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 12px;
}
.conf-talks { display: flex; flex-direction: column; gap: 6px; }
.conf-talks li {
  position: relative;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(250, 247, 241, 0.72);
  padding-left: 14px;
  list-style: none;
}
.conf-talks li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---------- 학회활동 갤러리 ---------- */
.gallery-block { margin-top: 36px; }
.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.gallery-more { font-size: 11.5px; font-weight: 700; letter-spacing: 0.8px; color: var(--mint); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-card {
  display: block;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(250, 247, 241, 0.05);
}
.g-card .g-img { aspect-ratio: 4 / 3; overflow: hidden; }
.g-card .g-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-card .g-cap {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 9px 11px 11px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(250, 247, 241, 0.8);
}

/* ---------- 덴탈아리랑 기고 배너 (주요활동, 갤러리 하단) ---------- */
.press-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 16px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(159, 232, 210, 0.08), rgba(255, 106, 61, 0.06));
}
.press-banner .pb-strip { display: flex; flex-shrink: 0; }
.press-banner .pb-strip img {
  width: 42px; height: 56px; object-fit: cover; object-position: top;
  border-radius: 6px; border: 2px solid var(--deep-2);
  margin-left: -16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.press-banner .pb-strip img:first-child { margin-left: 0; }
.press-banner .pb-body { flex: 1; min-width: 0; }
.press-banner .pb-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--mint); margin-bottom: 5px;
}
.press-banner .pb-title { font-family: var(--serif); font-size: 16px; font-weight: 900; letter-spacing: -0.02em; color: var(--paper); line-height: 1.35; }
.press-banner .pb-desc { margin-top: 5px; font-size: 11.5px; color: rgba(250, 247, 241, 0.7); line-height: 1.6; }
.press-banner .pb-arrow {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px;
  background: var(--coral); color: #fff;
}

/* ---------- board (분기별 집담회 게시판) ---------- */
.board { margin-top: 12px; }
.board-item { border-top: 1px solid var(--line-light); cursor: pointer; }
.board-item:first-child { border-top: none; }
.board-item .bi-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 2px;
}
.board-item .bi-title { font-size: 13.5px; font-weight: 600; color: var(--paper); line-height: 1.5; }
.board-item .bi-date { font-size: 11px; color: rgba(250, 247, 241, 0.5); }
.board-item .bi-body {
  display: none;
  padding: 0 2px 16px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(250, 247, 241, 0.75);
  white-space: pre-line;
}
.board-item.open .bi-body { display: block; }
.board-item.open .bi-title { color: var(--mint); }
.board-empty { padding: 20px 2px; font-size: 12.5px; color: rgba(250, 247, 241, 0.55); }
/* 자세히 보기 안내 */
.bi-more {
  display: inline-flex;
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
}
.bi-more .wo { display: none; }
.board-item.open .bi-more .wc { display: none; }
.board-item.open .bi-more .wo { display: inline; }

/* 사진 첨부 게시글: 좌측 1/3 이미지 + 우측 2/3 내용 */
.board-item.has-img {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
  align-items: center;
  padding: 14px 2px;
}
.board-item.has-img .bi-head { padding: 0 0 6px; }
.board-item.has-img .bi-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.board-item.has-img .bi-body { padding: 0; }
.bi-img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(250, 247, 241, 0.06);
  cursor: zoom-in;
}
.bi-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.board-pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.board-pager button {
  min-width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line-light);
  background: none;
  color: rgba(250, 247, 241, 0.7);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.board-pager button.on { background: var(--mint); color: var(--deep-2); border-color: var(--mint); }
.board-pager button:disabled { opacity: 0.35; }

/* history */
.m-timeline { position: relative; padding-left: 26px; }
.m-timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.m-tl { position: relative; padding-bottom: 36px; }
.m-tl:last-child { padding-bottom: 0; }
.m-tl::before {
  content: "";
  position: absolute;
  left: -25px; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--coral);
}
.m-tl .year { font-family: var(--serif); font-weight: 900; font-size: 22px; color: var(--deep); }
.m-tl h3 { font-size: 16px; font-weight: 800; margin: 5px 0 4px; }
.m-tl p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.75; }

/* leadership */
.m-people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-person {
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  min-height: 240px;
}
.m-person.chair { grid-column: 1 / -1; min-height: 200px; }
.m-person .flip-inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.m-person.flipped .flip-inner { transform: rotateY(180deg); }
.m-person .flip-front,
.m-person .flip-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}
.m-person .flip-front { background: #fff; border: 1px solid var(--line); }
.m-person.chair .flip-front { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.m-person .flip-back {
  transform: rotateY(180deg);
  background: #43494B;
  color: #EDEAE3;
  overflow-y: auto;
}
.m-person .role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.m-person.chair .role { color: var(--mint); }
.m-person .name { font-family: var(--serif); font-size: 21px; font-weight: 900; }
.m-person .desc { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.65; }
.m-person.chair .desc { color: rgba(250, 247, 241, 0.7); }
.m-person .flip-hint {
  margin-top: auto;
  padding-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--coral);
}
.m-person.chair .flip-hint { color: var(--mint); }
.m-person .back-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
  flex-shrink: 0;
}
.m-person .bio { list-style: none; }
.m-person .bio li {
  position: relative;
  font-size: 11.5px;
  line-height: 1.55;
  padding: 3px 0 3px 12px;
}
.m-person .bio li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--coral);
}
.m-lead-note { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* mobile leadership subsections */
.m-lead-sub { margin-top: 40px; }
.m-lead-subhead {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 800; color: var(--deep);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.m-lead-subhead::before { content: ""; width: 22px; height: 2px; background: var(--coral); flex-shrink: 0; }
.m-lead-subhead .en {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-soft);
}
.m-advisor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-advisor {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px;
}
.m-advisor .name { font-family: var(--serif); font-size: 19px; font-weight: 900; letter-spacing: -0.02em; }
.m-advisor .role {
  display: block; margin-top: 4px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--coral);
}
.m-director-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.m-director {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px;
}
.m-director .name { font-family: var(--serif); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.m-director .role { margin-top: 3px; font-size: 10.5px; color: var(--coral); font-weight: 600; line-height: 1.4; }
.m-director .role.plain { color: var(--ink-soft); }

/* journal */
.m-journal-band { background: var(--paper-2); border-radius: 32px; margin: 0 12px; padding: 60px 24px; }
.m-journal-cover {
  aspect-ratio: 3 / 4;
  max-width: 250px;
  margin: 0 auto 34px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  color: var(--paper);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 14px 20px 44px rgba(16, 32, 28, 0.22);
  transform: rotate(-2deg);
}
.m-journal-cover::after {
  content: "✚";
  position: absolute;
  right: -22px; bottom: -34px;
  font-size: 150px;
  color: rgba(159, 232, 210, 0.12);
  line-height: 1;
}
.m-journal-cover .kci {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--mint);
  color: var(--mint);
}
.m-journal-cover .j-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.4;
}
.m-journal-cover .j-title small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(250, 247, 241, 0.6);
  margin-top: 10px;
  text-transform: uppercase;
}
.m-journal-info h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.m-journal-info p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }
.m-journal-points { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.m-journal-points li { display: flex; gap: 11px; align-items: center; font-size: 14px; font-weight: 600; }
.m-journal-points li::before {
  content: "✓";
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--deep-2);
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* membership */
.m-member { background: var(--coral); border-radius: 32px; margin: 0 12px; padding: 60px 24px; color: #fff; }
.m-member h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.m-member .lead { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.9); }
.m-benefits { margin: 26px 0; display: flex; flex-direction: column; gap: 11px; }
.m-benefit {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.m-benefit .b-ico { font-size: 22px; }
.m-benefit b { display: block; font-size: 14.5px; }
.m-benefit span { font-size: 12px; opacity: 0.85; }

/* notice */
.m-notice-list { border-top: 1.5px solid var(--ink); }
.m-notice {
  display: block;
  width: 100%;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.m-notice.is-open { background: rgba(255,255,255,.55); }
.m-notice:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
.m-notice .row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.m-notice .cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
}
.m-notice .d { font-size: 11.5px; color: var(--ink-soft); }
.m-notice .t { font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.m-notice-list > .notice-body {
  padding: 0 4px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.8;
}
.m-notice-list > .notice-body p { white-space: pre-line; }
.m-notice-list > .notice-body .notice-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

/* footer */
.m-footer {
  margin-top: 60px;
  background: var(--ink);
  color: var(--paper);
  padding: 52px 24px 40px;
  overflow: hidden;
}
.m-footer .giant {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 15vw;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 247, 241, 0.16);
  white-space: nowrap;
  margin-bottom: 36px;
  user-select: none;
}
.m-footer h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.5);
  margin: 28px 0 12px;
}
.m-footer .f-brand b { font-size: 16px; font-weight: 800; }
.m-footer .f-brand p { margin-top: 10px; font-size: 13px; color: rgba(250, 247, 241, 0.65); line-height: 1.8; }
.m-footer li { margin-bottom: 9px; font-size: 14px; }
.m-footer li a { color: rgba(250, 247, 241, 0.85); }
.m-footer .copy {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 11.5px;
  color: rgba(250, 247, 241, 0.45);
  line-height: 1.7;
}
.m-footer .copy a { color: var(--mint); }

/* ---------- bottom tab bar ---------- */
.m-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.m-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 4px 0;
}
.m-tabbar a .ico { font-size: 19px; line-height: 1; }
.m-tabbar a.cta { color: var(--coral); }
