/*
Theme Name: HEVバッテリーベース バージョン2
Author: 株式会社GRACE ビジネスコンサルティング事業部
Author URI: https://gr1.jp/
Description: This theme is created by GRACE,Inc.
Version: 1.0
*/
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
/* ======== ベース・共通スタイル ======== */

html,
body {
  overflow-x: hidden;
}

:root {
  --sidebar-width: 360px;
  /* テーマカラー(:root)は functions/metasetting.php set_maincolor() が wp_head で出力:
     --main-color(紺#031424=背景/主役) / --accent-color(橙#fc6919=CTA/強調) / --sub-color(青#11316c) / --main-dark(濃紺#02162c)
     基点option: sitebackground / sitemaincolor / pointcolor / accentcolor */
}

@media screen and (max-width:1250px) {
  :root {
    --sidebar-width: 280px;
  }
}

body {
  color: #333;
  background-color: var(--main-color);
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  height: 100vh;
}

/* 長い英字連続(英語社名/URL/メール等)のoption値がSPで溢れないよう折返しを許可（日本語は元々折返す） */
.logo a,
.logo__tagline,
.appeal_list_toptxt,
.area__heading,
.area_inner p,
.bottom_table td,
.footer .logo a,
.footer .logo__tagline {
  overflow-wrap: anywhere;
}

html.overflow {
  overflow: hidden;
}

a {
  color: #333;
}

a:hover {
  opacity: .8;
}

img {
  display: inline-block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

form {
  margin-bottom: 100px;
}

.robot {
  font-family: "Roboto", sans-serif;
}

.ta-center {
  text-align: center;
}

input[value="確認する"],
input[value="戻る"],
input[value="送信する"] {
  font-size: 18px;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 10px;
  border: solid 2px #ddd;
  box-shadow: #ddd 0px 5px 0px;
}

input[value="戻る"] {
  background-color: #909090;
  color: #fff;
}

input[value="確認する"],
input[value="送信する"] {
  background-color: var(--main-dark);
  color: #fff;
}

/* ======== ヘッダー ======== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.hd_main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: linear-gradient(180deg, black, transparent);
  padding-left: 3%;
}
.hdcarlist {
  background-color: var(--main-dark);
  color: #fff;
  padding: 5px 0;
  overflow: hidden;
}
/* 旧<marquee>の置換: 横スクロールをCSSアニメで再現 */
.hdcarlist__inner {
  font-weight: normal;
  font-size: 10px;
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: hdcarlist-scroll 30s linear infinite;
}
@keyframes hdcarlist-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.logo a {
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 600;
  display: block;
  width: fit-content;
}

.logo a span {
  font-size: 12px;
  font-weight: normal;
  display: block;
  color: #fff;
  margin-top: 5px;
}

.hd_menu {
  display: flex;
  align-items: center;
  gap: 15px;
}
.hd_menu a {
  color: #fff;
  font-size: 14px;
  font-family: serif;
}
.hd_menu a.hd_menu_contact { 
  display: flex;
  align-items: center;
  font-size: 24px;
  background-color: var(--accent-color);
  color: #fff;
  width: 250px;
  justify-content: center;
  gap: 5px;
  padding: 20px 0;
}
/* CTAラベル: 旧h6のUA既定(0.67em・太字)を踏襲しspan化しても見た目維持 */
.hd_menu_contact__label {
  font-size: 0.67em;
  font-weight: bold;
}

.hd_main .logo {
  max-width: 300px;
}

.hd_main .logo__tagline {
  font-size: 10px;
  display: block;
  color: #fff;
  font-weight: 400;
  margin-top: 5px;
  line-height: 1.2;
}
/* タグラインのフレーズ単位改行: 幅が足りれば1行・足りなければ句単位で折返し（語中で割れない） */
.logo__tagline__row {
  display: inline-block;
}

@media screen and (max-width: 1200px) {

}

/* ======== MV（TOPページ ヒーロー） ======== */
.mv {
  position: relative;
  padding: 15vh 5vw 7vh;
  background-size: cover;
  background-position: 100% 100%;
}
.mv .inner {
  padding: 0;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.mvcatch__main {
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  line-height: 3em;
  position: relative;
}
.mvcatch__main span {
  font-style: italic;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .2em;
  margin-right: -.2em;
}
span.grad {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .2em;
  margin-right: -.2em;
}
.silver {
  background: linear-gradient(180deg, #fdfdfd 0%,#fff 50%,#B4BAC7 100%);
}
.gold {
  background: linear-gradient(40deg, #B07515 0%,#E0BA5F 9%,#F5D77F 14%,#FFFFD7 25%,#F5D77F 36%,#B07515 49%,#E0BA5F 57%,#F5D77F 61%,#FFFFD7 74%,#F5D77F 85%,#B07515 100%);
}
.blue {
  background: linear-gradient(-20deg, #064CD4 0%,#65A9F3 65%,#0036B9 100%);
}
.mvcatch__main span.size1 {
  font-size: 7em;
}
.mvcatch__main span.size2 {
  font-size: 6em;
}
.mvcatch__main span.size3 {
  font-size: 5em;
}
.mvcatch__main span.size4 {
  font-size: 4em;
}
.mvcatch__main span.size5 {
  font-size: 1.8em;
  display: block;
  margin-bottom: 10px;
}
.mvcatch__main span.abso {
  position: absolute;
  top: 0.5em;
  left: .5em;
}

.mvcatch__labels li {
  display: inline-flex;
  gap: 1.2em;
  align-items: center;
  border: solid 2px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
  padding: 15px 20px;
  margin-top: 15px;
  transform: skewX(-15deg);
  background: linear-gradient(45deg, #051223, #080E19);
}
.mvcatch__labels li figure{
  transform: skewX(15deg);
}
.mvcatch__labels li:first-child figure{
  width: 50px;
}
.mvcatch__labels li:last-child figure{
  width: 40px;
}
.mvcatch__labels li p {
  font-weight: 700;
  font-size: 2em;
  letter-spacing: 2px;
}
.mvcatch__labels li p span.gold {
  font-size: 120%;
}

.mvcatch__ornament {
  display: grid;
  grid-template-columns: 290px 270px 280px;
  gap: 20px;
  margin-top: 20px;
  max-width: 800px;
}
.mvcatch__ornament li {
  text-align: center;
}
.mvcatch__ornament li:before {
  content: "";
  width: 47px;
  height: 40px;
  background-image: url(./images/ornament-crown.png);
  display: block;
  background-size: cover;
  margin: 0 auto 10px;
}
.mvcatch__ornament li p {
  line-height: 1.2;
  background: url(./images/ornament-left.png) 0%, url(./images/ornament-right.png) 100%;
  background-size: contain;
  background-repeat: no-repeat;
}
.mvcatch__ornament li p span {
  background: linear-gradient(180deg, #fdfdfd 0%,#fff 50%,#B4BAC7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.mvcatch__ornament li p span.gold {
  background: linear-gradient(40deg, #B07515 0%,#E0BA5F 9%,#F5D77F 14%,#FFFFD7 25%,#F5D77F 36%,#B07515 49%,#E0BA5F 57%,#F5D77F 61%,#FFFFD7 74%,#F5D77F 85%,#B07515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mvcatch__ornament li p span.size1 {
  font-size: 54px;
  font-family: serif;
  font-weight: 900;
  font-style: italic;
  margin-right: -.1em;
}
.mvcatch__ornament li p span.size2 {
  font-size: 30px;
  font-family: serif;
}
.mvcatch__ornament li p span.size3 {
  font-size: 22px;
  display: block;
}
.mvcatch__ornament li p span.size4 {
  font-size: 22px;
}
.mvcatch__ornament li p span.size5 {
  font-size: 18px;
  display: block;
}

@media screen and (max-width:1020px) {
.hd_menu a.hd_menu_contact {
    font-size: 18px;
    width: 180px;
}
.hd_menu a {
    font-size: 12px;
}
.mvcatch__main span.size1 {
    font-size: 5em;
}
.mvcatch__main span.size2 {
    font-size: 4em;
}
.mvcatch__main span.size3 {
    font-size: 3em;
}
.mvcatch__main span.size4 {
    font-size: 2.7em;
}
.mvcatch__labels li {
    display: inline-flex;
    gap: .7em;
}
.mvcatch__labels li p {
    font-size: 1.4em;
    letter-spacing: 1px;
}
.mvcatch__labels li:first-child figure {
    width: 40px;
}
.mvcatch__labels li:last-child figure {
    width: 30px;
}
.mvcatch__ornament {
    grid-template-columns: 220px 210px 200px;
    gap: 10px;
}
.mvcatch__ornament li p span.size1 {
    font-size: 40px;
}
.mvcatch__ornament li p span.size2 {
    font-size: 22px;
}
.mvcatch__ornament li p span.size3 {
    font-size: 16px;
}
.mvcatch__ornament li p span.size4 {
    font-size: 14px;
}
.mvcatch__ornament li p span.size5 {
    font-size: 14px;
    display: block;
}
}

@media screen and (max-width:768px) {

.mv {
  background-position: 70% 100%;
}
.mvcatch__main span.size1 {
    font-size: 3.6em;
}
.mvcatch__main span.size2 {
    font-size: 3em;
}
.mvcatch__main span.size3 {
    font-size: 2.2em;
}
.mvcatch__main span.size4 {
    font-size: 1.7em;
}
.mvcatch__main span.size5 {
    font-size: 1.4em;
    text-indent: -16px;
    padding-left: 10px;
    line-height: 1.4;
    margin-bottom: 3px;
}
.mvcatch__main span.abso {
    top: 0.8em;
    left: 0;
}
.mvcatch__labels li {
    padding: 10px 15px;
    gap: 7px;
    margin-top: 5px;
}
.mvcatch__labels li p {
    font-size: 15px;
    letter-spacing: 0px;
}
.mvcatch__labels li:first-child figure {
    width: 25px;
}
.mvcatch__labels li:last-child figure {
    width: 20px;
}
.mvcatch__ornament {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
}

.mvcatch__ornament li p span.size1 {
    font-size: 30px;
}
.mvcatch__ornament li p span.size2 {
    font-size: 18px;
}
.mvcatch__ornament li p span.size3 {
    font-size: 13px;
}
.mvcatch__ornament li p span.size4 {
    font-size: 12px;
}
.mvcatch__ornament li p span.size5 {
    font-size: 11px;
    display: block;
}
.mvcatch__ornament li:before {
    width: 37px;
    height: 30px;
}
}

@media screen and (max-width:480px) {
.mvcatch__ornament {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.mvcatch__ornament li {
  width: 49%;
}
}

.inner,
/* ======== 共通レイアウト・CTAエリア（cta-area: 電話/問合せ/決済/理由/対応エリア/実績） ======== */
.bottom_inner {
  padding: 100px 0;
  max-width: 1000px;
  width: calc(100% - 30px);
  margin: 0 auto;
}
.cta_btns {
  border-top: solid 1px #ddd;
  padding: 0 3%;
}
.cta_btns_inner {
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.cta_btns_inner a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta_btns_inner a.tel ion-icon {
  font-size: 56px;
}
.cta_btns_inner a.tel p span.roboto {
  font-family: 'Roboto';
  font-size: 3em;
  display: block;
  font-weight: 700;
  margin-top: 3px;
}
.cta_btns_inner a.contact {
  background: linear-gradient(40deg, #E0BA5F 0%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #eed390 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 100%);
  padding: 15px 30px;
  border-radius: 10px;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 700;
}
.cta_btns_inner a.contact ion-icon {
  font-size: 26px;
}
.payment {
  background: linear-gradient(80deg, #fdfdfd 0%, #DFE2EA 20%, #fff 50%);
  padding: 0 3%;
}
.payment_inner {
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 20px;
  align-items: center;
  padding: 25px 0;
  max-width: 1000px;
  margin: 0 auto;
}
.payment_inner p {
  color: #082B4B;
  font-size: 18px;
  font-weight: 700;
}
.payment_inner p b {
  display: block;
  font-size: 14px;
  color: #8B8B8B;
  margin-bottom: 10px;
  font-weight: 700;
}
.reason {
  padding: 48px 6%;
}
.reason_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.reason_list li {
  border: solid 2px;
  border-image: linear-gradient(40deg, #7E7E7E 0%,#D2D2D2 9%,#F7F7F7 14%,#FFFFFF 25%,#F7F7F7 36%,#7E7E7E 49%,#D2D2D2 57%,#F7F7F7 61%,#FFFFD7 74%,#FFFFFF 85%,#7E7E7E 100%) 2;
  padding: 30px 15px;
}
.reason_list_ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.reason_list_ttl img {
  width: 50px;
}
.reason_list_ttl p {
  font-family: serif;
}
.reason_list_ttl p span {
  font-weight: 700;
}
.reason_list_ttl p span.silver {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  letter-spacing: 2px;
}
.reason_list_ttl p span.gold {
  font-size: 24px;
}
.reason_list_txt {
  text-align: center;
  color: #fff;
  margin-top: 10px;
  line-height: 1.4;
  font-size: 14px;
}
.area {
  padding: 0 3%;
}
.area_inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(0deg, #fdfdfd 0%, #DFE2EA 50%, #fff 80%);
  padding: 40px 3%;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
}
.area_inner .area__heading {
  font-size: 14px;
  color: #8B8B8B;
}
.area_inner .area__heading b {
  display: block;
  font-weight: 700;
  font-size: 40px;
  color: #082B4B;
  letter-spacing: 5px;
  margin-top: 5px;
}
.area_inner p {
  font-weight: 700;
  line-height: 1.8;
  color: #333;
}

.worklogos {
  padding: 0 3%;
  background-color: #01030b;
  background-image: url(./images/worklogo-bk.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}
.worklogos_inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 50px 0;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.worklogos_ornament {
  background: url(./images/ornament-left.png) 0%, url(./images/ornament-right.png) 100%;
  background-size: contain;
  background-repeat: no-repeat;
  text-align: center;
  width: 370px;
  padding: 20px 0;
}
.worklogos_ornament span {
  background: linear-gradient(180deg, #fdfdfd 0%,#fff 50%,#B4BAC7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.worklogos_ornament span.size1 {
  font-size: 70px;
  font-family: serif;
  font-weight: 900;
  font-style: italic;
  margin-right: -.1em;
}
.worklogos_ornament span.size2 {
  font-size: 30px;
  font-family: serif;
}
.worklogos_ornament span.size3 {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}
.worklogos_ornament span.size4 {
  font-size: 22px;
}
.worklogos_ornament span.gold {
  background: linear-gradient(40deg, #B07515 0%,#E0BA5F 9%,#F5D77F 14%,#FFFFD7 25%,#F5D77F 36%,#B07515 49%,#E0BA5F 57%,#F5D77F 61%,#FFFFD7 74%,#F5D77F 85%,#B07515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.worklogos_logos {
  display: grid;
  grid-template-columns: 50px 62px 50px 65px;
  align-items: center;
  gap: 10px;
  filter: invert(1) brightness(10000);
  margin-top: 10px;
}
.worklogos_info p {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.worklogos_info p span {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 400;
}

@media screen and (max-width:1100px) {
.reason_list {
    grid-template-columns: 1fr 1fr;
}
.worklogos {
    padding: 0 3% 20%;
    background-position: right bottom;
}
}

@media screen and (max-width:910px) {
.worklogos_inner {
    gap: 20px;
    justify-content: center;
}
.worklogos_info {
  text-align: center;
}
.worklogos_logos {
    width: 256px;
    margin: 10px auto 0;
}
}

@media screen and (max-width:768px) {
.cta_btns_inner {
  display: block;
}
.cta_btns_inner a {
  justify-content: center;
}
.cta_btns_inner a.tel ion-icon {
  font-size: 42px;
}
.cta_btns_inner a.tel p {
  font-size: 12px;
}
.cta_btns_inner a.tel p span.roboto {
  font-size: 36px;
}
.cta_btns_inner a.contact {
  padding: 15px 0;
  margin-top: 10px;
}
.cta_btns_inner a.contact p {
  font-size: 16px;
}
.payment {
    background: linear-gradient(179deg, #fdfdfd 0%, #e8ebf1 35%, #fff 60%);
}
.payment_inner {
    grid-template-columns: 1fr;
    gap: 10px;
}
.payment_inner p {
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
}
.payment_inner p b {
    font-size: 12px;
    font-weight: 500;
}
.payment_inner img {
  max-width: 250px;
  display: block;
  margin: 0 auto;
}
.area_inner {
  grid-template-columns: 1fr;
}
.area_inner .area__heading {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: solid 1px #ddd;
  padding-bottom: 3%;
}
.area_inner .area__heading b {
  font-size: 30px;
  letter-spacing: 3px;
}
}

@media screen and (max-width:550px) {
.reason_list {
    grid-template-columns: 1fr;
    gap: 5px;
}
.reason_list li {
    display: grid;
    padding: 20px 10px;
    grid-template-columns: 160px 1fr;
}
.reason_list_ttl {
    gap: 10px;
    justify-content: flex-start;
}
.reason_list_ttl img {
    width: 30px;
}
.reason_list_ttl p span.silver {
    font-size: 11px;
}
.reason_list_ttl p span.gold {
    font-size: 16px;
}
.reason_list_txt {
    margin: 0;
    font-size: 10px;
    text-align: left;
}
}

@media screen and (max-width:480px) {
.worklogos_info p {
    font-size: 18px;
}
}

/* ======== 警告灯セクション（TOPページ） ======== */
.checklamp {
  background-image: url(./images/checklamp-bk.jpg);
  color: #fff;
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.checklamp h2 {
  font-size: 1.8em;
  text-align: center;
  line-height: 1.8em;
  font-family: serif;
}
.checklamp h2 span {
  color: #FFE100;
  display: block;
  font-size: 160%;
  line-height: 1.4;
}

.checklamp ul {
  max-width: 650px;
  margin: 50px 0;
}

.checklamp ul li {
  border: solid 2px;
  border-image: linear-gradient(40deg, #7E7E7E 0%, #D2D2D2 9%, #F7F7F7 14%, #FFFFFF 25%, #F7F7F7 36%, #7E7E7E 49%, #D2D2D2 57%, #F7F7F7 61%, #FFFFD7 74%, #FFFFFF 85%, #7E7E7E 100%) 2;
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 30px 20px;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  background-color: rgba(0, 0, 0, .8);
}

.checklamp ul li h3 {
  font-size: 18px;
}

.checklamp ul li h3 span {
  font-size: 22px;
  display: block;
  margin-bottom: 10px;
}

.checklamp .picktext {
  font-family: serif;
  font-weight: 900;
  font-size: 2em;
  line-height: 1.4;
}

.checklamp .picktext span {
  font-size: 150%;
  font-style: italic;
}

@media screen and (max-width:1200px) {
.checklamp {
    background-size: contain;
    background-position: bottom;
    background-color: #000;
}
}

@media screen and (max-width:700px) {
.checklamp h2 {
    font-size: 3.4vw;
}
.checklamp ul {
    margin: 30px 0;
}
.checklamp ul li h3 span {
    font-size: 4.2vw;
    font-weight: 700;
}
.checklamp ul li h3 {
    font-size: 2.4vw;
    font-weight: 500;
}
.checklamp ul li {
    grid-template-columns: 15vw 1fr;
}
.checklamp .picktext {
    font-size: 3.6vw;
}
}

/* ======== 3点同時交換（TOPページ） ======== */
.trouble {
  background: linear-gradient(0deg, #fdfdfd 0%, #DFE2EA 50%, #fff 80%);
  position: relative;
}
.trouble_ttl p {
  font-size: 22px;
  color: #8B8B8B;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 10px;
}
.trouble_ttl h2 {
  color: var(--main-color);
  font-size: 3em;
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
}
.trouble_ttl h2 span {
  color: #D50000;
  font-size: 140%;
  margin: 0 10px;
}

.trouble_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}
.trouble_list li {
  border: solid 2px;
  border-image: linear-gradient(40deg, #7E7E7E 0%, #D2D2D2 9%, #F7F7F7 14%, #FFFFFF 25%, #F7F7F7 36%, #7E7E7E 49%, #D2D2D2 57%, #F7F7F7 61%, #FFFFD7 74%, #FFFFFF 85%, #7E7E7E 100%) 2;
  background-color: #fff;
  padding: 50px 30px;
  display: grid;
  align-items: center;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}
.trouble_list_cont h3 {
  font-size: 1.4em;
  font-weight: 800;
  margin-bottom: 10px;
}
.trouble_list_cont p {
  font-size: 14px;
  line-height: 1.4;
}
.trouble_othertxt {
  font-weight: 700;
  line-height: 1.4;
}
.trouble_othertxt span {
  color: #D50000;
}
.trouble_acccont {
  border: solid 2px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
  background: linear-gradient(45deg, #051223, #080E19);
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  align-items: center;
  color: #fff;
  padding: 3%;
  margin-top: 30px;
}
.trouble_acccont p {
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.4;
}
.trouble_acccont p span.gold {
  font-size: 120%;
}

@media screen and (max-width:1000px) {
.trouble_acccont {
    grid-template-columns: 15vw 1fr;
}
.trouble_acccont p {
    font-size: 2.2vw;
}
}

@media screen and (max-width:970px) {
.trouble_list {
    grid-template-columns: 1fr;
    gap: 10px;
}
.trouble_list li {
    padding: 30px;
    grid-template-columns: 15vw 1fr;
    gap: 20px;
}
.trouble_list_cont h3 {
    font-size: 4vw;
}
.trouble_ttl h2 {
    font-size: 5vw;
}
.trouble_ttl p {
    font-size: 4vw;
}
}

@media screen and (max-width:480px) {
.trouble_list_cont p {
    font-size: 12px;
}
.trouble_acccont {
    grid-template-columns: 1fr;
    padding: 30px;
}
.trouble_acccont img {
  width: 100px;
  margin: 0 auto;
  display: block;
}
.trouble_acccont p {
    font-size: 14px;
}

}

/* ======== 3点リフレッシュ・料金（TOP / price-area） ======== */
.appeal {
  color: #fff;
}
.appeal_ttl {
  font-size: 2em;
  text-align: center;
  line-height: 1.4;
  font-family: serif;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 30px;
}
.appeal_ttl span.red {
  color: #D50000;
  font-size: 140%;
}

.appeal_list li {
  border: solid 2px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
  padding: 5%;
  background: linear-gradient(45deg, #051223, #080E19);
}
.bottom_service .appeal_list li {
  border: none;
}
.appeal_list li:first-child {
  margin-bottom: 20px;
}
.appeal_list_toptxt {
  text-align: center;
  display: block;
  font-size: 22px;
  line-height: 1.4;
  margin: 0; /* h2化した際のUA既定marginを打消し意匠不変に(price-area) */
}
.appeal_list_toptxt__em {
  color: #FFE100;
}
.appeal_list li h3 {
  display: block;
  text-align: center;
  font-size: 2.2em;
  font-family: serif;
  font-style: italic;
  padding: 30px 0;
}

.appeal_items {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr;
  align-items: center;
}
.appeal_items .plus {
  transform: scale(2);
}
.appeal_items_child__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}
.appeal_items_child__figure img {
  display: block;
  width: 100%;
}
.appeal_items_child h4 {
  margin-top: 5px;
  text-align: center;
}

.appeal_list_info {
  display: grid;
  grid-template-columns: 260px 1fr;
  padding: 30px 0;
  gap: 20px;
  align-items: center;
}
.appeal_list_ornament {
  text-align: center;
  background: url(./images/ornament-left.png) 0%, url(./images/ornament-right.png) 100%;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 10px 0;
}
.appeal_list_ornament .silver{
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}
.appeal_list_ornament .gold{
  display: block;
  text-align: center;
  font-size: 3em;
  font-family: serif;
  font-weight: 900;
  font-style: italic;
}
.appeal_list_price span {
  font-family: serif;
  font-style: italic;
}
.appeal_list_price span.size1 {
  font-size: 6em;
  font-weight: 900;
}
.appeal_list_price span.size2 {
  font-size: 3em;
  font-weight: 900;
}
.appeal_list_price span.size3 {
  font-size: 2em;
  font-weight: 900;
}
.appeal_list_price p {
  font-size: 20px;
  font-family: serif;
  font-weight: bold;
  font-style: italic;
  margin-top: 10px;
}
.appeal_list_othertxt {
  font-size: 18px;
  line-height: 1.6;
}
@media screen and (max-width:980px) {
.appeal h2 {
  font-size: 3.4vw;
}
.appeal h2 span {
  font-size: 150%;
}

.appeal_ttl {
    font-size: 3.6vw;
}
.appeal_list_info {
    display: flex;
    flex-wrap: wrap;
}
.appeal_list_ornament {
    width: 260px;
    margin: 0 auto;
}
.appeal_list_price {
  width: 100%;
  text-align: center;
}
.appeal_list_toptxt {
    font-size: 2.8vw;
    line-height: 1.6;
}
.appeal_list li h3 {
    font-size: 4.2vw;
    padding: 20px 0;
}
.appeal_items_child h4 {
    margin-top: 8px;
    text-align: center;
    font-size: 2vw;
}
.appeal_items .plus {
    transform: scale(1.5);
}
.appeal_list_price span.size1 {
    font-size: 14vw;
}
.appeal_list_price span.size2 {
    font-size: 6vw;
}
.appeal_list_price span.size3 {
    font-size: 4vw;
}
.appeal_list_price p {
    font-size: 4vw;
}

}

/* ======== その他サービス（TOP）＋共通セクション見出し(.section-ttl) ======== */
.otherservice {
  color: #fff;
  background: url(./images/otherservice-bk.png) 0%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
}

.section-ttl {
  font-size: 3.4em;
  text-align: center;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 50px;
  font-style: italic;
}

.section-ttl span.min {
  display: block;
  font-size: 16px;
  margin-bottom: 20px;
}
.section-ttl span.orange {
  color: var(--accent-color);
}

.otherservice ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 15px;
}

.otherservice ul li {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 20px;
}

.otherservice ul li img {
  width: 100px;
  position: relative;
  border-radius: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.otherservice ul li p {
  font-size: 12px;
  padding-left: 15px;
  line-height: 1.4;
  color: #000;
}

.otherservice ul li p b {
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
  color: var(--accent-color);
  font-weight: 800;
}

@media screen and (max-width:700px) {
.section-ttl {
    font-size: 7vw;
}
.section-ttl span.min {
    font-size: 3.2vw;
    margin-bottom: 10px;
}
.otherservice ul {
    grid-template-columns: 1fr;
}

}

/* ======== お客様の声（TOPページ） ======== */
.voice {
  background: linear-gradient(0deg, #fdfdfd 0%, #DFE2EA 50%, #fff 80%);
}
.voice_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
.voice_list li {
  border: solid 2px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
  padding: 15px 20px;
  background: #fff;
}
.voice_list li .upper {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}
.voice_list li .upper p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.voice_list li .middle {
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  padding: 10px 0;
}
.voice_list li .middle dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
}
.voice_list li .middle dl:not(:last-child) {
  margin-bottom: 5px;
}
.voice_list li .middle dl dt {
  color: #fff;
  background-color: var(--main-color);
  font-size: 14px;
  text-align: center;
  padding: 5px 0;
}
.voice_list li .lower p {
  font-size: 14px;
  padding: 10px 0;
  line-height: 1.4;
}

.works,
.faq,
/* ======== 施工事例 抜粋カード（works_list） ======== */
.news {
  color: #fff;
}
.works_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
.works_list a {
  border: solid 2px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
  padding: 15px 20px;
  background: #fff;
}
.works_list a .upper p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.works_list a .middle {
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  padding: 10px 0;
}
.works_list a dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
}
.works_list a dl:not(:last-child) {
  margin-bottom: 5px;
}
.works_list a dl dt {
  color: #fff;
  background-color: var(--main-color);
  font-size: 14px;
  text-align: center;
  padding: 5px 0;
}
.works_list a dl dd span.robot{
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
}
.works_list a .lower {
  padding: 20px 0;
}

@media screen and (max-width:768px) {
.voice_list,
.works_list {
    grid-template-columns: 1fr 1fr;
}
}
@media screen and (max-width:480px) {
.voice_list,
.works_list {
    grid-template-columns: 1fr;
}

}

/* ======== よくある質問（FAQアコーディオン） ======== */
.faq label {
  border-radius: 15px;
  padding: 30px 50px 30px 30px;
  display: block;
  margin-bottom: 20px;
  width: 100%;
  border: solid 1px #f1f1f1;
  position: relative;
  cursor: pointer;
}

.faq label p.question ion-icon {
  position: absolute;
  top: calc(50% - 9px);
  right: -30px;
  font-size: 18px;
}

.faq label p {
  font-size: 20px;
  line-height: 24px;
  display: flex;
  align-items: flex-start;
  position: relative;
  font-weight: 600;
}

.faq label p:before {
  display: inline-block;
  margin-right: 5px;
  font-family: "Roboto", serif;
  font-size: 30px;
}

.faq label p.answer {
  display: none;
  margin-top: 30px;
  padding-top: 30px;
  border-top: solid 2px #d1d1d1;
}

.faq label input:checked~.answer {
  display: flex;
  line-height: 1.8;
  white-space: pre-wrap;
}

.faq label input:checked~.question ion-icon {
  transform: rotate(180deg);
}

.faq label p.question:before {
  content: "Q.";
  color: var(--accent-color);
}

.faq label p.answer:before {
  content: "A.";
  color: var(--accent-color);
}

/* ======== 新着ニュース 抜粋（news_list） ======== */
.news_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news a.news_list_child {
  background-color: #fff;
  display: block;
  padding: 3%;
  border-radius: 4px;
}
.news a.news_list_child b {
  display: block;
  padding: 20px 0;
  font-size: 24px;
  font-weight: 800;
}
.news a.news_list_child .category {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffff;
  padding: 5px 10px;
  font-size: 16px;
  margin-left: 5px;
}

/* ======== 下層ページ共通レイアウト ======== */
.bottom_layout {
  color: #fff;
}


.service_price_subttl {
  margin: 30px 0;
  text-align: center;
  position: relative
}

.service_price_subttl:before {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #ddd;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
}

.service_price_subttl span {
  background-color: #fff;
  border: solid 1px #b4b4b4;
  padding: 16px 30px;
  border-radius: 10000px;
  color: var(--accent-color);
  position: relative;
  z-index: 2;
  width: 80%;
  display: inline-block;
  font-size: 24px;
}

main.bottom .pricelist {
  margin-bottom: 50px;
}

main.bottom .service_price_subttl span {
  font-size: clamp(0px, 1.8vw, 24px);
}

main.bottom .b_list li.b_rebuilt h6 {
  font-size: 1.8vw;
}

main.bottom .b_list li h6 {
  font-size: 1.2vw;
}

main.bottom .b_list li b {
  font-size: clamp(0px, 5vw, 68px);
}

main.bottom .b_list li.b_rebuilt b {
  font-size: clamp(0px, 8vw, 108px);
}

main.bottom .b_list li p {
  font-size: clamp(0px, 1.5vw, 20px);
}

main.bottom .b_list li.b_rebuilt b:before {
  font-size: clamp(0px, 1.2vw, 16.3px);
  width: clamp(0px, 6vw, 82px);
  height: clamp(0px, 6vw, 82px);
}

.pricelist {
  text-align: center;
  border-radius: 40px;
  border: solid 2px #d1d1d1;
  overflow: hidden;
  background-color: #fff;
  box-shadow: #d1d1d1 0px 8px 0px;
}

.pricelist h5 {
  font-size: 20px;
  padding: 30px 0;
  display: block;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

/* ======== 商材・価格リスト（.b_list） ======== */
.b_list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.b_list li {
  width: 38%;
  padding: 0 2%;
}

.b_list li.b_rebuilt {
  width: 60%;
}

.b_list li:nth-child(2) {
  border-left: solid 2px #d5d5d5;
}

.b_list li h6 {
  font-size: 16px;
  background-color: #ddd;
  padding: 10px 0;
  border-radius: 1000px;
  color: #fff;
}

.b_list li.b_rebuilt h6 {
  background-color: #dc1313;
  font-size: 22px;
  padding: 14px 0;
}

.b_list li.b_new h6 {
  background-color: var(--sub-color);
}

.b_list li b {
  font-size: 60px;
  font-weight: 900;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.b_list li.b_rebuilt b {
  color: #dc1313;
  font-size: 90px;
  align-items: center;
}

.b_list li.b_rebuilt b:before {
  content: "大人気!";
  font-family: 'Noto Sans JP';
  font-size: 14px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffd900;
  border: solid 2px #fff;
  box-shadow: #ffd900 0px 0px 0px 2px;
  color: #055f1a;
  border-radius: 10000px;
  margin-right: 0px;
  transform: rotate(-8deg);
  font-style: italic;
  aspect-ratio: 1/1;
}

.b_list li.b_new b {
  color: var(--sub-color);
}

.b_list li b span {
  font-family: 'Noto Sans JP';
  font-size: 24px;
  text-align: left;
  padding: 0 0 10px 2px;
  color: #333;
}

.b_list li.b_rebuilt b span {
  font-size: 30px;
}

.b_list li p {
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  color: #333;
  padding: 10px 0 5px;
}

.b_list li p span {
  font-size: 200%;
  line-height: 1;
  margin: 0 1px;
  text-decoration: line-through red;
}

.small_link {
  margin-top: clamp(32px, 5vw, 60px);
  text-align: center;
}

.small_link a {
  font-size: 16px;
  background-color: var(--accent-color);
  color: #fff;
  padding: 25px 20px;
  display: inline-block;
  border-radius: 10000px;
}

.cta__info-nowrap {
  white-space: nowrap;
}

@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 1200px) {

}

.small_ttl2 {
  font-size: 18px;
  text-align: center;
  padding: 30px 0 60px;
}

.accessmap .inner {
  max-width: 100%;
}

/* ======== フッター ======== */
.footer {
  background-color: var(--accent-color);
}

.footer .inner {
  display: grid;
  grid-template-columns: 1fr 330px;
  row-gap: 30px; /* 旧 .ftcont_area margin-top:30px をgapで制御 */
  align-items: start;
}

.footer .ftcont_left {
  /* 幅はgridトラック(1fr)が決定。旧 width:calc(100% - 330px) は不要 */
}

.footer .ftcont_right {
  /* 幅はgridトラック(330px)が決定。内部のリンク2列gridは維持 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2%;
  row-gap: 20px;
  align-items: start;
}

.footer .ftcont_right a {
  color: #fff;
  font-size: 14px;
  width: fit-content;
}

.footer .ftcont_right a:nth-child(odd) {
  margin: 0;
}

.footer .logo a {
  font-size: 28px;
  color: #fff;
  display: inline-block;
}

.footer .logo a span {
  font-size: 14px;
  font-weight: normal;
  display: block;
  color: #fff;
}

.footer .logo__tagline {
  display: block;
  font-size: 16px;
  margin-top: 15px;
  color: #fff;
}

.nowrap {
  white-space: nowrap;
}

.snsblock {
  display: flex;
  margin-top: 20px;
}

.snsblock a {
  width: 40px;
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: solid 2px #fff;
  margin-right: 10px;
  border-radius: 10px;
}

.snsblock a svg {
  height: 20px;
  width: auto;
}

.copy {
  display: block;
  text-align: center;
  background-color: var(--main-dark);
  color: #fff;
  padding: 10px 0;
  font-size: 10px;
  font-weight: 400;
}

.ftcont_area {
  grid-column: 1 / -1; /* 2行目に全幅で回り込み(旧flex-wrap相当)。上余白は.footer .innerのrow-gapで制御 */
  background-color: var(--main-dark);
  color: #ffffff;
  padding: 20px 30px;
  line-height: 22px;
}

.ftcont_area p {
  font-size: 12px;
  font-weight: normal;
}

.ftcont_area span {
  display: block;
  font-weight: bold;
  border-bottom: solid 2px #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* ======== 下層バナー（bottommv） ======== */
.bottommv {
  position: relative;
  background-color: #000;
}

.bottommv img {
  width: 100%;
  height: clamp(220px, 40vh, 380px);
  object-fit: cover;
  opacity: .5;
}

.bottommv h1,
.bottommv .bottommv__banner {
  position: relative;
}

.bottommv p {
  font-size: 40px;
  text-align: center;
  color: #fff;
  font-weight: 900;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 1;
      font-family: serif;
    font-style: italic;
}

/* ======== パンくずリスト ======== */
.pankuzu {
  display: flex;
  align-items: center;
  background: linear-gradient(-80deg, #fdfdfd 0%, #DFE2EA 50%, #fff 80%);
  padding: 15px 3%;
}

/* バナー無しページ(404/thanks)用：固定ヘッダー回避の上余白 */
.pankuzu--top {
  margin-top: 90px;
}

.pankuzu a {
  text-decoration: underline;
}

.pankuzu a,
.pankuzu p {
  font-size: 14px;
}

.pankuzu__sep {
  margin: 0 5px;
}

/* テキストのみのリンク: 既定で下線・hoverで下線消し＋半透明(footer著作権/フッターナビ/パンくず等) */
.footer-copy__buv-link,
.footer .ftcont_right a,
.pankuzu a,
.form__policy-link {
  text-decoration: underline;
  transition: opacity .2s;
}
.footer-copy__buv-link:hover,
.footer .ftcont_right a:hover,
.pankuzu a:hover,
.form__policy-link:hover {
  text-decoration: none;
  opacity: .6;
}

/* ======== 下層ページ見出し共通（.midium_ttl） ======== */
.midium_ttl {
  font-size: 28px;
  color: #fff;
  border-bottom: solid 3px #e7e7e7;
  line-height: 28px;
      padding: 0 0 30px 5px;
    margin-bottom: 30px;
    font-weight: 800;
    font-family: serif;
      border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
}

/* 詳細ページ見出し: h1化したタイトルを旧インライン表示のまま維持（.midium_ttlの28px serifを継承） */
.case-heading__title {
  display: inline;
  font: inherit;
  line-height: 1.5;
  margin: 0;
}

.midium_ttl.rebuild {
  color: #dc1313;
}

.midium_ttl.new {
  color: var(--accent-color);
}

.midium_ttl.repair {
  color: var(--sub-color);
}

.midium_ttl__sub {
  color: #b2b2b2;
  font-size: 16px;
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.bottom_txt__cont {
  margin-bottom: 10px;
  line-height: 32px;
}

.bottom_txt__cont p b,
.flex_images_cont p b {
  display: block;
  font-size: 20px;
  border-left: solid 4px;
  padding-left: 15px;
  margin-bottom: 20px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
}

.bottom_txt__cont p span,
.flex_images_cont p span {
  display: inline;
  color: var(--accent-color);
}

.flex_images_cont {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 70px;
  line-height: 32px;
}

.flex_images_cont p {
  line-height: 2.2;
}

.flex_images_cont img {
  width: 260px;
}

.news_cont_text {
  max-height: 75px;
  overflow: hidden;
}

.flow_item {
  margin-bottom: 30px;
}

.flow_cont {
    display: grid;
    grid-template-columns: 25vw 1fr;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    line-height: 1.6;
}
.flow_cont img {
  object-fit: cover;
}

.flow_cont p {
  font-size: 14px;
}
.flow_cont p b {
  color: var(--accent-color);
  font-size: 24px;
  margin-bottom: 5px;
  display: block;
}


@media screen and (max-width: 1200px) {
  .pricelist .b_list {
    flex-wrap: wrap;
    gap: 24px;
  }

  .pricelist .b_list li:nth-child(2) {
    border-left: none;
  }

  .b_list li.b_rebuilt,
  .b_list li {
    width: 100%;
  }

  main.bottom .b_list li h6 {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 768px) {
  .pricelist .b_list {
    gap: 15px;
  }
  .news a.news_list_child b {
    padding: 10px 0;
    font-size: 16px;
}
.news a.news_list_child span {
  font-size: 11px;
}
.news a.news_list_child .cont {
    font-size: 12px;
    line-height: 1.4;
}
.news a.news_list_child .category {
    font-size: 10px;
}
}


/* ======== 施工事例 一覧・詳細カード（caselist） ======== */
.caselist {
  display: flex;
  flex-wrap: wrap;
}

.caselist a {
  width: 49%;
  gap: 10px;
  border: solid 2px #d1d1d1;
  background-color: #fff;
  box-shadow: #d1d1d1 0px 8px 0px;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  display: grid;
  grid-template-columns: 3fr 4fr;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2%;
}

@media screen and (max-width: 1200px) {
  .caselist a {
    grid-template-columns: 1fr;
  }
}

/* 施工事例一覧のサムネ（<1200pxで2/1に切替＝カード横並び時に有効。newsとは分離） */
.postlist__thumbnail {
  aspect-ratio: 3/2;
  object-fit: cover;
  overflow: hidden;
  display: block;
}

@media screen and (max-width: 1200px) {
  .postlist__thumbnail {
    aspect-ratio: 2/1;
  }
}

/* 新着情報一覧のサムネ（case用の<1200px 2/1は付けない＝news崩れ防止・3/2固定） */
.news_cont__thumbnail {
  aspect-ratio: 3/2;
  object-fit: cover;
  overflow: hidden;
  display: block;
}

.postlist__thumbnail-wrp {
  width: 100%;
}

.pagination__info {
  margin-bottom: 20px;
}

.postlist__pagination {
  margin-top: 40px;
  padding: 0 5em;
  position: relative;
  display: flex;
  gap: .5em 1em;
  justify-content: center;
  flex-wrap: wrap;
}

/* 新着ページャーを施工事例(.pagination)のピル型に合わせる（紺背景で埋没しないよう薄グレー地＋白prev/next） */
.postlist__pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f1f1;
  color: #333;
  border-radius: 10000px;
  font-weight: 500;
  font-family: 'Roboto';
  text-decoration: none;
}

.postlist__pagination .page-numbers:hover {
  opacity: .8;
}

.postlist__pagination .page-numbers.current {
  background-color: var(--accent-color);
  color: #fff;
}

.postlist__pagination .prev,
.postlist__pagination .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  background-color: transparent;
  color: #fff;
  border-radius: 0;
  font-weight: 900;
}

.postlist__pagination .prev {
  left: 0;
}

.postlist__pagination .next {
  right: 0;
}

.postlist__noposts {
  text-align: center;
  display: block;
  margin: 2em auto;
}
.caselist a:nth-child(odd) {
  margin-right: 2%;
}

.caselist a img {
  width: 100%;
}

.caselist a .txt,
.caselist__txt {
  display: grid;
  gap: 10px;
}

.caselist a h5 {
  font-size: 20px;
  font-weight: 800;
  padding: 5px 0;
  text-align: left;
}

@media screen and (max-width: 1200px) {

  .caselist a h5 {
    width: 100%;
    font-size: 16px;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
  }
}

.caselist a h6,
.caselist__term-name {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 0;
  border-radius: 10000px;
  color: #fff;
}

.caselist__term-noset {
  background-color: #ccc;

}

.caselist a.case_rebuildbattery h6,
.caselist__term-rebuilt {
  background-color: #dc1313;
}

.caselist a.case_newbattery h6,
.caselist__term-new {
  background-color: var(--accent-color);
}

.caselist a.case_repairbattery h6,
.caselist__term-repair {
  background-color: var(--sub-color);
}

.caselist a p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  font-size: 13px;
}

.caselist a p span {
  font-size: 32px;
  font-weight: 900;
}

.caselist a.case_rebuildbattery p span {
  color: #dc1313;
}

.caselist a.case_newbattery p span {
  color: var(--accent-color);
}

.caselist a.case_repairbattery p span {
  color: var(--sub-color);
}

/* ======== 施工事例 詳細ページ（本文・ギャラリー・価格・バッジ） ======== */
/* 画像列 | 本文列 の2カラムgrid（tochigi原本準拠） */
.case_single {
  display: grid;
  grid-template-columns: minmax(0, 448px) minmax(400px, 1fr);
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

/* 施工事例詳細 カテゴリラベル: tochigi準拠の灰サブラベル（濃紺背景でも視認できるライトグレー・pill/カテゴリ色分け無し） */
.single-case__term {
  display: block;
  color: #b2b2b2;
  font-size: 16px;
  font-weight: 700;
}

/* メイン画像 */
.case_single_img__main-img {
  width: 100%;
  display: block;
}

/* サムネイル一覧（登録順で固定・3列・クリックでメイン差替） */
.case_single_img__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.case_single_img__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
}
.case_single_img__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case_single_img__thumb:hover {
  opacity: .85;
}
/* 選択中サムネ: ボーダー＋ハイライト */
.case_single_img__thumb.is-active {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 1px var(--accent-color);
}

.case_single_info {
  padding-left: 20px;
}

.case_single_price {
  margin-top: 30px;
}
.case_single_price__value {
  white-space: nowrap;
}
.case_single_price__amount {
  font-family: serif;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  font-style: italic;
}
.case_single_price__unit {
  font-family: serif;
  font-weight: 700;
  font-size: clamp(20px, 2.7vw, 32px);
  font-style: italic;
}

/* ======== 会社概要・サイトマップ テーブル（.bottom_table） ======== */
.bottom_table {
  text-align: left;
  width: 100%;
  margin-bottom: 30px;
}

.bottom_table tr {
  border-bottom: solid 1px #ddd;
}

.bottom_table tr:first-child th,
.bottom_table tr:first-child td {
  padding: 0 10px 25px;
}

.bottom_table th,
.bottom_table td {
  padding: 25px 10px;
  border-bottom: solid 1px #ddd;
}

.sitemap .bottom_table th {
  width: 200px;
}

.sitemap .bottom_table th a {
  text-decoration: underline;
      color: #ffffff;
}

.sitemap .bottom_table td {
  font-size: 14px;
}

.company_imgs {
  display: flex;
  align-items: center;
}

.company_imgs img {
  width: 31%;
  margin-right: 2.33%;
  height: 200px;
  object-fit: cover;
}

.company_imgs img:last-child {
  margin-right: 0;
}

.news_cont {
  display: flex;
  justify-content: space-between;
  border: solid 2px;
  border-image: linear-gradient(-28deg, #B07515 0%, #E0BA5F 9%, #F5D77F 14%, #FFFFD7 25%, #F5D77F 36%, #B07515 49%, #E0BA5F 57%, #F5D77F 61%, #FFFFD7 74%, #F5D77F 85%, #B07515 100%) 2;
  background-color: #fff;
  padding: 30px;
  margin-bottom: 20px;
  align-items: center;
}

.news__category-list {
  margin-top: 10px;
  display: flex;
  gap: 5px;
}

.news__category-item {
  color: #fff;
  background: var(--accent-color);
  font-size: 16px;
  padding: 5px 20px;
  margin-bottom: 13px;
  font-weight: 700;
}
/* カテゴリ別ラベル色: NEWS=アクセント橙(base) / BLOG=サブ青 */
.news__category-item--blog {
  background: var(--sub-color);
}
.news a.news_list_child .category--blog {
  background-color: var(--sub-color);
}

.news_cont img {
  width: 230px;
}

.news_cont .news_cont_info {
  width: calc(100% - 250px);
  padding-left: 20px;
  line-height: 24px;
  border-left: solid 2px #d1d1d1;
}

.news_cont .news_cont_info .news_cont__date {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 14px;
  color: #888888;
}

.news_cont .news_cont_info b {
  color: var(--accent-color);
  font-size: 24px;
  padding: 10px 0 15px;
  display: block;
}

.news_cont .news_cont_info p {
  font-size: 14px;
  line-height: 24px;
  max-height: 100px;
  overflow: hidden;
}

.news-detail__thumbnail,
.post-detail__content img {
  max-width: 720px;
  max-height: 480px;
  display: block;
  margin: auto;
  object-fit: contain;
}

/* ======== お問い合わせフォーム（CF7 / contact_table・送信ボタン） ======== */
table.contact_table {
  text-align: left;
}

table.contact_table th {
  width: 150px;
}

table.contact_table th span {
  color: red;
  font-size: 12px;
}

table.contact_table td {
  width: calc(100% - 150px);
  padding: 10px;
}

/* CF7送信ボタン: スピナーが常時レイアウト領域(幅24+左右margin24=計72px)を占有し送信ボタンが中央からズレるのを防止。
   スピナーをabsoluteでフロー外に出し右側へ浮かせ、送信ボタンだけをtext-align:centerで正しく中央化 */
.wpcf7-form p:has(> .wpcf7-spinner) {
  position: relative;
}
.wpcf7-form .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 10px 20px;
  border-radius: 7px;
  border: solid 2px #D1D1D1;
  box-shadow: #D1D1D1 0px 2px 0px;
  font-size: 16px;
  box-sizing: border-box;
  width: 100%;
}

.secPolicy p {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 40px;
}

.secPolicy p.secPolicy__intro {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 30px;
}

.secPolicy h2.secPolicy__heading {
  font-size: 18px;
  border-bottom: solid 2px #777;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.secPolicy__list {
  margin-bottom: 20px;
}

.secPolicy__list li {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.ta-center.check-privacy {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  margin: 20px 0;
}
.ta-center.check-privacy a {
  color: #fff;
}

.hummenu_cont,
.hummenu {
  display: none;
}

.carlist {
  background-color: #fff;
  padding: 100px calc((100% - 1000px)/2);
}

.carlist__maker-wrapper {
  padding: 0 20px;
}

.carlist__grid-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 0;
  justify-content: space-between;
  font-size: 13px;
}

.carlist .ttl {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 900;
}

.carlist__name--jp{
  text-align: left;
}

.carlist .ttl .carlist__bar {
  display: block;
  width: calc(100% - 50px - 120px);
  height: 1px;
  background-color: #333;
}

.carlist .ttl img {
  width: 50px;
}

.carlist__item {
  font-weight: 700;
  color: #333;
  line-height: 18px;
}

.carlist__maker-wrapper+.carlist__maker-wrapper {
  margin-top: 30px;
}

.carlist__head-title {
  font-size: 22px;
  text-align: center;
  display: block;
  margin-bottom: 50px;
  color: var(--accent-color);
  font-weight: 900;
}


/* ======== サンクス（送信完了）ページ ======== */
.secThanks__ttl {
  text-align: center;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
}

.secThanks__btn {
  display: block;
  width: 140px;
  background-color: #ffffff;
  text-align: center;
  padding: 10px 0;
  margin: 30px auto 0;
  border: solid 2px var(--accent-color);
  color: var(--accent-color);
  border-radius: 10000px;
}

.secThanks__btn:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.secThanks__description {
  width: 80%;
  margin: 40px auto;
  line-height: 1.6;
}

.googlemap {
  border: 0;
  display: block;
  width: 100%;
  height: 300px;
}

@media screen and (max-width:768px) {
  .googlemap {
    height: 150px;
  }

  .secThanks__ttl {
    font-size: 30px;
  }

  .carlist {
    padding: 50px 20px;
  }

  .carlist__head-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .carlist__grid-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0 0;
  }

  .carlist__maker-wrapper {
    padding: 0;
  }

  .carlist .ttl {
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .carlist__item {
    line-height: 20px;
    font-size: 12px;
  }

}

.pconly {
  display: block;
}

.sponly {
  display: none;
}
@media screen and (max-width:950px) {

  .hummenu {
    display: grid;
    justify-content: center;
    gap: 5px;
    position: fixed;
    top: 25px;
    right: 3vw;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    z-index: 4;
    grid-template-rows: max-content;
    align-content: center;
  }

  .hummenu__icon {
    position: relative;
    width: 80%;
    margin: auto;
    aspect-ratio: 3/2;
  }

  .hummenu__bar {
    display: block;
    background: #fff;
    border-radius: 100px;
    height: 3px;
    right: 0;
    left: 0;
    position: absolute;
    transition: all .5s;
  }

  .hummenu__bar-top {
    top: 0;
  }

  .hummenu__bar-mid {
    top: 50%;
    transform: translateY(-50%);
  }

  .hummenu__bar-btm {
    bottom: 0;
  }

  html.overflow .hummenu__bar-mid {
    opacity: 0;
  }

  html.overflow .hummenu__bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
  }

  html.overflow .hummenu__bar-btm {
    top: 50%;
    transform: translateY(-50%) rotate(225deg);
    bottom: auto;
  }

  .hummenu ion-icon {
    display: block;
    width: 7vw;
    font-size: 7vw;
    margin: 0 auto;
  }

  .hummenu span {
    font-size: 10px;
    display: block;
    text-align: center;
  }

  .hummenu_cont {
    display: block;
    height: 0vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .95);
    z-index: 3;
    overflow: hidden;
    transition: .5s;
  }

  input[type="checkbox"]#hummenu:checked~.hummenu_cont {
    height: 100vh;
    height: 100dvh; /* モバイルのアドレスバー増減に追従(非対応ブラウザは上のvhにフォールバック) */
    width: 100%;
    padding: 50px 20px 20px;
    overflow-y: auto; /* 内容が縦にはみ出したらスクロール可(下層でリンク増/短い縦画面対策)。閉時はbaseのoverflow:hiddenでクリップ→height遷移を保つ */
  }
  /* 開状態(html.overflow=JS付与)でバー/テキストを黒に。
     旧 #hummenu:checked~.hummenu は label が input の前にあり後続兄弟セレクタとして不成立=白背景に白Xで不可視だった */
  html.overflow .hummenu__bar {
    background: #000;
  }
  html.overflow .hummenu__text {
    color: #000;
  }

  .hummenu_cont_links a {
    display: block;
    font-size: 14px;
    color: var(--main-dark);
    padding: 12px 10px;
    border-bottom: solid 1px var(--main-dark);
  }

  /* ハンバーガー稼働は950から＝白メニュー上の電話リンク色替えもここで(旧768だと769-950で白背景に白文字だった) */
  .hummenu_cont .cta_btns_inner a {
    color: #000;
  }

  /* 決済ロゴ(figure): UA既定marginを消し下余白のみ。ハンバーガー稼働の950で効かせる */
  .humpayment {
    margin: 0 0 10px;
  }

  .hd_main {
    padding: 10px;
  }

  .logo a {
    font-size: 22px;
    display: block;
  }

  .logo a span {
    font-size: 10px;
    margin-top: 5px;
  }

  .hd_menu {
    display: none;
  }

  .hd_menu h2 {
    font-size: 11px;
    font-weight: normal;
  }

}
@media screen and (max-width:768px) {
  .pconly {
    display: none;
  }

  .sponly {
    display: block;
  }
.inner, .bottom_inner {
    padding: 30px 0;
}
.small_link a {
    padding: 18px 0;
    width: 80%;
}
  p {
    font-size: 14px;
  }

  .inner {
    padding: 70px 0;
  }

  .service_price_subttl span {
    padding: 10px 0;
    color: var(--accent-color);
    width: calc(100% - 10px);
    display: inline-block;
    font-size: 16px;
  }

  main.bottom .service_price_subttl span {
    font-size: 12px;
  }

  .pricelist {
    border-radius: 20px;
  }

  .b_list {
    flex-wrap: wrap;
  }
  .case_single_price {
    text-align: center;
  }
  .b_list li.b_rebuilt {
    width: 100%;
    padding: 0 10px;
  }

  .b_list li {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
  }

  .b_list li:nth-child(2) {
    border-left: none;
  }

  .pricelist h5 {
    font-size: 14px;
    padding: 30px 10px 10px;
  }

  .caselist a p {
    font-size: 10px;
  }

  .b_list li h6,
  main.bottom .b_list li h6 {
    font-size: 14px;
    width: 100%;
  }

  .b_list li b,
  main.bottom .b_list li b {
    font-size: 50px;
  }

  .b_list li b span,
  main.bottom .b_list li b span {
    font-size: 14px;
    padding: 0 0 0px 2px;
  }

  .b_list li p,
  main.bottom .b_list li p {
    font-size: 14px;
    line-height: 14px;
  }

  .b_list li.b_rebuilt h6,
  main.bottom .b_list li.b_rebuilt h6 {
    font-size: 16px;
    padding: 10px 0;
  }

  .b_list li.b_rebuilt b,
  main.bottom .b_list li.b_rebuilt b {
    font-size: 56px;
  }

  .b_list li.b_rebuilt b span,
  main.bottom .b_list li.b_rebuilt b span {
    font-size: 22px;
  }

  .b_list li.b_rebuilt b:before,
  main.bottom .b_list li.b_rebuilt b:before {
    font-size: 11px;
    width: 50px;
    height: 50px;
  }

  .service_price_subttl {
    margin: 20px 0 15px;
  }

  .small_ttl2 {
    font-size: 12px;
    padding: 20px 0 30px;
  }
  .accessmap .inner {
    max-width: 100%;
    padding: 30px 0;
  }

  .faq label {
    border: solid 2px #d1d1d1;
    box-shadow: #d1d1d1 0px 3px 0px;
    border-radius: 10px;
    padding: 14px 20px;
    display: block;
    margin-bottom: 10px;
  }

  .faq label p {
    font-size: 14px;
    line-height: 24px;
  }

  .faq label p.answer {
    margin-top: 15px;
    padding-top: 15px;
  }

  .faq label p:before {
    font-size: 20px;
  }

  .footer .inner {
    grid-template-columns: 1fr; /* 1カラムに。display:grid/row-gap:30pxはbaseから継承(旧left margin-bottom:30px相当) */
    justify-items: center;      /* 右ナビ/エリアの中央寄せ(旧margin:0 auto相当) */
  }

  .footer .ftcont_left,
  .footer .ftcont_right {
    width: 100%;
  }

  .footer .ftcont_right {
    max-width: 300px;
  }

  .footer .logo {
    text-align: center;
  }

  .footer .logo a {
    font-size: 20px;
    text-align: center;
  }

  .footer .logo a span {
    font-size: 10px;
  }

  .footer .logo__tagline {
    display: block;
    font-size: 12px;
    margin-top: 15px;
  }

  .bottommv p {
    font-size: 22px;
    top: 65%;
  }

  .bottommv img {
    height: 180px;
  }

  .pankuzu {
    padding: 6px 10px;
  }

  .pankuzu--top {
    margin-top: 97px;
  }

  .pankuzu a,
  .pankuzu p {
    font-size: 12px;
  }

  .pankuzu p {
    max-width: 210px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .bottom_layout {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .midium_ttl {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .midium_ttl__sub,
  .single-case__term {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .news-detail__thumbnail,
  .post-detail__content img {
    max-width: 560px;
    max-height: 400px;
  }

  .news_cont {
    display: block;
    padding: 20px;
    margin-bottom: 18px;
  }

  .news_cont .news_cont_info {
    width: 100%;
    padding-left: 0;
    line-height: 24px;
    border-left: none;
  }

  .news_cont img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  .news_cont .news_cont_info b {
    font-size: 16px;
    padding: 0 0 10px;
  }

  .news_cont .news_cont_info p {
    font-size: 12px;
    line-height: 18px;
    max-height: 55px;
  }

  .news_cont .news_cont_info .news_cont__date {
    font-size: 12px;
    color: #373737;
    margin-top: 5px;
  }

  .flex_images_cont {
    display: block;
  }

  .flex_images_cont p {
    width: 100%;
    line-height: 26px;
  }

  .flex_images_cont img {
    width: 100%;
    max-width: 250px;
    margin: 20px auto;
    display: block;
  }

  .flow_cont {
    display: block;
    padding: 20px;
  }

  .flow_cont img {
    width: 100%;
    margin-bottom: 15px;
  }

  .flow_cont p {
    width: 100%;
    padding-left: 0;
    line-height: 24px;
    border-left: none;
  }

  .flow_cont p b {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .bottom_txt__cont p {
    line-height: 26px;
  }

  .bottom_txt__cont p b,
  .flex_images_cont p b {
    font-size: 16px;
    line-height: 20px;
  }

  .hummenu_cont_links {
    margin-bottom: 30px;
  }

  .caselist {
    gap: 0 15px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .caselist a:nth-child(odd) {
    margin-right: 0;
  }

  .caselist a {
    width: 300px;
    margin-bottom: 5%;
  }

  .caselist a p span {
    font-size: 32px;
  }

  .caselist a h5 {
    font-size: 18px;
  }

  .caselist a img {
  }

  .caselist a .txt {
    padding-left: 0px;
  }

  .caselist__txt {
    flex-grow: 1;
    margin-left: 15px;
  }

  .case_single {
    grid-template-columns: 1fr;
  }

  .case_single_info {
    width: 100%;
    padding-left: 0;
  }

  .case_single_img {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

  .case_single_price h6 {
    font-size: 15px;
    padding: 7px 0 10px;
    margin: 0 auto 10px;
  }

  .case_single_price p span {
    font-size: 20px;
  }

  .copy {
  }

  table.contact_table th,
  table.contact_table td {
    display: block;
    width: 100%;
    padding: 0;
  }

  table.contact_table th {
    margin-bottom: 5px;
    font-size: 14px;
  }

  table.contact_table td {
    margin-bottom: 20px;
  }

  form {
    margin-bottom: 0px;
  }

  .bottom_table th {
    padding: 15px 5px;
    font-size: 12px;
  }

  .bottom_table td {
    padding: 15px 5px;
    font-size: 14px;
  }

  .bottom_table tr:first-child th,
  .bottom_table tr:first-child td {
    padding: 0 5px 15px;
  }

  .sitemap .bottom_table th {
    width: 180px;
    font-size: 16px;
  }

  .sitemap .bottom_table td {
    font-size: 12px;
    line-height: 18px;
  }

  .faq label p.question ion-icon {
    position: absolute;
    top: calc(50% - 6px);
    right: -10px;
    font-size: 12px;
  }
  .company_imgs img {
    height: 70px;
  }

  .ftcont_area {
    padding: 20px;
    width: 90%;
    /* 中央寄せ=inner justify-items:center / 上余白=inner row-gap で制御(旧margin:10px auto 0廃止・gap30に統一) */
  }

  .ftcont_area p {
    font-size: 10px;
    line-height: 18px;
  }

  .ftcont_area span {
    font-size: 12px;
    padding-bottom: 5px;
    margin-bottom: 5px;
  }

  .snsblock {
    justify-content: center;
  }

}

/* ======== 投稿本文（ビジュアルエディタ / 詳細本文） ======== */
.post-detail__content {
  display: flex;
  flex-direction: column;
  gap: 1.7em;
  line-height: 1.9;
}

.post-detail__content h1,
.post-detail__content h2 {
  border-bottom: solid 2px #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.post-detail__content h1 {
  font-size: 32px;
}

.post-detail__content h2 {
  font-size: 28px;
}

.post-detail__content h3 {
  font-size: 24px;
}

.post-detail__content h4 {
  font-size: 20px;
}

.post-detail__content h5 {
  font-size: 18px;
}

.post-detail__content h6 {
  font-size: 16px;
}

.post-detail__content h1:not(:first-child),
.post-detail__content h2:not(:first-child),
.post-detail__content h3:not(:first-child),
.post-detail__content h4:not(:first-child),
.post-detail__content h5:not(:first-child),
.post-detail__content h6:not(:first-child) {
  margin-top: 2em;
}

.post-detail__content ul,
.post-detail__content ol {
  position: relative;
  left: 2em;
}

.post-detail__content ul li {
  list-style-type: disc;
}

.post-detail__content ol li {
  list-style-type: decimal;
}

.post-detail__content blockquote {
  padding-top: .2em;
  padding-bottom: .2em;
  padding-left: 10px;
  border-left: #888 4px solid;
  color: #888;
}

.post-detail__content p {
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
}

.post-detail__content a {
  text-decoration: underline;
  color: var(--accent-color);
}

.post-detail__content a:hover {
  text-decoration: none;
}

/* ======== 共通サービスバナー ======== */
.service-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 20px;
  margin: 10px auto 0;
  justify-content: center;
}

.service-banner__link {
  display: block;
  width: 100%;
}

.service-banner__img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .service-banner {
    margin: 24px auto 0;
  }

  .service-banner__link {
    width: calc(50% - 10px);
  }
}
@media screen and (max-width:480px) {
.appeal_list_othertxt {
    font-size: 14px;
    line-height: 1.6;
}
.trouble_list li {
    grid-template-columns: 1fr;
}
.trouble_list li img {
  width: 150px;
    margin: 0 auto;
}
.trouble_list_cont h3 {
    font-size: 5vw;
}
.otherservice ul li p b {
    font-size: 18px;
}
}
/* ======== 施工事例ページネーション ======== */
.pagination {
  margin-top: 50px;
}
.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.pagination ul li a,
.pagination ul li span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f1f1;
  border-radius: 10000px;
  font-weight: 500;
  font-family: 'Roboto';
  padding: 0;
  border: none;
  text-decoration: none;
}
.pagination ul li a {
  background-color: #f1f1f1;
}
.pagination ul li span {
  background-color: var(--accent-color);
  color: #fff;
}
.pagination ul li a.prev,
.pagination ul li a.next {
  width: auto;
  height: auto;
  color: #fff;
  border-radius: 0px;
  font-weight: 900;
  background-color: rgba(0, 0, 0, 0);
}
.pagination ul li a.prev:hover,
.pagination ul li a.next:hover {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .pagination {
    margin-top: 30px;
  }
  .pagination ul {
    gap: 5px;
  }
  .pagination ul li a,
  .pagination ul li span {
    width: 30px;
    height: 30px;
  }
}

/* ======== フォームカラー（下層フォーム配色） ======== */

table.contact_table th span.required {
  color: var(--accent-color);
}

.mw_wp_form .error {
  color: var(--accent-color);
  margin-top: 10px;
}

.mw_wp_form .check-privacy .error {
  margin-top: 0;
}

/* CF7バリデーションエラー（MW→CF7化に伴い体裁を .wpcf7-not-valid-tip へ移植・input密着を解消） */
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  color: var(--accent-color);
  margin-top: 10px;
}

.secThanks .secThanks__inner {
  color: #fff;
}

/*------------------------------------------------------
    会社概要telリンクの色変更
-------------------------------------------------------*/

.bottom_table a[href^="tel"] {
  color: inherit;
  text-decoration: inherit;
}

/*------------------------------------------------------
    投稿詳細 日付・前後ナビ / 一覧リード余白
-------------------------------------------------------*/

/* 投稿日（タイトル下・小） */
.post-detail__date {
  display: block;
  margin-top: 8px;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #b2b2b2;
}

/* 前後の投稿ナビ */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 15px;
  margin-top: clamp(32px, 5vw, 60px);
}
.post-nav__item {
  flex: 1 1 0;
  min-width: 0;
}
.post-nav__item--next {
  text-align: right;
}
.post-nav__item a,
.post-nav__none {
  display: inline-block;
  padding: 12px 18px;
  font-size: 14px;
  border: solid 1px #ddd;
  border-radius: 8px;
  line-height: 1.4;
}
.post-nav__item a {
  color: var(--main-dark);
  background: #fff;
  transition: .3s;
}
.post-nav__item a:hover {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.post-nav__none {
  color: #aaa;
  background: #f5f5f5;
  cursor: default;
}

/* 一覧リード文（新着/事例共通） */
.archive-lead {
  line-height: 1.6;
}
/* 一覧リード文の直後に余白 */
.archive-lead + * {
  margin-top: clamp(24px, 3vw, 36px);
}

@media screen and (max-width: 550px) {
  .post-nav__item a,
  .post-nav__none {
    padding: 10px 12px;
    font-size: 13px;
  }
}
