/* WordPress-independent additions; original Lawyeria Lite CSS remains unchanged. */
.static-article-list{list-style:none;padding:0}.static-article-list li{padding:12px 0;border-bottom:1px solid #ddd}.static-contact-form input,.static-contact-form textarea,.static-contact-form select{max-width:100%;box-sizing:border-box;padding:7px}.static-contact-form table{width:100%}.static-contact-form th{text-align:left;width:32%;padding:12px}.static-contact-form td{padding:12px}.static-contact-form button{cursor:pointer;padding:12px 30px}.static-sidebar{width:24%;float:right}@media(max-width:767px){.static-sidebar{width:100%;float:none}}

/* Visual reconstruction: homepage sections and header (2026-11-01) */
body.home {background:#fff;}
body.home main.static-home {display:block;width:100%;max-width:none;margin:0;padding:0;float:none;clear:both;background:#fff;}
body.home main.static-home > div {box-sizing:border-box;}
body.home .mv_block {width:100%;max-width:none;margin:0;background:#a8b5cf;}
body.home .mv_block_img {width:100%;max-width:1800px;margin:0 auto;background-image:url('wp-content/images/top/mv4.jpg');background-position:center center;background-size:cover;background-repeat:no-repeat;}
body.home .static-news-media {background-image:url('wp-content/images/top/bg1.png');background-repeat:repeat;background-position:center top;}
body.home .static-news-media-grid {display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;}
body.home .static-news-media-grid > div {min-width:0;text-align:center;}
body.home .static-news-media .static-article-list {padding:0;margin:0 auto;list-style:none;max-width:440px;text-align:left;}
body.home .static-news-media .static-article-list li {border:0;padding:4px 0;line-height:1.7;}
body.home .static-news-media .static-article-list a {color:#fff;text-decoration:underline;}
body.home .static-news-media .more_link5 {margin-top:20px;}
body.home .static-news-media .txt_top0 {margin:0 0 14px;}
@media (min-width:1025px){.nav_bg nav{width:100%;float:none}.nav_bg .container-menu{width:100%}.nav_bg .container-menu ul.menu{display:flex;align-items:center;justify-content:space-between;float:none;width:100%;flex-wrap:nowrap;margin:0;padding:0}.nav_bg .container-menu ul.menu>li{float:none;flex:0 0 auto;margin-right:0;font-size:14px}.nav_bg .container-menu ul.menu>li>a{padding-left:7px;padding-right:7px;white-space:nowrap}}
@media(max-width:767px){body.home .static-news-media-grid{display:block;}body.home .static-news-media-grid>div+div{margin-top:24px}.nav_bg .container-menu ul.menu{display:none}.nav_bg .responsivemenu ul.menu{display:block}}


/* Precision revision 2: original full-width homepage composition */
@media (min-width:768px) {
  body.home .static-news-media-grid {
    display:block;
    width:min(964px, 96%);
    margin:0 auto;
  }
  body.home .static-news-media-grid > div {
    width:100%;
    float:none;
    clear:both;
  }
  body.home .static-news-media-grid > .static-media-column {
    margin-top:30px;
  }
}
body.home .static-news-media .static-article-list {
  max-width:520px;
  margin:0 auto;
  text-align:left;
}
body.home .static-news-media .static-article-list li {
  padding:3px 0;
  line-height:1.6;
}
body.home .mv_block_img {
  max-width:1800px;
  min-height:0;
  background-position:center center;
  background-size:cover;
}
body.home .mv_block_img .mv_img {
  display:block;
  width:min(900px, 96%);
  max-width:100%;
  height:auto;
  margin:0 auto;
}
body.home .mv_block_img .top_btn_area {
  max-width:960px;
  margin:0 auto;
}
body.home .static-news-media {
  padding:22px 0 25px;
}
body.home .static-news-media .txt_top0 {
  margin-bottom:12px;
}
@media (max-width:767px) {
  body.home .static-news-media-grid {
    width:96%;
    margin:auto;
  }
}

/* Precision revision 3: restore source theme spacing and typography */
body.home .mv_block_img .mv_img {
  margin:30px auto 0;
  vertical-align:middle;
}
body.home .mv_block_img > p:first-child { padding-top:1px; }
body.home .mv_block_img .top_btn_area { margin-top:16px; }
body.home .block_top2 > h2.h2_2,
body.home .block_top3 > h2.h2_2,
body.home .block_top4 > h2.h2_2,
body.home .block_top5 > h2.h2_2 { margin:5px auto 25px !important; }
body.home .static-news-media .static-article-list a { color:#fff; }
body.home .static-news-media .txt_top0 { color:#fff; }
body.home .box_HR2 .h2_2_sub { margin:-15px auto 25px !important; }
body.home .box_HR2 .box_sh1 { min-height:220px; }
@media(max-width:767px){
 body.home .mv_block_img .mv_img { width:96%;margin-top:20px; }
 body.home .mv_block_img .top_btn_area {margin-top:12px;}
}

/* Revision 4: typography, subtitles, margins and card text colors */
body.home .static-news-media-grid > .static-media-column {margin-top:55px;}
body.home .block_top2 > h2.h2_2,body.home .block_top2 .top_wrapper h2.h2_2,body.home .block_top5 h2.h2_2 {font-size:30px !important;line-height:1.45 !important;}
body.home .block_top2 .txt_top_reason {font-size:30px !important;line-height:1.45 !important;margin-bottom:26px !important;}
body.home .block_top2 .top_wrapper .txt_top1 {color:#394753 !important;}
body.home .block_top3 h2.h2_1 {margin-bottom:32px !important;font-size:28px !important;line-height:1.5 !important;}
body.home .block_top3 ul.box_3box2 li a,body.home .block_top3 ul.box_2box li a,body.home .block_top3 ul.box_3box2 li p,body.home .block_top3 ul.box_2box li p {color:#394753 !important;}
body.home .box_HL3_2_a p,body.home .box_HR3_2 p,body.home .box_csr p,body.home .box_csr_l p {color:#394753 !important;}
body.home .h2_2_sub {display:block;clear:both;position:relative;margin:0 auto 26px !important;padding:3px 10px 4px;box-sizing:content-box;line-height:1.3;}
body.home h2.h2_2:has(+ .h2_2_sub) {margin-bottom:8px !important;}
body.home .box_HR2 .h2_2_sub {margin:0 auto 26px !important;}
@media(max-width:767px){body.home .static-news-media-grid > .static-media-column{margin-top:38px;}body.home .block_top2 h2.h2_2,body.home .block_top5 h2.h2_2{font-size:25px !important;}body.home .block_top3 h2.h2_1{font-size:23px !important;}}

/* Revision 5: restore consistent inner-page flow and source-scale headings */
.static-sidebar {display:none !important;}
body:not(.home) .nav_bg {margin-bottom:0 !important;}
body:not(.home) .wide-nav {margin-top:0 !important;}
body:not(.home) header + section.wide-nav {margin-top:0 !important;}
body:not(.home) .static-article-list {list-style:none;margin:14px 0 25px;padding:0;}
body:not(.home) .static-article-list li {border:0 !important;border-bottom:0 !important;padding:5px 0 !important;margin:0 !important;line-height:1.7;}
body:not(.home) .static-article-list li a {text-decoration:underline;}
body:not(.home) .static-article-list li small {font-size:12px;color:#777;}
body.home .block_top2 > h2.h2_2,body.home .block_top2 .top_wrapper h2.h2_2,body.home .block_top5 h2.h2_2,body.home .block_top2 .txt_top_reason {font-size:24px !important;line-height:1.5 !important;}
body.home .block_top3 h2.h2_1 {font-size:24px !important;}
body.home .top_wrapper:has(> h2.h2_2 + .h2_2_sub) h2.h2_2 {font-size:24px !important;}
body.home .top_wrapper:has(> h2.h2_2 + .h2_2_sub) .box_HL2,
body.home .top_wrapper:has(> h2.h2_2 + .h2_2_sub) .box_HR2 {color:#394753;}
body.home .top_wrapper:has(> h2.h2_2 + .h2_2_sub) .box_HL2 p,
body.home .top_wrapper:has(> h2.h2_2 + .h2_2_sub) .box_HR2 p {color:#394753;}
@media(max-width:767px){body.home .block_top2 h2.h2_2,body.home .block_top5 h2.h2_2,body.home .block_top3 h2.h2_1 {font-size:21px !important;}}

/* Revision 06: consistent menu, original-style subpage chevron, back to top */
.entry-content h2.ttl4, h2.ttl4 {
  position:relative;
  padding-left:24px;
  background-image:none;
}
.entry-content h2.ttl4::before, h2.ttl4::before {
  content:"";position:absolute;left:4px;top:50%;width:9px;height:9px;
  border-top:3px solid #8c8c8c;border-right:3px solid #8c8c8c;
  transform:translateY(-50%) rotate(45deg);
}
#static-back-to-top {position:fixed;bottom:25px;right:24px;z-index:9999;width:45px;height:45px;
 background:rgba(65,65,65,.82);color:white!important;text-align:center;line-height:45px;
 font-size:20px;text-decoration:none;border-radius:3px;opacity:0;visibility:hidden;
 transition:opacity .2s,visibility .2s;}
#static-back-to-top.visible {opacity:1;visibility:visible;}
#static-back-to-top:hover {background:#333;}
@media(max-width:768px){
 .openresponsivemenu {display:block!important;cursor:pointer;user-select:none;}
 .container-menu:not(.responsivemenu) ul.menu {display:none!important;}
 .container-menu.responsivemenu ul.menu {display:block!important;}
 .container-menu.responsivemenu ul.menu li {display:block;float:none;width:100%;}
 .container-menu.responsivemenu ul.menu li a {display:block;height:auto;min-height:38px;line-height:1.5;padding:10px 8px;}
 #static-back-to-top {bottom:15px;right:15px;width:40px;height:40px;line-height:40px;}
}

/* Revision 07: responsive navigation aligned to the original single-column layout */
@media(max-width:768px) {
 .nav_bg {box-sizing:border-box;width:100%;overflow:hidden;}
 .nav_bg .wrapper {width:100%!important;max-width:100%!important;box-sizing:border-box;padding:0 6px!important;}
 .nav_bg nav {width:100%;max-width:100%;box-sizing:border-box;}
 .nav_bg .openresponsivemenu {width:100%!important;max-width:100%;box-sizing:border-box;margin:8px 0 5px!important;padding:8px 5px!important;}
 .nav_bg .container-menu {width:100%!important;max-width:100%;box-sizing:border-box;float:none!important;margin:0!important;padding:0!important;}
 .nav_bg .container-menu ul.menu {width:100%!important;max-width:100%;box-sizing:border-box;margin:0!important;padding:0!important;}
 .nav_bg .container-menu ul.menu li {width:100%!important;max-width:100%;box-sizing:border-box;float:none!important;margin:0!important;padding:0!important;}
 .nav_bg .container-menu ul.menu li a {width:100%!important;max-width:100%;box-sizing:border-box;margin:0!important;padding:8px 5px!important;min-height:0!important;text-align:center;}
}
body:not(.home) .nav_bg + .wrapper {display:none!important;}
body:not(.home) header .nav_bg {margin-bottom:0!important;padding-bottom:0!important;}
body:not(.home) header .wide-nav {margin-top:0!important;}
body.home .block_top2 .box_HL2 p strong,
body.home .block_top2 .box_HR2 p strong {font-weight:700!important;}
body:not(.home) .static-article-list li small {display:none!important;}
/* Back-to-top: discreet circular arrow, keeping the existing scroll behavior */
#static-back-to-top {width:46px;height:46px;line-height:44px;border-radius:50%;font-size:24px;font-weight:400;background:rgba(70,84,100,.8);box-shadow:0 1px 4px rgba(0,0,0,.18);}

/* Revision 08: match the source site's smaller section-label bands */
body.home .h2_2_sub {font-family:Garamond,"Times New Roman",serif!important; font-size:14px!important; line-height:1.15!important; padding:1px 4px!important; min-height:0!important; height:auto!important; width:100px!important; margin:0 auto 24px!important; box-sizing:border-box!important;}
body.home .box_HR2 .h2_2_sub {margin:0 auto 24px!important;}
/* Source site uses a small blue square with an upward chevron. */
#static-back-to-top {width:34px!important;height:34px!important;line-height:34px!important;border-radius:0!important;background:#293e9b!important;box-shadow:none!important;font-size:0!important;bottom:16px!important;right:16px!important;}
#static-back-to-top::before {content:"";display:inline-block;width:6px;height:6px;border-left:1px solid white;border-top:1px solid white;transform:translateY(2px) rotate(45deg);}
#static-back-to-top:hover {background:#1b2c78!important;}

/* Facebook header-only embed: avoid reserving 545px of empty timeline space. */
body.home .box_HR2 .box_sh1 {min-height:0!important;height:auto!important;max-width:470px;}
body.home .box_HR2 .box_sh1 .fb-page {max-width:100%;min-height:0!important;}
body.home .box_HR2 .box_banner1 {margin-top:14px!important;}

@media only screen and (max-width: 768px) { .wrapper nav { margin-bottom: 4px !important; } }
body.home .h2_2_sub { white-space: nowrap; width: 120px !important; }
/* Contact form: original site visual alignment, applied after supplied authoritative CSS */
body .static-contact-form {width:100%;margin:10px 0 30px;font-size:13px;color:#536578;}
body .static-contact-form table.contact-table {border-collapse:collapse;width:100%;table-layout:fixed;margin:0;}
body .static-contact-form .contact-table th,body .static-contact-form .contact-table td {border:1px solid #e3e3e3;padding:5px 7px;vertical-align:middle;font-weight:normal;line-height:1.5;}
body .static-contact-form .contact-table th {width:30%;background:#f7f7f7;text-align:left;}
body .static-contact-form .contact-table td {background:#fff;}
body .static-contact-form input,body .static-contact-form select,body .static-contact-form textarea {border:1px solid #ddd;border-radius:3px;background:#fff;color:#333;font:inherit;max-width:100%;box-sizing:border-box;padding:5px 6px;}
body .static-contact-form input[name="name"] {width:54%;}body .static-contact-form input[name="email"] {width:100%;}
body .static-contact-form select {width:58%;}body .static-contact-form textarea {width:100%;min-height:88px;resize:vertical;}
body .static-contact-form .contact-phone {display:flex;align-items:center;gap:6px;max-width:220px;}
body .static-contact-form .contact-phone input {width:29%;min-width:0;}body .static-contact-form .contact-phone span {color:#aaa;}
body .static-contact-form .require {color:#e64a4a;}
body .static-contact-form .contact-actions {margin:12px 0 0;text-align:left;}
body .static-contact-form .contact-actions button {font-size:12px;background:#f4f4f4;border:1px solid #d5d5d5;border-radius:2px;color:#333;padding:6px 14px;cursor:pointer;}
body .static-contact-form .contact-actions button:hover {background:#eaeaea;}
body .static-contact-form .contact-actions .back {margin-left:10px;}
body .contact-feedback {padding:12px 16px;margin:12px 0;border:1px solid #e3e3e3;background:#fafafa;}
body .contact-error {color:#b32323;}
body .contact-confirm-table td {overflow-wrap:anywhere;white-space:pre-wrap;}
@media(max-width:767px){body .static-contact-form .contact-table th {width:32%;}body .static-contact-form input[name="name"],body .static-contact-form select {width:100%;}body .static-contact-form .contact-phone {gap:3px;}}

/* Article layout refinement 10: restore paragraph spacing lost in static extraction */
body:not(.home) .post-excerpt > p {
  margin-top:0;
  margin-bottom:1.1em;
  line-height:1.75;
}
body:not(.home) .post-excerpt > p + p { margin-top:0; }
body:not(.home) .post-excerpt img { max-width:100%; height:auto; }
body:not(.home) .post-excerpt > ul,
body:not(.home) .post-excerpt > ol { margin-bottom:1.1em; }

/* Media-list original per-article subtitle (WordPress c_ttl custom field) */
body:not(.home) .static-article-list li .static-media-subtitle {margin:6px 0 0 0; padding:0; line-height:1.65; font-size:inherit; color:inherit; font-weight:normal;}
