/* 事務所案内（/office/）。共通部分は pages.css
   本文はブロックエディタのまま（見出し「思いが、つながる社会へ」→ 紹介文 → 写真 → 見出し「概要」→ 表 office-table → 地図）。 */
body.otf-office{--eyebrow:"Office"}

body.otf-office .article .entry-content{max-width:880px;font-size:15px}
body.otf-office .article .entry-content p{font-size:15.5px;line-height:2.1;color:var(--sumi2);margin:0 0 1.25em}
body.otf-office .article .entry-content a{color:var(--sumi);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--rule)}
body.otf-office .article .entry-content a:hover{color:var(--warm-t);text-decoration-color:currentColor}
body.otf-office .article .wp-block-columns{margin:0;padding:0;gap:0}
body.otf-office .article .wp-block-column{margin:0!important;padding:0!important;background:none;border:0}

/* 見出し：1つめ（理念）は明朝の一行、2つめ以降（概要）は区切りの小見出し */
body.otf-office .article .entry-content h4{
  background:none;border:0;border-radius:0;box-shadow:none;padding:0
}
body.otf-office .article .entry-content h4::before,
body.otf-office .article .entry-content h4::after{content:none}
body.otf-office .article .entry-content > h4:first-child{
  font-family:var(--f-min);font-weight:500;font-size:clamp(22px,2.6vw,28px);line-height:1.6;letter-spacing:.16em;color:var(--sumi);margin:0 0 22px
}
body.otf-office .article .entry-content > h4:not(:first-child){
  display:flex;align-items:center;gap:12px;font-family:var(--f-got);font-weight:500;font-size:14px;line-height:1.6;letter-spacing:.18em;
  color:var(--sage-t);margin:56px 0 18px
}
body.otf-office .article .entry-content > h4:not(:first-child)::after{content:"";flex:1;height:1px;background:var(--rule)}

/* 写真 */
body.otf-office .article .entry-content .wp-block-image{margin:12px 0 0}
body.otf-office .article .entry-content .wp-block-image img{display:block;width:100%;height:auto;border-radius:0!important;box-shadow:none!important;filter:saturate(.92)}

/* 概要の表 */
body.otf-office .article .office-table{margin:0}
body.otf-office .article .office-table table{width:100%;border-collapse:collapse;border:0;background:none;font-size:15px}
body.otf-office .article .office-table tr,
body.otf-office .article .office-table tr:nth-of-type(odd),
body.otf-office .article .office-table tr:nth-of-type(even){background:none}
body.otf-office .article .office-table td{
  border:0;border-bottom:1px solid var(--rule);padding:16px 8px;vertical-align:top;background:none;
  font-size:15px;line-height:1.85;color:var(--sumi);letter-spacing:.04em
}
body.otf-office .article .office-table tr:first-child td{border-top:1px solid var(--sumi2)}
body.otf-office .article .office-table td:first-child{
  width:26%;white-space:nowrap;padding-right:24px;font-family:var(--f-min);font-weight:500;font-size:14.5px;letter-spacing:.12em;color:var(--sumi2)
}
/* 中身が空の行（ファクス）は出さない */
body.otf-office .article .office-table tr:has(td:last-child:empty){display:none}

/* 地図 */
body.otf-office .article .entry-content iframe{display:block;width:100%;height:420px;margin:32px 0 0;border:1px solid var(--rule)!important;filter:saturate(.8)}

@media (max-width:680px){
  body.otf-office .article .entry-content > h4:not(:first-child){margin-top:44px}
  body.otf-office .article .office-table tr{display:block;padding:14px 0;border-bottom:1px solid var(--rule)}
  body.otf-office .article .office-table tr:first-child{border-top:1px solid var(--sumi2)}
  body.otf-office .article .office-table td,
  body.otf-office .article .office-table tr:first-child td{display:block;width:auto;border:0;padding:0}
  body.otf-office .article .office-table td:first-child{font-size:13px;margin-bottom:4px;color:var(--sage-t)}
  body.otf-office .article .entry-content iframe{height:300px}
}
