/* =========================================
   ONLINE GUITAR LESSON / STYLE GUIDE
   Main background  #F8F7F3
   Text             #252B2D
   Accent           #245F68
   Soft accent      #C58C5A
   ========================================= */

:root {
  color-scheme: light;
  --bg: #F8F7F3;
  --text: #252B2D;
  --accent: #245F68;
  --accent-dark: #194951;
  --muted: #596461;
  --line: #E5E2DA;
  --soft: #F1F0EA;
  --card: #FFFFFF;
  --sand: #C58C5A;
  --container: 1100px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-height: 1.8; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #C58C5A; outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 52px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 12px; background: white; color: var(--accent); padding: 9px 14px; border: 1px solid var(--accent); }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248,247,243,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { text-decoration: none; display: flex; flex-direction: column; white-space: nowrap; line-height: 1.35; }
.brand-title { font-family: Arial, Helvetica, sans-serif; font-size: 23px; letter-spacing: .045em; font-weight: 750; color: var(--text); }
.brand-dot { color: var(--sand); }
.brand-sub { font-size: 11px; letter-spacing: .18em; font-weight: 650; color: #6E7873; padding-top: 4px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.65vw, 26px); }
.site-nav > a { flex-shrink: 0; text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.4; color: #414B49; transition: color .2s ease; white-space: nowrap; }
.site-nav > a:hover { color: var(--accent); }
.site-nav > a.nav-contact { color: #fff; background: var(--accent); padding: 12px 15px; border-radius: 7px; }

@media (hover: hover) and (pointer: fine) {
  .site-nav > a.nav-contact:hover {
    background: var(--accent-dark);
  }
}


/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero-copy { padding: 12px 0; }
.eyebrow { color: var(--accent); font-family: Arial, "Hiragino Kaku Gothic ProN", sans-serif; font-size: 12px; letter-spacing: .125em; font-weight: 740; margin: 0 0 22px; line-height: 1.5; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(37px, 4.4vw, 57px); font-weight: 690; line-height: 1.42; letter-spacing: -.055em; margin-bottom: 24px; }
h2 { font-size: clamp(25px, 2.7vw, 33px); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; margin-bottom: 19px; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.55; }
.hero-description { font-size: 16px; line-height: 2.05; color: #4B5551; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 23px; flex-direction: column; align-items: flex-start; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 13px 20px; font-size: 14px; font-weight: 690; text-align: center; text-decoration: none; line-height: 1.5; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-outline {
  color: var(--accent);
  background: transparent;
  border-color: var(--accent);
}

/* マウス操作ができる端末のみホバーを有効化 */
@media (hover: hover) and (pointer: fine) {
  .button:hover:not(:disabled) {
    transform: translateY(-1px);
  }

  .button-primary:hover:not(:disabled) {
    background: var(--accent-dark);
  }

  .button-outline:hover {
    background: #EDF3F1;
  }
}

.button:disabled { cursor: not-allowed; opacity: .62; }
.text-link { text-decoration: none; color: var(--accent); font-size: 14px; font-weight: 690; border-bottom: 1px solid #AAC2C1; padding-bottom: 3px; }
.text-link:hover { border-bottom-color: var(--accent); }
.hero-small { color: #71807A; font-size: 12px; letter-spacing: .04em; margin: 24px 0 0; }
.hero-media { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 34px rgba(46, 52, 44, .09); background: #DCD6C8; aspect-ratio: 1.1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bottom { display: flex; justify-content: center; align-items: center; gap: 18px; padding-bottom: 28px; color: #83908A; font-size: 11px; letter-spacing: .12em; }
.small-line { width: 50px; height: 1px; background: #C8CFCA; }

/* Sections */
.section { padding: 94px 0; scroll-margin-top: 95px; }
.section-tint { background: #F1F0EB; }
.section-intro { max-width: 700px; margin-bottom: 43px; }
.section-lead { font-size: 15px; line-height: 2.05; color: #53605A; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { background: var(--card); padding: 30px 29px; border: 1px solid #E7E7E0; border-radius: 12px; }
.feature-number { font-family: Arial,sans-serif; font-size: 13px; color: var(--accent); font-weight: 730; }
.feature-card h3 { margin-top: 20px; margin-bottom: 12px; font-size: 20px;}
.feature-card p { margin-bottom: 0; font-size: 14px; line-height: 1.95; color: #56615C; }
.note-text { color: #777D78; font-size: 12px; margin: 20px 0 0; }
.section-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(38px, 7vw, 110px); align-items: start; }
.section-side .section-lead { max-width: 380px; }

/* Pricing */
.price-card {
  background: #E9F0EC;
  border: 1px solid #DFE8E2;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(30, 60, 50, .04);
}

/* Lesson duration centered */
.price-card .price-overview--single {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 26px;
  padding: 0;
  color: var(--text);
  font-size: 17px;
}

.price-card .price-overview__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

/* スマホ版：レッスン時間の上下位置を調整 */
@media (max-width: 480px) {
  .price-card .price-overview__center {
    position: relative;
    top: 8px;
  }
}

.price-card .price-clock {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.price-card .price-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 9px;
  margin: 0 0 16px;
}

.price-card .price-table thead,
.price-card .price-table caption { display: none; }

.price-card .price-table tbody tr > * {
  width: 50%;
  background: var(--card);
  border: 0;
  padding: 15px 8px;
  vertical-align: middle;
  text-align: center;
}

.price-card .price-table tbody tr > :first-child {
  border-radius: 9px 0 0 9px;
  color: #4E5954;
  font-size: 17px;
  font-weight: 400;
}

.price-card .price-table tbody tr > :last-child {
  border-left: 1px solid #D6E0DA;
  border-radius: 0 9px 9px 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

.price-card .price-detail {
  color: #53645D;
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
  padding: 12px 0 4px;
}

.price-card .price-detail a,
.privacy-note a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.price-card .price-detail a { text-decoration: underline; }

/* Teacher */
.teacher-layout { gap: clamp(38px, 6vw, 78px); }
.teacher-panel { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 27px; align-items: start; }
.teacher-photo-placeholder { min-height: 222px; background: #DBDED6; border-radius: 10px; color: #67736A; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 12px; }
.teacher-copy h3 { margin-bottom: 12px; }
.teacher-copy p { font-size: 14px; line-height: 2; color: #4D5953; margin-bottom: 0px; }
.teacher-copy .teacher-note { color: #717B75; font-size: 12px; }
.notes-section { background: #F8F7F3; }
.notes-copy { padding-top: 8px; }
.notes-copy p { font-size: 15px; color: #505B56; line-height: 2.05; margin-bottom: 20px; }
.notes-copy .button { margin-top: 7px; }
.rule-section { padding: 50px 0; background: #EDEFE9; }
.rules-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rules-strip .eyebrow { margin-bottom: 9px; }
.rules-strip h2 { font-size: 26px; margin-bottom: 10px; }
.rules-strip p:not(.eyebrow) { font-size: 14px; margin-bottom: 0; color: #58625D; }
.rules-strip .button { flex-shrink: 0; }

/* Contact */
.contact-section { padding-top: 105px; padding-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(38px, 8vw, 110px); }
.contact-form { padding: 34px; background: #fff; border: 1px solid #E5E3DC; border-radius: 12px; box-shadow: 0 9px 24px rgba(27, 42, 32, .035); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 23px; }
.field label { font-size: 13px; font-weight: 425; }
.required { font-size: 10px; color: #726653; background: #F4F1E9; border-radius: 3px; padding: 2px 6px; margin-left: 6px; }
.field input, .field textarea { display: block; width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid #DCDDD8; border-radius: 7px; background: #FEFEFD; color: var(--text); font-size: 15px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #969C97; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid #D5E4E1; outline-offset: 1px; }
.privacy-note { margin: 18px 0 20px; font-size: 12px; color: #68726D; }
.button-submit { width: 100%; }
.form-status { min-height: 1.5em; font-size: 12px; color: #53605A; margin: 13px 0 0; }
.form-status--notice { color: #856747; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden; }

/* Subpages */
.page-main { min-height: 70vh; }
.page-hero { padding: 78px 0 43px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(31px, 3.8vw, 44px); margin-bottom: 18px; }
.page-intro { max-width: 720px; color: #57615D; font-size: 15px; }
.breadcrumbs { font-size: 12px; color: #6C7670; margin-bottom: 24px; }
.breadcrumbs a { color: var(--accent); text-underline-offset: 3px; }
.article-wrap { max-width: 770px; padding-top: 63px; padding-bottom: 105px; }
.article-wrap h2 { font-size: 24px; margin: 55px 0 18px; }
.article-wrap h3 { margin: 32px 0 12px; }
.article-wrap p, .article-wrap li { color: #44514A; line-height: 2.1; font-size: 16px; }
.article-wrap ul { padding-left: 1.5em; }
.article-callout { background: #ECF1ED; border-left: 3px solid var(--accent); padding: 19px 23px; border-radius: 0 9px 9px 0; color: #44514A; font-size: 14px; line-height: 1.95; margin: 28px 0; }
.article-bottom { border-top: 1px solid var(--line); margin-top: 65px; padding-top: 28px; }
.draft-warning { background: #F5ECDC; color: #725637; border: 1px solid #EAD9B8; padding: 15px 18px; font-size: 13px; line-height: 1.8; border-radius: 8px; margin: 0 0 30px; }

/* Footer */
.site-footer { padding: 42px 0 17px; border-top: 1px solid var(--line); background: #F3F1EC; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.footer-inner p { color: #6E7972; font-size: 12px; margin: -2px 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { font-size: 12px; text-decoration: none; color: #52605A; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { font: 10px Arial, sans-serif; color: #899089; letter-spacing: .04em; margin-top: 30px; }

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding-top: 14px; padding-bottom: 13px; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 20px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .site-nav > a { font-size: 12px; }
  html { scroll-padding-top: 140px; }
  .section { scroll-margin-top: 140px; }
  .hero { padding-top: 52px; padding-bottom: 50px; }
  .hero-actions { gap: 18px; }
  .teacher-panel { grid-template-columns: 145px minmax(0,1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 36px, var(--container)); }
  .header-inner { min-height: auto; }
  .brand-title { font-size: 17px; }
  .site-header { position: relative; }
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; overflow: visible; padding-bottom: 0; }
  .site-nav > a { white-space: normal; text-align: center; font-size: 13px; padding: 8px 2px; border-radius: 6px; }
  .site-nav > a.nav-contact { padding: 8px 5px; }
  html { scroll-padding-top: 20px; }
  .section { scroll-margin-top: 20px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 31px; padding-top: 44px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 16px; }
  h1 { font-size: clamp(36px, 9.2vw, 46px); margin-bottom: 16px; }
  .hero-description { font-size: 15px; margin-bottom: 25px; }
  .desktop-br { display: none; }
  .hero-actions { gap: 18px; }
  .hero-media { width: 100%; aspect-ratio: 4 / 3; }
  .hero-bottom { padding-bottom: 18px; }
  .section { padding: 68px 0; }
  .section-intro { margin-bottom: 29px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 25px; }
  .feature-card h3 { margin-top: 11px; }
  .section-split { grid-template-columns: 1fr; gap: 23px; }
  .teacher-panel { grid-template-columns: 125px minmax(0,1fr); gap: 17px; }
  .teacher-photo-placeholder { min-height: 160px; }
  .teacher-photo-placeholder svg { width: 48px; height: 48px; }
  .teacher-photo-placeholder span { font-size: 10px; }
  .teacher-copy h3 { font-size: 16px; }
  .rule-section { padding: 40px 0; }
  .rules-strip { flex-direction: column; align-items: flex-start; gap: 21px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { padding: 22px; }
  .page-hero { padding: 53px 0 28px; }
  .article-wrap { padding-top: 38px; padding-bottom: 70px; }
  .article-wrap h2 { font-size: 22px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}

/* Mobile pricing */
@media (max-width: 480px) {
  .price-card { padding: 20px 16px; }
  .price-card .price-overview--single { font-size: 12px; }
  .price-card .price-overview__center { gap: 6px; }
  .price-card .price-clock { width: 18px; height: 18px; }
  .price-card .price-table tbody tr > * { padding: 14px 5px; }
  .price-card .price-table tbody tr > :first-child { font-size: 15px; }
  .price-card .price-table tbody tr > :last-child { font-size: 15px; }
}

@media (max-width: 385px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: start; }
  .teacher-panel { grid-template-columns: 1fr; }
  .teacher-photo-placeholder { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav > a { transition: none; }
}

/* 教材と同じフォントをサイト全体に適用 */
body {
  font-family:
    "Noto Sans CJK JP",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

/* 個別にArialが指定された箇所も統一 */
.brand-title,
.eyebrow,
.feature-number,
.footer-bottom {
  font-family: inherit;
}

/* PCだけ文字サイズを調整 */
@media (min-width: 921px) {

  /* 通常の説明文 */
  .hero-description,
  .section-lead,
  .feature-card p,
  .teacher-copy p:not(.teacher-note),
  .notes-copy p,
  .rules-strip p:not(.eyebrow),
  .page-intro {
    font-size: 17px;
    font-weight: 400;
  }
   
   /* PC版：通常のボタンの文字サイズ */
.button {
  font-size: 15px;
}

  /* 補足説明・注意書き */
  .hero-small,
  .note-text,
  .teacher-copy .teacher-note,
  .price-card .price-detail,
  .contact-small,
  .privacy-note,
  .breadcrumbs,
  .footer-links a,
  .form-status {
    font-size: 17px;
  }
   
/* PC版：「ギターを、最高に楽しむ。」の文字サイズ */
.hero-bottom {
  font-size: 13px;
}
   
/* PC版：フッターのキャッチコピー */
.footer-inner p {
  font-size: 13px;
}

/* 英字見出し */
.eyebrow {
  font-size: 14px;
  font-weight: 800;
}

  /* 01 02 03の番号のみ調整 */
  .feature-number {
    font-size: 18px;
    font-weight: 500;
  }

   /* 問い合わせフォーム各項目の文字サイズと間隔 */
  .field label {
    font-size: 17px;
    line-height: 1.56;
  }

  .required {
    font-size: 12px;
    line-height: 1.3;
  }

  .privacy-note {
    line-height: 1.44;
  }

  .form-status {
    line-height: 1.44;
    min-height: 21.6px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* 広いPCでだけナビの文字を少し大きくする */
@media (min-width: 1180px) {
  .site-nav > a {
    font-size: 15px;
  }
}

/* =====================================
   無料体験レッスン案内
   ===================================== */

/* 左カラムの中央に配置 */
#pricing .section-side {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

#pricing .webease-trial-space {
  flex: 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}


/* バナー本体 */
#pricing .webease-trial-banner {
  box-sizing: border-box;
  width: min(100%, 296px);
  min-height: 108px;
  padding: 14px 11px;

  transform: scale(0.65);
  transform-origin: center;
   
  position: relative;
  gap: 7px;

  box-shadow: 0 4px 12px rgba(27, 77, 63, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  #pricing .webease-trial-banner:hover {
    transform: translateY(-1px) scale(0.7);
  }
}

   /* PC版だけバナーの上下位置を調整 */
@media (min-width: 681px) {
  #pricing .webease-trial-banner {
    top: -80px;
  }
}

/* スマホ版：無料体験バナーのサイズと位置 */
@media (max-width: 680px) {
  #pricing .webease-trial-banner {
    transform: scale(0.63);
    top: -12px;
  }
}

/* 文字 */
#pricing .webease-trial-copy {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
}

#pricing .webease-trial-label,
#pricing .webease-trial-value {
  display: block;
  margin: 0;
  padding: 0;
  color: #FFFFFF;
  font-family: inherit;
  font-weight: 700;
  white-space: nowrap;
}

#pricing .webease-trial-label {
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 3px;
}

#pricing .webease-trial-value {
  font-size: 31px;
  line-height: 1.2;
}

/* 金色の3本線 */
#pricing .webease-trial-rays {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 41px;

  fill: none;
  stroke: #D9B65B;
  stroke-width: 3;
  stroke-linecap: round;
}

/* 右側を反転 */
#pricing .webease-trial-rays-right {
  transform: scaleX(-1);
}

/* スマートフォン */
@media (max-width: 680px) {
  #pricing .webease-trial-space {
    flex: none;
    min-height: 0;
    margin-top: 0px;
    padding: 0;
  }
}

/* スマホ版：トップページの説明文を15pxに統一 */
@media (max-width: 680px) {
  .hero-description,
  .hero-small,
  .section-lead,
  .feature-card p,
  .note-text,
  .price-card .price-overview--single,
  .price-card .price-detail,
  .teacher-copy p,
  .teacher-copy .teacher-note,
  .notes-copy p,
  .rules-strip p:not(.eyebrow),
  .contact-small,
  .privacy-note {
    font-size: 15px;
  }
}

/* スマホ版：お問い合わせフォームの項目名を15pxにする */
@media (max-width: 680px) {
  #contact .field label {
    font-size: 15px;
  }
}

/* お問い合わせ送信ボタンの文字サイズ（スマホ・タブレット） */
#contact-form button[type="submit"] {
  font-size: 14px;
}

/* お問い合わせ送信ボタンの文字サイズ(PC) */
@media (min-width: 921px) {
  #contact-form button[type="submit"] {
    font-size: 15px;
  }
}

/* 特商法リンクの文字サイズ */
.site-footer .footer-links a {
  font-size: 14px;
}

/* スマホ */
@media (max-width: 680px) {
  .site-footer .footer-links {
    width: 100%;
    align-self: stretch;
    justify-content: center;
    margin-top: -15px;
    margin-bottom: 25px;
    order: -1;
  }

  .site-footer .footer-links a {
    text-decoration: underline;
    text-decoration-thickness: 0.9px;
    text-underline-offset: 4px;
  }
}
 
/* タブレット・PC */
@media (min-width: 681px) {
  .site-footer .footer-links {
    width: auto;
    align-self: flex-start;
    justify-content: flex-start;
    margin-bottom: 8px;
  }
}

/* PC */
@media (min-width: 921px) {
  .site-footer .footer-links a {
    font-size: 16px;
  }
}

/* 特商法表：スマホでは横スクロールなしで縦並び */
@media (max-width: 680px) {

  .commerce-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .commerce-table {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    border: 0;
    background: transparent;
  }

  .commerce-table tbody {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .commerce-table tbody tr {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    border: 1px solid var(--line, #E5E2DA);
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
  }

  .commerce-table tbody th,
  .commerce-table tbody td {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .commerce-table tbody th {
    padding: 12px 15px;
    background: var(--soft, #F1F0EA);
    border-bottom: 1px solid var(--line, #E5E2DA);
    font-size: 15px;
  }

  .commerce-table tbody td {
    padding: 14px 15px 16px;
    background: #FFFFFF;
    border-bottom: 0;
    font-size: 15px;
    line-height: 1.9;
  }

  .commerce-table tbody tr:last-child {
    margin-bottom: 0;
  }
}

/* スマホ版：プライバシーポリシーと特商法リンクをタップ時に薄緑の網掛け */
@media (max-width: 680px) {
  .privacy-note a,
  .site-footer .footer-links a,
  .price-card .price-detail a,
  .commerce-table a,
  .lesson-environment-link {
    transition: background-color 0.12s ease;
  }

  .privacy-note a:active,
  .site-footer .footer-links a:active,
  .price-card .price-detail a:active,
  .commerce-table a:active,
  .lesson-environment-link:active {
    background-color: rgba(36, 95, 104, 0.14);
  }
}

/* オンライン接続環境についてテキストリンク */
.lesson-environment-link {
  color: var(--accent);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: 20px;
}

/* PC版：画像の高さを維持して左側に広げる */
@media (min-width: 921px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
  }

  .hero-copy {
    padding-right: clamp(24px, 5vw, 72px);
  }

  .hero-media {
    aspect-ratio: auto;
    height: calc(
      (min(1100px, 100vw - 52px) - clamp(24px, 5vw, 72px))
      * 0.48 / 1.1
    );
  }

  .hero-media img {
    object-position: 100% center;
  }
}

 
/* 講師写真：9:16・固定ズーム */
#teacher .teacher-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 8; /* PC版 */
  overflow: hidden;
  border-radius: 12px;
}

/* スマホ版 */
@media (max-width: 680px) {
  #teacher .teacher-photo {
    aspect-ratio: 2 / 3;
  }
}


#teacher .teacher-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
  transform-origin: center;
}

/* 写真と文章の横並び */
#teacher .teacher-panel {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 27px;
  align-items: start;
}

/* タブレット */
@media (max-width: 920px) {
  #teacher .teacher-panel {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

/* スマホ：写真を上、文章を下に配置 */
@media (max-width: 680px) {
  #teacher .teacher-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  #teacher .teacher-photo {
    width: 220px;
    max-width: 100%;
    margin: 0 auto; /* 写真を中央に配置 */
  }
}

/* トップ画像：上端固定・1.2倍ズーム・少し左寄せ */
.hero-media img {
  object-position: center top;
  transform: translateX(-10px) scale(1.05);
  transform-origin: center top;
}

/* WEBEASEと下の文字：PC・タブレット版 */
@media (min-width: 681px) {
  .brand-title {
    font-size: 25px;
  }

  .brand-sub {
    font-size: 12px;
  }
}

/* WEBEASEと下の文字：スマホ版 */
@media (max-width: 680px) {
  .brand-title {
    font-size: 20px;
  }

  .brand-sub {
    font-size: 10px;
  }
}


/* =====================================
   半額キャンペーン
   ===================================== */

#pricing .pricing-campaign {
  position: relative;
  width: 100%;
  margin-top: 45px;
  padding: 30px 20px 28px;
  background: #fff;
  border: 1.5px solid #C58C5A;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(37,43,45,.06);
}

/* 上部の金色のラベル */
#pricing .pricing-campaign-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;

  padding: 4px 22px;
  border-radius: 100px;
  background: linear-gradient(
    135deg, #D7A162, #BE8445
  );

  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* 白いギターアイコン */
#pricing .pricing-campaign-guitar {
  display: block;
  width: 30px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 見出し */
#pricing .pricing-campaign-title {
  margin: 0 0 10px;
  color: #245F68;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

/* 中央の装飾線 */
#pricing .pricing-campaign-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 5px;
}

#pricing .pricing-campaign-divider .line {
  height: 1px;
  background: #C58C5A;
  flex: 1;
}

/* 金色のピック */
#pricing .pricing-campaign-pick {
  display: block;
  width: 30px;
  height: 33px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 説明文 */
#pricing .pricing-campaign-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #3A3A3A;
}

/* 体験バナーとキャンペーンの間隔調整 */
#pricing .webease-trial-space {
  flex: 0 0 auto;
  min-height: 110px;
}

#pricing .webease-trial-banner {
  top: 0;
}

/* スマートフォン */
@media (max-width: 680px) {

  #pricing .pricing-campaign {
    padding: 36px 16px 24px;
    margin-top: 50px;
  }

  #pricing .pricing-campaign-badge {
    font-size: 14px;
    padding: 8px 18px;
  }

  #pricing .pricing-campaign-guitar {
    width: 26px;
    height: 26px;
  }

  #pricing .pricing-campaign-title {
    font-size: 21px;
  }

  #pricing .pricing-campaign-text {
    font-size: 15px;
  }

  #pricing .pricing-campaign-pick {
    width: 27px;
    height: 30px;
  }

}

@media (min-width: 921px) {
  #pricing .section-split {
    grid-template-columns:
      minmax(0, 0.87fr)
      minmax(0, 1.13fr);
  }
}

#pricing .pricing-campaign-badge span {
  line-height: 1;
  position: relative;
  top: -1px;
}

#pricing .pricing-campaign-badge img,
#pricing .pricing-campaign-badge span {
  position: relative;
  left: -3px;
}

/* 半額キャンペーンタイトル　PC・タブレットでは改行しない */
@media (min-width: 681px) {
  .campaign-sp-br {
    display: none;
  }
}

/* スマホ版だけキャンペーンと料金表の間隔を空ける */
@media (max-width: 680px) {
  #pricing .pricing-campaign {
    margin-bottom: 30px;
  }
}

/* 01 02 03の番号の調整 */
@media (max-width: 680px) {
  .feature-number {
    font-size: 16px;
    font-weight: 500;
  }
}
