/* ==========================================================================
   田村雄一税理士事務所 サイトリニューアル（2026-11）
   読み込み: wp-content/mu-plugins/tamura-renewal.php（</head> 直前に出力）
   ========================================================================== */
:root {
  --tr-ink: #1c2638;
  --tr-text: #3d4350;
  --tr-muted: #6e7380;
  --tr-main: #253d66;
  --tr-main-dk: #172742;
  --tr-accent: #3d5f99;
  --tr-gold: #b08a4a;
  --tr-cream: #f8f5ef;
  --tr-cream-2: #efe8db;
  --tr-line: #e3dccf;
  --tr-cta: #c0532b;
  --tr-cta-dk: #9c4120;
  --tr-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --tr-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --tr-ico-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");
  --tr-ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   ベース
   -------------------------------------------------------------------------- */
body.tr-renewal { color: var(--tr-text); background: #fff; }
.tr-renewal a { -webkit-tap-highlight-color: rgba(37, 61, 102, .15); }
.tr-renewal .post_content { color: var(--tr-text); }
.tr-renewal .post_content img { max-width: 100%; height: auto; }
.tr-renewal .post_content table { max-width: 100%; }
.tr-renewal .cb_headline,
.tr-renewal #page_header .headline,
.tr-renewal #page_header .title,
.tr-renewal #post_title_area .title,
.tr-renewal .index_message .content .catch,
.tr-renewal #related_post .headline {
  font-family: var(--tr-serif) !important; font-weight: 700 !important; letter-spacing: .04em;
}
.tr-sp { display: none; }
.tr-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.tr-renewal .tr-sec *,
.tr-renewal .tr-hero *,
.tr-renewal .tr-cta *,
.tr-renewal .tr-foot *,
.tr-renewal .tr-mbar *,
.tr-renewal .tr-head-cta *,
.tr-renewal .tr-contact-lead * { box-sizing: border-box; }

/* 見出し（追加セクション共通） */
.tr-sec { padding: 96px 0; }
.tr-sec-title {
  margin: 0 0 26px; text-align: center; font-family: var(--tr-serif); font-weight: 700; color: var(--tr-ink);
  font-size: 34px; line-height: 1.55; letter-spacing: .08em;
}
.tr-sec-title:before {
  content: ""; display: block; width: 12px; height: 12px; margin: 0 auto 20px; border: 2px solid var(--tr-gold); transform: rotate(45deg);
}
.tr-pc { display: inline; }
.tr-sec-lead { max-width: 760px; margin: 0 auto 48px; text-align: center; font-size: 16px; line-height: 2; }
.tr-more { margin: 40px 0 0; text-align: center; }
.tr-more a {
  display: inline-block; min-width: 280px; padding: 15px 44px 15px 32px; border: 1px solid var(--tr-main); border-radius: 40px;
  color: var(--tr-main) !important; font-weight: 700; text-decoration: none; position: relative; background: #fff;
  transition: background .2s, color .2s;
}
.tr-more a:after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.tr-more a:hover { background: var(--tr-main); color: #fff !important; }

/* ボタン（電話・フォーム） */
.tr-btn {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  min-height: 84px; padding: 12px 20px; border-radius: 4px; color: #fff !important; text-decoration: none !important;
  line-height: 1.35; box-shadow: 0 6px 16px rgba(20, 40, 45, .14); transition: transform .15s, background .2s, box-shadow .2s;
}
.tr-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 40, 45, .18); }
.tr-btn small { font-size: 12px; opacity: .92; letter-spacing: .04em; }
.tr-btn-tel { background: var(--tr-main); }
.tr-btn-tel:hover { background: var(--tr-main-dk); }
.tr-btn-form { background: var(--tr-cta); }
.tr-btn-form:hover { background: var(--tr-cta-dk); }
.tr-btn-num, .tr-btn-label { display: inline-block; font-weight: 700; padding-left: 34px; background: no-repeat left center / 26px; margin: 3px 0; }
.tr-btn-num { font-size: 28px; letter-spacing: .04em; font-family: Arial, var(--tr-sans); background-image: var(--tr-ico-tel); }
.tr-btn-label { font-size: 19px; background-image: var(--tr-ico-mail); background-size: 24px; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.tr-renewal #side_button { display: none !important; }
.tr-renewal #header { background: #fff; border-bottom: 1px solid var(--tr-line); }
.tr-renewal #header_logo .logo a { color: var(--tr-ink) !important; font-family: var(--tr-serif); font-weight: 700; letter-spacing: .03em; }
.tr-renewal #header_logo .logo a:hover { color: var(--tr-main) !important; }
.tr-renewal #global_menu > ul > li > a { color: var(--tr-ink) !important; padding-left: 26px; font-weight: 500; }
.tr-renewal #global_menu > ul > li > a:hover,
.tr-renewal #global_menu > ul > li.current-menu-item > a { color: var(--tr-accent) !important; }
.tr-renewal #global_menu > ul > li#menu-item-38 { display: none; }
.tr-renewal #global_menu { right: 400px; }
.tr-renewal .megamenu_service_list,
.tr-renewal .megamenu_blog_list { background: var(--tr-main-dk) !important; }

.tr-head-cta {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; align-items: center; gap: 16px;
}
.tr-head-tel { display: block; text-decoration: none !important; color: var(--tr-ink) !important; line-height: 1.25; text-align: right; }
.tr-head-tel-num {
  display: inline-block; font-family: Arial, var(--tr-sans); font-weight: 700; font-size: 23px; letter-spacing: .03em; color: var(--tr-main);
  padding-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23253d66'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") no-repeat left center / 20px;
}
.tr-head-tel-time { display: block; font-size: 11px; color: var(--tr-muted); }
.tr-head-btn {
  display: inline-block; padding: 14px 22px; border-radius: 6px; background: var(--tr-cta); color: #fff !important;
  font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .2s;
}
.tr-head-btn:hover { background: var(--tr-cta-dk); }

/* トップページ: スライダーの代わりにヒーローを表示し、ヘッダーは他ページと同じ白地に */
body.tr-renewal.home #header { position: relative; background: #fff; border-bottom: 1px solid var(--tr-line); margin-bottom: 0; }
body.tr-renewal.home #header_logo,
body.tr-renewal.home #global_menu,
body.tr-renewal.home #menu_button { opacity: 1 !important; animation: none !important; }
body.tr-renewal.home #menu_button span { background: var(--tr-ink); }
body.tr-renewal.home #header_slider { display: none !important; }
.pc body.tr-renewal.home.header_fix { padding-top: 90px; }

/* 下層ページのヘッダー画像の上の文字 */
.tr-renewal #page_header .headline,
.tr-renewal #page_header .catch { text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }

/* --------------------------------------------------------------------------
   ヒーロー（トップ）: 事務所相談室の写真を全幅で、下に問い合わせバー
   -------------------------------------------------------------------------- */
.tr-hero { position: relative; background: #fff; }
.tr-hero-main {
  position: relative; height: 44vw; min-height: 440px; max-height: 620px;
  background: linear-gradient(90deg, rgba(250, 248, 243, .82) 0%, rgba(250, 248, 243, .62) 32%, rgba(250, 248, 243, 0) 52%),
    url(/wp-content/uploads/renewal/hero-consult.jpg) no-repeat 70% 40% / cover;
}
.tr-hero-text {
  position: absolute; top: 50%; transform: translateY(-50%); left: max(40px, calc((100vw - 1200px) / 2)); width: 500px; color: var(--tr-ink);
}
.tr-hero-area {
  display: inline-block; margin: 0 0 22px; padding: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: .12em; line-height: 1.7; color: var(--tr-gold);
  border-bottom: 1px solid rgba(176, 138, 74, .6);
}
.tr-hero-catch {
  margin: 0; font-family: var(--tr-serif); font-weight: 700; color: var(--tr-main-dk);
  font-size: 40px; line-height: 1.65; letter-spacing: .06em; text-shadow: 0 0 24px rgba(255, 255, 255, .8);
}
.tr-hero-info { background: var(--tr-main-dk); color: #fff; }
.tr-hero-info-in {
  max-width: 1120px; margin: 0 auto; padding: 34px 40px 98px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.tr-hero-lead { margin: 0; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, .9); }
.tr-hero-points { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; flex-shrink: 0; }
.tr-hero-points li {
  margin: 0; padding: 4px 22px; font-size: 13px; color: rgba(255, 255, 255, .85); line-height: 1.6; border-left: 1px solid rgba(255, 255, 255, .3);
}
.tr-hero-points li:first-child { padding-left: 0; border-left: 0; }
.tr-hero-points strong { display: block; font-family: var(--tr-serif); font-size: 20px; color: #fff; letter-spacing: .06em; white-space: nowrap; }
.tr-hero-bar { position: relative; z-index: 2; margin-top: -64px; padding: 0 40px; }
.tr-hero-bar-in {
  max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr .85fr; background: #fff;
  box-shadow: 0 14px 40px rgba(16, 26, 44, .18); border-top: 3px solid var(--tr-gold);
}
.tr-hero-bar-in > a {
  display: flex; flex-direction: column; justify-content: center; padding: 22px 28px; min-height: 118px; text-decoration: none !important; line-height: 1.4;
  transition: background .2s;
}
.tr-hero-bar-in > a + a { border-left: 1px solid var(--tr-line); }
.tr-hero-bar-in > a:hover { background: var(--tr-cream); }
.tr-hb-label { font-size: 13px; color: var(--tr-muted); margin-bottom: 6px; }
.tr-hb-num {
  font-family: Arial, var(--tr-sans); font-size: 32px; font-weight: 700; color: var(--tr-main); letter-spacing: .03em; padding-left: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23253d66'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") no-repeat left center / 26px;
}
.tr-hb-time { font-size: 12px; color: var(--tr-muted); margin-top: 4px; }
.tr-hb-btn {
  display: block; padding: 16px 20px 16px 52px; border-radius: 4px; background: var(--tr-cta) var(--tr-ico-mail) no-repeat 20px center / 22px;
  color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .06em; transition: background-color .2s;
}
.tr-hb-form:hover .tr-hb-btn { background-color: var(--tr-cta-dk); }
.tr-hb-link { font-family: var(--tr-serif); font-size: 19px; font-weight: 700; color: var(--tr-ink); position: relative; padding-right: 22px; align-self: flex-start; }
.tr-hb-link:after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid var(--tr-gold); border-right: 2px solid var(--tr-gold); transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   トップページの並び順（既存ブロックの間に追加セクションを挟む）
   -------------------------------------------------------------------------- */
body.tr-renewal.home #index_content_builder { display: flex; flex-direction: column; }
body.tr-renewal.home #tr-worries { order: 1; }
body.tr-renewal.home #cb_content_3 { order: 2; }
body.tr-renewal.home #tr-case { order: 3; }
body.tr-renewal.home #tr-area { order: 4; }
body.tr-renewal.home #tr-flow { order: 5; }
body.tr-renewal.home #cb_content_6 { order: 6; }
body.tr-renewal.home #cb_content_5 { order: 7; }
body.tr-renewal.home #cb_content_4 { order: 8; }
body.tr-renewal.home #cb_content_1 { order: 9; }
body.tr-renewal.home #index_content_builder > * { width: 100%; max-width: 100%; }

/* 既存ブロックの見出し */
.tr-renewal .index_service_list .cb_headline,
.tr-renewal .index_post_slider .cb_headline,
.tr-renewal .top-news-box h2 {
  color: var(--tr-ink) !important; font-size: 32px !important; font-family: var(--tr-serif); font-weight: 700; letter-spacing: .04em;
}
.tr-renewal .index_service_list .cb_headline:before,
.tr-renewal .index_post_slider .cb_headline:before,
.tr-renewal .top-news-box h2:before { content: ""; display: block; width: 12px; height: 12px; margin: 0 auto 20px; border: 2px solid var(--tr-gold); transform: rotate(45deg); }
.tr-renewal .index_service_list { padding: 96px 0 80px; }
.tr-renewal .index_service_list .service_list_wrap { padding: 8px 0 0; }
.tr-renewal .index_service_list .service_list_wrap .bg_image { display: none; }
.tr-renewal .index_service_list .service_list .item a { border: 1px solid var(--tr-line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s; }
.tr-renewal .index_service_list .service_list .item a:hover { box-shadow: 0 10px 24px rgba(20, 40, 45, .1); }
.tr-renewal .index_service_list .item .title { color: var(--tr-ink); }
.tr-renewal .index_service_list .cb_desc { max-width: 820px; margin-left: auto; margin-right: auto; }
.tr-renewal .index_post_slider.num4 { background: #fff !important; }
.tr-renewal .index_post_slider.num6 { background: var(--tr-cream) !important; }
.tr-renewal .index_message .content .catch { color: var(--tr-main) !important; }
.tr-renewal .cat_id_10 a { background: var(--tr-main) !important; }
.tr-renewal .cat_id_10 a:hover { background: var(--tr-main-dk) !important; }

/* お知らせ */
.tr-renewal .top-news-box { margin: 80px auto; }
.tr-renewal .top-news-list { border-top: 1px solid var(--tr-line); }
.tr-renewal .top-news-item { border-bottom: 1px solid var(--tr-line); transition: background .2s; }
.tr-renewal .top-news-item:hover { background: var(--tr-cream); }
.tr-renewal .top-news-item .label { background: var(--tr-main); border-radius: 3px; }
.tr-renewal .top-news-item br { display: none; }
.tr-renewal .top-news-list > p { margin: 0; }

/* --------------------------------------------------------------------------
   お悩みから探す（チェックリスト）
   -------------------------------------------------------------------------- */
.tr-worries { background: #fff; padding-top: 110px; }
.tr-check {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; padding: 30px 48px;
  list-style: none; background: var(--tr-cream); border: 1px solid var(--tr-line);
}
.tr-check li { margin: 0; border-bottom: 1px dashed #d6cdbb; }
.tr-check a { display: block; position: relative; padding: 18px 10px 16px 44px; text-decoration: none !important; }
.tr-check a:before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 22px; height: 22px; border: 1px solid var(--tr-main); background: #fff; border-radius: 2px;
}
.tr-check a:after {
  content: ""; position: absolute; left: 11px; top: 22px; width: 7px; height: 13px;
  border-right: 3px solid var(--tr-cta); border-bottom: 3px solid var(--tr-cta); transform: rotate(45deg);
}
.tr-check-q { display: block; font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--tr-ink); }
.tr-check-a { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--tr-main); font-weight: 700; }
.tr-check-a:after { content: " \203A"; }
.tr-check a:hover .tr-check-q { color: var(--tr-main); text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   事例
   -------------------------------------------------------------------------- */
.tr-case { background: #fff; padding-top: 40px; }
.tr-case-box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center;
  background: #fff; padding: 48px; border: 1px solid var(--tr-line); border-left: 4px solid var(--tr-gold);
}
.tr-case-img img { display: block; width: 100%; height: auto; border: 1px solid var(--tr-line); border-radius: 4px; }
.tr-case-who { margin: 0 0 12px; font-family: var(--tr-serif); font-size: 21px; font-weight: 700; color: var(--tr-ink); }
.tr-case-body p { line-height: 1.9; }
.tr-case-num { display: flex; align-items: stretch; gap: 12px; margin: 22px 0 16px; }
.tr-case-num > .tr-case-before, .tr-case-num > .tr-case-after {
  flex: 1; padding: 14px 16px; background: #f6f3ee; text-align: center; line-height: 1.4; border: 1px solid var(--tr-line);
}
.tr-case-num span { display: block; font-size: 12px; color: var(--tr-muted); }
.tr-case-num strong { display: block; margin-top: 4px; font-size: 26px; color: var(--tr-ink); font-family: Arial, var(--tr-sans); }
.tr-case-num > .tr-case-after { background: var(--tr-main); border-color: var(--tr-main); }
.tr-case-num .tr-case-after span, .tr-case-num .tr-case-after strong { color: #fff; }
.tr-case-arrow { flex: 0 0 18px; position: relative; }
.tr-case-arrow:after {
  content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-top: 3px solid var(--tr-gold); border-right: 3px solid var(--tr-gold); transform: rotate(45deg);
}
.tr-case .tr-case-note { font-size: 12px; color: var(--tr-muted); line-height: 1.7; }
.tr-case .tr-more { text-align: left; margin-top: 22px; }

/* --------------------------------------------------------------------------
   地域
   -------------------------------------------------------------------------- */
.tr-area { background: var(--tr-cream); }
.tr-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tr-area-card { padding: 30px 28px 26px; background: #fff; border: 1px solid var(--tr-line); border-top: 4px solid var(--tr-main); }
.tr-area-card h3 {
  margin: 0 0 14px; font-family: var(--tr-serif); font-size: 26px; color: var(--tr-ink); letter-spacing: .14em; text-align: center;
}
.tr-area-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.9; }
.tr-area-card ul { margin: 0; padding: 0; list-style: none; }
.tr-area-card li { margin: 0; border-top: 1px dashed var(--tr-line); }
.tr-area-card li a {
  display: block; padding: 10px 18px 10px 0; font-size: 14px; color: var(--tr-main) !important; text-decoration: none; position: relative; line-height: 1.6;
}
.tr-area-card li a:after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 6px; height: 6px; margin-top: -4px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.tr-area-card li a:hover { text-decoration: underline; }
.tr-office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-top: 44px; align-items: center; }
.tr-office-map { position: relative; padding-top: 62%; border-radius: 8px; overflow: hidden; background: #eee; }
.tr-office-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tr-office-info { display: grid; grid-template-columns: 7em minmax(0, 1fr); margin: 0; border-top: 1px solid var(--tr-line); }
.tr-office-info dt, .tr-office-info dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--tr-line); line-height: 1.8; font-size: 15px; }
.tr-office-info dt { font-weight: 700; color: var(--tr-main-dk); }
.tr-office-info dd a { color: var(--tr-main) !important; font-weight: 700; font-size: 18px; }

/* --------------------------------------------------------------------------
   相談の流れ（タイムライン）
   -------------------------------------------------------------------------- */
.tr-flow { background: #fff; }
.tr-flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; position: relative; }
.tr-flow-list:before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 44px; height: 1px; background: var(--tr-gold); }
.tr-flow-list li { margin: 0; text-align: center; position: relative; }
.tr-flow-dot {
  display: flex; flex-direction: column; justify-content: center; align-items: center; width: 88px; height: 88px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--tr-main); color: #e6cf9f; font-size: 11px; letter-spacing: .15em; line-height: 1; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px #fff;
}
.tr-flow-dot b { display: block; margin-top: 4px; font-family: var(--tr-serif); font-size: 30px; color: #fff; letter-spacing: 0; }
.tr-flow-list h3 { margin: 0 0 10px; font-family: var(--tr-serif); font-size: 18px; font-weight: 700; color: var(--tr-ink); line-height: 1.5; }
.tr-flow-list p { margin: 0; font-size: 14px; line-height: 1.85; text-align: left; }

/* --------------------------------------------------------------------------
   お問い合わせ帯（全ページのフッター前）
   -------------------------------------------------------------------------- */
.tr-cta {
  padding: 80px 0; color: #fff; text-align: center;
  background: linear-gradient(rgba(23, 39, 66, .9), rgba(23, 39, 66, .9)), url(/wp-content/uploads/renewal/hero-consult.jpg) no-repeat center 40% / cover;
}
.tr-cta-area { margin: 0 0 10px; font-size: 14px; letter-spacing: .12em; color: #e9d7b1; font-weight: 700; }
.tr-cta-title { margin: 0 0 18px; font-family: var(--tr-serif); font-weight: 700; font-size: 32px; line-height: 1.6; color: #fff; letter-spacing: .04em; }
.tr-cta-lead { max-width: 720px; margin: 0 auto 32px; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, .92); }
.tr-cta-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 680px; margin: 0 auto; }
.tr-cta .tr-btn-tel { background: #fff; color: var(--tr-main-dk) !important; }
.tr-cta .tr-btn-tel:hover { background: #f3efe7; }
.tr-cta .tr-btn-tel .tr-btn-num {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23253d66'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");
}
.tr-cta-addr { margin: 26px 0 0; font-size: 13px; color: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.tr-renewal #footer_top { padding: 64px 0 56px; background: var(--tr-main-dk); }
.tr-renewal #footer_top .footer_bg_image { display: none !important; }
.tr-renewal #footer_inner { width: auto; max-width: 1120px; padding: 0 32px; box-sizing: border-box; }
.tr-foot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; color: rgba(255, 255, 255, .88); text-align: left; }
.tr-foot p { margin: 0 0 8px; font-size: 14px; line-height: 1.8; }
.tr-foot-name { font-family: var(--tr-serif); font-size: 20px !important; font-weight: 700; color: #fff; margin-bottom: 14px !important; }
.tr-foot-tel a { font-family: Arial, var(--tr-sans); font-size: 26px; font-weight: 700; color: #fff !important; text-decoration: none; letter-spacing: .03em; }
.tr-foot-head { font-weight: 700; color: #e9d7b1; letter-spacing: .1em; margin-bottom: 12px !important; }
.tr-foot ul { margin: 0; padding: 0; list-style: none; }
.tr-foot li { margin: 0 0 6px; font-size: 14px; line-height: 1.7; }
.tr-foot li a { color: rgba(255, 255, 255, .88) !important; text-decoration: none; }
.tr-foot li a:hover { color: #fff !important; text-decoration: underline; }
.tr-renewal #footer_bottom { padding: 36px 0; background: #fff; }
.tr-renewal #footer_logo .logo a { font-family: var(--tr-serif); font-weight: 700; color: var(--tr-ink); }
.tr-renewal #footer_menu { border-top: 1px solid var(--tr-line); }
.tr-renewal #copyright { background: var(--tr-main-dk) !important; color: rgba(255, 255, 255, .85) !important; }
.tr-renewal #return_top a { background: var(--tr-main) !important; }

/* --------------------------------------------------------------------------
   スマホ固定バー
   -------------------------------------------------------------------------- */
.tr-mbar { display: none; }

/* --------------------------------------------------------------------------
   お問い合わせページ
   -------------------------------------------------------------------------- */
.tr-contact-lead { margin: 0 0 36px; }
.tr-renewal .tr-contact-lead h2 {
  margin: 0 0 16px; font-family: var(--tr-serif); font-size: 28px; font-weight: 700; color: var(--tr-ink); text-align: center; line-height: 1.5;
}
.tr-contact-lead > p { line-height: 1.9; }
.tr-contact-tel { margin: 24px 0 32px; padding: 24px 20px; border-radius: 8px; background: var(--tr-cream); text-align: center; }
.tr-contact-tel p { margin: 0 !important; }
.tr-contact-tel-label { font-weight: 700; color: var(--tr-main-dk); }
.tr-contact-tel-num a {
  display: inline-block; margin: 6px 0; padding-left: 34px; font-family: Arial, var(--tr-sans); font-size: 34px; font-weight: 700;
  color: var(--tr-main) !important; text-decoration: none !important; letter-spacing: .03em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23253d66'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") no-repeat left center / 28px;
}
.tr-contact-tel-time { font-size: 13px; color: var(--tr-muted); }
.tr-contact-form-label { margin: 0 0 6px !important; font-weight: 700; font-size: 18px; color: var(--tr-ink); border-left: 4px solid var(--tr-main); padding-left: 12px; }
.tr-contact-hint { font-size: 14px; color: var(--tr-muted); line-height: 1.8; }
.tr-renewal .wpcf7-form label { font-weight: 700; color: var(--tr-ink); }
.tr-renewal .wpcf7-form input[type="text"],
.tr-renewal .wpcf7-form input[type="email"],
.tr-renewal .wpcf7-form input[type="tel"],
.tr-renewal .wpcf7-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; font-size: 16px;
  border: 1px solid #cfc8bb; border-radius: 6px; background: #fff;
}
.tr-renewal .wpcf7-form input:focus, .tr-renewal .wpcf7-form textarea:focus { outline: 2px solid rgba(37, 61, 102, .35); border-color: var(--tr-main); }
.tr-renewal .wpcf7-form .wpcf7-submit {
  display: block; width: 100%; max-width: 360px; margin: 10px auto 0; padding: 18px 20px; border: 0; border-radius: 8px;
  background: var(--tr-cta); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; letter-spacing: .1em;
}
.tr-renewal .wpcf7-form .wpcf7-submit:hover { background: var(--tr-cta-dk); }

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1440px) {
  .tr-hero-catch { font-size: 36px; }
  .tr-head-tel-time { display: none; }
  .tr-renewal #global_menu { right: 390px; }
  .tr-renewal #global_menu > ul > li > a { padding-left: 22px; }
}
@media screen and (max-width: 1360px) {
  .tr-renewal #header_logo .pc_logo_text { font-size: 17px !important; }
  .tr-renewal #global_menu > ul > li > a { padding-left: 18px; font-size: 13px; }
}
@media screen and (max-width: 1251px) {
  .tr-head-cta { display: none; }
  .tr-renewal #header { border-bottom: 1px solid var(--tr-line); }
  .mobile body.tr-renewal.home.header_fix_mobile { padding-top: 60px; }
  .tr-hero-text { width: 420px; }
  .tr-hero-catch { font-size: 31px; }
  .tr-hero-area { font-size: 13px; }
  .tr-hero-info-in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .tr-hero-bar-in { grid-template-columns: 1fr 1fr; }
  .tr-hb-sim { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--tr-line); min-height: 0 !important; padding-top: 14px !important; padding-bottom: 14px !important; flex-direction: row !important; align-items: center; gap: 14px; }
  .tr-hb-sim .tr-hb-label { margin: 0; }
}
@media screen and (max-width: 950px) {
  .tr-pc { display: none; }
  .tr-sec { padding: 64px 0; }
  .tr-wrap { padding: 0 20px; }
  .tr-sec-title { font-size: 25px; }
  .tr-sec-lead { font-size: 15px; text-align: left; margin-bottom: 32px; }
  .tr-hero-main {
    height: auto; min-height: 0; max-height: none; padding-top: 250px; background-color: var(--tr-main-dk);
    background-image: linear-gradient(180deg, rgba(23, 39, 66, 0) 170px, rgba(23, 39, 66, 1) 250px), url(/wp-content/uploads/renewal/hero-consult.jpg);
    background-repeat: no-repeat; background-size: 100% 100%, max(100%, 520px) auto; background-position: 0 0, 88% 0;
  }
  .tr-hero-text { position: static; transform: none; width: auto; padding: 6px 20px 0; }
  .tr-hero-area { font-size: 13px; margin-bottom: 14px; letter-spacing: .08em; color: #e6cf9f; border-bottom-color: rgba(230, 207, 159, .6); }
  .tr-hero-catch { font-size: 27px; line-height: 1.6; letter-spacing: .04em; color: #fff; text-shadow: none; }
  .tr-hero-info-in { padding: 16px 20px 88px; }
  .tr-hero-lead { font-size: 14px; line-height: 1.95; }
  .tr-hero-points li { padding: 2px 14px; font-size: 12px; }
  .tr-hero-points strong { font-size: 16px; }
  .tr-hero-bar { padding: 0 14px; margin-top: -56px; }
  .tr-hero-bar-in { grid-template-columns: 1fr; }
  .tr-hero-bar-in > a { min-height: 0; padding: 18px 18px; }
  .tr-hero-bar-in > a + a { border-left: 0; border-top: 1px solid var(--tr-line); }
  .tr-hb-tel { align-items: center; }
  .tr-hb-num { font-size: 30px; }
  .tr-hb-form { align-items: stretch; text-align: center; }
  .tr-hb-btn { padding: 16px 16px 16px 46px; background-position: calc(50% - 98px) center; font-size: 17px; }
  .tr-hb-sim { grid-column: auto; justify-content: space-between; }
  .tr-worries { padding-top: 72px; }
  .tr-check { grid-template-columns: 1fr; padding: 8px 16px; }
  .tr-check li:last-child { border-bottom: 0; }
  .tr-check a { padding: 16px 4px 14px 38px; }
  .tr-check a:before { left: 0; top: 19px; width: 20px; height: 20px; }
  .tr-check a:after { left: 6px; top: 20px; width: 6px; height: 12px; }
  .tr-check-q { font-size: 15px; }
  .tr-case { padding-top: 24px; }
  .tr-case-box { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .tr-area-grid { grid-template-columns: 1fr; gap: 14px; }
  .tr-office { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .tr-flow-list { grid-template-columns: 1fr; gap: 0; }
  .tr-flow-list:before { left: 31px; right: auto; top: 20px; bottom: 60px; width: 1px; height: auto; }
  .tr-flow-list li { display: flex; gap: 18px; text-align: left; padding-bottom: 22px; }
  .tr-flow-dot { flex: 0 0 64px; width: 64px; height: 64px; margin: 0; font-size: 9px; box-shadow: 0 0 0 6px #fff; }
  .tr-flow-dot b { font-size: 22px; }
  .tr-flow-list h3 { font-size: 17px; margin: 6px 0 6px; }
  .tr-foot { grid-template-columns: 1fr; gap: 28px; }
  .tr-renewal #footer_inner { padding: 0 20px; }
  .tr-cta { padding: 56px 0; }
  .tr-cta-title { font-size: 23px; }
  .tr-cta-lead { text-align: left; font-size: 14px; }
  .tr-renewal .index_service_list .cb_headline,
  .tr-renewal .index_post_slider .cb_headline,
  .tr-renewal .top-news-box h2 { font-size: 25px !important; }
  .tr-renewal .top-news-box { margin: 56px auto; }
  .tr-renewal .index_service_list { padding: 56px 0 48px; }

  /* スマホ固定バー */
  .tr-mbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, .12); padding-bottom: env(safe-area-inset-bottom); background: #fff;
  }
  .tr-mbar a { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 60px; color: #fff !important; text-decoration: none !important; line-height: 1.3; }
  .tr-mbar-tel { background: var(--tr-main); }
  .tr-mbar-form { background: var(--tr-cta); }
  .tr-mbar-main { font-size: 15px; font-weight: 700; padding-left: 24px; background: no-repeat left center / 18px; }
  .tr-mbar-tel .tr-mbar-main { background-image: var(--tr-ico-tel); }
  .tr-mbar-form .tr-mbar-main { background-image: var(--tr-ico-mail); }
  .tr-mbar-sub { font-size: 10px; opacity: .9; }
  body.tr-renewal { padding-bottom: 60px; }
  .tr-renewal #return_top { bottom: 72px !important; }
  .tr-renewal #return_top:not(.active) { opacity: 0; pointer-events: none; }
  .tr-renewal #return_top a { width: 48px; height: 48px; }
}
@media screen and (max-width: 600px) {
  .tr-sp { display: inline; }
  .tr-sec-title { font-size: 22px; letter-spacing: .05em; }
  .tr-hero-catch { font-size: 25px; }
  .tr-hero-points { flex-wrap: wrap; }
  .tr-cta-btns { grid-template-columns: 1fr; gap: 10px; }
  .tr-hb-sim { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
  .tr-hb-sim .tr-hb-link { font-size: 17px; }
  .tr-btn { min-height: 72px; }
  .tr-btn-num { font-size: 26px; }
  .tr-case-num { gap: 8px; }
  .tr-case-num > .tr-case-before, .tr-case-num > .tr-case-after { padding: 12px 6px; }
  .tr-case-num span { font-size: 11px; }
  .tr-case-num strong { font-size: 21px; }
  .tr-case-arrow { flex-basis: 12px; }
  .tr-case-arrow:after { width: 9px; height: 9px; }
  .tr-case .tr-more, .tr-more { text-align: center; }
  .tr-more a { min-width: 0; width: 100%; }
  .tr-area-card { padding: 22px 18px 18px; }
  .tr-area-card h3 { font-size: 22px; }
  .tr-office-info { grid-template-columns: 5.5em minmax(0, 1fr); }
  .tr-office-info dt, .tr-office-info dd { font-size: 14px; padding: 12px 0; }
  .tr-contact-tel-num a { font-size: 28px; }
  .tr-renewal .tr-contact-lead h2 { font-size: 22px; }
}

/* ==========================================================================
   下層ページ（2026-11-05 追加）
   ========================================================================== */

/* ページ見出し: 固定ページに付けるタイトル帯（tr-pagehead）とテーマの #page_header を同じ見た目に */
.tr-pagehead {
  background: linear-gradient(rgba(23, 39, 66, .88), rgba(23, 39, 66, .88)), url(/wp-content/uploads/renewal/hero-consult.jpg) no-repeat center 35% / cover;
  color: #fff; margin: 0 0 56px;
}
.tr-pagehead-in { max-width: 1120px; margin: 0 auto; padding: 44px 32px 48px; box-sizing: border-box; }
.tr-pagehead-bc { margin: 0 0 14px; font-size: 12px; color: rgba(255, 255, 255, .75); letter-spacing: .04em; }
.tr-pagehead-bc a { color: rgba(255, 255, 255, .85) !important; text-decoration: none; }
.tr-pagehead-bc a:hover { text-decoration: underline; }
.tr-pagehead-bc span:before { content: "\203A"; margin: 0 8px; color: #e6cf9f; }
.tr-pagehead-title {
  margin: 0; font-family: var(--tr-serif); font-weight: 700; font-size: 32px; line-height: 1.5; letter-spacing: .08em; color: #fff;
}
.tr-pagehead-title:before { content: ""; display: block; width: 32px; height: 2px; background: var(--tr-gold); margin: 0 0 16px; }

.tr-renewal #page_header { width: auto !important; max-width: none; height: 300px; margin: 0; }
.tr-renewal #page_header:after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(23, 39, 66, .9) 0%, rgba(23, 39, 66, .72) 45%, rgba(23, 39, 66, .35) 100%);
}
.tr-renewal #page_header .overlay { display: none; }
.tr-renewal #page_header .sub_title { display: none; }
.tr-renewal #page_header_inner {
  position: absolute !important; z-index: 3 !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
  width: auto !important; height: auto !important; max-width: 1120px; margin: 0 auto !important; transform: none !important;
  display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 32px; box-sizing: border-box; text-align: left;
}
.tr-renewal #page_header .title {
  opacity: 1 !important; animation: none !important; text-align: left !important; color: #fff !important;
  font-family: var(--tr-serif) !important; font-weight: 700 !important; font-size: 34px !important; letter-spacing: .08em; text-shadow: none;
}
.tr-renewal #page_header .title:before { content: ""; display: block; width: 32px; height: 2px; background: var(--tr-gold); margin: 0 0 16px; }

/* パンくず */
.tr-renewal #bread_crumb { width: auto !important; max-width: 1120px; margin: 0 auto; padding: 14px 32px; box-sizing: border-box; border-bottom: 1px solid var(--tr-line); }
.tr-renewal #bread_crumb li, .tr-renewal #bread_crumb li a { font-size: 12px; color: var(--tr-muted) !important; }
.tr-renewal #bread_crumb li a:hover { color: var(--tr-main) !important; }
.tr-renewal #bread_crumb li.last, .tr-renewal #bread_crumb li.last span { color: var(--tr-ink) !important; }

/* 本文の基本 */
.tr-renewal .post_content { font-size: 16px; line-height: 2; color: var(--tr-text); }
.tr-renewal .post_content a:not([class]) { color: var(--tr-main) !important; text-decoration: underline; text-underline-offset: 3px; }
.tr-renewal .post_content .tcdce-body > h2:not([style]):not([class]),
.tr-renewal .post_content .tcdce-body > h2.cmn-title02 {
  margin: 56px 0 24px !important; padding: 0 0 14px !important; border: 0 !important; border-bottom: 1px solid var(--tr-line) !important; position: relative;
  font-family: var(--tr-serif); font-size: 26px !important; font-weight: 700; line-height: 1.55; color: var(--tr-ink) !important; text-align: left !important; background: none !important;
}
.tr-renewal .post_content .tcdce-body > h2:not([style]):not([class]):after,
.tr-renewal .post_content .tcdce-body > h2.cmn-title02:after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--tr-main); }
.tr-renewal .post_content .tcdce-body > h3:not([style]):not([class]) {
  margin: 44px 0 18px !important; padding: 2px 0 2px 16px !important; border: 0 !important; border-left: 4px solid var(--tr-gold) !important; background: none !important;
  font-family: var(--tr-serif); font-size: 21px !important; font-weight: 700; line-height: 1.6; color: var(--tr-ink) !important;
}
.tr-renewal .post_content .tcdce-body > h4:not([style]):not([class]) { margin: 32px 0 12px !important; font-size: 18px !important; font-weight: 700; color: var(--tr-main-dk) !important; }
.tr-renewal .post_content .tcdce-body > h2:first-child, .tr-renewal .post_content .tcdce-body > h2.cmn-title02 { margin-top: 0 !important; }
.tr-renewal .post_content hr { border: 0; border-top: 1px dashed #d6cdbb; margin: 32px 0; }

/* 表 */
.tr-renewal .post_content .s_table table { border-collapse: collapse; width: 100%; }
.tr-renewal .post_content .s_table { max-width: 100%; box-sizing: border-box; }
.tr-renewal .post_content .s_table .s_table { margin: 0; padding: 0; }
.tr-renewal .post_content .s_table table:not([style*="min-width"]) { width: 100% !important; }
.tr-renewal .post_content .s_table table:not([style*="min-width"]) td,
.tr-renewal .post_content .s_table table:not([style*="min-width"]) th { white-space: normal; word-break: break-word; }
.tr-renewal .post_content .s_table table[border] td { border: 1px solid var(--tr-line) !important; padding: 14px 18px !important; line-height: 1.8; }
.tr-renewal .post_content .s_table table[border] tr td:first-child { background: var(--tr-cream); font-weight: 700; color: var(--tr-main-dk); }

/* 目次 */
.tr-renewal .p-toc { background: var(--tr-cream) !important; border: 1px solid var(--tr-line) !important; border-top: 3px solid var(--tr-gold) !important; padding: 22px 28px !important; margin: 32px 0 !important; }
.tr-renewal .p-toc-headline { font-family: var(--tr-serif); font-weight: 700; color: var(--tr-ink); font-size: 17px; }
.tr-renewal .p-toc a { color: var(--tr-main) !important; }

/* コラム・お知らせ・お客様の声の記事見出し */
.tr-renewal #post_title_area .image { margin-bottom: 32px; }
.tr-renewal #post_title_area .title {
  font-family: var(--tr-serif) !important; font-weight: 700 !important; font-size: 30px !important; line-height: 1.6 !important; letter-spacing: .04em; color: var(--tr-ink);
}
.tr-renewal #post_title_area.no_image { padding: 36px 0 26px; border-bottom: 1px solid var(--tr-line); }
.tr-renewal #post_title_area .category a { border-radius: 0 !important; }
.tr-renewal #post_title_area .date, .tr-renewal #single_meta li { color: var(--tr-muted); }

/* SNSボタンは控えめに */
.tr-renewal .single_share .sns li a { background: #fff !important; color: var(--tr-muted) !important; border: 1px solid var(--tr-line) !important; box-shadow: none !important; }
.tr-renewal .single_share .sns li a i, .tr-renewal .single_share .sns li a:before { color: var(--tr-muted) !important; }
.tr-renewal .single_share .sns li a:hover { border-color: var(--tr-main) !important; color: var(--tr-main) !important; }

/* 関連記事・前後の記事 */
.tr-renewal #related_post .headline { color: var(--tr-ink); border-color: var(--tr-gold) !important; }
.tr-renewal #related_post .item a, .tr-renewal #next_prev_post .item a { border-color: var(--tr-line) !important; }
.tr-renewal #related_post .title, .tr-renewal #next_prev_post .title { color: var(--tr-ink); }

/* 一覧ページ（サービス・コラム・お客様の声） */
.tr-renewal #content_header .desc { max-width: 860px; margin-left: auto; margin-right: auto; text-align: left; line-height: 2.1; }
.tr-renewal #service_list .item a { border: 1px solid var(--tr-line); transition: box-shadow .2s; height: 100%; box-sizing: border-box; }
.tr-renewal #service_list .item a:hover { background: #fff; box-shadow: 0 10px 24px rgba(20, 40, 45, .1); }
.tr-renewal #service_list .title { color: var(--tr-ink) !important; font-family: var(--tr-serif); font-weight: 700; }
.tr-renewal #service_list .desc { color: var(--tr-text) !important; }
.tr-renewal #blog_list .title_area, .tr-renewal #blog_list .item:nth-child(3n + 1) .title_area { border-color: var(--tr-line) !important; }
.tr-renewal #blog_list .title, .tr-renewal #news_list .title { color: var(--tr-ink); }
.tr-renewal #blog_list .item a:hover .title, .tr-renewal #news_list a:hover .title { color: var(--tr-main); }
.tr-renewal #news_list .title_area { border-color: var(--tr-line) !important; }

/* サービス詳細ページ下のサービス一覧 */
.tr-renewal #service_single .top_headline {
  border-top: 0 !important; font-family: var(--tr-serif); font-weight: 700; font-size: 26px; color: var(--tr-ink); padding: 0; margin-bottom: 32px;
}
.tr-renewal #service_single .top_headline:before { content: ""; display: block; width: 12px; height: 12px; margin: 0 auto 18px; border: 2px solid var(--tr-gold); transform: rotate(45deg); }
.tr-renewal #service_single .service_list ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tr-renewal #service_single .service_list ul:before, .tr-renewal #service_single .service_list ul:after { display: none; }
.tr-renewal #service_single .service_list li { float: none; width: auto; margin: 0; }
.tr-renewal #service_single .service_list li a {
  height: auto; line-height: 1.5; padding: 18px 36px 18px 18px; border: 1px solid var(--tr-line); background: #fff; text-align: left; position: relative; font-weight: 700; color: var(--tr-ink);
}
.tr-renewal #service_single .service_list li a:after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid var(--tr-gold); border-right: 2px solid var(--tr-gold); transform: rotate(45deg);
}
.tr-renewal #service_single .service_list li a:hover { background: var(--tr-cream); }
.tr-renewal #service_single .service_list li.active a { background: var(--tr-main); border-color: var(--tr-main); color: #fff; }

/* 本文中の案内ボックス（custom-footer）とボタン */
.tr-renewal .custom-footer { background: var(--tr-cream) !important; border: 1px solid var(--tr-line); border-top: 3px solid var(--tr-gold); }
.tr-renewal .custom-footer h3 { font-family: var(--tr-serif); color: var(--tr-ink) !important; }
.tr-renewal .post_content .footer-btn,
.tr-renewal .post_content .cta-btn-main,
.tr-renewal .post_content .cta-button,
.tr-renewal .post_content .tax-cta-main,
.tr-renewal .post_content .valuation-cta-btn,
.tr-renewal .post_content .btn-primary {
  background: var(--tr-cta) !important; border-color: var(--tr-cta) !important; color: #fff !important; text-decoration: none !important; border-radius: 4px !important;
}
.tr-renewal .post_content .footer-btn:hover,
.tr-renewal .post_content .cta-btn-main:hover,
.tr-renewal .post_content .cta-button:hover,
.tr-renewal .post_content .tax-cta-main:hover,
.tr-renewal .post_content .valuation-cta-btn:hover,
.tr-renewal .post_content .btn-primary:hover { background: var(--tr-cta-dk) !important; }

.tr-renewal #page_content { padding-top: 0; }

@media screen and (max-width: 1251px) {
  .tr-renewal #page_header { height: 240px; }
}
@media screen and (max-width: 950px) {
  .tr-pagehead { margin-bottom: 32px; }
  .tr-pagehead-in { padding: 28px 20px 30px; }
  .tr-pagehead-title { font-size: 21px; letter-spacing: .04em; }
  .tr-renewal #page_header { height: 180px; }
  .tr-renewal #page_header_inner { padding: 0 20px; }
  .tr-renewal #page_header .title { font-size: 21px !important; letter-spacing: .04em; }
  .tr-renewal #bread_crumb { padding: 10px 20px; }
  .tr-renewal .post_content { font-size: 15px; }
  .tr-renewal .post_content .tcdce-body > h2:not([style]):not([class]),
  .tr-renewal .post_content .tcdce-body > h2.cmn-title02 { font-size: 21px !important; margin-top: 40px !important; }
  .tr-renewal .post_content .tcdce-body > h3:not([style]):not([class]) { font-size: 18px !important; }
  .tr-renewal #post_title_area .title { font-size: 22px !important; }
  .tr-renewal #post_title_area .image { margin-bottom: 20px; }
  .tr-renewal #service_single .service_list ul { grid-template-columns: 1fr; gap: 8px; }
  .tr-renewal #service_single .top_headline { font-size: 21px; }
  .tr-renewal .post_content .s_table table[border] td { padding: 10px 12px !important; }
}

/* === Inner pages and illustrated navigation, 2026-11-05 === */
.tr-renewal .megamenu_service_list{background:#f5f1e8!important;color:#253d66;box-shadow:0 18px 30px #17274214;border-top:1px solid #e3dccf}
.tr-renewal .megamenu_service_list_inner{max-width:1120px!important;width:calc(100% - 64px)!important;padding:32px 0!important}
.tr-renewal .megamenu_service_list .headline{color:#253d66!important;font-family:var(--tr-serif);font-size:23px!important}
.tr-renewal .megamenu_service_list .service_list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;clear:both;padding-top:20px}
.tr-renewal .megamenu_service_list .service_list:after,.tr-renewal .megamenu_service_list .service_list:before{display:none}
.tr-renewal .megamenu_service_list .item{float:none!important;width:auto!important;margin:0!important}
.tr-renewal .megamenu_service_list .item a{display:flex!important;align-items:center;gap:14px;height:96px!important;background:#fffdf9;border:1px solid #e3dccf;padding:10px!important;color:#253d66!important;box-sizing:border-box;transition:background .2s,transform .2s}
.tr-renewal .megamenu_service_list .item a:hover{background:#ece7da;transform:translateY(-2px)}
.tr-renewal .megamenu_service_list img.image{width:106px!important;height:72px!important;object-fit:cover;float:none!important;border-radius:3px}
.tr-renewal .megamenu_service_list .title_area{position:static!important;float:none!important;flex:1;width:auto!important;height:auto!important;padding:0!important;background:transparent!important}
.tr-renewal .megamenu_service_list .title{color:#253d66!important;font-size:14px!important;line-height:1.6!important;text-align:left!important;position:static!important;height:auto!important}
.tr-renewal .megamenu_service_list .title span{position:static!important;transform:none!important;padding:0!important}
.tr-renewal .megamenu_service_list .link_button a{color:#253d66!important;border-color:#253d66!important;background:transparent!important}
.tr2-mobile-services{background:#f5f1e8;margin:0;padding:0 16px;color:#253d66}
.tr2-mobile-services summary{padding:16px 0;cursor:pointer;font-weight:700;font-size:14px}
#drawer_menu .tr2-mobile-services ul{display:block!important;padding:0 0 12px!important}
#drawer_menu .tr2-mobile-services li{display:block!important;border:0!important;margin:5px 0!important}
#drawer_menu .tr2-mobile-services li a{display:flex!important;gap:12px;align-items:center;padding:8px!important;height:auto!important;line-height:1.5!important;background:#fff!important;color:#253d66!important;font-size:13px!important}
.tr2-mobile-services img{width:72px;height:48px;object-fit:cover}
.tr-inner-v2{background:#fffdf9!important}
.tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{position:relative;height:340px!important;min-height:340px;background-color:#f5f1e8!important;background-image:var(--tr2-art)!important;background-repeat:no-repeat!important;background-size:auto 100%!important;background-position:right center!important;border-bottom:1px solid #e3dccf;color:#253d66;margin:0!important;overflow:hidden}
.tr-inner-v2 #page_header.tr2-hero:after,.tr-inner-v2 .tr-pagehead.tr2-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f5f1e8 0%,#f5f1e8 45%,#f5f1e800 63%);z-index:1;pointer-events:none}
.tr-inner-v2 #page_header_inner,.tr-inner-v2 .tr-pagehead-in{position:relative!important;z-index:2!important;max-width:1120px!important;width:calc(100% - 64px)!important;height:100%!important;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;padding:40px 0!important;margin:0 auto!important;box-sizing:border-box;inset:auto!important}
.tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{position:static!important;transform:none!important;width:56%!important;font-size:clamp(26px,2.5vw,38px)!important;line-height:1.65!important;color:#253d66!important;letter-spacing:.04em!important;text-shadow:none!important;text-align:left!important;margin:0!important;padding:0!important}
.tr-inner-v2 .tr-pagehead-title:before,.tr-inner-v2 #page_header .title:before{width:42px;height:3px;margin-bottom:20px;background:#b08a4a}
.tr-inner-v2 .tr-pagehead-bc,.tr-inner-v2 .tr-pagehead-bc a{color:#626c77!important;font-size:12px}
.tr-inner-v2 #page_header .catch{color:#253d66!important;text-shadow:none!important}
.tr-inner-v2 #bread_crumb{width:auto!important;max-width:1120px;box-sizing:border-box;padding:22px 0!important;margin:0 auto!important;background:transparent;border-bottom:1px solid #e3dccf}
.tr-inner-v2 #main_contents{width:calc(100% - 64px)!important;max-width:1120px!important;margin:64px auto 90px!important;padding:0!important}
.tr-inner-v2 #page_content,.tr-inner-v2 #service_single{max-width:none!important;width:100%!important}
.tr-inner-v2 .service_content{margin-top:0!important;padding:0!important}
.tr-inner-v2 .post_content{font-family:var(--tr-sans);font-size:16px;line-height:2.05;letter-spacing:.02em;color:#3d4350}
.tr-inner-v2 .post_content h2,.tr-inner-v2 .post_content h3{font-family:var(--tr-serif)!important;letter-spacing:.04em;color:#253d66!important;line-height:1.65!important}
.tr-inner-v2 .post_content h2{font-size:28px!important}
.tr-inner-v2 .post_content h3{font-size:22px!important}
.tr-inner-v2 .post_content h4{font-size:18px!important;color:#253d66!important;line-height:1.6}
.tr-inner-v2 .post_content p{line-height:2.05}
.tr-inner-v2 .post_content a:focus-visible,.tr-renewal nav a:focus-visible,.tr2-mobile-services summary:focus-visible{outline:3px solid #b08a4a;outline-offset:4px}
.tr-inner-v2 .post_content .tr2-illustration{border:1px solid #e3dccf;border-radius:12px;box-shadow:none!important;object-fit:contain;width:100%;height:auto!important;aspect-ratio:3/2;display:block}
.tr-inner-v2 .post_content :is(.lifetime-plan-section,.valuation-lp,.lp-wrap,.consult-photo-section){max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
.tr-inner-v2 .lp-intro{display:grid!important;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;margin-bottom:64px!important}
.tr-inner-v2 .lp-text,.tr-inner-v2 .lp-image{width:auto!important;max-width:none!important;flex:none!important}
.tr-inner-v2 .lp-text h2{margin-top:0!important;font-size:30px!important}
.tr-inner-v2 .lp-content{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:48px;margin-bottom:64px!important}
.tr-inner-v2 .lp-main,.tr-inner-v2 .lp-side{width:auto!important;min-width:0;flex:none!important}
.tr-inner-v2 .lp-main h4{margin:28px 0 12px;padding-left:16px;border-left:3px solid #b08a4a}
.tr-inner-v2 :is(.lp-box,.risk-box,.tax-investigation-box,.valuation-risk,.trouble-box){background:#f5f1e8!important;border:1px solid #e3dccf!important;border-radius:10px!important;padding:30px!important;color:#3d4350!important}
.tr-inner-v2 :is(.feature-grid,.risk-grid,.trouble-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important}
.tr-inner-v2 .feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.tr-inner-v2 :is(.feature-card,.flow-card,.compare-box,.risk-card,.trouble-card,.shape-card){border:1px solid #e3dccf!important;background:#fffdf9!important;border-radius:8px!important;box-shadow:none!important;padding:24px 20px!important;color:#3d4350!important;box-sizing:border-box}
.tr-inner-v2 :is(.warning,.danger){border-top:4px solid #b45e40!important;background:#fcf5ed!important}
.tr-inner-v2 #service_single .icon{margin:0 auto 14px!important;width:96px!important;height:64px!important;border:0!important;background:none!important}
.tr-inner-v2 #service_single .icon img{width:96px!important;height:64px!important;object-fit:cover;border-radius:6px}
.tr-inner-v2 :is(.inheritance-illust-box,.division-flow-wrap,.valuation-flow,.valuation-shape){background:transparent!important;padding:32px 0!important;margin:24px 0 48px!important}
.tr-inner-v2 .inheritance-flow,.tr-inner-v2 .division-flow{gap:15px!important;align-items:stretch!important}
.tr-inner-v2 .flow-card{flex:1!important;min-width:0}
.tr-inner-v2 .flow-card h3{font-size:19px!important}
.tr-inner-v2 .arrow,.tr-inner-v2 .valuation-arrow{color:#b08a4a!important;align-self:center}
.tr-inner-v2 .inheritance-compare{margin:40px 0!important;gap:24px!important}
.tr-inner-v2 .post_content span[style*="color: #ff0000"]{color:#a7472c!important}
.tr-inner-v2 .post_content span[style*="color: #993300"]{color:#253d66!important}
.tr-inner-v2 .consult-row,.tr-inner-v2 .valuation-photo-text{display:grid!important;grid-template-columns:1fr 1fr;gap:48px!important;align-items:center;margin:50px 0!important}
.tr-inner-v2 :is(.consult-photo,.consult-text,.photo-area,.text-area){width:auto!important;flex:none!important}
.tr-inner-v2 :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta,.custom-footer){margin:60px 0!important;background:#253d66!important;border:0!important;border-radius:10px!important;padding:40px!important;color:#fff!important;box-shadow:none!important}
.tr-inner-v2 :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta,.custom-footer) :is(h2,h3,p){color:#fff!important}
.tr-inner-v2 :is(.cta-btn-main,.cta-button,.tax-cta-main,.valuation-cta-btn,.footer-btn){border-radius:4px!important;min-height:48px;display:inline-flex!important;justify-content:center;align-items:center;padding:14px 30px!important;line-height:1.6!important;font-size:16px!important}
.tr-inner-v2 .cta-buttons p,.tr-inner-v2 .tax-cta-buttons p{margin:0!important}
.tr-inner-v2 :is(.cta-btn-main,.tax-cta-main,.cta-btn-sub,.tax-cta-sub) br{display:none}
.tr-inner-v2 .lp-case{margin-top:64px!important;padding-top:48px!important}
.tr-inner-v2 .lp-case-kpi .kpi{background:#253d66!important;border-radius:6px;padding:20px}
.tr-inner-v2 .lp-case-kpi .kpi:last-child{background:#526e61!important}
.tr-inner-v2 #service_single>.service_list{border-top:1px solid #e3dccf;margin-top:64px;padding-top:48px}
.tr-inner-v2 #service_list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.tr-inner-v2 #service_list:after,.tr-inner-v2 #service_list:before{display:none}
.tr-inner-v2 #service_list .item{width:auto!important;height:auto!important;min-height:0!important;margin:0!important;float:none!important}
.tr-inner-v2 #service_list .item>a{display:flex!important;flex-direction:column;border-radius:9px;overflow:hidden;background:#fff}
.tr-inner-v2 #service_list .image_wrap{width:100%!important;float:none!important;height:auto!important;aspect-ratio:3/2;flex-shrink:0}
.tr-inner-v2 #service_list .image{height:100%!important;width:100%!important}
.tr-inner-v2 #service_list .title_area{width:auto!important;height:auto!important;float:none!important;padding:28px!important;flex:1}
.tr-inner-v2 #service_list .title{font-size:23px!important;line-height:1.6!important}
.tr-inner-v2 #service_list .desc{font-size:15px!important;line-height:1.9!important}
.tr-inner-v2 #content_header{padding:10px 0 48px!important}
.tr-inner-v2 #news_list .item{background:#fffdf9;border:1px solid #e3dccf;border-radius:8px;overflow:hidden;margin-bottom:24px}
.tr-inner-v2 #news_list .title{font-family:var(--tr-serif);font-size:21px!important;line-height:1.75!important}
.tr-inner-v2 #post_title_area .image{height:300px!important;background-size:contain!important;background-color:#f5f1e8;border-radius:10px;background-repeat:no-repeat!important}
.tr-inner-v2 #post_title_area .title{font-size:30px!important;margin:24px 0!important}
.tr-inner-v2 .tr2-step{display:grid;grid-template-columns:80px 1fr;gap:28px;border:1px solid #e3dccf;border-left:4px solid #b08a4a;border-radius:5px;background:#fff;padding:32px;margin:24px 0}
.tr-inner-v2 .tr2-step-number{font-family:Georgia,serif;font-size:48px;line-height:1.3;color:#b08a4a}
.tr-inner-v2 .tr2-step h3{padding:0!important;border:0!important;margin:0 0 14px!important}
.tr-inner-v2 .tr2-step p{margin:0!important}
.tr-inner-v2[data-tr-art="flow"] #page_content hr{display:none}
.tr-inner-v2[data-tr-art="office"] #tcd-pb-wrap img{border-radius:8px;display:block;object-fit:cover}
.tr-inner-v2[data-tr-art="office"] .pb-widget-image{margin-bottom:26px!important}
.tr-inner-v2[data-tr-art="office"] .tcd-pb-row{margin-bottom:32px!important}
.tr-inner-v2 .tr-contact-lead{max-width:800px;margin:0 auto 32px!important}
.tr-inner-v2 .tr-contact-tel{background:#f5f1e8!important;border:1px solid #e3dccf!important;border-radius:8px}
.tr-inner-v2 .wpcf7{max-width:800px!important;margin:0 auto!important;padding:36px!important;border:1px solid #e3dccf;background:#fff!important;border-radius:10px;box-sizing:border-box}
.tr-inner-v2 .wpcf7 label{font-weight:700;color:#253d66;display:block}
.tr-inner-v2 .wpcf7 :is(input[type="text"],input[type="email"],textarea){background:#fbfaf7!important;border:1px solid #c8cec9!important;border-radius:4px!important;width:100%!important;box-sizing:border-box;font-size:16px;line-height:1.8;padding:14px!important;margin-top:9px}
.tr-inner-v2 .wpcf7 :is(input,textarea):focus{outline:2px solid #b08a4a!important;outline-offset:2px}
.tr2-required{display:inline-block;font-size:11px;color:#a7472c;margin-left:10px;border:1px solid #d4aa9b;padding:1px 7px;border-radius:2px;vertical-align:middle;line-height:1.7}
@media(min-width:1600px){.tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{background-position:calc(50% + 390px) center!important}}
@media(max-width:950px){
 .tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{height:280px!important;min-height:280px;background-size:auto 100%!important;background-position:calc(100% + 100px) center!important}
 .tr-inner-v2 #page_header_inner,.tr-inner-v2 .tr-pagehead-in{width:calc(100% - 40px)!important}
 .tr-inner-v2 #page_header .title,.tr-inner-v2 .tr-pagehead-title{width:64%!important;font-size:27px!important}
 .tr-inner-v2 #main_contents{width:calc(100% - 40px)!important;margin:40px auto 56px!important}
 .tr-inner-v2 #bread_crumb{padding:16px 20px!important}
 .tr-inner-v2 .lp-intro,.tr-inner-v2 .lp-content,.tr-inner-v2 .consult-row,.tr-inner-v2 .valuation-photo-text{gap:28px!important}
 .tr-inner-v2 .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tr-inner-v2 .post_content h2{font-size:24px!important}
}
@media(max-width:600px){
 .tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{height:auto!important;min-height:330px;background-size:290px auto!important;background-position:right bottom!important}
 .tr-inner-v2 #page_header.tr2-hero:after,.tr-inner-v2 .tr-pagehead.tr2-hero:after{background:linear-gradient(180deg,#f5f1e8 0%,#f5f1e8 38%,#f5f1e800 65%)}
 .tr-inner-v2 #page_header_inner,.tr-inner-v2 .tr-pagehead-in{height:auto!important;min-height:330px;justify-content:flex-start;padding:28px 0 165px!important}
 .tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{width:100%!important;font-size:24px!important;line-height:1.6!important}
 .tr-inner-v2 #page_header .title:before,.tr-inner-v2 .tr-pagehead-title:before{margin-bottom:12px}
 .tr-inner-v2 .tr-pagehead-bc{margin-bottom:12px}
 .tr-inner-v2 .post_content{font-size:16px!important;line-height:1.95}
 .tr-inner-v2 .post_content h2{font-size:23px!important}
 .tr-inner-v2 .post_content h3{font-size:20px!important}
 .tr-inner-v2 :is(.lp-intro,.lp-content,.consult-row,.valuation-photo-text){grid-template-columns:1fr!important;gap:24px!important;margin-bottom:40px!important}
 .tr-inner-v2 .lp-intro h2{font-size:25px!important}
 .tr-inner-v2 :is(.feature-grid,.risk-grid,.trouble-grid,.shape-grid){grid-template-columns:1fr!important;gap:16px!important}
 .tr-inner-v2 :is(.inheritance-flow,.division-flow,.valuation-flow-bar){display:flex!important;flex-direction:column!important;gap:12px!important}
 .tr-inner-v2 .flow-card{width:100%!important;flex:auto!important}
 .tr-inner-v2 .inheritance-compare{display:grid!important;grid-template-columns:1fr;gap:18px!important}
 .tr-inner-v2 :is(.lp-box,.risk-box,.tax-investigation-box,.valuation-risk,.trouble-box){padding:24px 20px!important}
 .tr-inner-v2 :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta,.custom-footer){padding:28px 20px!important;margin:40px 0!important}
 .tr-inner-v2 :is(.cta-buttons,.tax-cta-buttons){display:flex!important;flex-direction:column;gap:14px}
 .tr-inner-v2 #service_list{grid-template-columns:1fr;gap:24px}
 .tr-inner-v2 #service_list .title_area{padding:22px!important}
 .tr-inner-v2 #post_title_area .image{height:220px!important}
 .tr-inner-v2 #post_title_area .title{font-size:23px!important}
 .tr-inner-v2 #news_list .title{font-size:18px!important}
 .tr-inner-v2 .tr2-step{grid-template-columns:1fr;gap:12px;padding:22px}
 .tr-inner-v2 .tr2-step-number{font-size:34px}
 .tr-inner-v2 .wpcf7{padding:24px 18px!important}
 .tr-inner-v2 .lp-case-kpi{grid-template-columns:1fr 1fr;gap:10px}
 .tr-inner-v2 .lp-case-kpi strong{font-size:20px}
 .tr-inner-v2 .post_content iframe{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.tr-inner-v2 *,.tr-renewal .megamenu_service_list *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Refined header and service artwork; global menu styles remain unchanged. */
.tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{height:320px!important;min-height:320px;background:#172b3b url('/wp-content/uploads/renewal/tr3-header.svg') right center/cover no-repeat!important;border:0;color:#faf8f2}
.tr-inner-v2 #page_header.tr2-hero:after,.tr-inner-v2 .tr-pagehead.tr2-hero:after{background:linear-gradient(90deg,#172b3bf2 0%,#172b3b99 48%,#172b3b00 85%)!important}
.tr-inner-v2 #page_header_inner,.tr-inner-v2 .tr-pagehead-in{min-height:0!important;justify-content:center!important;padding:40px 0!important}
.tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{color:#faf8f2!important;width:75%!important;font-weight:500!important;letter-spacing:.075em!important;text-wrap:balance}
.tr-inner-v2 #page_header .title:before,.tr-inner-v2 .tr-pagehead-title:before{display:block;content:'';height:1px;width:56px;background:#c6ab78;margin-bottom:25px}
.tr-inner-v2 #page_header .catch{color:#e9e4da!important}
.tr-inner-v2 #bread_crumb,.tr-inner-v2 .tr3-breadcrumb{display:block!important;visibility:visible!important;max-width:1120px;width:calc(100% - 64px)!important;height:auto!important;padding:20px 0!important;margin:0 auto!important;border-bottom:1px solid #dedbd3;background:transparent!important;box-sizing:border-box}
.tr-inner-v2 #bread_crumb ul,.tr-inner-v2 .tr3-breadcrumb .tr-pagehead-bc{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0!important;padding:0!important;line-height:1.8!important;font-size:12px!important;color:#505d67!important}
.tr-inner-v2 #bread_crumb li{display:inline-flex!important;align-items:center;float:none!important;position:static!important;line-height:1.8!important;height:auto!important;padding:0!important;margin:0!important;color:#505d67!important;font-size:12px!important}
.tr-inner-v2 #bread_crumb li:after,.tr-inner-v2 #bread_crumb .home a:before{display:none!important}
.tr-inner-v2 #bread_crumb li+li:before,.tr-inner-v2 .tr3-breadcrumb .tr-pagehead-bc span:before{content:'›'!important;display:inline-block!important;position:static!important;transform:none!important;color:#9a896c;font-family:Arial,sans-serif;font-size:15px;margin:0 12px 0 0!important}
.tr-inner-v2 #bread_crumb li a,.tr-inner-v2 #bread_crumb li span,.tr-inner-v2 .tr3-breadcrumb .tr-pagehead-bc a,.tr-inner-v2 .tr3-breadcrumb .tr-pagehead-bc span{display:inline!important;visibility:visible!important;text-indent:0!important;overflow:visible!important;width:auto!important;height:auto!important;color:#505d67!important;font-size:12px!important;line-height:1.8!important}
.tr-inner-v2 #bread_crumb a:hover,.tr-inner-v2 .tr3-breadcrumb a:hover{text-decoration:underline}
.tr-inner-v2 #bread_crumb .home a span{opacity:1!important}
.tr-inner-v2 .post_content img.tr3-service-art{border-radius:2px!important;border-color:#dedbd3!important}
@media(max-width:950px){.tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{width:90%!important}.tr-inner-v2 #bread_crumb,.tr-inner-v2 .tr3-breadcrumb{width:calc(100% - 40px)!important;padding:16px 0!important}}
@media(max-width:600px){
 .tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{height:auto!important;min-height:240px;background-position:75% center!important}
 .tr-inner-v2 #page_header.tr2-hero:after,.tr-inner-v2 .tr-pagehead.tr2-hero:after{background:linear-gradient(90deg,#172b3bd9,#172b3b44)!important}
 .tr-inner-v2 #page_header_inner,.tr-inner-v2 .tr-pagehead-in{min-height:240px!important;padding:38px 0!important}
 .tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{font-size:24px!important;width:100%!important;line-height:1.7!important}
 .tr-inner-v2 #page_header .title:before,.tr-inner-v2 .tr-pagehead-title:before{margin-bottom:22px}
}

/* Photographic warmth matching the homepage. Global menu untouched. */
.tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{height:380px!important;min-height:380px;background-color:#e8dfd0!important;background-image:var(--tr4-photo,url('/wp-content/uploads/renewal/tr4-header.jpg'))!important;background-size:cover!important;background-position:center 52%!important;color:#253d46}
.tr-inner-v2 #page_header.tr2-hero:after,.tr-inner-v2 .tr-pagehead.tr2-hero:after{background:linear-gradient(90deg,rgba(249,246,238,.98) 0%,rgba(249,246,238,.93) 24%,rgba(249,246,238,.65) 47%,rgba(249,246,238,.05) 72%)!important}
.tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{color:#213b48!important;font-size:clamp(28px,2.6vw,40px)!important;width:65%!important;line-height:1.8!important;text-shadow:0 1px 18px #fff8}
.tr-inner-v2 #page_header .title:before,.tr-inner-v2 .tr-pagehead-title:before{width:62px;height:2px;background:#a98b54;margin-bottom:24px}
.tr-inner-v2 #page_header .catch{color:#3e4e51!important}
.tr-inner-v2 #main_contents{margin-top:42px!important}
.tr-inner-v2 .post_content img.tr4-photo{object-fit:cover!important;aspect-ratio:3/2!important;width:100%!important;height:auto!important;border:0!important;border-radius:8px!important;box-shadow:0 12px 32px #5b493815!important}
.tr-inner-v2 #service_list .image{background-size:cover!important;background-position:center!important}
.tr-inner-v2 #service_list .item{border:1px solid #ded9cc!important;border-radius:8px!important;box-shadow:0 10px 28px #493b2010!important;overflow:hidden}
.tr-inner-v2 #service_list .title_area{background:#fffdf8!important}
.tr4-toc{background:#f1eee5;border:1px solid #ded8c8;border-left:4px solid #9d8356;border-radius:4px;padding:24px 28px;margin:0 0 48px;font-size:14px;line-height:1.65}
.tr4-toc>p{font-size:14px!important;letter-spacing:.12em;font-weight:700;color:#496052;margin:0 0 16px!important}
.tr4-toc ol{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:1fr 1fr;gap:0 28px;counter-reset:contents}
.tr4-toc li{counter-increment:contents;margin:0!important;padding:0!important;list-style:none!important;min-width:0}
.tr4-toc a{display:flex;gap:12px;padding:12px 0;border-top:1px solid #dcd5c5;color:#304651!important;text-decoration:none!important}
.tr4-toc a:before{content:counter(contents,decimal-leading-zero);font-family:Georgia,serif;color:#a58b5e;font-size:17px}
.tr4-toc a:hover{color:#a5522f!important}
.tr4-service .post_content{color:#394444!important;line-height:2!important}
.tr4-service .post_content :is(h2,h3,h4){scroll-margin-top:130px;text-wrap:balance}
.tr4-service .post_content h2{font-size:28px!important;line-height:1.65!important;margin:0 0 24px!important;color:#25424b!important;border:0!important;padding:0 0 18px!important;position:relative}
.tr4-service .post_content h2:after{content:'';display:block;position:absolute;bottom:0;left:0;width:44px;height:2px;background:#ad925e}
.tr4-service .post_content h3{font-size:23px!important;margin:0 0 22px!important;color:#25424b!important}
.tr4-service .post_content p{margin:0 0 22px!important;line-height:2!important}
.tr4-service .post_content ul{padding:0 0 0 1.25em!important;margin:18px 0 0!important}
.tr4-service .post_content li{padding-left:4px;margin:9px 0!important;line-height:1.9}
.tr4-service .post_content li::marker{color:#9d8356}
.tr4-service .tr4-section{padding:36px 40px;margin:0 0 36px;border:1px solid #e3ddcf;border-radius:7px;background:#fff;box-shadow:0 8px 26px #59462d06}
.tr4-service .tr4-section>p:last-child{margin-bottom:0!important}
.tr4-service .tr4-photo-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:42px;align-items:center;margin:0 0 52px}
.tr4-service .tr4-intro-copy{font-size:18px!important;padding:0!important;margin:0!important}
.tr4-service .tr4-intro-copy strong{display:block;font-family:var(--tr-serif);font-size:26px;line-height:1.6;margin-bottom:20px}
.tr4-service .tr4-richtext{line-height:2.1}
.tr4-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
.tr4-detail-card{padding:26px!important;background:#f7f5ee;border:1px solid #e1dbcb;border-top:3px solid #b49a68;border-radius:4px;line-height:1.95;min-width:0}
.tr4-service .tr4-detail-card h3,.tr4-service .tr4-detail-card h4{font-size:20px!important;line-height:1.65!important;margin:0 0 16px!important;padding:0!important;border:0!important;color:#25424b!important}
.tr4-detail-card>br:first-of-type{display:none}
.tr4-service .lp-content{grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr)!important;gap:30px!important;align-items:start}
.tr4-service .lp-main>h3{padding:0 0 18px;border-bottom:1px solid #ddd5c4}
.tr4-service .lp-main .tr4-detail-grid{grid-template-columns:1fr}
.tr4-service .lp-box{background:#ecefe6!important;border:1px solid #d6dece!important}
.tr4-service :is(.inheritance-illust-box,.division-flow-wrap,.valuation-flow,.valuation-shape,.lp-feature){padding:0!important;margin:0 0 52px!important}
.tr4-service :is(.flow-card,.feature-card,.shape-card,.risk-card,.trouble-card,.compare-box){padding:26px!important;border:1px solid #dcd8cb!important;border-radius:5px!important;background:#fff!important;box-shadow:0 7px 18px #423a2010!important}
.tr4-service :is(.flow-card,.feature-card,.shape-card,.risk-card,.trouble-card) h3,.tr4-service .feature-card h4{font-size:19px!important;text-wrap:balance;margin:0 0 12px!important}
.tr4-service :is(.flow-card,.feature-card,.risk-card,.trouble-card) p{font-size:15px!important;margin:0!important}
.tr4-service .tr4-number{width:auto!important;height:auto!important;text-align:left;margin:0 0 20px!important}
.tr4-service .tr4-number img{display:none!important}
.tr4-number:before{content:attr(data-number);display:block;font:34px/1 Georgia,serif;color:#a48959}
.tr4-service .compare-box .icon{display:none}
.tr4-service .inheritance-flow,.tr4-service .division-flow{gap:12px!important}
.tr4-service .flow-card{min-width:0!important}
.tr4-service :is(.risk-box,.trouble-box,.valuation-risk,.tax-investigation-box){margin:42px 0!important;background:#eef0e7!important;border:1px solid #d8dfce!important;border-left:4px solid #78846b!important;padding:32px!important}
.tr4-service :is(.warning,.danger){border-top:3px solid #b56b49!important;background:#faf4eb!important}
.tr4-service :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta){background:linear-gradient(120deg,#274348,#3d574b)!important;border-radius:8px!important;padding:40px!important;margin:52px 0!important}
.tr4-service :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta) :is(h2,h3,p){color:#fffdf6!important}
.tr4-service :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta) h2:after{left:50%;transform:translateX(-50%);background:#c4ad7f}
.tr4-service .lp-case{background:#fff;border:1px solid #e2dbca;border-radius:8px;padding:36px;margin:48px 0}
.tr4-service .lp-case-note{font-size:13px!important;color:#626865!important;border-top:1px solid #e2dbca;padding-top:20px}
.tr4-service .valuation-lp>section{margin-bottom:48px!important}
.tr4-service .valuation-hero{background:#f4f1e8!important;color:#25424b!important;text-align:left!important;padding:32px!important;border-left:4px solid #b49a68}
.tr4-service .valuation-step{border-radius:4px!important;background:#f1f0e8!important;color:#25424b!important;border:1px solid #dcd6c6!important}
@media(max-width:950px){.tr4-service .lp-content{grid-template-columns:1fr!important}.tr4-service .lp-main .tr4-detail-grid{grid-template-columns:1fr 1fr}.tr4-service .tr4-photo-intro{gap:25px}.tr-inner-v2 #page_header .title,.tr-inner-v2 .tr-pagehead-title{width:80%!important}}
@media(max-width:600px){
 .tr-inner-v2 #page_header.tr2-hero,.tr-inner-v2 .tr-pagehead.tr2-hero{height:auto!important;min-height:300px;background-position:63% center!important}
 .tr-inner-v2 #page_header.tr2-hero:after,.tr-inner-v2 .tr-pagehead.tr2-hero:after{background:linear-gradient(90deg,#f9f6eeeb,#f9f6eeb0 60%,#f9f6ee30)!important}
 .tr-inner-v2 #page_header_inner,.tr-inner-v2 .tr-pagehead-in{min-height:300px!important;padding:38px 0!important}
 .tr-inner-v2 #page_header .title,.tr-inner-v2 #page_header .headline,.tr-inner-v2 .tr-pagehead-title{width:100%!important;font-size:25px!important;line-height:1.75!important}
 .tr4-toc{padding:20px;margin-bottom:34px}.tr4-toc ol{grid-template-columns:1fr}.tr4-toc a{font-size:13px}
 .tr4-service .tr4-photo-intro,.tr4-detail-grid,.tr4-service .lp-main .tr4-detail-grid{grid-template-columns:1fr;gap:20px}
 .tr4-service .tr4-section{padding:24px 20px;margin-bottom:26px}.tr4-detail-card{padding:22px!important}
 .tr4-service .post_content h2{font-size:24px!important}.tr4-service .post_content h3{font-size:21px!important}
 .tr4-service .tr4-intro-copy{font-size:16px!important}.tr4-service .tr4-intro-copy strong{font-size:24px}
 .tr4-service :is(.risk-box,.trouble-box,.valuation-risk,.tax-investigation-box,.lp-case){padding:24px 20px!important}
 .tr4-service :is(.lp-cta,.tax-cta-pro,.cta-pro,.cta-modern,.valuation-cta){padding:28px 20px!important}
 .tr4-service .post_content :is(h2,h3,h4){scroll-margin-top:100px}
}

/* Align introduction heading and preserve space beside the heading rule. */
.tr4-service .lp-text h2{text-align:left!important}
.tr4-service .lp-main>h3{padding-left:18px!important}

/* Keep the original step numbers; update testimonial imagery. */
.tr-inner-v2 .tr2-step-number{display:none!important}
.tr-inner-v2 .tr2-step{grid-template-columns:1fr!important}
.tr-inner-v2:is(.post-type-archive-news,.single-news) #page_header.tr2-hero{background-image:url('/wp-content/uploads/renewal/tr4-voice.jpg')!important}
.tr-inner-v2:is(.post-type-archive-news,.single-news) :is(#news_list .image,#post_title_area .image,#next_prev_post .image){background-image:url('/wp-content/uploads/renewal/tr4-voice.jpg')!important;background-size:cover!important;background-position:center!important}

/* Center the existing contact form submit label. */
.tr-inner-v2 .wpcf7 input.wpcf7-submit[type="submit"]{box-sizing:border-box!important;height:56px!important;min-height:56px!important;line-height:normal!important;padding:0 20px!important;text-align:center!important;vertical-align:middle!important}

/* Warm editorial styling for column listings and articles. Content and images remain untouched. */
.tr-inner-v2.category #blog_list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important}
.tr-inner-v2.category #blog_list:before,.tr-inner-v2.category #blog_list:after{display:none!important}
.tr-inner-v2.category #blog_list .item{float:none!important;width:auto!important;margin:0!important;min-width:0}
.tr-inner-v2.category #blog_list .item>a{display:flex!important;flex-direction:column;height:100%;background:#fff;border:1px solid #e3ddcf;border-radius:8px;overflow:hidden;box-shadow:0 8px 24px #493b2010;text-decoration:none}
.tr-inner-v2.category #blog_list .image_wrap{height:auto!important;aspect-ratio:3/2;overflow:hidden;background:#f5f1e8}
.tr-inner-v2.category #blog_list .image{height:100%!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;transition:transform .25s}
.tr-inner-v2.category #blog_list a:hover .image{transform:scale(1.03)}
.tr-inner-v2.category #blog_list .title_area{position:static!important;width:auto!important;height:auto!important;min-height:120px;padding:22px!important;border:0!important;background:#fff!important;box-sizing:border-box}
.tr-inner-v2.category #blog_list .title{position:static!important;transform:none!important;font-family:var(--tr-serif);font-size:18px!important;line-height:1.65!important;color:#25424b!important;text-align:left!important}
.tr-inner-v2.category #blog_list .title span{position:static!important;transform:none!important;padding:0!important}
.tr-inner-v2.single-post #main_col{max-width:900px;width:100%!important;margin:0 auto;float:none!important}
.tr-inner-v2.single-post #post_title_area{padding:0 0 30px;border-bottom:1px solid #e1dbcd;margin-bottom:32px}
.tr-inner-v2.single-post #post_title_area .image{background-color:#f1eee6!important;border:1px solid #e2dbce;border-radius:8px!important}
.tr-inner-v2.single-post #post_title_area .title{font-family:var(--tr-serif);font-size:clamp(24px,2.3vw,32px)!important;line-height:1.7!important;letter-spacing:.035em!important;color:#25424b!important;text-align:left!important;margin:18px 0!important;overflow-wrap:anywhere}
.tr-inner-v2.single-post #post_title_area .category a{background:#e8ede5!important;color:#355649!important;padding:5px 12px!important}
.tr-inner-v2.single-post #post_title_area .category{position:static!important;height:auto!important;margin:0 0 12px!important;line-height:1.5!important}
.tr-inner-v2.single-post #post_title_area .category a{position:static!important;display:inline-block!important;width:auto!important;height:auto!important;line-height:1.5!important}
.tr-inner-v2.single-post .post_content{color:#394444;font-size:16px;line-height:2}
.tr-inner-v2.single-post .post_content h2{color:#25424b!important;border-left-color:#ad925e!important;line-height:1.65!important;overflow-wrap:anywhere;scroll-margin-top:115px}
.tr-inner-v2.single-post .post_content h3{color:#25424b!important;line-height:1.65!important;overflow-wrap:anywhere}
.tr-inner-v2.single-post .p-toc{background:#f3f0e7!important;border:1px solid #e0d9c8!important;border-left:4px solid #a68a59!important;border-radius:4px!important;padding:24px!important}
.tr-inner-v2.single-post .post_content img{max-width:100%;height:auto}
@media(max-width:950px){.tr-inner-v2.category #blog_list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tr-inner-v2.category #blog_list{grid-template-columns:1fr;gap:18px!important}.tr-inner-v2.category #blog_list .title_area{min-height:0;padding:20px!important}.tr-inner-v2.single-post #post_title_area .title{font-size:23px!important}.tr-inner-v2.single-post .p-toc{padding:20px!important}.tr-inner-v2.single-post .post_content h2{font-size:22px!important}.tr-inner-v2.single-post .post_content{font-size:16px!important}}

/* Keep the service photo beside its title and description on the home page. */
.home.tr-renewal .index_service_list .service_list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px!important}
.home.tr-renewal .index_service_list .service_list:before,.home.tr-renewal .index_service_list .service_list:after{display:none!important}
.home.tr-renewal .index_service_list .item{float:none!important;width:auto!important;height:auto!important;margin:0!important;min-width:0}
.home.tr-renewal .index_service_list .item>a{display:grid!important;grid-template-columns:minmax(130px,40%) minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;min-height:190px;height:100%!important;overflow:hidden;box-sizing:border-box}
.home.tr-renewal .index_service_list .item .image_wrap{grid-column:1;grid-row:1 / span 2;position:relative!important;width:100%!important;height:100%!important;min-height:190px;margin:0!important}
.home.tr-renewal .index_service_list .item .image{width:100%!important;height:100%!important;background-size:cover!important;background-position:center!important}
.home.tr-renewal .index_service_list .item .title{grid-column:2;grid-row:1;position:static!important;transform:none!important;width:auto!important;height:auto!important;min-height:0!important;padding:24px 24px 0!important;margin:0!important;line-height:1.55!important;text-align:left!important;box-sizing:border-box;overflow-wrap:anywhere}
.home.tr-renewal .index_service_list .item .title span,.home.tr-renewal .index_service_list .item .desc span{position:static!important;transform:none!important;display:inline!important;padding:0!important}
.home.tr-renewal .index_service_list .item .desc{grid-column:2;grid-row:2;position:static!important;transform:none!important;width:auto!important;height:auto!important;min-height:0!important;padding:10px 24px 24px!important;margin:0!important;line-height:1.7!important;text-align:left!important;box-sizing:border-box;overflow-wrap:anywhere}
.home.tr-renewal .index_service_list .item .desc{max-height:none!important;overflow:visible!important}
@media(max-width:767px){.home.tr-renewal .index_service_list .service_list{grid-template-columns:1fr;gap:14px!important}.home.tr-renewal .index_service_list .item>a{grid-template-columns:minmax(100px,36%) minmax(0,1fr);min-height:160px}.home.tr-renewal .index_service_list .item .image_wrap{min-height:160px}.home.tr-renewal .index_service_list .item .title{padding:18px 16px 0!important;font-size:16px!important}.home.tr-renewal .index_service_list .item .desc{padding:8px 16px 18px!important;font-size:13px!important}}

/* Allow the home service list to contain every card and its shadow. */
.home.tr-renewal .index_service_list .service_list_wrap{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:12px!important}

.home.tr-renewal .index_service_list .service_list{margin-bottom:0!important}


@media (max-width: 767px) {
  body.tr-inner-v2 #bread_crumb + #main_contents { margin-top: 20px !important; }
  body.tr-inner-v2 #main_contents > #content_header { padding-top: 0 !important; }
  body.tr-inner-v2 #content_header > .desc:first-child { margin-top: 0 !important; }
  body.post-type-archive-news #news_list .item { width: 100% !important; height: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
  body.post-type-archive-news #news_list .item > .link { display: flex !important; height: auto !important; align-items: stretch; }
  body.post-type-archive-news #news_list .image_wrap { float: none !important; flex: 0 0 38%; width: 38% !important; height: auto !important; min-height: 145px; }
  body.post-type-archive-news #news_list .title_area { float: none !important; flex: 1 1 0; width: auto !important; height: auto !important; display: flex; align-items: center; min-width: 0; }
  body.post-type-archive-news #news_list .title_area_inner { position: static !important; transform: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 18px !important; }
  body.post-type-archive-news #news_list .title { height: auto !important; max-height: none !important; overflow: visible !important; }
}

@media(max-width:767px){body.post-type-archive-news #news_list{width:auto!important;margin-left:0!important;margin-right:0!important}body.post-type-archive-news #news_list .title span{height:auto!important;max-height:none!important;overflow:visible!important;display:inline!important}}


.tr-inner-v2 .tr-column-photo{background-size:cover!important;background-position:center!important}

body.tr-renewal #blog_list .image.tr-column-photo,body.tr-renewal #post_title_area .image.tr-column-photo,body.tr-renewal #related_post .image.tr-column-photo,body.tr-renewal #next_prev_post .image.tr-column-photo{background-size:cover!important;background-position:center!important}

body.tr-inner-v2.category #blog_list .image,body.tr-inner-v2.single-post #post_title_area .image,body.tr-inner-v2.single-post #related_post .image,body.tr-inner-v2.single-post #next_prev_post .image{background-size:cover!important;background-position:center!important}
/* Article consultation panel: retain the existing text and links. */
body.tr-renewal.single-post .tr-cta {
  background: linear-gradient(110deg,rgba(247,243,234,.95),rgba(247,243,234,.84)), url('/wp-content/uploads/renewal/tr4-header.jpg') center / cover no-repeat !important;
  padding: 72px 20px !important;
  color: #172742 !important;
}
body.tr-renewal.single-post .tr-cta .tr-wrap {
  max-width: 920px;
  padding: 48px 42px !important;
  background: rgba(255,255,255,.94);
  border: 1px solid #e2d8c6;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(40,45,52,.09);
}
body.tr-renewal.single-post .tr-cta .tr-cta-area { color: #92733b !important; }
body.tr-renewal.single-post .tr-cta .tr-cta-title { color: #172742 !important; }
body.tr-renewal.single-post .tr-cta .tr-cta-lead,
body.tr-renewal.single-post .tr-cta .tr-cta-addr { color: #4d5965 !important; }
body.tr-renewal.single-post .tr-cta .tr-btn-tel { border: 1px solid #cbd2d9; }
@media (max-width: 767px) {
  body.tr-renewal.single-post .tr-cta { padding: 44px 20px !important; }
  body.tr-renewal.single-post .tr-cta .tr-wrap { padding: 32px 20px !important; }
}

body.postid-22.tr-inner-v2 #page_header .title{display:block!important}

/* Select each current hero before the deferred enhancement script runs. */
body.tr-renewal:not(.home) { --tr-initial-hero: url('/wp-content/uploads/renewal/tr4-header.jpg'); }
body.tr-renewal.postid-22 { --tr-initial-hero: url('/wp-content/uploads/renewal/tr4-tax.jpg'); }
body.tr-renewal.postid-51 { --tr-initial-hero: url('/wp-content/uploads/renewal/tr4-family.jpg'); }
body.tr-renewal.postid-25 { --tr-initial-hero: url('/wp-content/uploads/renewal/tr4-property.jpg'); }
body.tr-renewal.postid-24 { --tr-initial-hero: url('/wp-content/uploads/renewal/tr4-division.jpg'); }
body.tr-renewal:is(.post-type-archive-news,.single-news) { --tr-initial-hero: url('/wp-content/uploads/renewal/tr4-voice.jpg'); }
body.tr-renewal:not(.home) :is(#page_header,.tr-pagehead) {
  background-image: var(--tr-initial-hero) !important;
  background-color: #e8dfd0 !important;
  background-size: cover !important;
  background-position: center 52% !important;
  background-repeat: no-repeat !important;
}
@media(max-width:600px){body.tr-renewal:not(.home) :is(#page_header,.tr-pagehead){background-position:63% center!important}}

/* ===== お知らせ（無料相談受付中など、simple-news-lp の記事） ===== */
.tr-renewal.single-oshirase .post_content { padding-left: 0; padding-right: 0; }
.tr-renewal .simple-news-lp { max-width: 860px; margin: 0 auto; padding: 0; font-family: var(--tr-sans); }
.tr-renewal .simple-news-lp p:empty, .tr-renewal .simple-news-lp br { display: none; }
.tr-renewal .simple-news-lp p { margin: 0; }
/* ページ上部に記事タイトル（h1）があるので、本文側の同じ見出しは出さない */
.tr-renewal .simple-news-lp .news-main-box h1 { display: none; }
.tr-renewal .simple-news-lp .news-main-box {
  margin: 0 0 40px; padding: 34px 44px; background: var(--tr-cream); border: 0; border-top: 3px solid var(--tr-gold); border-radius: 0;
}
.tr-renewal .simple-news-lp .news-label {
  display: inline-block; margin: 0 0 16px; padding: 4px 14px; background: var(--tr-main); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em; border-radius: 2px;
}
.tr-renewal .simple-news-lp .news-lead { font-size: 17px; line-height: 2; color: var(--tr-ink); font-weight: 500; }
.tr-renewal .simple-news-lp .news-content-box { margin: 0 0 40px; padding: 44px; background: #fff; border: 1px solid var(--tr-line); border-radius: 0; }
.tr-renewal .simple-news-lp .news-content-box h2 {
  margin: 0 0 28px; padding: 0; border: 0; background: none; text-align: center; font-family: var(--tr-serif); font-size: 26px; font-weight: 700; line-height: 1.6; color: var(--tr-main);
}
.tr-renewal .simple-news-lp .news-content-box h2:before {
  content: ""; position: static; display: block; width: 10px; height: 10px; margin: 0 auto 16px; border: 2px solid var(--tr-gold); background: none; transform: rotate(45deg);
}
.tr-renewal .simple-news-lp .news-content-box h2:after { display: none; }
.tr-renewal .simple-news-lp .news-content-box ul {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none;
}
.tr-renewal .simple-news-lp .news-content-box li {
  position: relative; margin: 0; padding: 16px 16px 16px 50px; background: var(--tr-cream); border: 1px solid var(--tr-line);
  font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--tr-ink); list-style: none;
}
.tr-renewal .simple-news-lp .news-content-box li:before {
  content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border: 1px solid var(--tr-main); background: #fff; border-radius: 2px;
}
.tr-renewal .simple-news-lp .news-content-box li:after {
  content: ""; position: absolute; left: 23px; top: 19px; width: 6px; height: 12px;
  border-right: 3px solid var(--tr-cta); border-bottom: 3px solid var(--tr-cta); transform: rotate(45deg);
}
.tr-renewal .simple-news-lp .news-content-box p { font-size: 16px; line-height: 2; color: var(--tr-text); text-align: center; }
.tr-renewal .simple-news-lp .news-cta-box {
  margin: 0; padding: 44px; text-align: center; color: #fff; background: var(--tr-main-dk); border-radius: 0;
}
.tr-renewal .simple-news-lp .news-cta-box h2 {
  margin: 0 0 14px; padding: 0; border: 0; background: none; font-family: var(--tr-serif); font-size: 26px; font-weight: 700; line-height: 1.6;
  color: #fff !important; -webkit-text-fill-color: #fff; opacity: 1 !important; transform: none !important;
}
.tr-renewal .simple-news-lp .news-cta-box h2:before, .tr-renewal .simple-news-lp .news-cta-box h2:after { display: none; }
.tr-renewal .simple-news-lp .news-cta-box p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.88); }
.tr-renewal .simple-news-lp .news-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 300px; margin-top: 26px; padding: 18px 32px;
  background: var(--tr-cta); color: #fff !important; font-size: 18px; font-weight: 700; line-height: 1.4; text-decoration: none !important;
  border: 0; border-radius: 4px; box-shadow: 0 3px 0 var(--tr-cta-dk); transition: background .2s;
}
.tr-renewal .simple-news-lp .news-cta-btn:before { content: ""; width: 20px; height: 20px; background: var(--tr-ico-mail) no-repeat center / contain; }
.tr-renewal .simple-news-lp .news-cta-btn:hover { background: var(--tr-cta-dk); }
.tr-renewal.single-oshirase #main_col { margin-bottom: 0; }
.tr-renewal.single-oshirase #next_prev_post { margin-top: 56px; margin-bottom: 80px; }

@media screen and (max-width: 750px) {
  .tr-renewal .simple-news-lp .news-main-box { margin-bottom: 24px; padding: 24px 20px; }
  .tr-renewal .simple-news-lp .news-lead { font-size: 15px; line-height: 1.9; }
  .tr-renewal .simple-news-lp .news-content-box { margin-bottom: 24px; padding: 30px 18px; }
  .tr-renewal .simple-news-lp .news-content-box h2, .tr-renewal .simple-news-lp .news-cta-box h2 { font-size: 21px; }
  .tr-renewal .simple-news-lp .news-content-box ul { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
  .tr-renewal .simple-news-lp .news-content-box li { padding: 13px 12px 13px 46px; font-size: 15px; }
  .tr-renewal .simple-news-lp .news-content-box li:before { left: 14px; top: 15px; }
  .tr-renewal .simple-news-lp .news-content-box li:after { left: 21px; top: 16px; }
  .tr-renewal .simple-news-lp .news-content-box p { font-size: 15px; text-align: left; }
  .tr-renewal .simple-news-lp .news-cta-box { padding: 32px 20px; }
  .tr-renewal .simple-news-lp .news-cta-box p { font-size: 14px; text-align: left; }
  .tr-renewal .simple-news-lp .news-cta-btn { display: flex; min-width: 0; width: 100%; margin-top: 22px; padding: 16px; font-size: 17px; box-sizing: border-box; }
  .tr-renewal.single-oshirase #next_prev_post { margin-top: 36px; margin-bottom: 48px; }
}

/* ===== スマホの左右余白（トップページと同じく画面端から約20pxにそろえる） ===== */
@media screen and (max-width: 750px) {
  /* お知らせ記事は本文側にも20pxの余白が重なっていた */
  .tr-renewal.single-oshirase .post_content { padding-left: 0 !important; padding-right: 0 !important; }
  /* カードを囲む外枠は、スマホでは枠を外してカードを画面幅いっぱいに */
  .tr-renewal .post_content :is(.trouble-box, .risk-box, .valuation-risk, .tax-investigation-box, .lp-box, .tr4-section, .valuation-hero, #jirei):has(:is(.trouble-card, .risk-card, .shape-card, .flow-card, .feature-card, .compare-box, .tr4-detail-card, .step, .card)) {
    padding-left: 0 !important; padding-right: 0 !important; background: none !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important;
  }
  /* 枠・カードの内側の余白を詰める */
  .tr-renewal .post_content :is(.trouble-box, .risk-box, .valuation-risk, .tax-investigation-box, .lp-box, .tr4-section, .valuation-hero, #jirei,
    .trouble-card, .risk-card, .shape-card, .flow-card, .feature-card, .compare-box, .tr4-detail-card, .step, .card, .caution, .summary, .cta, .points,
    .cta-modern, .cta-pro, .lp-cta, .tax-cta-pro, .valuation-cta, .title-block, .tr4-toc, .p-toc, .tr2-step, .custom-footer, .tr-contact-tel, .info-box) {
    padding-left: 16px !important; padding-right: 16px !important;
  }
  .tr-renewal .post_content :is(.summary, .cta-modern, .cta-pro, .lp-cta, .tax-cta-pro, .valuation-cta) .cta { padding-left: 14px !important; padding-right: 14px !important; }
  /* 生前対策ページの外側セクション、二次相続ページの図解枠も余白が重なっていた */
  .tr-renewal .post_content .lifetime-plan-section { padding-left: 0 !important; padding-right: 0 !important; }
  .tr-renewal .post_content .inheritance-illust-box { padding-left: 0 !important; padding-right: 0 !important; }
  .tr-renewal .post_content .p-toc li li { padding-left: 14px !important; }
  .tr-renewal .post_content .p-toc li { padding-left: 4px !important; }
  .tr-renewal .wpcf7 form.wpcf7-form { margin-left: 0 !important; margin-right: 0 !important; }
}

/* ===== ◇の位置と上の枠との間隔（2026-11-07） ===== */
.tr-renewal .top-news-box h2:before { position: static !important; left: auto !important; top: auto !important; }
@media screen and (max-width: 750px) {
  /* 「お困りではありませんか」の一覧と「サービス内容」の◇、サービス一覧と「事例」の◇の間をあける */
  .tr-renewal.home .index_service_list { padding-top: 36px !important; }
  .tr-renewal .tr-case { padding-top: 56px; }
}

/* トップの並び順は、ブロックの番号（cb_content_N）ではなく種類で決める。
   管理画面でブロックを追加・削除すると番号がずれ、並びが崩れるため（2026-11-07） */
body.tr-renewal.home #index_content_builder > .index_service_list { order: 2; }
body.tr-renewal.home #index_content_builder > .index_post_slider:has(a[href*="/voice"]) { order: 6; }
body.tr-renewal.home #index_content_builder > .index_message { order: 7; }
body.tr-renewal.home #index_content_builder > .index_post_slider:not(:has(a[href*="/voice"])) { order: 8; }
body.tr-renewal.home #index_content_builder > .index_free_space { order: 9; }

/* ===== スマホのトップ：◇の上の間隔をすべて56pxにそろえる（2026-11-07） ===== */
@media screen and (max-width: 750px) {
  .tr-renewal.home .tr-worries { padding-top: 56px; padding-bottom: 20px; }
  .tr-renewal.home .index_service_list { padding-top: 36px !important; padding-bottom: 0 !important; }
  .tr-renewal.home .index_service_list .service_list_wrap { padding-bottom: 0 !important; }
  .tr-renewal.home .tr-case { padding-top: 56px; }
  .tr-renewal.home .tr-area, .tr-renewal.home .tr-flow { padding-top: 56px; }
  .tr-renewal.home #index_content_builder > .index_post_slider { padding-top: 56px !important; }
  .tr-renewal.home #index_content_builder > .index_free_space { margin-top: 0 !important; padding-top: 0 !important; }
  .tr-renewal.home .top-news-box { margin-top: 56px !important; }
}

/* --------------------------------------------------------------------------
   旧画像のちらつき防止（2026-11-08）
   renewal.js が画像・見出し画像を差し替えるまで該当箇所を非表示にする。
   renewal.js は実行時に <html data-tr-inner-v2="1"> を付けるので、それを合図に表示。
   万一 JS が動かない場合も 3 秒後には必ず表示する。
   -------------------------------------------------------------------------- */
html:not([data-tr-inner-v2]) #page_header,
html:not([data-tr-inner-v2]) .tr-pagehead,
html:not([data-tr-inner-v2]) #service_list .image,
html:not([data-tr-inner-v2]) .index_service_list .image,
html:not([data-tr-inner-v2]) .megamenu_service_list .image,
html:not([data-tr-inner-v2]) #main_contents img,
html:not([data-tr-inner-v2]) #service_single .icon,
html:not([data-tr-inner-v2]) #news_list .image,
html:not([data-tr-inner-v2]) #post_title_area .image,
html:not([data-tr-inner-v2]) #related_post .image,
html:not([data-tr-inner-v2]) #next_prev_post .image {
  visibility: hidden;
  animation: tr-reveal-fallback 0s 3s forwards;
}
@keyframes tr-reveal-fallback { to { visibility: visible; } }
