/* 料金ページ（/fee/）。共通部分は pages.css */
body.otf-fee{--eyebrow:"Fee"}

/* ---- 料金表まわり ---- */
body.otf-fee .article .otsuka-fee-page{max-width:880px;color:var(--sumi);font-size:15px}
body.otf-fee .article .otsuka-fee-page p{font-size:15px;line-height:2;color:var(--sumi2);margin:0 0 1.1em}
body.otf-fee .article .otsuka-fee-page strong{color:var(--sumi);font-weight:500}
body.otf-fee .article .otsuka-fee-page a{color:var(--sumi);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--rule)}
body.otf-fee .article .otsuka-fee-page a:hover{color:var(--warm-t);text-decoration-color:currentColor}

/* 冒頭2段落めの「着手前に確定額を提示」を、ひとこと添えた札にする */
body.otf-fee .article .otsuka-fee-page > p:nth-of-type(2){
  margin:22px 0 8px;padding:14px 18px;background:#fff;border:1px solid var(--rule);border-left:3px solid var(--warm);
  color:var(--sumi);font-size:14.5px;line-height:1.9;
}

/* 区切り（大見出し） */
body.otf-fee .article .otsuka-fee-block{margin-top:64px;padding-top:36px;border-top:1px solid var(--rule)}
body.otf-fee .article .otsuka-fee-page h2{
  display:block;font-family:var(--f-min);font-weight:500;font-size:clamp(21px,2.4vw,26px);line-height:1.55;letter-spacing:.1em;
  color:var(--sumi);background:none;border:0;border-radius:0;padding:0;margin:0 0 26px;box-shadow:none;
}
body.otf-fee .article .otsuka-fee-page h2::before,
body.otf-fee .article .otsuka-fee-page h2::after,
body.otf-fee .article .otsuka-fee-page h3::before,
body.otf-fee .article .otsuka-fee-page h3::after{content:none}

/* 小見出し */
body.otf-fee .article .otsuka-fee-page h3.otsuka-fee-h3{
  display:flex;align-items:center;gap:12px;font-family:var(--f-got);font-weight:500;font-size:14px;letter-spacing:.16em;
  color:var(--sage-t);background:none;border:0;border-radius:0;padding:0;margin:34px 0 12px;
}
body.otf-fee .article .otsuka-fee-page h3.otsuka-fee-h3::after{content:"";flex:1;height:1px;background:var(--rule)}

/* 表（PC） */
body.otf-fee .article .otsuka-fee-table-wrap{margin:0 0 14px;overflow-x:visible}
body.otf-fee .article .otsuka-fee-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--rule);margin:0;font-size:15px}
body.otf-fee .article .otsuka-fee-table tr,
body.otf-fee .article .otsuka-fee-table tr:nth-of-type(odd),
body.otf-fee .article .otsuka-fee-table tr:nth-of-type(even){background:#fff}
body.otf-fee .article .otsuka-fee-table th,
body.otf-fee .article .otsuka-fee-table td{border:0;border-top:1px solid var(--rule);padding:18px 22px;vertical-align:top;line-height:1.75;background:none}
body.otf-fee .article .otsuka-fee-table thead th{
  border-top:0;border-bottom:1px solid var(--sumi2);padding:12px 22px;background:var(--white);
  font-family:var(--f-got);font-weight:500;font-size:12.5px;letter-spacing:.16em;color:var(--mute)
}
body.otf-fee .article .otsuka-fee-table thead th:last-child{text-align:right}
body.otf-fee .article .otsuka-fee-table tbody tr:first-child td{border-top:0}
body.otf-fee .article .otsuka-fee-table td.otsuka-fee-name{font-family:var(--f-min);font-weight:500;font-size:16.5px;letter-spacing:.06em;color:var(--sumi);width:30%}
body.otf-fee .article .otsuka-fee-table td.otsuka-fee-desc{font-size:14px;color:var(--sumi2)}
body.otf-fee .article .otsuka-fee-table td.otsuka-fee-desc ul{list-style:none;margin:0;padding:0}
body.otf-fee .article .otsuka-fee-table td.otsuka-fee-desc li{position:relative;margin:0 0 2px;padding-left:1.1em;line-height:1.75}
body.otf-fee .article .otsuka-fee-table td.otsuka-fee-desc li::before{content:"";position:absolute;left:.15em;top:.85em;width:5px;height:1px;background:var(--sage)}
body.otf-fee .article .otsuka-fee-table td.otsuka-fee-price{text-align:right;white-space:nowrap;font-weight:400}
body.otf-fee .article .otsuka-fee-price-value{font-family:var(--f-min);font-weight:500;font-size:20px;letter-spacing:.02em;color:var(--sumi);line-height:1.4}
body.otf-fee .article .otsuka-fee-price-sub{display:block;margin-top:4px;font-family:var(--f-got);font-size:12.5px;font-weight:400;letter-spacing:.06em;color:var(--warm-t);opacity:1}

/* 注記 */
body.otf-fee .article .otsuka-fee-page p.otsuka-fee-note{font-size:13.5px;line-height:1.9;color:var(--mute);margin:12px 0 0}
body.otf-fee .article .otsuka-fee-page p.otsuka-fee-note + p.otsuka-fee-note{margin-top:10px}

/* ---- スマートフォン（本文側のCSSと同じ680pxで、1サービス＝1枚に） ---- */
@media (max-width:680px){
  body.otf-fee .article .otsuka-fee-block{margin-top:48px;padding-top:28px}
  body.otf-fee .article .otsuka-fee-page h2{margin-bottom:20px}
  body.otf-fee .article .otsuka-fee-table{border:0;background:none}
  body.otf-fee .article .otsuka-fee-table tr,
  body.otf-fee .article .otsuka-fee-table tr:nth-of-type(odd),
  body.otf-fee .article .otsuka-fee-table tr:nth-of-type(even){
    display:grid;grid-template-columns:1fr auto;column-gap:14px;align-items:baseline;
    background:#fff;border:1px solid var(--rule);border-radius:0;padding:16px 18px;margin:0 0 10px
  }
  body.otf-fee .article .otsuka-fee-table td,
  body.otf-fee .article .otsuka-fee-table tbody tr:first-child td{border:0;padding:0;width:auto}
  body.otf-fee .article .otsuka-fee-table td.otsuka-fee-name{grid-column:1;width:auto;min-width:0;font-size:16px;line-height:1.6;margin:0}
  body.otf-fee .article .otsuka-fee-table td.otsuka-fee-desc{grid-column:1 / -1;grid-row:2;margin:10px 0 0;font-size:13.5px}
  body.otf-fee .article .otsuka-fee-table td.otsuka-fee-price{
    grid-column:2;grid-row:1;background:none;color:inherit;border-radius:0;padding:0;margin:0;text-align:right
  }
  body.otf-fee .article .otsuka-fee-price-value{font-size:18px}
  body.otf-fee .article .otsuka-fee-price-sub{font-size:12px}
  /* 内容の行がある表は、料金を下に置いて名前を広く使う */
  body.otf-fee .article .otsuka-fee-table tr:has(td.otsuka-fee-desc){grid-template-columns:1fr}
  body.otf-fee .article .otsuka-fee-table tr:has(td.otsuka-fee-desc) td.otsuka-fee-price{
    grid-column:1;grid-row:3;margin-top:12px;padding-top:10px;border-top:1px solid var(--rule)
  }
  body.otf-fee .article .otsuka-fee-page > p:nth-of-type(2){padding:12px 14px}
}
