@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;700&display=swap');

/* 마도 일본어 클럽 (가상 브랜드) 스타일 기준 */
:root {
  --ai: #24305e;        /* 藍 남색: 주 색, 주 버튼, 제목 */
  --ai-deep: #1a2347;   /* 푸터 바탕 */
  --ai-soft: #e9ecf6;   /* 남색 옅은 면 */
  --yama: #e3a72f;      /* 山吹 노랑: 모집 중·현재 레벨 표시에만 */
  --yama-soft: #fbf1db;
  --ink: #1d2233;       /* 본문 글자 */
  --ink-2: #545b6e;     /* 보조 글자 */
  --ink-3: #8b91a1;     /* 캡션 */
  --line: #dfe2ea;
  --surface: #f5f6f9;   /* 구역 바탕 */
  --white: #ffffff;
  --sans: 'Pretendard', 'Malgun Gothic', sans-serif;
  --jp: 'Shippori Mincho', 'Yu Mincho', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--white); }
body { font-family: var(--sans); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yama); outline-offset: 3px; }
.jp { font-family: var(--jp); font-weight: 500; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 샘플 표시 띠 */
.sample-bar { background: var(--ink); color: #c9cdd8; font-size: 12px; text-align: center; padding: 6px 16px; letter-spacing: .01em; }

/* GNB */
.gnb { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.gnb .wrap { display: flex; align-items: center; height: 72px; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ai); letter-spacing: -.02em; }
.seal { width: 34px; height: 34px; border: 2px solid var(--ai); border-radius: 4px; display: grid; place-items: center; font-family: var(--jp); font-weight: 700; font-size: 19px; line-height: 1; color: var(--ai); }
.gnb nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.gnb nav a.on { color: var(--ai); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ai); padding-bottom: 24px; margin-bottom: -26px; }
.gnb .right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--ink-2); }
.menu-btn { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 6px; font-size: 16px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.primary { background: var(--ai); color: #fff; }
.btn.line { border-color: #b9bfd0; color: var(--ai); background: var(--white); }
.btn.yellow { background: var(--yama); color: var(--ai-deep); }

/* 빠른 상담 (화면 오른쪽 아래 고정) */
.quick { position: fixed; right: 28px; bottom: 28px; z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.quick a { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; box-shadow: 0 6px 18px rgba(26,35,71,.22); }
.quick .q1 { background: var(--ai); color: #fff; }
.quick .q2 { background: var(--white); color: var(--ai); border: 1px solid var(--line); }
.m-bar { display: none; }

/* 공통 구역 */
section.blk { padding: 104px 0; }
section.blk.tint { background: var(--surface); }
.h2 { font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: -.025em; color: var(--ai); }
.sub { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.more { font-size: 15px; font-weight: 600; color: var(--ai); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 3px; background: var(--yama-soft); color: #8a5a00; }
.tag.navy { background: var(--ai-soft); color: var(--ai); }

/* 사진 자리 */
.ph { background: repeating-linear-gradient(135deg, #e4e7ee 0 12px, #eceef3 12px 24px); border-radius: 6px; display: grid; place-items: center; color: var(--ink-3); font-size: 13px; text-align: center; padding: 12px; }

/* 푸터 */
footer { background: var(--ai-deep); color: #aeb5cc; font-size: 14px; padding: 64px 0 48px; }
footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #333d66; }
footer .logo { color: #fff; }
footer .logo .seal { border-color: #fff; color: #fff; }
footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
footer li { list-style: none; margin-bottom: 8px; }
footer .bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: #8790ab; }

/* 일본어 문장은 띄어쓰기가 없어 keep-all이면 줄바꿈이 안 됨 → 일본어 규칙으로 줄바꿈 */
.jp, .say, .jp-name, .quote, td.jp { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
