* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
p {
  line-height: 1.7;
  letter-spacing: 1.2px;
}

a {
  letter-spacing: 1.2px;
}

/*header*/
header {
  width: 100%;
  background-color: #fff;
}

.header-inner {
  height: 100px;
  width: 97%;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 80%;
}

.header-logo h1 {
  height: 100%;
  display: block;
}

.header-logo img {
  height: 100%;
}

.header-info {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-info a {
  height: 100%;
}

.header-tel {
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.header-tel p {
  font-size: 2rem;
  font-weight: bold;
  color: #983538;
  text-align: center;
}

.header-tel img {
  display: block;
  width: 30px;
  margin-right: 0.5rem;
}

.header-tel span {
  display: block;
  font-size: 1rem;
  color: #000;
}

.header-line {
  background-color: #01b902;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  width: 100px;
  font-size: 0.9rem;
}

.header-line img {
  margin-bottom: 0.2rem;
  display: block;
  height: 36px;
}

.header-contact {
  background-color: #983538;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  width: 100px;
  font-size: 0.9rem;
}

.header-contact img {
  display: block;
  height: 36px;
  margin-bottom: 0.2rem;
}

.header-nav {
  background-color: #333d92;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
}

.header-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 2rem;
  margin: 0 auto;
}

.header-nav {
  position: relative;
  z-index: 50;
  background: #333d92;
}

.header-nav > ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 12px 16px;
  list-style: none;
}

.header-nav > ul > li {
  position: relative;
}

.header-nav a {
  color: #fff;
  text-decoration: none;
}

/* ===== BASE ===== */
.header-nav {
  background: #333d92;
  color: #fff;
  position: relative;
  z-index: 50;
}

.header-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
  flex: 0 0 auto;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 6px 2px;
  display: block;
}

/* 下線の軽い演出（任意） */
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 0;
  height: 6px;
  background: #fff;
  border-radius: 6px;
  transition: width 0.18s ease;
}

.nav-links > li:hover > a::after {
  width: 80%;
}

/* CTAボタン */
.nav-cta {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.btn-outline,
.btn-solid {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-solid {
  background: #ff6600;
  color: #fff;
  box-shadow: 0 3px 0 #cc5200;
}

.btn-solid:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #cc5200;
}

/* ===== SUBMENU (縦) ===== */
.has-sub {
  position: relative;
}

/* 橋：カーソル移動で閉じない */
.has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  background: transparent;
}

/* パネル */
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #f6efe5;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  width: fit-content;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

/* アニメ用ラッパー（高さ） */
.sub-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

/* 中身：縦 */
.sub-inner {
  display: block;
  padding: 16px;
}

.sub-inner h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #1b1b1b;
  font-weight: 800;
}

.sub-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sub-inner li + li {
  margin-top: 8px;
}

.sub-inner a {
  color: #555;
  text-decoration: none;
  font-size: 1.05rem;
}

.sub-inner a:hover {
  text-decoration: underline;
}

/* 開状態（JS付与） */
.has-sub.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.has-sub.is-open > .sub-menu .sub-body {
  max-height: 520px;
}

/* PCホバーでも開く（遅延はJS側） */
@media (hover: hover) {
  .has-sub:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .has-sub:hover > .sub-menu .sub-body {
    max-height: 520px;
  }
}

/* レスポンシブ：SPは横スクロールナビ＋サブは全幅で縦開閉（タップ） */
@media (max-width: 980px) {
  .header-nav .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    overflow-x: auto;
    scrollbar-width: none;
    gap: 1.4rem;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .sub-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 8px;
  }
}

/*fv*/
.fv {
  width: 100%;
}

.fv-img {
  width: 100%;
}

.fv-img img {
  width: 100%;
  display: block;
}

section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  background-color: #983538;
  color: #fff;
  text-shadow:
    2px 2px 1px rgba(0, 0, 0, 0.5),
    /* 外側の影 */ -1px -1px 0 #ccc,
    /* 左上のハイライト */ 1px 1px 0 #000;
  /* 右下の影 */
  line-height: 1;
  padding: 1rem;
}

/*plan*/
.plan {
  background: url("../img/bg.jpg") repeat 0 0 / 600px auto;
}

.plan-contents ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 1rem 2rem;
}

.plan-contents li {
  width: calc((100% - 2rem) / 2);
}

.plan-contents li img {
  width: 100%;
  display: block;
}

/*marketing*/
.marketing-contents {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
}

.marketing-img {
  display: block;
  width: 100%;
}

.marketing-text {
  padding: 1.5rem;
  font-size: 1.3rem;
}

.marketing-bottom ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}

.marketing-bottom li {
  width: calc((100% - 3rem) / 2);
  border: 3px solid #333d92;
}

.marketing-bottom a img {
  display: block;
  width: 100%;
}

/*beginner*/
.beginner-contents {
  margin: 0 auto;
  width: 95%;
}

.beginner-title {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.beginner-title img {
  display: block;
  width: 100%;
}

.beginner {
  background: url("../img/beginner.jpg") repeat 0 0 / 800px auto;
}

.beginner-contents ul {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.beginner-contents li {
  width: calc((100% - 3rem) / 4);
}

.beginner-contents a img {
  display: block;
  width: 100%;
}

/*results*/
/*==================================================
スライダーのためのcss
===================================*/
.results-slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.results-slider .slick-slide {
  margin: 0 10px;
  /*スライド左右の余白調整*/
}

.results-title {
  max-width: 800px;
  width: 95%;
  margin: 0 auto;
}

.results-title img {
  width: 100%;
  display: block;
}

.results-img {
  border: 5px solid #e78317;
}

.results-textwrap {
  margin-top: 0;
  background-color: #ffbd5a;
  padding: 1rem;
}

.results-list {
  display: flex;
  align-items: center;
  background-color: #fff;
  margin-top: 0.25rem;
  padding: 0.25rem;
}

.results-item-title {
  background-color: #e73917;
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  line-height: 1;
  padding: 0.5rem 0;
}

.results-list h5 {
  font-size: 1.1rem;
  width: 100px;
  background-color: #983538;
  color: #fff;
  text-align: center;
}

.results-list p {
  width: calc(100% - 100px);
  padding-left: 1rem;
}

.results-textwrap h3 {
  text-align: center;
  margin-top: 1rem;
}

/*more*/
.btn,
a.btn,
button.btn {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.5rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  margin: 2.5rem auto 0;
  display: block;
  width: fit-content;
}

a.btn-solid {
  color: #fff;
  border-top: 4px solid #ffd699;
  /* 明るめオレンジ寄り */
  border-right: 4px solid #cc6600;
  /* 濃いオレンジブラウン */
  border-bottom: 4px solid #e67300;
  /* 濃いめのオレンジ */
  border-left: 4px solid #ffb366;
  /* 柔らかいオレンジ */
  border-radius: 0;
  background: #ff9933;
  /* ベースのオレンジ */
  text-shadow:
    -1px -1px 0 #000,
    /* 左上 */ 1px -1px 0 #000,
    /* 右上 */ -1px 1px 0 #000,
    /* 左下 */ 1px 1px 0 #000;
  /* 右下 */
}

/*voice*/
.voice {
  background: url("../img/voice.jpg") repeat 0 0 / 400px auto;
}

.voice-title img {
  display: block;
  width: 100%;
}

.voice-title {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
}

/*==================================================
スライダーのためのcss
===================================*/
.voice-slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}

.voice-slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.voice-slider .slick-slide {
  margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.voice-slider .slick-prev,
.voice-slider .slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.voice-slider .slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.voice-slider .slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.voice-slider .slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.voice-slider .slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.voice-slider .slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc;
  /*ドットボタンの色*/
}

.voice-slider .slick-dots .slick-active button {
  background: #333;
  /*ドットボタンの現在地表示の色*/
}

.voice-contents {
  width: 95%;
  margin: 0 auto;
  max-width: 1100px;
}

/*license*/
.license-img {
  width: 95%;
  margin: 0 auto;
  max-width: 1000px;
  border: 8px double #e73917;
  padding: 1rem;
}

.license-img img {
  display: block;
  width: 100%;
}

/*contact*/
.contact {
  background: url(../img/fv01.jpg) no-repeat top / cover;
  background-attachment: fixed;
  padding-top: 0;
}

.contact-title {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title img {
  display: block;
  width: 100%;
}

/* LINE（緑系） */
.line-btn {
  border-top: 4px solid #b2f2bb;
  border-right: 4px solid #087f23;
  border-bottom: 4px solid #0a962b;
  border-left: 4px solid #80e27e;
  background: #25d366;
}

.line-btn:hover {
  background: #1eb954;
  transform: translateY(-2px);
}

/* お問い合わせ（青系） */
.contact-btn {
  border-top: 4px solid #a3d4ff;
  border-right: 4px solid #004c99;
  border-bottom: 4px solid #0066cc;
  border-left: 4px solid #66b2ff;
  background: #3399ff;
}

.contact-btn:hover {
  background: #1a85e6;
  transform: translateY(-2px);
}

/* 電話（赤系） */
.tel-btn {
  border-top: 4px solid #ff9999;
  border-right: 4px solid #990000;
  border-bottom: 4px solid #cc0000;
  border-left: 4px solid #ff6666;
  background: #ff3333;
}

.tel-btn:hover {
  background: #e62e2e;
  transform: translateY(-2px);
}

.contact-btnwrap a {
  width: 300px;
  color: #fff;
  padding: 0.5rem 2rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-btnwrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.contact-btnwrap img {
  height: 35px;
  display: block;
  margin-right: 1rem;
}

/*footer*/
footer {
  padding: 3rem 0 0;
  border-top: 3px solid #ffbd5a;
  background-color: #fff8ef;
}

.footer-inner {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: bold;
}

.footer-nav > ul > li + li {
  margin-top: 1rem;
}

.sub-lists {
  margin-left: 1rem;
  color: #454545;
  font-weight: normal;
}

.sub-lists li {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.copyright {
  margin-top: 2rem;
  padding: 1rem 0.25rem;
  background-color: #383838;
  color: #fff;
  text-align: center;
}

/*under*/
.u-section-inner {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
}

.u-plan-top-item {
  background-color: #983538;
  padding: 1rem;
  margin-top: 2rem;
}

.u-plan-top-item h2 {
  font-size: 1.75rem;
  color: #fff;
  text-shadow:
    2px 2px 1px rgba(0, 0, 0, 0.5),
    /* 外側の影 */ -1px -1px 0 #ccc,
    /* 左上のハイライト */ 1px 1px 0 #000;
  /* 右下の影 */
}

.u-plan-top-box {
  padding: 2rem;
  background-color: #fff;
  display: flex;
  margin-top: 1rem;
}

.u-plan-top-year {
  background-color: #e0e0e0;
  padding: 1rem;
  width: fit-content;
}

.plan-top-year-item {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.plan-top-year-item h3 {
  background-color: #333d92;
  color: #fff;
  line-height: 1;
  padding: 0.45rem 1rem;
}

.plan-top-year-item p {
  margin-left: 1rem;
}

.plan-top-year-item p span {
  font-size: 1.8rem;
}

.u-plan-top-price {
  margin-top: 2rem;
}

.u-plan-top-price h3 {
  background-color: #983538;
  padding: 0.45rem 1rem;
  color: #fff;
  width: fit-content;
}

.price-value {
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
}

.price-value span {
  font-size: 2.5rem;
  margin-left: 1rem;
  display: block;
  line-height: 1;
}

.price-value-des {
  font-weight: bold;
}

.u-plan-left {
  width: 50%;
}

.u-plan-right {
  width: 50%;
}

.u-plan-desbox h3 {
  font-size: 1.75rem;
  border-bottom: 3px solid #333d92;
  line-height: 1.4;
}
.u-plan-desbox ul {
  margin-top: 1rem;
}
.u-plan-desbox li {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  line-height: 1;
}

.u-plan-desbox li span {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.u-plan-mat {
  background-color: #333d92;
  margin-top: 1.5rem;
  padding: 1rem;
  width: 100%;
  text-align: center;
}

.u-plan-mat h3 {
  color: #fff;
}

.u-plan-mat-inner {
  background-color: #fff;
  padding: 1rem;
  margin-top: 0.5rem;
}

.u-plan-mat-inner p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.u-plan-mat-inner img {
  width: 150px;
  display: block;
  margin: 0 auto;
}

.an-mat.u-plan-mat-inner img {
  width: 100%;
  display: block;
  margin: 0 auto;
  max-width: 290px;
}

/*plan-flow*/
.plan-flow h2 {
  font-size: 2rem;
  background-color: #983538;
  color: #fff;
  text-shadow:
    2px 2px 1px rgba(0, 0, 0, 0.5),
    /* 外側の影 */ -1px -1px 0 #ccc,
    /* 左上のハイライト */ 1px 1px 0 #000;
  /* 右下の影 */
  line-height: 1;
  padding: 1rem;
}

.plan-flow-item {
  margin-top: 2rem;
}

.plan-flow-item h3 img {
  display: block;
  width: 60px;
}

.plan-flow-item h3 {
  display: flex;
  align-items: center;
  border-bottom: 3px double #333d92;
  text-align: left;
}

.plan-flow-item h3 {
  margin-left: 1rem;
  font-size: 1.85rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.point-num {
  text-transform: uppercase;
  font-size: 1.3rem;
  background-color: #333d92;
  color: #fff;
  padding: 0.15rem 1rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

.plan-flow-contents {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.plan-flow-img {
  width: 350px;
}

.plan-flow-img img {
  display: block;
  width: 100%;
  height: 100%;
}

.plan-flow-text {
  width: calc(100% - 380px);
  font-size: 1.1rem;
}

.plan-bf {
  margin-top: 1rem;
}

.plan-bf img {
  display: block;
  width: 85%;
}

.plan-mmat-des {
  margin-top: 1.5rem;
  width: 85%;
}

.plan-mmat-des h3 {
  font-size: 1.75rem;
  border-bottom: 3px solid #333d92;
}

.plan-mmat-des img {
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.plan-mmat-des p {
  margin-top: 1rem;
}

/*method-about*/
.method-about h2 {
  font-size: 2rem;
  background-color: #983538;
  color: #fff;
  text-shadow:
    2px 2px 1px rgba(0, 0, 0, 0.5),
    /* 外側の影 */ -1px -1px 0 #ccc,
    /* 左上のハイライト */ 1px 1px 0 #000;
  /* 右下の影 */
  line-height: 1;
  padding: 1rem;
}

.method-about p {
  margin-top: 2rem;
}

.belanda-img {
  margin-top: 2rem;
}

.belanda-img img {
  display: block;
  width: 100%;
}

.symptoms-contents {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.symptoms-img {
  width: 500px;
}

.symptoms-img img {
  display: block;
  width: 100%;
}

.symptoms-textwrap {
  width: calc(100% - 520px);
}

.method-feature {
  margin-top: 2rem;
  background-color: #983538;
  padding: 2rem;
}

.method-feature-inner {
  background-color: #fff;
  padding: 1rem;
}

.method-feature-item h3 {
  font-size: 1.4rem;
}

.method-feature-item + .method-feature-item {
  margin-top: 2rem;
}

.method-feature-item ul {
  margin-left: 2rem;
}

.method-feature-item li {
  list-style: initial;
  list-style-position: inside;
  margin-top: 0.5rem;
}

.u-plan-lists {
  margin-top: 3rem;
}

.u-plan-lists ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.u-plan-lists li {
  width: calc((100% - 2rem) / 3);
  background-color: #333d92;
  padding: 1rem;
}

.u-plan-lists h3 {
  color: #fff;
}

.u-plan-lists-inner {
  background-color: #fff;
  padding: 1rem 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.u-plan-lists-inner h4 {
  background-color: #e73917;
  padding: 0.25rem 0.5rem;
  width: fit-content;
  color: #fff;
  margin: 0 auto;
}

.u-plan-lists-inner p {
  margin-top: 1rem;
  font-weight: bold;
}

.u-plan-lists-inner p span {
  font-size: 2rem;
  margin-left: 0.25rem;
  letter-spacing: normal;
}

/*spec*/
.spec-title {
  font-size: 2rem;
  background-color: #983538;
  color: #fff;
  text-shadow:
    2px 2px 1px rgba(0, 0, 0, 0.5),
    /* 外側の影 */ -1px -1px 0 #ccc,
    /* 左上のハイライト */ 1px 1px 0 #000;
  /* 右下の影 */
  line-height: 1;
  padding: 1rem;
}

.spec-item {
  margin-top: 2rem;
  background-color: #333d92;
  padding: 1rem;
}

.spec-item h3 {
  color: #fff;
  font-size: 1.5rem;
}

.spec-item-inner {
  background-color: #fff;
  margin-top: 1rem;
  padding: 1rem;
}

.spec-row {
  display: flex;
  gap: 1rem;
}

.spec-row.flex-column {
  flex-direction: column;
}

.spec-row.flex-column .spec-row-img,
.spec-row.flex-column .spec-row-textwrap {
  width: 100%;
}

.spec-row h4 {
  color: #e73917;
  font-size: 1.2rem;
}

.spec-row-img {
  width: calc((100% - 1rem) / 2);
}

.spec-row-img.wmax {
  width: 100%;
}

.spec-row-img img {
  display: block;
  width: 100%;
}

.spec-row-textwrap {
  width: calc((100% - 1rem) / 2);
}

.spec-item-top {
  font-size: 1.1rem;
}

.spec-item-top .bold {
  font-weight: bold;
  color: #e73917;
}

.spec-row {
  margin-top: 1.5rem;
}

.spec-row-img.contain img {
  object-fit: contain;
  width: 100%;
  margin: 0 auto;
}

.spec-column {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.spec-column-item {
  width: calc((100% - 1rem) / 2);
}

.spec-column-img {
  margin-top: 0.5rem;
}

.spec-column-img img {
  width: 100%;
  display: block;
}

.spec-column-img.contain img {
  object-fit: contain;
  width: 100%;
  margin: 0 auto;
}

.spec-column h4 {
  color: #e73917;
  font-size: 1.2rem;
}

.spec-column p {
  margin-top: 1rem;
}

.spec-column p span {
  display: block;
  font-size: 0.9rem;
}

.spec-an-top {
  display: flex;
  justify-content: space-between;
}

.spec-an-top-img {
  width: 300px;
}

.spec-an-top-img img {
  display: block;
  width: 100%;
}

.spec-an-top-textwrap {
  width: calc(100% - 320px);
}

.spec-an-top-textwrap p + p {
  margin-top: 1rem;
}

.spec-an-top-bottom {
  margin-top: 1rem;
}

.spec-an-top-bottom img {
  display: block;
  width: 100%;
}

.spec-an-main {
  margin-top: 2rem;
}

.spec-an-main h4 {
  color: #e73917;
  font-size: 1.2rem;
}

.spec-an-main img {
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.spec-box + .spec-box {
  margin-top: 4rem;
}

.mt2 {
  margin-top: 2rem;
}

.title-img {
  max-width: 800px;
  margin: 0 auto;
}

.title-img img {
  display: block;
  width: 100%;
}

.maker-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.maker-lists li {
  width: calc((100% - 3rem) / 6);
}

.maker-lists li img {
  display: block;
  width: 100%;
}

.maker-item {
  text-align: center;
  background-color: #ff9900;
  padding: 1rem;
}

.maker-item + .maker-item {
  margin-top: 2rem;
}

.maker-inner {
  background-color: #fff;
  padding: 1rem;
  margin-top: 0.5rem;
}

.maker-item h3 {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
}

.maker-item img {
  width: 100%;
  display: block;
}

.maker-inner-box {
  margin-top: 2rem;
}

.maker-inner-box + .maker-inner-box {
  margin-top: 3rem;
}

.maker-inner-box h4 {
  font-size: 1.2rem;
  color: #ff9900;
}

/*company*/
.message-contents {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.message-img {
  width: 400px;
}

.message-img img {
  display: block;
  width: 100%;
}

.message-textwrap {
  width: calc(100% - 420px);
}

.message-textwrap p span {
  display: block;
  text-align: right;
  margin-top: 0.5rem;
}

.u-license-img {
}

.u-license-box {
  margin-top: 3rem;
  border: 6px solid #ff9900;
  padding: 1rem;
}

.u-license-box-top {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.u-license-box-top-img {
}

.u-license-box-top-img img {
  width: 200px;
  display: block;
}

.u-license-box-top-text {
  padding-left: 1rem;
}

.u-license-box h3 {
  color: white;
  /* 文字の色 */
  -webkit-text-stroke: 3px #e63b16;
  /* 縁の太さ 縁の色 */
  /* ▼ 重要テクニック：縁が文字の内側に侵食するのを防ぐ設定 */
  paint-order: stroke fill;
  font-size: 2rem;
  display: flex;
  align-items: center;
}

.u-license-box h3 img {
  width: 50px;
  position: relative;
  top: -3px;
  margin-right: 0.5rem;
}

.u-license-box p {
  font-size: 1.3rem;
  margin-top: 1rem;
}

.u-license-box p span {
  color: #e39146;
  font-weight: bold;
}

.u-license-imgwrap {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.u-license-imgwrap img {
  width: 100%;
  display: block;
}

.u-license-imgwrap-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.access-contents {
  background-color: #ff9900;
  margin-top: 2rem;
  padding: 1rem;
}

.access-map {
  aspect-ratio: 2.3/1;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.outline-contents {
  margin: 2rem auto 0;
  width: 90%;
}

.outline-table th {
  width: 250px;
  padding: 1rem;
  background-color: #ffce86;
}

.outline-table td {
  width: calc(100% - 250px);
  padding: 1rem;
}

.reason-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
}

.reason-lists li {
  width: calc((100% - 6rem) / 3);
}

.reason-lists li img {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.reason-lists li p {
  margin-top: 1rem;
}

/*compare*/
.compare h1,
.compare h2 {
  width: 95%;
  margin: 0 auto;
  max-width: 800px;
}

.compare h1 img,
.compare h2 img {
  display: block;
  width: 100%;
}

.compare-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;

  border-collapse: collapse;
  text-align: center;
  font-family: sans-serif;
  border: 2px solid #ff6600;
  /* 外枠太め */
}

.compare-table thead th {
  background-color: #fcd9b3;
  padding: 10px;
  border: 1px solid #ff6600;
}

.compare-table thead th.highlight {
  background-color: #ff6600;
  color: #fff;
}

.compare-table thead th.highlight span {
  font-size: 0.9em;
}

.compare-table tbody th {
  background-color: #fde7d0;
  text-align: left;
  padding: 10px;
  border: 1px solid #ff6600;
}

.compare-table td {
  background-color: #fff;
  border: 2px solid #ff6600;
  padding: 10px;
}

.compare-table th.highlight,
.compare-table td:nth-child(2) {
  border-left: 8px solid #ff6600;
  border-right: 8px solid #ff6600;
}

.compare-table td,
.compare-table th {
  vertical-align: middle;
}

/* 768px以下でカード型に切替 */
@media (max-width: 768px) {
  .compare-table {
    border: none;
    width: 95%;
    margin: 0 auto;
  }

  /* 表の見出しは隠す */
  .compare-table thead {
    display: none;
  }

  /* テーブルを縦積みのボックスにする */
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  br.sp-none {
    display: none;
  }

  /* 1つの「項目ブロック」 */
  .compare-table tr {
    margin: 0 0 16px;
    border: 2px solid #ff6600;
    overflow: hidden;
  }

  /* 左端の“項目名”行見出しをカードのタイトルに */
  .compare-table tbody th {
    background: #ff6600;
    color: #fff;
    padding: 12px;
    border: 0;
    font-weight: 700;
    text-align: center;
  }

  /* 評価セルたちをまとめて内部ボックスに */
  .compare-table td {
    position: relative;
    padding: 12px 12px 12px 140px;
    /* 左にラベル分の余白 */
    border: 0;
    border-top: 1px solid #ffd0a6;
    background: #fff;
  }

  /* 各セル左側に“列ヘッダー名”のラベルを出す（CSSだけで付与） */
  .compare-table td::before {
    content: attr(data-col);
    /* 後述のnth-childで上書き */
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #a84a00;
    width: 120px;
    text-align: left;
    white-space: nowrap;
  }

  /* 既存の太枠はカード外枠にだけ残す */
  .compare-table td,
  .compare-table th {
    border-left: 0 !important;
    border-right: 0 !important;
  }

  /* “グッドフィニッシュ”強調の太線はOFF（カード内で冗長になるため） */
  .compare-table th.highlight,
  .compare-table td:nth-child(2) {
    border-left: 0 !important;
    border-right: 0 !important;
  }

  /* ラベル文字を列順で付与（theadを参照できないためCSSに明記） */
  /* 1列目は項目見出しなので td は 2,3,4列目に相当 */
  .compare-table tr td:nth-of-type(1)::before {
    content: "グッドフィニッシュ";
  }

  .compare-table tr td:nth-of-type(2)::before {
    content: "ハウスメーカー";
  }

  .compare-table tr td:nth-of-type(3)::before {
    content: "個人経営";
  }

  /* 文字サイズ微調整 */
  .compare-table {
    font-size: 14px;
  }
}

/* ---- 既存スタイル（あなたのCSS）を活かしつつ上書き ---- */
/* 既存CSSはそのままでOK（上記@media内で必要箇所のみ上書き） */

/*choosing*/
.choosing-point-top p {
  margin-top: 1rem;
}

.why-contents {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.why-item + .why-item {
  margin-top: 4rem;
}

.why-textwrap {
  width: 50%;
}

.why-textwrap p {
  line-height: 2;
}

.why-textwrap p + p {
  margin-top: 1rem;
}

.why-textwrap.wmax {
  width: 100%;
}

.why-textwrap p span {
  font-weight: bold;
  color: #e73917;
  font-size: 1.2rem;
}

.why-img {
  width: 50%;
}

.why-img img {
  display: block;
  width: 100%;
}

/*qa-category*/
.qa-category {
  margin-top: 4rem;
}

.qa-category-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333d92;
  border-bottom: 3px solid #333d92;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/*qa-lists*/
.qa-lists li {
  padding: 0.5rem 1rem;
  border: 2px solid #333d92;
}

.qa-lists li + li {
  margin-top: 1.5rem;
}

.qa-lists .qa-q {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #e73917;
  font-size: 1.2rem;
}

.qa-lists .qa-q img {
  width: 50px;
  display: block;
  margin: 1rem;
}

.qa-lists .qa-a {
  padding-left: 5rem;
}

.subsidy-top {
  font-size: 1.3rem;
  color: #e73917;
  font-weight: bold;
}

.subsidy-contents {
  margin-top: 3rem;
}

.subsidy-item {
  margin-top: 3rem;
}

.subsidy-item h3 {
  border-bottom: 3px solid #333d92;
  color: #333d92;
  font-size: 1.3rem;
}

.subsidy-item p {
  margin-top: 1.5rem;
}

.subsidy-item ol {
  margin-left: 1rem;
}

.subsidy-item ol li {
  list-style-type: decimal;
  /* 数字 */
  list-style-position: inside;
  margin-top: 0.5rem;
}

.subsidy-item h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.more {
  display: block;
  width: fit-content;
  padding: 1rem 3rem;
  background-color: #e73917;
  margin-top: 2rem;
  color: #fff;
  font-weight: bold;
}

/* ===== Base ===== */
.quote {
  padding: 48px 16px;
  background: #fff;
}

.quote-inner {
  max-width: 960px;
  margin: 0 auto;
}

.quote-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  margin: 0 0 8px;
  border-left: 8px solid #ff6600;
  padding-left: 12px;
  line-height: 1.3;
}

.quote-lead {
  margin: 0 0 24px;
  color: #333;
}

.quote-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.95em;
  color: #666;
}

/* ===== Form ===== */
.quote-form {
  background: #fffaf5;
  border: 3px solid #ff6600;
  /* 太枠 */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 0 rgba(255, 102, 0, 0.1) inset;
}

.form-block {
  margin-bottom: 18px;
}

.form-legend,
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.req {
  color: #fff;
  background: #ff6600;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8em;
  margin-left: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ffad80;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

/* selectはブラウザデフォルトの高さが低いため明示的に揃える */
.form-select {
  height: 50px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ff6600' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}


.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.form-row--inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-check,
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid #ffad80;
  border-radius: 6px;
}

.form-check input,
.form-radio input {
  transform: scale(1.1);
}

/* Grid layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Actions */
.form-actions {
  margin-top: 24px;
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.btn-submit {
  margin-top: 3rem;
  appearance: none;
  border: none;
  padding: 14px 4rem;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(#ff7a26, #ff6600);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 0 #cc5200;
  transition:
    transform 0.05s ease-in-out,
    box-shadow 0.05s;
}

.btn-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #cc5200;
}

/* 微調整 */
.form-check--agree {
  background: transparent;
  border: none;
  padding: 0;
}

.form-block {
  border: none;
}

/* ===== Base ===== */
.u-contact {
  padding: 48px 16px;
  background: #fff;
}

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
}

.u-contact-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  margin: 0 0 8px;
  border-left: 8px solid #ff6600;
  padding-left: 12px;
  line-height: 1.3;
}

.contact-lead {
  margin: 0 0 24px;
  color: #333;
}

.contact-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.95em;
  color: #666;
}

/* ===== Form ===== */
.contact-form {
  background: #fffaf5;
  border: 3px solid #ff6600;
  /* 太枠 */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 0 rgba(255, 102, 0, 0.1) inset;
}

.form-block {
  margin-bottom: 18px;
}

.form-legend,
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.req {
  color: #fff;
  background: #ff6600;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8em;
  margin-left: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ffad80;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.form-row--inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-check,
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid #ffad80;
  border-radius: 6px;
}

.form-check input,
.form-radio input {
  transform: scale(1.05);
}

/* Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Actions */
.form-actions {
  margin-top: 24px;
  text-align: center;
}

.btn-submit {
  appearance: none;
  border: none;
  margin-top: 4rem;
  padding: 14px 4rem;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(#ff7a26, #ff6600);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 0 #cc5200;
  transition:
    transform 0.05s,
    box-shadow 0.05s;
}

.btn-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #cc5200;
}

/* 微調整 */
.form-check--agree {
  background: transparent;
  border: none;
  padding: 0;
}

.privacy h3 {
  margin-top: 2rem;
  border-bottom: 2px solid #333d92;
  margin-bottom: 1rem;
  color: #333d92;
}

.privacy ul li {
  list-style-type: decimal;
  /* 数字 */
  list-style-position: inside;
  margin-top: 0.5rem;
}

/*==================================================
　5-2-1 3本線が×に
===================================*/
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: fixed;
  top: 0;
  right: 0;
  background: #952f33;
  cursor: pointer;
  width: 80px;
  height: 80px;
  display: none;
  z-index: 999;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  background: #fff;
  width: 50%;
}

.openbtn span:nth-of-type(1) {
  top: 30px;
}

.openbtn span:nth-of-type(2) {
  top: 40px;
}

.openbtn span:nth-of-type(3) {
  top: 50px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
  top: 34px;
  transform: translate(-50%, 6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
  /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
  top: 46px;
  transform: translate(-50%, -6px) rotate(45deg);
}

.sp-nav {
  display: none;
  background-color: #fff;
  width: 100%;
  transform: translateX(100%);
  transition: 0.3s ease-in-out;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  height: 100vh;
}

.sp-nav.active {
  transform: translateX(0);
}

.sp-nav-box {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sp-nav-lists {
  margin-top: 100px;
  width: calc((100% - 1rem) / 2);
}

.sp-nav-lists > li {
  display: block;
}

.sp-nav-lists > li + li {
  margin-top: 1.5rem;
}

.sp-nav-lists > li > a,
.sp-nav-lists > li > p {
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

/* アコーディオントグルボタン */
.sp-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.sp-nav-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #333;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.sp-nav-toggle[aria-expanded="true"] .sp-nav-arrow {
  transform: rotate(180deg);
}

/* SP用ボタン共通 */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  min-width: 160px;
  text-align: center;
}

.sp-btn img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.sp-btn--line {
  background: #06c755;
  color: #fff;
}

.sp-btn--contact {
  background: #ff6600;
  color: #fff;
}


.sp-sub-menu {
  display: none;
  margin: 0.5rem 0 0 1rem;
  font-size: 0.9rem;
}

.sp-sub-menu.open {
  display: block;
}


.sp-sub-menu li {
  margin-top: 0.25rem;
}

.sp-nav-btnwrap {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sp-nav-btnwrap .header-line {
  width: auto;
  min-width: 160px;
}

.sp-nav-btnwrap .header-contact {
  width: auto;
  min-width: 160px;
}

.sp-ancwrap {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

@media (max-width: 1200px) {
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .header-info {
    display: none;
  }

  .header-inner {
    height: 80px;
  }

  .openbtn {
    display: block;
  }

  .sp-nav {
    display: block;
    overflow-y: auto;
  }
}


@media (max-width: 992px) {
  .plan-flow-img {
    width: 350px;
  }

  .plan-flow-text {
    width: calc(100% - 370px);
    font-size: 1rem;
  }

  .symptoms-img {
    width: 400px;
  }

  .symptoms-textwrap {
    width: calc(100% - 420px);
  }

  .u-plan-lists li {
    width: calc((100% - 1rem) / 2);
  }

  .u-plan-lists h3 {
    line-height: 1.2;
  }

  .spec-an-top-img {
    width: 200px;
  }

  .spec-an-top-textwrap {
    width: calc(100% - 220px);
  }
}

@media (max-width: 900px) {
  .contact-btnwrap {
    flex-direction: column;
    align-items: center;
  }

  .beginner-contents ul {
    flex-wrap: wrap;
  }

  .beginner-contents li {
    width: calc((100% - 1rem) / 2);
  }

  .message-img {
    width: 300px;
  }

  .message-textwrap {
    width: calc(100% - 320px);
  }

  .u-plan-top-box {
    flex-direction: column;
  }

  .u-plan-left,
  .u-plan-right {
    width: 100%;
  }

  .u-plan-right {
    margin-top: 1rem;
  }

  .u-plan-top-year {
    display: flex;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
  }

  .plan-mmat-des {
    width: 100%;
  }

  .plan-mmat-des img {
    max-width: 400px;
    margin: 2rem auto 0;
  }

  .symptoms-img {
    width: 300px;
  }

  .symptoms-textwrap {
    width: calc(100% - 320px);
  }

  .reason-lists {
    gap: 1rem;
  }

  .reason-lists li {
    width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 768px) {
  .sp-nav-btnwrap {
    flex-direction: column;
  }

  .sp-ancwrap {
    margin: 1rem auto 0;
  }

  .sp-nav-btnwrap .header-tel {
    width: fit-content;
    margin: 0 auto;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 2rem 1rem;
  }

  .footer-nav > ul {
    width: calc((100% - 1rem) / 2);
  }

  .message-contents {
    flex-direction: column;
  }

  .message-img {
    width: 90%;
    margin: 0 auto;
    max-width: 400px;
  }

  .message-textwrap {
    margin-top: 2rem;
    width: 100%;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .outline-table th {
    width: 150px;
  }

  .outline-contents {
    width: 95%;
  }

  .plan-flow-contents {
    flex-direction: column;
  }

  .plan-flow-img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .plan-flow-text {
    margin: 2rem auto 0;
    width: 100%;
  }

  .plan-flow-item h3 img {
    width: 40px;
  }

  .point-title {
    font-size: 1.5rem;
    width: 100%;
    text-align: left;
    margin-top: 1rem;
    line-height: 1.2;
  }

  .plan-flow-item h3 {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .plan-flow-item h3 {
    font-size: 1.5rem;
    width: 100%;
    text-align: left;
    margin-top: 1rem;
  }

  .why-contents {
    flex-direction: column-reverse;
  }

  .why-textwrap {
    width: 100%;
  }

  .why-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .method-about h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .symptoms-contents {
    flex-direction: column;
  }

  .symptoms-img {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
  }

  .symptoms-textwrap {
    width: 100%;
    margin-top: 1rem;
  }

  .method-feature {
    padding: 1rem;
  }

  .method-feature-item ul {
    margin-left: 0;
  }

  .method-feature-item li {
    margin-top: 0.25rem;
  }

  .spec-title {
    font-size: 1.4rem;
  }

  .spec-item h3 {
    line-height: 1.2;
  }

  .spec-an-top {
    flex-direction: column-reverse;
  }

  .spec-an-top-img {
    width: 70%;
    max-width: 200px;
    margin: 0 auto;
  }

  .spec-an-top-textwrap {
    width: 100%;
    margin-top: 1rem;
  }

  .maker-lists li {
    width: calc((100% - 1.5rem) / 4);
  }

  .u-license-box-top {
    flex-direction: column;
  }

  .u-license-box-top-img img {
    width: 150px;
    margin: 0 auto;
  }

  .u-license-box-top h3 {
    font-size: 1.75rem;
  }

  .u-license-box-top-text {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .marketing-bottom ul {
    gap: 1rem;
  }

  .marketing-bottom li {
    width: calc((100% - 1rem) / 2);
  }

  html {
    font-size: 15px;
  }

  section {
    padding: 2.5rem 0;
  }

  .section-title {
    line-height: 1.2;
  }

  .qa-lists .qa-q {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .qa-lists .qa-q img {
    width: 35px;
    margin: 0;
    margin-right: 0.5rem;
  }

  .qa-lists .qa-a {
    padding-left: 1rem;
    margin-top: 1rem;
  }

  .qa-lists li {
    padding: 1rem;
  }

  .u-plan-top-year {
    flex-direction: column;
  }

  .u-plan-top-item h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .plan-flow h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .plan-bf img {
    width: 100%;
  }

  .method-feature-item h3 {
    font-size: 1.15rem;
  }

  .u-plan-lists li {
    width: 100%;
  }

  .spec-item h3 {
    font-size: 1.2rem;
  }

  .spec-row {
    flex-direction: column;
  }

  .spec-row-img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .spec-row-textwrap {
    width: 100%;
  }

  .spec-column {
    flex-direction: column;
  }

  .spec-column-item {
    width: 100%;
  }

  .spec-column-img {
    width: 100%;
    max-width: 350px;
    margin: 1rem auto 0;
  }

  .spec-an-top-bottom p {
    margin-top: 1rem;
  }

  .u-contact {
    padding: 0;
    margin: 3rem 0;
  }

  .quote {
    padding: 0;
    margin: 3rem 0;
  }
}

@media (max-width: 480px) {
  .contact-btnwrap a {
    font-size: 1.1rem;
  }

  .contact-btnwrap img {
    height: 30px;
  }

  .plan-contents ul {
    gap: 1rem;
  }

  .plan-contents li {
    width: 100%;
  }

  .marketing-bottom ul {
    flex-direction: column;
  }

  .marketing-bottom li {
    width: 100%;
  }

  .marketing-text {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .marketing-bottom {
    margin-top: 1rem;
  }

  .beginner-contents ul {
    gap: 0.5rem;
  }

  .beginner-contents li {
    width: 100%;
  }

  .header-inner {
    height: 70px;
  }

  .footer-nav > ul > li + li {
    margin-top: 0.5rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-nav > ul > li {
    font-size: 0.9rem;
  }

  .sub-lists {
    margin-left: 0.5rem;
  }

  .sub-lists li {
    margin-top: 0.25rem;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .outline-table th {
    width: 100px;
    padding: 0.5rem;
  }

  .outline-table td {
    padding: 0.5rem;
  }

  .access-map {
    aspect-ratio: 1.75/1;
  }

  .reason-lists li {
    width: 100%;
  }

  .reason-lists li img {
    width: 60%;
    margin: 0 auto;
  }

  .why-textwrap p span {
    font-size: 1.1rem;
  }

  .price-value span {
    font-size: 1.75rem;
    margin-left: 0.5rem;
  }

  .u-plan-desbox h3 {
    font-size: 1.3rem;
  }

  .plan-top-year-item p span {
    font-size: 1.4rem;
  }

  .price-value {
    font-size: 1.3rem;
  }

  .u-plan-top-box {
    padding: 2rem 1rem;
  }

  .u-plan-top-item h2 {
    font-size: 1.4rem;
  }

  .u-plan-desbox li span {
    font-size: 1.2rem;
  }

  .plan-top-year-item h3 {
    font-size: 1.1rem;
  }

  .u-plan-mat-inner p {
    font-size: 1rem;
  }

  .point-title {
    font-size: 1.3rem;
  }

  .method-about h2 {
    font-size: 1.3rem;
  }

  .maker-lists li {
    width: calc((100% - 1rem) / 3);
  }

  .maker-inner-box h4 {
    font-size: 1rem;
  }

  .subsidy-item h4 {
    font-size: 1.1rem;
  }

  .form-check--agree {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .u-license-imgwrap {
    grid-template-columns: 1fr;
  }

  .u-license-box h3 img {
    display: none;
  }

  .u-license-box p {
    font-size: 1.1rem;
  }

  .u-license-box-top h3 {
    font-size: 1.5rem;
  }

  .u-license-box {
    padding: 0.75rem;
  }
}

@media (max-width: 400px) {
}

/* ====================================================
   スマホメニュー修正 (1024px以下に適用)
   style.cssの末尾に追加してください
   ==================================================== */
@media (max-width: 1024px) {
  /* --- 1. スクロール対策とレイアウトの基本設定 --- */
  .sp-nav {
    /* display: block; は既存の記述で効いているのでそのままでOK */

    /* 中身が多い時に縦スクロールできるようにする */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* 下部のボタンが切れないように高さを確保 */
    padding-bottom: 60px;
  }

  /* --- 2. 2列(50%)を1列(100%)に変更して見やすく --- */
  .sp-nav-box {
    display: block;
    /* flexを解除して縦積みに */
    padding-top: 80px;
    /* ハンバーガーボタンと被らない位置まで下げる */
  }

  .sp-nav-lists {
    width: 100%;
    /* 2列(calc 50%)を解除して全幅に */
    margin-top: 0;
  }

  /* 2つ目のリスト（施工事例など）の上部余白 */
  .sp-nav-lists + .sp-nav-lists {
    margin-top: 0;
    border-top: 1px solid #eee;
    /* リスト間の区切り線 */
  }

  /* --- 3. メニュー項目の押しやすさ改善 --- */
  .sp-nav-lists > li {
    margin-top: 0 !important;
    /* 既存の margin を打ち消し */
    border-bottom: 1px solid #eee;
  }

  .sp-nav-lists > li > a,
  .sp-nav-lists > li > p,
  .sp-nav-lists > li > .sp-nav-toggle {
    padding: 1.2rem 1rem;
    /* タップ領域を広げる */
    width: 100%;
    display: flex;
    box-sizing: border-box;
  }


  /* --- 4. サブメニュー（アコーディオン）用スタイル --- */
  /* 開閉用アイコン (+ / -) */
  .sp-sub-anc::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 14px;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%);
  }

  .sp-sub-anc::before {
    /* 縦線（開くと消える） */
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 14px;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s;

    /* 既存の三角形スタイルを打ち消す */
    border: none;
    width: 14px;
    height: 2px;
  }

  /* 開いた状態（JSでクラス付与） */
  .sp-sub.open .sp-sub-anc::before {
    transform: translateY(-50%) rotate(0deg);
    /* 回転して一本線にする */
  }

  .sp-sub-menu {
    display: none;
    /* JSで開閉するため隠す */
    background: #f9f9f9;
    padding: 10px 0;
  }

  .sp-sub-menu li a {
    padding-left: 2rem;
    /* インデント */
    font-size: 0.95rem;
  }

  /* --- 5. 下部ボタン（LINE・電話・見積もり）の整列 --- */
  .sp-nav-btnwrap {
    margin-top: 2rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* 電話ボタン */
  .sp-nav-btnwrap .header-tel {
    width: 100%;
    margin: 0;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }

  /* LINE・見積もりボタン横並び調整 */
  .sp-ancwrap {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .sp-ancwrap a {
    width: 48%;
    /* 横並び */
    margin: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
  }

  /* アイコンサイズ調整 */
  .sp-ancwrap img {
    height: 24px;
    margin-bottom: 5px;
    margin-right: 0;
    /* 横並びマージン削除 */
  }
}

.img-bottom-small {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.plan-flow-img-inner + .plan-flow-img-inner {
  margin-top: 1rem;
}

.u-plan-top-small {
  margin-top: 0.5rem;
  display: block;
  color: #983538;
}

.u-plan-desbox-text {
  margin-top: 1rem;
  line-height: 1.5;
}

/* =============================================
   お見積りについてページ (estimate.html)
   ============================================= */

/* --- 基本レイアウト --- */
.est-section {
  padding: 3rem 0;
}

.est-section-alt {
  background-color: #faf6f0;
}

.est-lead {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.est-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  padding: 1rem;
  background-color: #f5f5f5;
  border-left: 4px solid #983538;
  border-radius: 4px;
}

/* --- チェックリスト --- */
.est-checklist {
  margin-top: 2rem;
  background-color: #fff;
  border: 2px solid #333d92;
  border-radius: 8px;
  padding: 2rem;
}

.est-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.est-checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  border-bottom: 1px dashed #ddd;
}

.est-checklist li:last-child {
  border-bottom: none;
}

.est-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: #983538;
  font-size: 1.2rem;
  font-weight: bold;
}

/* --- 見積書比較（良い例・悪い例） --- */
.est-compare-box {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}

.est-compare-item {
  width: calc((100% - 2rem) / 2);
  border-radius: 8px;
  overflow: hidden;
}

.est-compare-item h3 {
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: center;
}

.est-compare-bad h3 {
  background-color: #e0e0e0;
  color: #555;
}

.est-compare-good h3 {
  background-color: #333d92;
  color: #fff;
}

.est-compare-item p {
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  background-color: #fff;
}

.est-compare-bad {
  border: 2px solid #ccc;
}

.est-compare-good {
  border: 2px solid #333d92;
}

/* ダミー画像エリア */
.est-dummy-img {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  padding: 2.5rem 1rem;
  text-align: center;
  color: #888;
}

.est-dummy-img.good {
  background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
  color: #333d92;
}

.est-dummy-img p {
  font-weight: bold;
  font-size: 1rem;
  background: none;
  padding: 0;
  margin: 0;
}

.est-dummy-img span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- テーブル --- */
.est-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}

.est-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #333d92;
  font-size: 1rem;
}

.est-table thead th {
  background-color: #333d92;
  color: #fff;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  font-weight: 700;
  text-align: center;
}

.est-table tbody td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  text-align: center;
}

.est-table tbody tr:nth-child(even) {
  background-color: #f8f4ef;
}

.est-table tbody tr:hover {
  background-color: #fff3e0;
}

.est-table tbody td strong {
  color: #983538;
  font-size: 1.1rem;
}

/* --- メリットリスト --- */
.est-merit-list {
  margin-top: 2rem;
}

.est-merit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  border-left: 5px solid #333d92;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.est-merit-item + .est-merit-item {
  margin-top: 1.5rem;
}

.est-merit-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: #333d92;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.est-merit-body h3 {
  font-size: 1.15rem;
  color: #333d92;
  margin-bottom: 0.5rem;
}

.est-merit-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

/* --- 約束カード --- */
.est-promise {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.est-promise-item {
  background-color: #fff;
  border: 2px solid #ffbd5a;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.est-promise-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.est-promise-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.est-promise-item h3 {
  font-size: 1.1rem;
  color: #983538;
  margin-bottom: 0.5rem;
}

.est-promise-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

/* --- CTA --- */
.est-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* =============================================
   お見積りページ レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .est-compare-box {
    flex-direction: column;
    gap: 1.5rem;
  }

  .est-compare-item {
    width: 100%;
  }

  .est-promise {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .est-merit-item {
    gap: 1rem;
    padding: 1rem;
  }

  .est-merit-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .est-checklist {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .est-lead {
    font-size: 0.95rem;
  }

  .est-checklist li {
    font-size: 0.95rem;
    padding: 0.6rem 0 0.6rem 1.8rem;
  }

  .est-promise {
    grid-template-columns: 1fr;
  }

  .est-merit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* テーブルのカード化 */
  .est-table thead {
    display: none;
  }

  .est-table,
  .est-table tbody,
  .est-table tr,
  .est-table td {
    display: block;
    width: 100%;
  }

  .est-table tbody tr {
    margin-bottom: 1rem;
    border: 2px solid #333d92;
    border-radius: 8px;
    overflow: hidden;
  }

  .est-table tbody td {
    text-align: left;
    padding: 0.6rem 1rem 0.6rem 40%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .est-table tbody td:last-child {
    border-bottom: none;
  }

  .est-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #333d92;
    font-size: 0.85rem;
    width: 35%;
  }

  .est-table tbody tr:first-child td:first-child {
    border-radius: 6px 6px 0 0;
  }
}

/* =============================================
   アパート・マンション向け塗装ページ (apartments.html)
   ============================================= */

/* --- 基本レイアウト --- */
.apt-section {
  padding: 3rem 0;
}

.apt-section-alt {
  background-color: #faf6f0;
}

/* --- お悩みリスト --- */
.apt-worry-list {
  margin-top: 2rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apt-worry-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background-color: #fff;
  border: 2px solid #ffbd5a;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.apt-worry-icon {
  flex-shrink: 0;
  font-size: 1.8rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.apt-worry-list li p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* --- 物件価値セクション --- */
.apt-value-contents {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.apt-value-img {
  width: 400px;
  flex-shrink: 0;
}

.apt-value-img img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.apt-value-text {
  width: calc(100% - 420px);
}

.apt-value-text p {
  line-height: 1.9;
  margin-top: 1rem;
}

.apt-value-text p:first-child {
  margin-top: 0;
}

.apt-value-text p span {
  font-weight: bold;
  color: #983538;
}

/* --- 選ばれる理由カード --- */
.apt-reason-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.apt-reason-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  border-left: 5px solid #333d92;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.apt-reason-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.apt-reason-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.apt-reason-item h3 {
  font-size: 1.1rem;
  color: #333d92;
  margin-bottom: 0.5rem;
}

.apt-reason-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

/* --- 施工フロー（ステップ） --- */
.apt-flow-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.apt-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  position: relative;
  background-color: #fff;
  border-left: 3px solid #333d92;
}

.apt-flow-item::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 1.5rem;
  width: 13px;
  height: 13px;
  background-color: #333d92;
  border-radius: 50%;
}

.apt-flow-step {
  flex-shrink: 0;
  background-color: #333d92;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
}

.apt-flow-item h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.apt-flow-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-top: 0.25rem;
}

/* =============================================
   アパートページ レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .apt-value-contents {
    flex-direction: column;
  }

  .apt-value-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .apt-value-text {
    width: 100%;
    margin-top: 1rem;
  }

  .apt-reason-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .apt-worry-list li {
    padding: 1rem;
  }

  .apt-worry-icon {
    font-size: 1.5rem;
  }

  .apt-worry-list li p {
    font-size: 0.95rem;
  }

  .apt-reason-list {
    grid-template-columns: 1fr;
  }

  .apt-flow-item {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.5rem;
  }

  .apt-flow-item h3 {
    width: 100%;
  }
}

/* =============================================
   お客様の声 — カード（一覧・TOP共通）
   ============================================= */
.voice-card-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.voice-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #eee;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}

.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #ffbd5a;
}

.voice-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.voice-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.voice-card:hover .voice-card-img img {
  transform: scale(1.05);
}

.voice-card-body {
  padding: 1rem;
}

.voice-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.voice-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
}

.voice-card-area {
  display: inline-block;
  background-color: #333d92;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
}

.voice-card-work {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

/* --- 一覧ページ --- */
.voice-list-section {
  padding: 3rem 0;
}

.voice-list-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =============================================
   お客様の声 — 詳細ページ
   ============================================= */

/* パンくず */
.vd-breadcrumb {
  padding: 1rem 0;
  background-color: #f5f5f5;
  font-size: 0.9rem;
}

.vd-breadcrumb a {
  color: #333d92;
  text-decoration: none;
}

.vd-breadcrumb a:hover {
  text-decoration: underline;
}

.vd-breadcrumb span {
  color: #666;
}

/* セクション */
.vd-section {
  padding: 2rem 0 3rem;
}

/* ヘッダー */
.vd-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid #333d92;
}

.vd-name {
  font-size: 2rem;
  color: #333;
}

.vd-area {
  display: inline-block;
  background-color: #333d92;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
}

/* 工事内容テーブル */
.vd-work {
  margin-top: 2rem;
}

.vd-work-table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
}

.vd-work-table th {
  width: 120px;
  background-color: #333d92;
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid #2a3280;
}

.vd-work-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  background-color: #fff;
}

/* Before/After */
.vd-ba {
  margin-top: 2.5rem;
}

.vd-ba-row {
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
}

.vd-ba-col {
  width: calc((100% - 2rem) / 2);
}

.vd-ba-label {
  display: inline-block;
  padding: 0.3rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  border-radius: 4px 4px 0 0;
}

.vd-ba-before {
  background-color: #888;
}

.vd-ba-after {
  background-color: #983538;
}

.vd-ba-images {
  border: 2px solid #ddd;
  border-radius: 0 8px 8px 8px;
  overflow: hidden;
}

.vd-ba-after + .vd-ba-images {
  border-color: #983538;
}

.vd-ba-images img {
  width: 100%;
  display: block;
}

.vd-ba-images img + img {
  border-top: 2px solid #ddd;
}

/* 説明 */
.vd-description {
  margin-top: 2.5rem;
}

.vd-description-body {
  margin-top: 1rem;
  background-color: #faf6f0;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  line-height: 1.9;
}

.vd-description-body p + p {
  margin-top: 1rem;
}

/* アンケート */
.vd-survey {
  margin-top: 2.5rem;
}

.vd-survey-img {
  margin-top: 1rem;
  max-width: 600px;
}

.vd-survey-img img {
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ナビ */
.vd-nav {
  margin-top: 2.5rem;
  text-align: center;
}

/* =============================================
   お客様の声 レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .voice-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .vd-ba-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .vd-ba-col {
    width: 100%;
  }

  .vd-description-body {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .voice-card-grid {
    grid-template-columns: 1fr;
  }

  .vd-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .vd-name {
    font-size: 1.5rem;
  }

  .vd-work-table th {
    width: 90px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .vd-work-table td {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .vd-description-body {
    padding: 1rem;
  }
}

/* =============================================
   スライダー内のvoice-cardスタイル
   ============================================= */
.voice-slider .voice-card {
  margin: 0 10px;
}

/* =============================================
   リッチカード（一覧ページ用）
   ============================================= */
.voice-card-rich .voice-card-body {
  padding: 1rem 1.2rem;
}

.voice-card-detail {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #ddd;
}

.voice-card-detail dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0;
}

.voice-card-detail dt {
  width: 55px;
  font-weight: 700;
  color: #333d92;
  font-size: 0.85rem;
}

.voice-card-detail dd {
  width: calc(100% - 60px);
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.voice-card-desc {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voice-card-more {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #983538;
  text-align: right;
}

.voice-card:hover .voice-card-more {
  text-decoration: underline;
}

/* =============================================
   画像ライトボックス
   ============================================= */

/* クリック可能な画像 */
.lightbox-trigger {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.lightbox-trigger:hover {
  opacity: 0.85;
}

/* オーバーレイ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s;
}

.lightbox-overlay.active img {
  transform: scale(1);
}

/* 閉じるボタン */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
  transition: opacity 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* =============================================
   ページネーション
   ============================================= */
.voice-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.voice-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #333d92;
  border-radius: 8px;
  background: #fff;
  color: #333d92;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.voice-page-btn:hover {
  background-color: #eef0f8;
}

.voice-page-btn.active {
  background-color: #333d92;
  color: #fff;
  cursor: default;
}

/* =============================================
   塗装仕様（PDFリスト）
   ============================================= */
.plan-spec {
  padding: 3rem 0;
}

.pdf-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdf-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: #f9f9f9;
  border-left: 5px solid #e73917; /* アクセントの赤オレンジ */
  border-radius: 4px;
}

.pdf-name {
  font-weight: bold;
  font-size: 1.15rem;
  line-height: 1.5;
  width: calc(100% - 160px); /* ボタンの幅の分だけ引く */
}

.pdf-name span {
  font-weight: normal;
  color: #666;
  font-size: 0.9rem;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  padding: 0.6rem 1rem;
  background-color: #983538; /* ヘッダー電話番号などと同じ赤系 */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.btn-pdf:hover {
  opacity: 0.8;
  color: #fff;
}

/* PDFのアイコン（不要であれば削除してください） */
.btn-pdf::before {
  content: "📄";
  margin-right: 6px;
  font-size: 1.1rem;
}

/* レスポンシブ（スマホ表示） */
@media (max-width: 576px) {
  .pdf-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .pdf-name {
    width: 100%;
  }

  .btn-pdf {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

.plaster-box {
  display: flex;
  align-items: flex-start;
  gap: 10%;
  width: 100%;
}
.plaster-box .u-plan-top-price {
  margin-top: 0;
}
@media (max-width: 900px) {
  .plaster-box .u-plan-top-year {
    width: fit-content;
    flex-direction: column;
    margin: 0;
  }
}
@media (max-width: 790px) {
  .plaster-box {
    gap: 5%;
  }
}
@media (max-width: 768px) {
  .plaster-box {
    flex-direction: column;
  }
  .plaster-box .u-plan-top-price {
    margin-top: 2rem;
  }
  .plaster-box .u-plan-top-year {
    width: 100%;
    flex-direction: row;
  }
}
@media (max-width: 513px) {
  .plaster-box .u-plan-top-year {
    flex-direction: column;
  }
}

/* ================================================
   CF7 (Contact Form 7) 出力HTML 補正スタイル
   ================================================ */

/* CF7のフォーム全体ラッパー */
.wpcf7-form {
  background: #fffaf5;
  border: 3px solid #ff6600;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 2px 0 rgba(255, 102, 0, 0.1) inset;
}

/* CF7はフィールドをpタグでラップする → 余白を除去 */
.wpcf7-form p {
  margin: 0;
}

/* label内のbrを非表示（CF7が自動挿入） */
.wpcf7-form label br,
.form-label br {
  display: none;
}

/* wpcf7-form-control-wrap は inline→block にしてwidth:100%を確保 */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ラジオ・チェックボックスの各アイテム */
.wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border: 2px solid #ffad80;
  border-radius: 6px;
  margin: 4px 4px 4px 0;
  cursor: pointer;
}

.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
}

.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
  transform: scale(1.1);
  margin: 0;
}

/* アクセプタンス（同意チェック） */
.wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

/* 送信ボタン（CF7のinput[type=submit]に.btn-submitが付く） */
.wpcf7-form input.btn-submit,
.wpcf7-form [type="submit"].btn-submit {
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 0;
  padding: 14px 4rem;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(#ff7a26, #ff6600);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 0 #cc5200;
  transition: transform 0.05s ease-in-out, box-shadow 0.05s;
}

.wpcf7-form input.btn-submit:active,
.wpcf7-form [type="submit"].btn-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #cc5200;
}

/* バリデーションエラーメッセージ */
.wpcf7-not-valid-tip {
  color: #e73917;
  font-size: 0.85em;
  margin-top: 4px;
  display: block;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  border: 2px solid #e73917;
  padding: 10px 16px;
  color: #e73917;
  background: #fff2f0;
  border-radius: 4px;
  margin-top: 16px;
}

.wpcf7-mail-sent-ok {
  border: 2px solid #22a06b;
  padding: 10px 16px;
  color: #22a06b;
  background: #f0fff7;
  border-radius: 4px;
  margin-top: 16px;
}

/* form-block内のp > span構造をflexで整列 */
.form-block > p {
  margin: 0;
  display: contents;
}

/* form-row--inline の中のpタグを除去効果 */
.form-row--inline > p {
  display: contents;
}

/* 同意チェックボックス（CF7 acceptanceタグ）の補正 */
.form-block--agree {
  margin-top: 8px;
}

.wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transform: none;
  cursor: pointer;
}

.agree-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

