/* =========================================================================
   MyTutor — Accounting English course page
   Clear Professional layout; scoped under .acc on the accounting-english page.
   Uses global --mt-* tokens from css/main.css for buttons and chips.
   ========================================================================= */

@media (min-width: 769px) {
  .accounting-english-page #wrap {
    min-width: 0;
  }

  .accounting-english-page #container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
}

.accounting-english-page .acc {
  margin-bottom: 0;
}

.acc {
  --ink: #172033;
  --muted: #657084;
  --line: #DFE5EE;
  --paper: #FFFFFF;
  --canvas: #F4F6FA;
  --navy-950: #031B68;
  --navy-800: #1E2D6E;
  --navy-700: #263A8A;
  --purple-700: #6C4DA4;
  --purple-100: #F1EDFB;
  --teal-600: #158A9A;
  --gold-500: #C99A2E;
  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow-soft: 0 14px 40px rgba(20, 32, 62, 0.12);
  --shadow-tight: 0 8px 24px rgba(20, 32, 62, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  color-scheme: light;
  box-sizing: border-box;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.acc *, .acc *::before, .acc *::after { box-sizing: inherit; }
.acc p, .acc h1, .acc h2, .acc h3, .acc ul, .acc ol, .acc figure { margin: 0; padding: 0; }
.acc ul, .acc ol { list-style: none; }
.acc img { max-width: 100%; display: block; }
.acc a:not([class*="acc-btn"]) { color: inherit; }

.acc .mt-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(3, 27, 104, 0.12);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-tight);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.acc .mt-card:hover {
  border-color: rgba(3, 27, 104, 0.22);
  box-shadow: 0 12px 28px rgba(20, 32, 62, 0.14);
}
.acc .tag {
  display: inline-flex; align-items: center;
  padding: 4px 9px; border: 0; border-radius: 999px;
  background: var(--purple-100); color: var(--navy-800);
  font-size: 10.5px; font-weight: 700; line-height: 1.25; white-space: nowrap;
}
.acc .tag--specialty { background: #E8F5F7; color: var(--teal-600); }

.acc-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.acc-section { padding: 56px 0; }
.acc-section--canvas { background: var(--canvas); }
.acc-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple-700); display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
}
.acc-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple-700); display: inline-block; }
.acc-h2 { font-size: 25px; line-height: 1.3; font-weight: 700; color: var(--navy-950); margin-bottom: 14px; }
.acc-lead { color: var(--muted); font-size: 16px; max-width: 62ch; }

.acc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; padding: 13px 24px; border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease;
}
.acc-btn--primary,
.acc-btn--primary:link,
.acc-btn--primary:visited {
  background: var(--mt-navy-800, #1e2d6e);
  border: 1px solid var(--mt-navy-800, #1e2d6e);
  color: #fff;
}
.acc-btn--primary:hover {
  background: #2d3f94;
  border-color: #2d3f94;
  color: #fff;
  text-decoration: none;
}
.acc-btn--ghost,
.acc-btn--ghost:link,
.acc-btn--ghost:visited {
  background: transparent;
  color: var(--mt-navy-800, #1e2d6e);
  border: 1.5px solid var(--mt-line, #dfe5ee);
}
.acc-btn--ghost:hover {
  border-color: var(--mt-navy-800, #1e2d6e);
  color: var(--mt-navy-800, #1e2d6e);
  text-decoration: none;
}

.acc-ph {
  background: var(--canvas);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; padding: 18px; color: var(--muted);
}
.acc-ph__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-700); }
.acc-ph__label { font-size: 13px; line-height: 1.5; }
.acc-ph--43 { aspect-ratio: 4 / 3; }
.acc-ph--media { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.acc-ph--photo { width: 84px; height: 84px; border-radius: 50%; flex: none; padding: 8px; }

.acc-hero { background: var(--canvas); padding: 38px 0 46px; }
.acc-hero__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-700); }
.acc-hero__title { font-size: 30px; line-height: 1.22; font-weight: 700; color: var(--navy-950); margin: 10px 0 6px; }
.acc-hero__title-en { display: block; font-size: 16px; font-weight: 700; color: var(--purple-700); margin-top: 6px; }
.acc-hero__lead { color: var(--muted); font-size: 16px; margin-bottom: 20px; max-width: 56ch; }
.acc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.acc-chip { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.acc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.acc-hero__media { margin-top: 26px; }
.acc-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
}

.acc-grid { display: grid; gap: 14px; margin-top: 22px; }
.acc-shot-link {
  display: block;
  cursor: zoom-in;
  text-decoration: none;
}
.acc-shot-link:hover .acc-shot,
.acc-shot-link:hover img {
  opacity: 0.92;
}
.acc-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: opacity 0.15s ease;
}

.acc-feat { padding: 22px; }
.acc-feat__num {
  width: 30px; height: 30px; border-radius: var(--radius-md); background: var(--purple-100); color: var(--navy-800);
  font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.acc-feat__h { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--navy-950); margin-bottom: 7px; }
.acc-feat__b { font-size: 14.5px; color: var(--muted); }

.acc-scenes { display: grid; gap: 12px; margin: 20px 0; }
.acc-scene {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md); padding: 15px 18px; font-weight: 600; font-size: 15px;
}
.acc-scene__i { color: var(--teal-600); font-weight: 800; flex: none; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.acc-pillar__body { padding: 20px 22px; }
.acc-pillar__h { font-size: 17px; font-weight: 700; color: var(--navy-950); margin-bottom: 7px; line-height: 1.4; }
.acc-pillar__b { font-size: 14.5px; color: var(--muted); }

.acc p.acc-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  background: var(--purple-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  line-height: 1.65;
}
.acc p.acc-note--span {
  grid-column: 1 / -1;
  margin-top: 0;
}
.acc p.acc-note strong { color: var(--navy-950); }

.acc-step { margin-top: 22px; }
.acc-step__label {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #fff;
  background: var(--navy-800); padding: 4px 11px; border-radius: var(--radius-sm); margin-bottom: 6px;
}
.acc-step__title { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.acc-modlist { display: grid; gap: 9px; }
.acc-mod {
  display: flex; gap: 12px; align-items: baseline;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 13px 16px;
}
.acc-mod__n { font-weight: 800; color: var(--navy-700); font-size: 14px; flex: none; min-width: 78px; }
.acc-mod__t { font-size: 14.5px; font-weight: 600; }
.acc-mod__t span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }

.acc-suppl { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.acc-deepdive { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.acc-deepdive__h { font-size: 14.5px; font-weight: 700; color: var(--navy-950); margin-bottom: 14px; line-height: 1.5; }
.acc-deepdive__h span { color: var(--purple-700); }
.acc-lessons { display: grid; gap: 8px; }
.acc-lesson { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; }
.acc-lesson__n {
  flex: none; width: 24px; height: 24px; border-radius: var(--radius-sm); background: var(--purple-100);
  color: var(--navy-800); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}

.acc p.acc-sample__cap {
  padding: 18px 20px 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.acc p.acc-sample__cap strong { color: var(--ink); font-weight: 700; }

.acc-tutor { padding: 22px; }
.acc-tutor__head { display: flex; gap: 15px; align-items: center; margin-bottom: 12px; }
.acc-tutor__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: block;
  border: 1px solid var(--line);
}
.acc-tutor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.acc-tutor__name { font-size: 18px; font-weight: 800; color: var(--navy-950); }
.acc-tutor__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.acc-tutor__b { font-size: 14.5px; color: var(--muted); }

@media (min-width: 640px) {
  .acc-section { padding: 72px 0; }
  .acc-hero { padding: 48px 0 56px; }
  .acc-hero__title { font-size: 44px; }
  .acc-hero__title-en { font-size: 18px; }
  .acc-h2 { font-size: 30px; }
  .acc-grid--2 { grid-template-columns: 1fr 1fr; }
  .acc-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .acc-scenes { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .acc * { transition: none !important; } }
.acc :where(a, button):focus-visible { outline: 3px solid var(--navy-700); outline-offset: 2px; border-radius: 6px; }
.acc [id] { scroll-margin-top: 80px; }
