/*
Theme Name: fujino
*/
@charset "UTF-8";

/* =================================
   CSS Custom Properties
================================= */
:root {
  --color-primary: #782524;
  --color-primary-dark: #441514;
  --color-primary-deep: #590D12;
  --color-text: #28292A;
  --color-heading: #231815;
  --color-bg-cream: #F9F6E8;
  --color-bg-table: #F5F2E4;
  --color-bg-brown: #361A1C;
  --color-price: #9D2F00;
  --color-white: #FFFFFF;
  --color-brown: #A38465;
  --color-yellow: #E09D0B;
  --color-placeholder: #D9D9D9;
  --color-border: #DDE3E9;
  --color-border-brown: #766100;
  --font-serif: "Shippori Mincho", "Shippori Mincho B1", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --inner-max: 1200px;
  --section-padding: 80px 0;
}

/* =================================
   Component: Image Marquee Section
================================= */
.image-marquee-section {
  width: 100%;
  overflow: hidden;
}

.image-marquee-section__viewport {
  width: 100%;
  overflow: hidden;
}

.image-marquee-section__track {
  display: flex;
  width: max-content;
  animation: image-marquee-scroll var(--image-marquee-duration, 80s) linear infinite;
}

.image-marquee-section__list {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.image-marquee-section__item {
  flex: 0 0 auto;
  width: clamp(240px, 28vw, 420px);
}

.image-marquee-section__item--stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.image-marquee-section__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes image-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =================================
   Base Reset
================================= */
*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  margin-top: 0 !important;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
}

body.open {
  overflow: hidden;
}

a {
  color: inherit;
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

p {
  margin: 0;
}

input,
button,
textarea,
select {
  font-family: inherit;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.pcDisNon {
  display: none;
}

.spDisNon {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .pcDisNon {
    display: block;
  }

  .spDisNon {
    display: none;
  }
}

/* =================================
   Component: Section Heading
================================= */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

.section-heading-service {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  margin-top: 90px;
}

.reform-menu-section__heading-cell .section-heading::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  width: 265px;
  height: 265px;
  background: url('./assets/images/bg-02.png') no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-50%);
}

.reform-menu-section__heading-cell-service .section-heading::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  width: 265px;
  height: 265px;
  background: url('./assets/images/bg-02.png') no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-50%);
}

.section-heading__en-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading__en-wrap-service {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading__bar {
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  margin-right: -5px;
}

.section-heading__bar::before {
  content: "・";
  font-size: 1.6rem;
  color:var(--color-primary);
}

.section-heading__bar--white {
  background: var(--color-white);
}

.section-heading__en {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.section-heading--white .section-heading__en {
  color: var(--color-white);
}

.section-heading__ja {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3.8rem;
  letter-spacing: 0.2em;
  color: var(--color-heading);
}

.section-heading__ja span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.9rem;
  letter-spacing: 0.1em;
  color: var(--color-heading);
}

.section-heading__ja--white {
  color: var(--color-white);
}


.section-heading__ja-service span {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 3.0rem;
  letter-spacing: 0.2em;
  color: var(--color-heading);
}

.section-heading__ja-service {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  color: var(--color-heading);
}

.section-heading__ja-service--white {
  color: var(--color-white);
}
/* =================================
   Site Header（2段構成）
================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(35, 24, 21, 0.08);
}

.admin-bar .site-header {
  top: 32px;
}

/* ─── 上段：白背景 ─── */
.site-header__top {
  background: var(--color-white);
  border-bottom: 1px solid #ece8d8;
}

.site-header__top-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ブランド（ロゴ＋会社名） */
.site-header__brand {
  display: flex;
  align-items: center;
  padding: 10px 0;
  flex-shrink: 0;
}

.site-header__brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-header__brand-image {
  height: 60px;
  width: auto;
  display: block;
}

/* 右側：TEL＋問い合わせボタン */
.site-header__actions {
  display: flex;
  align-items: stretch;
}

.site-header__tel-btn,
.site-header__contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  min-width: 100px;
}

.site-header__tel-btn {
  background: var(--color-primary);
}

.site-header__contact-btn {
  background: var(--color-primary-dark);
}

.site-header__tel-btn:hover,
.site-header__contact-btn:hover {
  opacity: 0.85;
}

/* ─── 下段：マルーン nav ─── */
.site-header__nav {
  background: var(--color-primary);
}

.site-header__nav-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

.site-header__nav-list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  list-style: none;
}

.site-header__nav-item {
  position: relative;
}

.site-header__nav-item--has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 16px;
}

.site-header__nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  padding: 20px 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-header__nav-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__nav-link:hover {
  opacity: 0.7;
}

.site-header__nav-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex-shrink: 0;
}

.site-header__service-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: rgba(68, 21, 20, 0.98);
  border-radius: 16px;
  box-shadow: 0 22px 40px rgba(35, 24, 21, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-header__service-menu li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__service-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.site-header__nav-item--has-children:hover .site-header__service-menu,
.site-header__nav-item--has-children:focus-within .site-header__service-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* ハンバーガーボタン（デフォルト非表示） */
.nav-button-wrap {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(120, 37, 36, 0.18);
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(68, 21, 20, 0.08);
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
}

.nav-button-wrap::after {
  content: "MENU";
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.nav-button-wrap.active::after {
  content: "CLOSE";
}

.nav-button-wrap span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-button-wrap.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-button-wrap.active span:nth-child(2) {
  opacity: 0;
}

.nav-button-wrap.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SP Navigation */
.globalnav-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.globalnav-wrap.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.globalnav {
  position: absolute;
  top: 0;
  right: -300px;
  z-index: 1;
  width: 300px;
  height: 100%;
  background: var(--color-white);
  padding: 90px 24px 40px;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.globalnav-wrap.open .globalnav {
  right: 0;
}

.globalnav.close {
  right: -300px;
}

.globalnav > ul {
  margin-bottom: 32px;
}

.globalnav ul li {
  border-bottom: 1px solid var(--color-border);
}

.globalnav ul li a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-heading);
  letter-spacing: 0.05em;
}

.globalnav__section-label {
  display: block;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-heading);
  letter-spacing: 0.05em;
}

.globalnav__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.globalnav__tel {
  display: block;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 12px;
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  font-family: var(--font-sans);
}

.globalnav__contact-btn {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 100px;
  font-family: var(--font-serif);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.globalnav-wrap.open .overlay {
  opacity: 1;
}

/* Sticky CTA */
.site-header__fixed-cta {
  display: none;
}

.site-header__fixed-tel,
.site-header__fixed-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 80px;
  height: 90px;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s;
}

.site-header__fixed-tel {
  background: var(--color-primary);
}

.site-header__fixed-contact {
  background: var(--color-primary-dark);
}

.site-header__fixed-tel:hover,
.site-header__fixed-contact:hover {
  opacity: 0.85;
}

.site-header__fixed-tel svg,
.site-header__fixed-contact svg {
  display: block;
  margin: 0 auto;
}

/* Header Responsive */
@media (max-width: 768px) {

  .admin-bar .site-header {
    top: 0;
    z-index: 100000;
  }

  /* 上段：ロゴ＋会社名のみ、TELボタン非表示 */
  .site-header__top-inner {
    align-items: center;
    padding: 0 16px;
  }

  .site-header__actions {
    display: none;
  }

  .site-header__brand-image {
    height: 48px;
  }

  /* ナビバー非表示（ハンバーガーに委ねる） */
  .site-header__nav {
    display: none;
  }

  /* ハンバーガー表示 */
  .nav-button-wrap {
    display: inline-flex;
  }

  .globalnav-wrap {
    display: block;
  }

  /* 右固定CTAをボトムバーに変更 */
  .site-header__fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    z-index: 900;
    flex-direction: row;
    transform: none;
  }

  .site-header__fixed-tel,
  .site-header__fixed-contact {
    flex: 1;
    width: auto;
    height: 60px;
    gap: 2px;
    font-size: 1.3rem;
  }

  /* ================================
   SP版 施工サービス ドロップダウン
   ================================ */

  /* 親メニュー */
  .globalnav__item--has-children {
    position: relative;
  }

  /* 親ボタン */
  .globalnav__toggle {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-serif);
    border: none;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: left;
    cursor: pointer;
    color: var(--color-heading);
    letter-spacing: 0.05em;
  }

  /* 矢印 */
  .globalnav__caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }

  /* 開いたときの矢印 */
  .globalnav__toggle.is-open .globalnav__caret {
    transform: rotate(-135deg);
  }

  /* 子メニュー（初期は閉じる） */
  .globalnav__submenu {
    display: none;
    background: #fff;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ddd;
    line-height: 1;
  }

  .globalnav__submenu li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* 開いたとき */
  .globalnav__submenu.is-open {
    display: block;
  }

  /* 子メニューのリンク */
  .globalnav__submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    background: #f3ecec;
  }

  .globalnav__submenu li a:hover {
    background: #f0f0f0;
  }

 .globalnav__submenu li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.globalnav__submenu li:last-child a {
    margin-bottom: 0;
}

}

/* =================================
   Site Footer
================================= */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  z-index: 930;
  overflow: hidden;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 52px 40px 36px;
}

.site-footer__company {
  display: flex;
  flex-direction: column;
  justify-self: start;
  gap: 22px;
  width: 100%;
  max-width: 385px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.site-footer__brand-mark {
  flex-shrink: 0;
  width: 58px;
}

.site-footer__brand-mark img,
.site-footer__symbol img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.site-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.site-footer__company-meta {
  display: grid;
  gap: 5px;
  max-width: 370px;
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__company-meta a {
  display: inline;
  color: inherit;
}

.site-footer__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  justify-self: center;
  align-self: center;
  padding-top: 0;
  transform: none;
}

.site-footer__nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  width: min(100%, 336px);
  gap: 18px;
  min-width: 0;
}

.site-footer__service-block {
  display: grid;
  width: min(100%, 320px);
  gap: 10px;
}

.site-footer__nav-heading {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-white);
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.72);
}

.site-footer__nav-heading::after {
  content: none;
}

.site-footer__service-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  column-gap: 14px;
  row-gap: 10px;
  width: 100%;
}

.site-footer__service-links li:nth-child(4) {
  grid-column: 1;
}

.site-footer__service-links li:nth-child(5) {
  grid-column: 2;
}

.site-footer__service-links a {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: var(--color-white);
  white-space: nowrap;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  width: min(100%, 316px);
  gap: 10px 24px;
}

.site-footer__nav-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__nav-column li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

.site-footer__nav a {
  display: block;
  padding: 0 0 5px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--color-white);
  letter-spacing: 0.08em;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 10px 20px 12px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__symbol {
    display: none;
  }

  .site-footer__company,
  .site-footer__nav-wrap,
  .site-footer__service-block,
  .site-footer__nav {
    width: 100%;
    max-width: none;
  }

  .site-footer__nav-wrap {
    align-items: stretch;
    justify-self: stretch;
  }

  .site-footer__service-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px 16px;
  }
}

@media (max-width: 768px) {
  .site-footer__inner {
    padding: 40px 20px 96px;
  }

  .site-footer__brand-name {
    font-size: 2.6rem;
  }

  .site-footer__nav {
    gap: 12px 24px;
  }
}

@media (max-width: 560px) {
  .site-footer__brand {
    gap: 14px;
  }

  .site-footer__brand-mark {
    width: 50px;
  }

  .site-footer__company-meta {
    font-size: 1.4rem;
  }

  .site-footer__service-links {
    gap: 8px 16px;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }
}

/* =================================
   Front Page
================================= */
.page-wrapper {
  padding-top: 0;
}

.page-wrapper__content {
  position: relative;
  background-image: url('./assets/images/bg.png');
  background-position: top center;
  background-repeat: repeat;
  background-size: 100% auto;
  overflow: hidden;
}

.page-wrapper__content::before,
.page-wrapper__content::after {
  content: "";
  position: absolute;
  top: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

.page-wrapper__content::before {
  left: 0;
  width: 478px;
  height: 60px;
  background-image: url('./assets/images/bg-01-left.png');
  background-position: left top;
  z-index: 0;
}

.page-wrapper__content::after {
  right: 0;
  width: 360px;
  height: 101px;
  background-image: url('./assets/images/bg-01-right.png');
  background-position: right top;
  z-index: 0;
}

.page-wrapper__content>* {
  position: relative;
  margin: 60px auto 60px auto;
  text-align: center;
  z-index: 1;
}

.page-wrapper__content h2 {
  text-align: left;
  font-size: 36px;
}

.page-wrapper__content p {
  margin-top: 8px;
  text-align: left;
}

.section_header_contact {
  padding-top: 2.4rem;
}

.section_header_contact h2 {
  text-align: center;
  font-size: 38px;
}

.section_header_contact p {
  margin-top: 8px;
  text-align: center;
}


/* .page-wrapper__content p は (0,1,1)。クラス2つのみの指定より優先されるため、本文左揃えは p を含めたセレクタで上書きする */
.page-wrapper__content .subsidy-section,
.page-wrapper__content .subsidy-section p,
.page-wrapper__content .price-guide-service-section p,
.page-wrapper__content .service-info-section,
.page-wrapper__content .service-info-section p,
.page-wrapper__content .works-map-section__title {
  text-align: left;
}

.contact_form .redord {
  display: flex;
  justify-content: flex-end;
  font-size: 1.5rem;
  font-weight: 600;
  color: #372929;
  padding: 30px 0;
  border-bottom: solid 1px #372929;
}

.contact_form .redord>span:first-of-type {
  margin: 0 0 0 auto;
}

input, select {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
}

@media (max-width: 768px) {
  .page-wrapper {
    padding-top: 0;
    padding-bottom: 60px;
  }

  .page-wrapper__content {
    background-size: cover;
  }

  .page-wrapper__content::before {
    width: 240px;
    height: 30px;
  }

  .page-wrapper__content::after {
    width: 180px;
    height: 51px;
  }

  .page-wrapper__content p {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
  }

  .contact_form .redord {
    display: block;
  }
  
  .page-wrapper__content h2 {
    text-align: center;
    font-size: 32px;
  }

  .section_header_contact {
    padding-top: 4rem;
  }

}

/* =================================
   Component: Hero Section
================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 480px;
}

/* ---------- 背景 ---------- */
.hero-section__bg-wrap {
  position: relative;
  line-height: 0;
}

.hero-section__bg-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 480px;
  object-fit: cover;
  object-position: center 40%;
}

.hero-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

/* ---------- 左サイドバー ---------- */
.hero-section__sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 108px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  gap: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-section__sidebar-logo img {
  display: block;
  width: 44px;
  height: auto;
}

.hero-section__sidebar-name {
  font-family: "Shippori Mincho B1", var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--color-white);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.28em;
  line-height: 1.3;
  opacity: 0.88;
}

/* ---------- 中央ボディ（サイドバー幅分インデント） ---------- */
.hero-section__body {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 108px;
}

.hero-section__center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
}

/* ---------- 見出し ---------- */
.hero-section__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  text-align: center;
}

/* ○○の */
.hero-section__sub {
  display: block;
  font-family: "Shippori Mincho B1", var(--font-serif);
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

/* 鬼瓦＋タイトルの重ね合わせ */
.hero-section__title-stack {
  display: block;
  position: relative;
  line-height: 0;
}

/* 鬼瓦：z-index 0、タイトルの背後 */
.hero-section__kawara {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: min(92vw, 38rem);
  height: auto;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.6));
}

/* タイトルテキスト：z-index 1、鬼瓦の前面 */
.hero-section__title {
  display: block;
  position: relative;
  z-index: 1;
  font-family: "Shippori Mincho B1", var(--font-serif);
  font-weight: 700;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  line-height: 1.38;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 0, 0, 0.6);
  text-align: center;
  letter-spacing: 0.04em;
  padding: 0 clamp(1.2rem, 2.5vw, 3rem) clamp(3rem, 5vw, 5.5rem);
}

/* 【旧 ふじの瓦店】 */
.hero-section__former {
  display: block;
  font-family: "Shippori Mincho B1", var(--font-serif);
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}

/* ---------- 画像バッジ（右下） ---------- */
.hero-section__badge-wrap {
  position: absolute;
  right: calc(20.2rem + clamp(1.5rem, 2vw, 3rem));
  bottom: clamp(1.5rem, 4vh, 3rem);
  z-index: 6;
}

.hero-section__badge-img-link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s;
}

.hero-section__badge-img-link:hover {
  opacity: 0.88;
}

.hero-section__bachi {
  display: block;
  width: clamp(130px, 14vw, 200px);
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* ---------- 固定CTA ---------- */
.hero-section__floating-cta {
  position: fixed;
  top: calc(50% + 18rem);
  right: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  width: 20.2rem;
  transform: translateY(-50%);
}

.hero-section__floating-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 9rem;
  padding: 1.2rem 1rem;
  color: var(--color-white);
  text-align: center;
}

.hero-section__floating-button--tel {
  background: #8f2d2a;
}

.hero-section__floating-button--contact {
  background: #5d1717;
}

.hero-section__floating-button:hover {
  opacity: 0.9;
}

.hero-section__floating-button svg {
  display: block;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
}

.hero-section__floating-label {
  display: block;
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.hero-section__floating-label--number {
  font-size: 1.6rem;
}

/* ---------- 旧クラス互換（削除しない） ---------- */
.hero-section__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-section__mobile-layout { display: none; }
.hero-section__visual-mobile-badge { display: none; }
.hero-section__desktop-link { position: absolute; z-index: 3; display: block; }
.hero-section__desktop-link--badge { top: 68.15%; right: 19.25%; width: 16.05%; height: 26.7%; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-section__floating-cta {
    display: none;
  }

  .hero-section__sidebar {
    display: none;
  }

  .hero-section__body {
    padding-left: 0;
  }

  .hero-section__sub {
    font-size: 2.2rem;
  }

  .hero-section__title {
    font-size: 2.8rem;
    padding: 4.5rem 1.2rem;
  }

  .hero-section__title-lead {
    white-space: nowrap;
  }

  .hero-section__kawara {
    max-width: min(86vw, 18rem);
  }

  .hero-section__former {
    font-size: 1.9rem;
  }

  .hero-section__badge-wrap {
    right: 50%;
    transform: translateX(50%);
    bottom: 1.2rem;
  }

  .hero-section__bachi {
    width: clamp(110px, 28vw, 148px);
  }
}

@media (min-width: 769px) {
  .home .site-header__fixed-cta {
    display: none;
  }
}

/* =================================
   Component: Corporate Section
================================= */
.corporate-section {
  position: relative;
  padding: var(--section-padding);
  overflow: hidden;
}

.corporate-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 110px;
}

.corporate-section__img {
  flex-shrink: 0;
  width: 491px;
}

.corporate-section__img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  background-color: var(--color-placeholder);
}
.corporate-section__img-m12 {
  margin-top: 12px;
}
.corporate-section__body {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.corporate-section__body::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 50%;
  width: 265px;
  height: 265px;
  background: url('./assets/images/bg-02.png') no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-50%);
}

.corporate-section__body>* {
  position: relative;
  z-index: 1;
}

.corporate-section__text {
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: #111;
}

/* Responsive */
@media (max-width: 768px) {
  .corporate-section__body::after {
    top: 12px;
    left: 50%;
    width: 140px;
    height: 139px;
    opacity: 0.12;
    transform: translateX(-50%);
  }

  .corporate-section__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .corporate-section__img {
    width: 100%;
  }

  .corporate-section__img img {
    height: 240px;
  }
}

/* =================================
   Component: CM Movie Section
================================= */
.cm-movie {
  padding: 20px 20px;
  margin-top: -80px;
}

.cm-movie__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-wrapper__content h2.cm-movie__title {
  margin-bottom: 40px;
  text-align: center;
}

.cm-movie__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: #000;
}

.cm-movie__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.cm-movie__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cm-movie__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  background-color: rgba(255, 0, 0, 0.9);
  border-radius: 12px;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}

.cm-movie__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.cm-movie__facade:hover .cm-movie__play,
.cm-movie__facade:focus-visible .cm-movie__play {
  background-color: #f00;
}

.cm-movie__facade:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 2px;
}

.cm-movie__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =================================
   Component: Reasons Section
================================= */
.reasons-section {
  padding: var(--section-padding);
  background: var(--color-bg-cream);
}

.reasons-section__inner {
  display: flex;
  gap: 133px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

.reasons-section__left {
  flex-shrink: 0;
  width: 265px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.reasons-section__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
}

/* ナビアイテム：アイコン＋テキスト の横並び */
.reasons-section__nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s;
}

.reasons-section__nav-item--active {
  color: var(--color-primary);
  font-weight: 600;
}

/* アイコンコンテナ（白背景の正方形） */
.reasons-section__nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-heading);
  transition: background 0.2s, color 0.2s;
}

.reasons-section__nav-text {
  flex: 1;
  text-align: left;
}

.reasons-section__right {
  flex: 1;
  min-width: 0;
}

.reasons-section__detail {
  display: flex;
  gap: 60px;
}

.reasons-section__detail--hidden {
  display: none;
}

/* テキスト本文：固定幅460px → 左側に十分な幅を確保 */
.reasons-section__detail-body {
  flex: 0 0 auto;
  width: min(460px, 58%);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reasons-section__title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-heading);
  text-align: left;
}

.reasons-section__text {
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.02em;
  color: #222;
}

/* 画像：残りのスペースを埋める */
.reasons-section__detail-img {
  flex: 1;
  min-width: 0;
}

.reasons-section__detail-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .reasons-section__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .reasons-section__left {
    width: 100%;
    gap: 24px;
  }

  .reasons-section__detail {
    flex-direction: column;
    gap: 24px;
  }

  .reasons-section__detail-body {
    width: 100%;
  }

  .reasons-section__detail-img img {
    width: 100%;
    height: 200px;
  }
}

/* =================================
   Component: Price Guide Section
================================= */
.price-guide-section {
  padding: var(--section-padding);
  background: var(--color-bg-cream);
  margin-bottom: 0px;
}

.price-guide-section__inner {
  display: flex;
  gap: 153px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

.price-guide-section__left {
  flex-shrink: 0;
  width: 247px;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.price-guide-section__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
  text-align: left;
}

.price-guide-section__nav-item {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s;
}

.price-guide-section__nav-item--active {
  color: var(--color-primary);
  font-weight: 600;
}

.price-guide-section__nav-item:hover {
  color: var(--color-primary);
}

.price-guide-section__right {
  flex: 1;
}

/* 各パネル：タイトル＋料金リスト（左）＋画像（右） の横並び */
.price-guide-section__detail {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: flex-start;
}

.price-guide-section__detail--hidden {
  display: none;
}

/* 左：タイトル＋料金テーブルのラッパー */
.price-guide-section__detail-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  min-width: 0;
}

.price-guide-section__title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-heading);
}

.price-guide-section__table {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.price-guide-section__row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.price-guide-section__row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-table);
  mix-blend-mode: multiply;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  padding: 10px 0;
  width: 140px;
  flex-shrink: 0;
}

.price-guide-section__row-price {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--color-price);
}

/* 右：画像 */
.price-guide-section__img {
  flex-shrink: 0;
  width: 320px;
}

.price-guide-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .price-guide-section__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .price-guide-section__left {
    width: 100%;
    gap: 24px;
  }

  .price-guide-section__detail {
    flex-direction: column;
  }

  .price-guide-section__img {
    width: 100%;
  }

  .price-guide-section__img img {
    height: 200px;
  }
}

/* =================================
   Component: Craftsman Section
================================= */
.craftsman-section {
  padding: var(--section-padding);
}

.craftsman-section__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ── ヘッダー行：見出し（左）＋詳しく見るリンク（右） ── */
.craftsman-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.craftsman-section__heading-sp {
  display: none;
}

.craftsman-section__more-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.craftsman-section__more-link:hover {
  opacity: 0.7;
}

.craftsman-section__more-text {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.craftsman-section__more-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  color: var(--color-white);
  flex-shrink: 0;
}

/* ── スライダー全体ラッパー ── */
.craftsman-section__swiper-wrap {
  width: 100%;
}

.craftsman-section__swiper {
  width: 100%;
  overflow: hidden;
}

/* ── 1スライド内レイアウト：画像（左）＋テキスト（右） ── */
.craftsman-section__slide-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.craftsman-section__slide-img {
  flex-shrink: 0;
  width: 480px;
}

.craftsman-section__slide-img img {
  width: 100%;
}

.craftsman-section__empty {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-align: center;
}

.craftsman-section__slide-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.craftsman-section__name {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-heading);
  text-align: left;
}

.craftsman-section__desc {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* ── ページネーションドット ── */
.craftsman-section__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.craftsman-section__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #868686;
  opacity: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.craftsman-section__pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .craftsman-section__inner {
    padding: 0 20px;
    gap: 32px;
    margin-top:20px
  }

  .craftsman-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .craftsman-section__heading-pc {
    display: none;
  }

  .craftsman-section__heading-sp {
    display: block;
  }

  .craftsman-section__heading-line {
    display: block;
  }

  .craftsman-section__more-link {
    align-self: flex-end;
  }

  .craftsman-section__slide-inner {
    flex-direction: column;
    gap: 24px;
  }

  .craftsman-section__slide-img {
    width: 100%;
  }

  .craftsman-section__slide-info {
    width: 100%;
    gap: 20px;
  }
}

/* =================================
   Component: Reform Menu Section (Service)
================================= */
.reform-menu-section {
  padding: var(--section-padding);
}

.reform-menu-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── 3列グリッド ── */
.reform-menu-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

/* 見出しセル */
.reform-menu-section__heading-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
  overflow: hidden;
}

.reform-menu-section__heading-cell-service {
  position: relative;
  overflow: hidden;
}

.reform-menu-section__deco {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 220px;
  height: 220px;
  background-image: url('./assets/images/deco-service.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.55;
  pointer-events: none;
}

.reform-menu-section__deco-service {
  position: absolute;
  margin-top: -200px;
  left:30px;
  width: 220px;
  height: 220px;
  background-image: url('./assets/images/bg-02.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.95;
  pointer-events: none;
}


/* サービスカード */
.reform-menu-section__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 画像ラッパー（テキストオーバーレイ付き） */
.reform-menu-section__card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-heading);
}

.reform-menu-section__card-img-wrap-noimg {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #FFFFFF;
}

.reform-menu-section__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.reform-menu-section__card:hover .reform-menu-section__card-img {
  transform: scale(1.04);
}

/* テキストオーバーレイ（画像の上） */
.reform-menu-section__card-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
}

.reform-menu-section__card-caption-noimg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
}

.reform-menu-section__card-caption p {
  font-size: 1.3rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.reform-menu-section__card-caption-noimg p {
  font-size: 1.3rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #28292A;
}

/* カードフッター（タイトル＋リンク） */
.reform-menu-section__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reform-menu-section__card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-heading);
  line-height: 1.4;
}

.reform-menu-section__card-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  color: var(--color-heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.reform-menu-section__card-link:hover {
  opacity: 0.7;
}

.reform-menu-section__link-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 50%;
  color: var(--color-white);
  flex-shrink: 0;
}

/* テキストのみセル（画像なし） */
.reform-menu-section__text-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}

.reform-menu-section__text-body {
  font-size: 1.5rem;
  line-height: 1.875;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.reform-menu-section__text-body-noimg {
  font-size: 1.5rem;
  line-height: 1.875;
  letter-spacing: 0.06em;
  color: #28292A;
}

/* Responsive */
@media (max-width: 768px) {
  .reform-menu-section__inner {
    padding: 0 20px;
  }

  .reform-menu-section__grid {
    grid-template-columns: 1fr;
  }

  .reform-menu-section__heading-cell {
    grid-column: 1 / -1;
  }

  .reform-menu-section__text-cell {
    grid-column: 1 / -1;
  }

  .reform-menu-section__deco {
    width: 140px;
    height: 140px;
    right: 0;
    bottom: 0;
  }

  .reform-menu-section__card-caption p {
    font-size: 1.2rem;
  }

  .reform-menu-section__card-title {
    font-size: 1.6rem;
  }

  .reform-menu-section__card-link {
    font-size: 1.4rem;
    gap: 8px;
  }
}

/* =================================
   Component: Service Area Section
================================= */
.service-area-section {
  padding: var(--section-padding);
  background: var(--color-bg-cream);
}

.service-area-section__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

/* 左：見出し */
.service-area-section__left {
  flex-shrink: 0;
  width: 247px;
}

.service-area-section__left .section-heading__ja {
  line-height: 1.3;
}

.service-area-section__title-brand {
  display: inline-block;
  margin-bottom: 4px;
}

/* 右：タブ＋コンテンツ */
.service-area-section__right {
  flex: 1;
  min-width: 0;
  padding-top: 60px;
}

/* タブ行：下ボーダーを引いてアクティブタブとつなげる */
.service-area-section__tabs {
  display: flex;
}

.service-area-section__tab {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  background: var(--color-bg-table);
  border-bottom: 1px solid var(--color-border-brown);
  padding: 14px 24px;
  margin-bottom: -1px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.service-area-section__tab:hover:not(.service-area-section__tab--active) {
  opacity: 0.75;
}

/* アクティブタブ：クリーム背景＋3辺ボーダー、下ボーダーを背景色でマスク */
.service-area-section__tab--active {
  background: var(--color-bg-cream);
  color: var(--color-text);
  font-weight: 500;
  border-top: 1px solid var(--color-border-brown);
  border-left: 1px solid var(--color-border-brown);
  border-right: 1px solid var(--color-border-brown);
  border-bottom: 1px solid var(--color-bg-cream);
  mix-blend-mode: multiply;
}

.service-area-section__panels {
  padding-top: 24px;
}

.service-area-section__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-area-section__panel--hidden {
  display: none;
}

.service-area-section__area-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 施工カテゴリ h3（.category--sr-only を外すとタブ下にもカテゴリ名が出る） */
.service-area-section__category {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--color-heading);
  text-align: left;
}

.service-area-section__category--sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-area-section__prefecture {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--color-heading);
  text-align: left;
}

.service-area-section__cities {
  background: var(--color-primary-deep);
  padding: 15px;
}

.service-area-section__cities p,
.service-area-section__cities-inner {
  margin: 0;
  background: var(--color-white);
  padding: 10px 15px;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--color-heading);
  text-align: left;
}

.service-area-section__cities .service-area-section__city-link {
  display: inline;
  color: var(--color-primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.service-area-section__cities .service-area-section__city-link:hover {
  opacity: 0.85;
}

/* 詳しく見るボタン */
.service-area-section__more {
  display: flex;
  justify-content: flex-end;
}

.service-area-section__more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.service-area-section__more-link:hover {
  opacity: 0.75;
}

.service-area-section__more-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .service-area-section__inner {
    padding: 0 20px;
    flex-direction: column;
    gap: 32px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-area-section__left {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-area-section__right {
    padding-top: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* タブ：お客様の声と同様（折り返し・中央・8px 間隔） */
  .service-area-section__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .service-area-section__panels {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-area-section__panel {
    max-width: 100%;
    min-width: 0;
  }

  .service-area-section__area-box {
    max-width: 100%;
    min-width: 0;
  }

  .service-area-section__cities {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .service-area-section__cities-inner {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .service-area-section__tab {
    margin-bottom: 0;
    padding: 10px 14px;
    font-size: 1.3rem;
    white-space: normal;
    text-align: center;
    border: none;
    background: var(--color-primary-deep);
    color: var(--color-white);
    transition: background 0.2s, color 0.2s, opacity 0.2s;
  }

  .service-area-section__tab--active {
    padding: 10px 14px;
    background: var(--color-white);
    color: #361A1C;
    font-weight: 500;
    mix-blend-mode: normal;
    border: none;
  }

  /* .page-wrapper__content p の横パディングを打ち消し、二重余白でレイアウトが崩れないようにする */
  .service-area-section .service-area-section__prefecture {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
}

/* =================================
   Component: Works Section
================================= */
/* ─── 施工事例セクション ─── */
.works-section {
  padding: var(--section-padding);
  background: #590D12;
  margin-top: -57px;
}

.works-section__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
}

/* 見出しを白に上書き */
.works-section .section-heading__en,
.works-section .section-heading__ja {
  color: var(--color-white);
  text-align: center;
}

/* サービス固定ページ：サイト名＋「○○施工事例」 */
.works-section .section-heading--works-service-fixed {
  align-items: center;
  text-align: center;
  gap: 12px;
}

.works-section .section-heading__service-brand {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: var(--color-white);
  text-align: center;
}

.works-section .section-heading__ja--works-service-line {
  margin: 0;
  font-size: 3.8rem;
  letter-spacing: 0.2em;
  color: var(--color-white);
}

.works-section .section-heading__bar {
  background: var(--color-white);
}

/* ヘッダー行（見出し＋タブ） */
.works-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

/* タブ */
.works-section__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.works-section__tab {
  background: var(--color-bg-brown);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-white);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.works-section__tab:hover:not(.works-section__tab--active) {
  opacity: 0.75;
}

.works-section__tab--active {
  background: var(--color-white);
  color: #28292A;
  padding: 14px 28px;
}

/* パネル共通 */
.works-section__panel--hidden {
  display: none;
}

.works-section__panels {
  width: 100%;
}

/* パネル内タイトル */
.works-section__panel-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 32px;
}

/* カードグリッド */
.works-section__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
}

.works-section__item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  gap: 20px;
}

.works-section__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-placeholder);
}

.works-section__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.works-section__item-link:hover .works-section__thumb img {
  transform: scale(1.05);
}

.works-section__item-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.works-section__address {
  margin: 0;
  font-weight: 400;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.works-section__method {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--color-yellow);
}

/* カード下部「詳細を見る」バー */
.works-section__detail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid #3D231F;
  color: #3D231F;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 400;
  width: 200px;
  height: 32px;
  margin-top: 8px;
  flex-shrink: 0;
}

.works-section__empty {
  text-align: center;
  color: var(--color-white);
  padding: 40px 0;
}

/* 一覧リンク */
.works-section__more {
  display: flex;
  justify-content: center;
}

.works-section__more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: var(--color-bg-brown);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-decoration: none;
  padding: 12px 42px;
  transition: opacity 0.2s;
}

.works-section__more-link:hover {
  opacity: 0.85;
}

.works-section__more-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .works-section__inner {
    padding: 0 20px;
    gap: 32px;
  }

  /* タブ：お客様の声と同様（折り返し・中央・8px 間隔） */
  .works-section__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .works-section__tab {
    padding: 10px 14px;
    font-size: 1.3rem;
    white-space: normal;
    text-align: center;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
  }

  .works-section__tab--active {
    padding: 10px 14px;
  }

  .works-section__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .works-section__detail-btn {
    width: 100%;
    font-size: 1.2rem;
  }

  .works-section__more-link {
    font-size: 1.6rem;
    padding: 8px 32px;
  }

  .works-section .section-heading__service-brand {
    font-size: 1.8rem;
  }

  .works-section .section-heading__ja--works-service-line {
    font-size: 2.4rem;
    letter-spacing: 0.12em;
  }
}

/* =================================
   Component: Voice Section (お客様の声)
================================= */
.voice-section {
  padding: var(--section-padding);
  background: #361A1C;
  overflow: hidden;
  margin-top: -60px;
}

.voice-section__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

/* 見出しを白に上書き */
.voice-section .section-heading__en,
.voice-section .section-heading__ja {
  color: var(--color-white);
}

.voice-section .section-heading__bar {
  background: var(--color-white);
}

/* サービス固定ページ：施工事例セクションと同じ二行見出し */
.voice-section .section-heading--works-service-fixed {
  align-items: center;
  text-align: center;
  gap: 12px;
}

.voice-section .section-heading__service-brand {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: var(--color-white);
  text-align: center;
}

.voice-section .section-heading__ja--works-service-line {
  margin: 0;
  font-size: 3.8rem;
  letter-spacing: 0.2em;
  color: var(--color-white);
}

/* タブ（中央揃え） */
.voice-section__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.voice-section__tab {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-white);
  background: var(--color-primary-deep);
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.voice-section__tab:hover:not(.voice-section__tab--active) {
  opacity: 0.75;
}

.voice-section__tab--active {
  background: var(--color-white);
  color: #361A1C;
  font-weight: 500;
}

/* パネル群 */
.voice-section__panels {
  width: 100%;
}

.voice-section__panel--hidden {
  display: none;
}

.voice-section__empty {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-align: center;
}

/* パネル内タイトル */

.voice-section__date {
  position: absolute;
  left: 5px; 
  top: 150px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 22px;
  font-weight: 300;
}

.voice-section__panel-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 28px;
}

.voice-section__slider {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.voice-section__swiper {
  overflow: hidden;
  width: 100%;
}

.voice-section__swiper .swiper-slide {
  width: 100%;
  height: auto;
}

.voice-section__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  background: #fff;
  overflow: hidden;
  min-height: 420px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.voice-section__card:hover {
  opacity: 0.9;
}

.voice-section__card:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.voice-section__media {
  min-height: 420px;
}

.voice-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 48px;
}

.voice-section__content {
  padding: 48px 48px 44px 0;
}

.voice-section__card-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.voice-section__location {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #231815;
}

.voice-section__review-title {
  margin: 0;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #231815;
  text-align: left;
}

.voice-section__stars {
  display: flex;
  gap: 4px;
}

.voice-section__star {
  color: #D09A32;
  font-size: 2rem;
}

/* 抜粋＋「詳しく見る」を 1 つの 3 行ブロック（行末は同一フローで 3 行目側に回る） */
.voice-section__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 0.08em;
  color: #28292A;
  margin: 0;
}

.voice-section__excerpt-text {
  font-weight: 500;
}

.voice-section__read-more {
  display: inline;
  margin-left: 0.3em;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-yellow);
}

.voice-section__card-link-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  flex-shrink: 0;
}

.voice-section__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.voice-section__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--color-white);
  transition: opacity 0.2s, background 0.2s;
}

.voice-section__nav-button:hover {
  opacity: 0.8;
}

.voice-section__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-section__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.voice-section__pagination .swiper-pagination-bullet-active {
  background: #fff;
}

.voice-section__more {
  width: 100%;
  display: flex;
  justify-content: center;
}

.voice-section__more-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-decoration: none;
  padding: 12px 42px;
  transition: opacity 0.2s;
}

.voice-section__more-link:hover {
  opacity: 0.85;
}

.voice-section__more-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--color-white);
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .voice-section__inner {
    padding: 0 20px;
    gap: 28px;
  }

  .voice-section__panel-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .voice-section__tab {
    padding: 10px 14px;
    font-size: 1.3rem;
  }

  .voice-section__tab--active {
    padding: 10px 14px;
  }

  .voice-section__card {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .voice-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 48px;
}

  .voice-section__media {
    min-height: 220px;
  }

  .voice-section__content {
    padding: 28px 20px;
    gap: 14px;
  }

  .voice-section__location {
    font-size: 1.6rem;
  }

  .voice-section__review-title {
    font-size: 2.2rem;
  }

  .voice-section__excerpt {
    font-size: 1.5rem;
  }

  .voice-section__read-more {
    font-size: 1.5rem;
  }

  .voice-section__controls {
    gap: 14px;
  }

  .voice-section__nav-button {
    width: 44px;
    height: 44px;
  }

  .voice-section__more-link {
    font-size: 1.6rem;
    padding: 8px 32px;
  }

  .voice-section .section-heading__service-brand {
    font-size: 1.8rem;
  }

  .voice-section .section-heading__ja--works-service-line {
    font-size: 2.4rem;
    letter-spacing: 0.12em;
  }
}

/* =================================
   Component: Blog Section
================================= */
.blog-section {
  padding: var(--section-padding);
  margin-top: -50px;
}

/* price-guide と同じ2列レイアウト */
.blog-section__inner {
  display: flex;
  gap: 153px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* 左：見出し＋ナビ */
.blog-section__left {
  flex-shrink: 0;
  width: 43%;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.blog-section__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
  list-style: none;
}

.blog-section__nav-item {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s;
}

.blog-section__nav-item--active {
  color: var(--color-primary);
  font-weight: 600;
}

.blog-section__nav-item:hover {
  color: var(--color-primary);
}

/* 右：パネル */
.blog-section__right {
  flex: 1;
  min-width: 0;
}

.blog-section__panel--hidden {
  display: none;
}

.blog-section__panel {
  position: relative;
}

/* タブパネルごとのカテゴリ h3（画面上は従来どおりのため非表示。--sr-only を外すと表示可） */
.blog-section__panel-cat--sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 記事リスト（縦並び、border区切り） */
.blog-section__list {
  list-style: none;
}

/* 各記事行：横並び（サムネ | 本文 | リンク） */
.blog-section__item {
  position: relative;
}

/* 上の一番外側だけ1本線 */
.blog-section__item:first-child {
  border-top: 1px solid #555;
}

.blog-section__item:last-child {
   border-bottom: 1px solid #555;
}

/* 中の区切り（2本線） */
.blog-section__item:not(:last-child)::before,
.blog-section__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #555;
}

/* 上の線 */
.blog-section__item:not(:last-child)::before {
  bottom: 10px;
}

/* 下の線 */
.blog-section__item:not(:last-child)::after {
  bottom: 0;
}

.blog-section__item-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  text-decoration: none;
  transition: opacity 0.5s;
}

.blog-section__item-link:hover {
  opacity: 0.8;
}

/* サムネイル */
.blog-section__thumb {
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-placeholder);
}

.blog-section__thumb img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-section__item-link:hover .blog-section__thumb img {
  transform: scale(1.04);
}

/* 本文コンテンツ */
.blog-section__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-section__item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-section__cat-label {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.blog-section__sep {
  font-size: 1.2rem;
  color: var(--color-text);
}

.blog-section__date {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #d9a389de;
}

.blog-section__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  line-height: 1.5;
}

/* 抜粋＋「詳しく見る」を 2 行に収める（3 行目に回らないよう line-clamp） */
.blog-section__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  font-weight: 400;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin: 0;
}

.blog-section__excerpt-text {
  font-weight: 400;
}

.blog-section__read-more {
  display: inline;
  margin-left: 0.25em;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  white-space: nowrap;
}

/* .blog-section__excerpt {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
} */

.blog-section__empty {
  text-align: center;
  color: var(--color-text);
  padding: 40px 0;
}

.blog-section__title-sp {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-section__title-pc {
    display: none;
  }

  .blog-section__title-sp {
    display: block;
  }

  .blog-section__title-line {
    display: block;
  }

  .blog-section {
    top: 0;
    margin-top: 0;
    padding: 40px 0 70px;
  }

  .blog-section__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .blog-section__left {
    width: 100%;
    gap: 24px;
  }

  .blog-section__item-link {
    gap: 14px;
  }
}

/* =================================
   Component: Company Profile Section
================================= */
.company-profile-section {
  padding: var(--section-padding);
  background: url('./assets/images/bg-company-profile.png') no-repeat center top / 100% 100%;
  margin-top: -50px;
}

.company-profile-section__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* 左：見出し＋画像 */
.company-profile-section__left {
  flex-shrink: 0;
  width: 280px;
  margin-top: 10%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.company-profile-section__img {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.company-profile-section__img--primary {
  aspect-ratio: 1 / 1;
}

.company-profile-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-profile-section__img--secondary img {
  object-fit: contain;
  position: absolute;
  width: 35%;
  top: 37%;
  left: 2%;
}

/* 右：テーブル */
.company-profile-section__table-wrap {
  flex: 1;
  min-width: 0;
  background: #F9F6E8;
  mix-blend-mode: multiply;
  margin-top: 10%;
  padding: 20px;
}

.company-profile-section__table {
  width: 100%;
  border-collapse: collapse;
}

.company-profile-section__table th,
.company-profile-section__table td {
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--color-text);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #C8C0B4;
  line-height: 1.75;
}

.company-profile-section__table tr:first-child th,
.company-profile-section__table tr:first-child td {
  border-top: 1px solid #C8C0B4;
}

.company-profile-section__table th {
  white-space: nowrap;
  width: 130px;
  font-weight: 400;
  color: var(--color-heading);
  vertical-align: middle;
}

.company-profile-section__table td {
  font-weight: 400;
}

.company-profile-section__table td a {
  color: var(--color-text);
  text-decoration: none;
}

.company-profile-section__table td a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .company-profile-section {
    display: flex;
    flex-direction: column;
    background: #F9F6E8;
    padding: 32px 0 64px;
    margin-top: 0;
  }

  .company-profile-section__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .company-profile-section__left {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .company-profile-section__table-wrap {
    margin-top: 0;
  }

  .company-profile-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  }

  .company-profile-section__img--secondary {
    max-width: 320px;
    margin: 50px auto;
  }

  .company-profile-section__img--secondary img {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
  }

  .company-profile-section__table th,
  .company-profile-section__table td {
    font-size: 1.4rem;
    padding: 10px 12px;
  }

  .company-profile-section__table th {
    width: 100px;
  }
}

/* =================================
   Component: CTA Section
================================= */
.cta-section {
  padding: var(--section-padding);
  margin-top: -50px;
}

.cta-section__inner {
  display: flex;
  gap: 85px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 40px;
}

.cta-section__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 385px;
  flex-shrink: 0;
}

.cta-section__desc {
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.cta-section__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.cta-section__form-block,
.cta-section__tel-block {
  background: var(--color-bg-cream);
  display: flex;
  align-items: center;
  gap: 33px;
  padding: 35px 20px;
}

.cta-section__tel-block {
  padding: 35px 20px;
  width: 714px;
}

.cta-section__block-label {
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
  flex-shrink: 0;
}

.cta-section__separator {
  flex: 1;
  height: 1px;
  background: #A5A5A5;
}

.cta-section__form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 15px 35px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.1em;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.cta-section__form-btn:hover {
  opacity: 0.85;
}

.cta-section__btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.cta-section__tel-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-section__tel-number {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 3rem;
  color: var(--color-primary);
  line-height: 1;
}

.cta-section__tel-hours {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--color-brown);
}

/* Responsive */
@media (max-width: 768px) {
  .craftsman-section{
    top: -150px;
  }
  .reasons-section{
    top: -50px;
 }

  .reform-menu-section {
    top: -250px;
  }
  .price-guide-section {
    top: -250px;
  }
  /* 対応エリア（service-area）の直後に来るため、負の top で押し上げるとエリア表示と重なる */
  .works-section {
    top: 0;
  }
  /* 施工事例（works）の末尾と重なるため、SP では負の top / ネガティブ margin を解除 */
  .voice-section {
    top: 0;
    margin-top: 0;
  }
  .company-profile-section {
    top: -60px;
  }
  .page-wrapper__content > .cta-section {
    margin-bottom: 24px;
  }

  .cta-section {
    top: -20px;
    padding-bottom: 28px;
  }
  .voice-section__date {
    position: absolute;
    left: 5px;
    top: 60px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 20px;
    font-weight: 300;
}
  .cta-section__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .cta-section__left {
    width: 100%;
  }

  .cta-section__form-block,
  .cta-section__tel-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    width: 100%;
  }

  .cta-section__form-block>svg,
  .cta-section__tel-block>svg {
    display: none;
  }

  .cta-section__form-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.6rem;
    gap: 5px;
    padding: 10px 35px;
  }

  .cta-section__tel-number {
    font-size: 2.4rem;
  }
}

/* =================================
   Component: Subsidy Banner Section
================================= */
.subsidy-banner-section {
  background: var(--color-primary);
}

.subsidy-banner-section__link {
  display: block;
  transition: opacity 0.2s;
}

.subsidy-banner-section__link:hover {
  opacity: 0.9;
}

.subsidy-banner-section__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 20px 40px;
}

.subsidy-banner-section__badge {
  flex-shrink: 0;
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.subsidy-banner-section__content {
  flex: 1;
}

.subsidy-banner-section__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
  font-family: var(--font-sans);
}

.subsidy-banner-section__desc {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
}

.subsidy-banner-section__arrow {
  flex-shrink: 0;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-sans);
}

/* Responsive */
@media (max-width: 768px) {
  .subsidy-banner-section__inner {
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 12px;
  }
}

/* =================================
   Component: Service Info Section
================================= */
.service-info-section {
  --service-info-inner: 1200px;
  --service-info-text-col: 535px;
}

.service-info-section__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 80px 0;
}

.service-info-section__page-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.45;
  letter-spacing: 0.1em;
  color: var(--color-heading);
  text-align: center;
  max-width: var(--service-info-inner);
  margin: 0;
  padding: 0 40px;
}

/* .page-wrapper__content h2 { text-align:left } (0,1,1) より詳細度を上げる */
.page-wrapper__content h2.service-info-section__page-title {
  text-align: center;
}

.service-info-section__intro-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: clamp(32px, 14vw, 269px);
  width: 100%;
  max-width: var(--service-info-inner);
  margin: 0 auto;
  padding: 0 40px;
}

.service-info-section__intro-main {
  display: flex;
  flex-direction: column;
  gap: 88px;
  flex: 0 1 var(--service-info-text-col);
  max-width: var(--service-info-text-col);
  min-width: 0;
}

.service-info-section__intro-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-info-section__intro-main .section-heading__ja {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1;
  text-align: left;
}

.service-info-section__intro-main .section-heading__ja.service-info-section__heading-ja--muni {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
  line-height: 1.1;
  text-align: left;
}

.service-info-section__intro-main
  .section-heading__ja.service-info-section__heading-ja--muni
  span.service-info-section__heading-ja-lead {
  display: block;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  font-family: var(--font-serif);
  color: var(--color-heading);
}

.service-info-section__intro-main
  .section-heading__ja.service-info-section__heading-ja--muni
  span.service-info-section__heading-ja-main {
  display: block;
  font-size: clamp(2.6rem, 3.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.2em;
  font-family: var(--font-serif);
  color: var(--color-heading);
}

.service-info-section__lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin: 0;
}

.service-info-section__toc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 250px;
}

.service-info-section__toc-link {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 31px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-placeholder);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-heading);
  text-decoration: none;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  text-align: left;
}

.service-info-section__toc-link:hover {
  opacity: 0.75;
}

.service-info-section__toc-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.service-info-section__toc-icon {
  flex-shrink: 0;
  color: var(--color-text);
  line-height: 0;
}

.service-info-section__intro-photo {
  flex: 1 1 320px;
  margin: 0;
  min-height: 465px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* ページごとに固有の画像にする */
.page-roof-repair .service-info-section__intro-photo,
.page-roof-repair-area .service-info-section__intro-photo {
  background-image: url('./assets/images/service-info-hero-roofrepair.jpg');
}

.page-leak-repair .service-info-section__intro-photo,
.page-leak-repair-area .service-info-section__intro-photo {
  background-image: url('./assets/images/service-info-hero-leakrepair.jpg');
}

.page-gutter-repair .service-info-section__intro-photo,
.page-gutter-repair-area .service-info-section__intro-photo {
  background-image: url('./assets/images/service-info-hero-gutterrepair.jpg');
}

.page-exterior-repair .service-info-section__intro-photo,
.page-exterior-repair-area .service-info-section__intro-photo {
  background-image: url('./assets/images/service-info-hero-exteriorrepair.jpg');
}

.page-interior-renovation .service-info-section__intro-photo,
.page-interior-renovation-area .service-info-section__intro-photo {
  background-image: url('./assets/images/service-info-hero-interiorrenovation.jpg');
}

.service-info-section__body {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* ページごとに固有の画像にする */
.page-roof-repair .service-info-section__body,
.page-roof-repair-area .service-info-section__body {
  background-image: url('./assets/images/service-info-roofrepair.jpg');
}

.page-leak-repair .service-info-section__body,
.page-leak-repair-area .service-info-section__body {
  background-image: url('./assets/images/service-info-laekrepair.jpg');
}

.page-gutter-repair .service-info-section__body,
.page-gutter-repair-area .service-info-section__body {
  background-image: url('./assets/images/service-info-gutterrepair.jpg');
}

.page-exterior-repair .service-info-section__body,
.page-exterior-repair-area .service-info-section__body {
  background-image: url('./assets/images/service-info-exteriorrepair.jpg');
}

.page-interior-renovation .service-info-section__body,
.page-interior-renovation-area .service-info-section__body {
  background-image: url('./assets/images/service-info-interiorrenovation.jpg');
}

.service-info-services + .service-info-services-reverse {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.service-info-services-reverse{
    position: relative;
    overflow: hidden;
}

.service-info-services-reverse__bg{
    position: absolute;
    inset: 0;
    background: url('./assets/images/yane-service.jpg') center/cover no-repeat;
    filter: blur(20px);
    transform: scale(1.1);
    opacity: .35;
    z-index: 0;
}

/* 新しいセクションのタイトル（h3） */
.service-info-services-reverse h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--color-black);
    text-align: left;
    margin: 0 0 32px;
}

/* 新しいセクションの本文（body） */
.service-info-services-reverse .service-info-section__article-col div {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.9rem;
    line-height: 1.875;
    letter-spacing: 0.1em;
    color: var(--color-black);
    text-align: left;
    margin: 0;
}


.service-info-services-reverse .service-info-section__intro,
.service-info-services-reverse .service-info-section__body-inner{
    position: relative;
    z-index: 1;
}

.service-info-services-reverse .service-info-section__body-inner{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--service-info-inner);
  margin: 0 auto;
  padding: clamp(80px, 10.4vw, 200px) 30px;
  margin-top: -130px;
}


.service-info-section__map {
  position: absolute;
  top: 10px;
  right: 10px;
  width: min(48.2%, 926px);
  max-width: calc(100% - 40px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.service-info-section__map img {
  width: 100%;
  height: auto;
  display: block;
}

.service-info-section__map-link {
  position: absolute;
  top: clamp(240px, 24vw, 500px);
  right: clamp(56px, 9vw, 180px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #7f1d1d;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: opacity 0.2s ease;
}

.service-info-section__map-link:hover,
.service-info-section__map-link:focus-visible {
  opacity: 0.88;
}

.service-info-section__body-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(80px, 11vw, 210px);
  max-width: var(--service-info-inner);
  margin: 0 auto;
  padding: clamp(80px, 10.4vw, 200px) 40px;
}

.service-info-section__article {
  scroll-margin-top: 100px;
  text-align: left;
}

.service-info-section__article-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-align: left;
  margin: 0 0 32px;
}

.service-info-section__article-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-align: left;
  margin: 0;
}

.service-info-section__article--stack {
  width: 100%;
  max-width: var(--service-info-text-col);
}

.service-info-section__article--split {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(40px, 7.8vw, 150px);
  width: 100%;
}

.service-info-section__article--split .service-info-section__article-col {
  flex: 0 1 var(--service-info-text-col);
  max-width: var(--service-info-text-col);
  min-width: 0;
  text-align: left;
}

.service-info-section__article-photo {
  flex: 1 1 280px;
  margin: 0;
  min-height: 200px;
  overflow: hidden;
}

.service-info-section__article-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.section-heading__dot {
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-heading__dot--white {
  background: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
  .service-info-section__intro {
    padding: 48px 0 28px;
    gap: 24px;
  }

  .service-info-section__article--split .service-info-section__article-col {
    flex: initial;
  }

  .service-info-section__page-title {
    padding: 0 20px;
    text-align: left;
    font-size: 2.4rem;
    line-height: 1.4;
  }

  /* 市区以外は左（上記 .page-wrapper__content h2 より高い詳細度） */
  .page-wrapper__content h2.service-info-section__page-title:not(.service-info-section__page-title--muni) {
    text-align: left;
  }

  .service-info-section__page-title--muni {
    text-align: center;
  }

  .page-wrapper__content h2.service-info-section__page-title--muni {
    text-align: center;
  }

  .service-info-section__intro-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 0 20px;
  }


  .service-info-services-reverse .service-info-section__body-inner{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--service-info-inner);
  margin: 0 auto;
  padding: clamp(80px, 10.4vw, 200px) 30px;
  margin-top: -30px;
}
  .service-info-section__intro-main {
    gap: 40px;
    max-width: none;
    flex-basis: auto;
  }

  .service-info-section__intro-main .section-heading__ja {
    font-size: 2.8rem;
  }

  .service-info-section__intro-main
    .section-heading__ja.service-info-section__heading-ja--muni
    span.service-info-section__heading-ja-lead {
    font-size: 1.6rem;
  }

  .service-info-section__intro-main
    .section-heading__ja.service-info-section__heading-ja--muni
    span.service-info-section__heading-ja-main {
    font-size: 2.4rem;
  }

  .service-info-section__toc {
    max-width: none;
  }

  .service-info-section__intro-photo {
    flex: none;
    max-height: none;
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .service-info-section__intro-photo img {
    max-height: none;
  }

  .service-info-section__body {
    min-height: 0;
    padding: 0;
  }

  .service-info-section__map {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 24px 20px 0;
    z-index: 1;
  }

  .service-info-section__map-link {
    position: static;
    margin: 20px auto 0;
    width: fit-content;
    max-width: calc(100% - 40px);
    text-align: center;
  }

  .service-info-section__body-inner {
    padding: 48px 20px 32px;
    gap: 64px;
  }

  .service-info-section__article--split {
    flex-direction: column;
    gap: 24px;
  }

  .service-info-section__article--split .service-info-section__article-col {
    max-width: none;
  }

  .service-info-section__article-photo {
    order: 2;
    flex: none;
    min-height: 200px;
  }

  .service-info-section__article--split .service-info-section__article-col {
    order: 1;
  }
}

/* =================================
   Component: Subsidy Section
================================= */
/* .page-wrapper__content>* で section に text-align:center が当たるため、ブロック全体で左揃えを明示（見出しは .subsidy-section__title で中央） */
.subsidy-section {
  --subsidy-param-color: #d37a5a;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.subsidy-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(229, 209, 181, 0.14) 0%, transparent 42%),
    linear-gradient(225deg, rgba(220, 181, 111, 0.08) 0%, transparent 38%),
    radial-gradient(ellipse 14px 18px at 8% 22%, rgba(220, 181, 111, 0.2), transparent 55%),
    radial-gradient(ellipse 12px 16px at 92% 18%, rgba(220, 181, 111, 0.16), transparent 50%),
    radial-gradient(ellipse 18px 22px at 78% 88%, rgba(229, 209, 181, 0.18), transparent 55%),
    radial-gradient(ellipse 10px 14px at 18% 78%, rgba(220, 181, 111, 0.12), transparent 48%),
    radial-gradient(ellipse 16px 12px at 55% 8%, rgba(229, 209, 181, 0.1), transparent 50%);
}

.subsidy-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.subsidy-section__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.26;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--color-heading);
}

.subsidy-section__title-line {
  display: block;
}

.subsidy-section__title-line--sub {
  font-size: clamp(2.4rem, 4vw, 3rem);
}

.subsidy-section__title-line--muni {
  display: block;
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.1em;
}

.subsidy-section__cards {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 37px;
  width: 100%;
}

.subsidy-section__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 50px 30px;
  border-radius: 15px;
  border: 1px solid #dcb56f;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 13px rgba(163, 132, 101, 0.2);
  text-align: left;
}

.subsidy-section__card-head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 35px;
}

.subsidy-section__icon {
  flex-shrink: 0;
  display: block;
  width: 49px;
  height: 51px;
}

.subsidy-section__card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-heading);
}

.subsidy-section__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  text-align: left;
}

.subsidy-section__text {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-align: left;
}

.subsidy-section__param {
  color: var(--subsidy-param-color);
  font-weight: 700;
}

.subsidy-section__note {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .subsidy-section__inner {
    padding: 48px 20px 56px;
    gap: 40px;
  }

  .subsidy-section__title {
    font-size: 2.4rem;
  }

  .subsidy-section__cards {
    flex-direction: column;
    gap: 24px;
  }

  .subsidy-section__card {
    padding: 32px 24px;
  }

  .subsidy-section__card-head {
    gap: 24px;
  }
}

/* =================================
   Component: Works Map Section
================================= */
.works-map-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.works-map-section__frame {
  background: var(--color-brown);
  border-radius: 20px;
  padding: 25px;
}

.works-map-section__card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 7vw, 85px);
  max-width: 1150px;
  margin: 0 auto;
  padding: 50px;
  background: var(--color-white);
  border-radius: 15px;
}

.works-map-section__aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(48px, 12vw, 165px);
  flex: 0 1 420px;
  min-width: 0;
}

@media (min-width: 769px) {
  .works-map-section__aside {
    min-height: 570px;
    justify-content: space-between;
    gap: 40px;
  }
}

.works-map-section__intro {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.works-map-section__heading,
.works-map-section__lead,
.works-map-section__legend {
  width: 100%;
  text-align: left;
}

.works-map-section__legend {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.works-map-section__heading .section-heading__en-wrap {
  justify-content: flex-start;
}

.works-map-section__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.26;
  text-align: left;
}

.works-map-section__title-line {
  display: block;
}

.works-map-section__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
  max-width: 28em;
}

.works-map-section__legend-heading {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.works-map-section__legend-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-map-section__legend-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.works-map-section__legend-item--wide {
  gap: 11px;
}

.works-map-section__swatch {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  box-sizing: border-box;
}

.works-map-section__swatch img {
  display: block;
  max-width: 20px;
  max-height: 20px;
  width: auto;
  height: auto;
}

.works-map-section__swatch--roof {
  background: var(--color-primary);
  padding: 10px 5px;
}

.works-map-section__swatch--leak {
  background: #1b3d7e;
  padding: 5px;
}

.works-map-section__swatch--exterior {
  background: #f9f3e5;
  padding: 7px 6px 6px 7px;
}

.works-map-section__swatch--gutter {
  background: #ccd6ea;
  padding: 9px 6px 6px 5px;
}

.works-map-section__swatch--interior {
  background: var(--color-yellow);
  padding: 6px 4px 7px;
}

.works-map-section__legend-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.works-map-section__map {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

/* My Maps: 上方向にずらして黒帯を隠す。窓の高さは iframe 高さ − |top| にし、下端 UI（ズーム等）が切れないようにする */
.works-map-section__map-embed {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  height: calc(600px - 68px);
  overflow: hidden;
  border-radius: 4px;
  background: #e8eaed;
}

.works-map-section__map-iframe {
  position: absolute;
  left: 0;
  top: -68px;
  width: 100%;
  height: 600px;
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .works-map-section__inner {
    padding: 48px 20px 56px;
  }

  .works-map-section__frame {
    padding: 16px;
    border-radius: 16px;
  }

  .works-map-section__card {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 28px 20px;
  }

  .works-map-section__aside {
    flex-basis: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: 40px;
  }

  .works-map-section__intro {
    gap: 32px;
  }

  .works-map-section__legend {
    gap: 24px;
  }

  .works-map-section__map {
    flex: none;
  }

  .works-map-section__map-embed {
    max-width: none;
    height: calc(380px - 52px);
  }

  .works-map-section__map-iframe {
    top: -52px;
    height: 380px;
  }
}

/* =================================
   Component: Price Guide Service Section
================================= */
.price-guide-service-section {
  background: var(--color-bg-cream);
}

.price-guide-service-section__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 12vw, 153px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.price-guide-service-section__left {
  display: flex;
  flex-direction: column;
  gap: 55px;
  flex-shrink: 0;
}

.price-guide-service-section__title {
  display: flex;
  flex-direction: column;
  line-height: 1.26;
  text-align: left;
}

.price-guide-service-section__title-line {
  display: block;
}

.price-guide-service-section__title-line--sub {
  font-size: clamp(2.4rem, 4vw, 3rem);
}

.price-guide-service-section__title-line--muni {
  display: block;
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.1em;
}

.price-guide-service-section__tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.price-guide-service-section__tabs-item {
  margin: 0;
}

.price-guide-service-section__tab-heading {
  margin: 0;
  font: inherit;
  line-height: inherit;
}

.price-guide-service-section__tab {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-align: left;
  transition: color 0.2s ease;
}

.price-guide-service-section__tab:hover,
.price-guide-service-section__tab:focus-visible {
  color: var(--color-primary);
  outline: none;
}

.price-guide-service-section__tab--active {
  color: var(--color-primary);
  font-weight: 600;
}

.price-guide-service-section__right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 30px;
  flex: 1 1 0;
  min-width: 0;
}

.price-guide-service-section__panel-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 210px;
  display: none;
}

.price-guide-service-section__text {
  width: 50%;
  padding-right: 20px;
}

.price-guide-service-section__comparison {
  width: 50%;
}

.price-guide-service-section__panel-wrap--active {
  display: block;
}

.price-guide-service-section__panel-wrap[hidden] {
  display: none !important;
}

.price-guide-service-section__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.price-guide-service-section__panel[hidden] {
  display: none !important;
}

.price-guide-service-section__item {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 30px;
}

.price-guide-service-section__item > .price-guide-service-section__comparison:only-child {
  width: 100%;
}

.price-guide-service-section__hero {
  width: 100%;
}

.price-guide-service-section__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.price-guide-service-section__empty {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--color-text);
}

.price-guide-service-section__row-head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.price-guide-service-section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  background: #e7e3d3;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.price-guide-service-section__price {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-price);
}

.price-guide-service-section__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.wp-detail-image {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}
.wp-detail-image .label {
  position: absolute;
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  z-index: 10;
}
.wp-detail-image .label-before {
  bottom: 0;
  left: 0;
  background-color: #898989;
}
.wp-detail-image .label-after {
  bottom: 0;
  right: 0;
  background-color: var(--color-primary);;
}
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.image-before,
.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.image-before img,
.image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.2s ease;
}
.image-before img {
  filter: brightness(50%);
}
.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  cursor: pointer;
  z-index: 10;
  transform: translateX(-50%);
}
.slider-control {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: hwb(0deg 100% 0% / 80%);
  color: #414141;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  z-index: 11;
}
.slider-control .arrow-left {
  padding-right: 5px;
}
.slider-control .arrow-right {
  padding-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .price-guide-service-section__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 48px 20px 56px;
  }

  .price-guide-service-section__left {
    gap: 24px;
  }

  .price-guide-service-section__right {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .price-guide-service-section__panel-wrap {
    min-height: initial;
  }

  .price-guide-service-section__panel {
    max-width: none;
  }

  .price-guide-service-section__item {
    flex-direction: column-reverse;
  }

  .price-guide-service-section__text {
    width: 100%;
    padding: 0;
    margin-top: 20px;
  }

  .price-guide-service-section__comparison {
    width: 100%;
  }

}

/* =================================
   Component: Recruit Section
================================= */
.recruit-section {
  position: relative;
  overflow: hidden;
  background-image: url("https://website.sub.jp/fujinokawara/wp-content/uploads/2026/08/88f03c1413435325bd08f50d5ef2b218-scaled.jpg");
  background-size: cover;
  background-position: 20%;
}

.recruit-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.recruit-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: stretch;
  min-height: clamp(360px, 55vw, 526px);
  max-width: 1920px;
  margin: 0 auto;
}

.recruit-section__panel {
  position: relative;
  width: 50%;
  max-width: none;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: auto;
  padding: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px) clamp(40px, 6vw, 72px) clamp(40px, 6vw, 72px);
  box-sizing: border-box;
  background: rgba(30, 30, 30, 0.48);
}

.recruit-section__panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 100vw;
  height: 100%;
  background: rgba(30, 30, 30, 0.48);
  pointer-events: none;
}

.recruit-section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 55px;
  width: 100%;
  max-width: 40em;
}

.recruit-section__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 55px;
  width: 100%;
}

.recruit-section__heading.section-heading {
  align-items: flex-start;
  gap: 15px;
}

.recruit-section__heading .section-heading__en-wrap {
  justify-content: flex-end;
}

.recruit-section__heading .section-heading__ja {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1;
  text-align: right;
}

.recruit-section__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-align: left;
  width: 100%;
}

.recruit-section__cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 15px 35px;
  border: 1px solid var(--color-white);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.25s ease, background 0.25s ease;
  align-self: flex-end;
}

.recruit-section__cta:hover {
  opacity: 0.92;
  background: rgba(255, 255, 255, 0.22);
}

.recruit-section__cta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 11px;
  border-radius: 50px;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  line-height: 0;
  box-sizing: border-box;
}

.recruit-section__cta-icon svg {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .recruit-section__inner {
    min-height: 0;
  }

  .recruit-section__panel {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 40px 20px;
    justify-content: center;
  }

  .recruit-section__panel::after {
    display: none;
  }

  .recruit-section__content {
    align-items: stretch;
    max-width: none;
    gap: 40px;
  }

  .recruit-section__intro {
    align-items: stretch;
    gap: 32px;
  }

  .recruit-section__heading.section-heading {
    align-items: flex-start;
  }

  .recruit-section__heading .section-heading__en-wrap {
    justify-content: flex-start;
  }

  .recruit-section__heading .section-heading__ja {
    text-align: left;
  }

  .recruit-section__cta {
    align-self: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 14px 28px;
    font-size: 1.6rem;
  }
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
  padding: 60px 0;
  background-color: #fff;
}

.contact-section .section_header {
  width: 100%;
  margin: 0 auto;
}

.contact-section .section_title {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: #372929;
  text-align: center;
  letter-spacing: 0.05em;
  margin: 0 auto 50px auto;
}

.contact-section .section_subtitle {
  text-align: center;
}

.contact_form {
  max-width: 1160px;
  margin: 0 auto;
  background: #fff;
  padding: 0 50px 120px 50px;
}

.contact_form br {
  display: none;
}

/* Contact Form 7 カスタムスタイル */
.contact_form .wpcf7-form,
.contact_form .basic_contact_form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact_form .wpcf7-form-control-wrap {
  display: block;
  width: 750px;
  margin-left: 30px;
  text-align: left;
}
.contact_form .postaria .wpcf7-form-control-wrap {
  width: 170px;
}

.contact_form label {
  display: flex;
  justify-content: flex-end;
  font-size: 1.5rem;
  font-weight: 600;
  color: #372929;
  padding: 30px 0;
  border-bottom: solid 1px #372929;
}

label>span:first-of-type {
  margin: 0 auto 0 0;
}

.contact_form label:nth-child(4),
.contact_form label:nth-child(5) {
  border-bottom: none;
}

.contact_form label:nth-child(4) {
  padding: 30px 0 12px 0;
}

.contact_form label:nth-child(6) {
  padding: 8px 0 30px 0;
}

.contact_form label:nth-child(4) input {
  margin-left: 30px;
  width: 150px;
}

.postaria .wpcf7-form-control-wrap {
  position: relative;
}

.postaria .wpcf7-form-control-wrap::before {
  content: "〒";
  font-size: 1.3em;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.postaria input {
  padding-left: 20px;
  width: 150px;
}

.contact_form label:nth-child(5) {
  padding: 0;
}

.contact_form label:last-of-type {
  border-bottom: none;
}

.none {
  display: none;
}

.contact_form .required {
  color: #E74C3C;
  margin-left: 5px;
}

.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="tel"],
.contact_form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 1.6rem;
  background: #F0F0F0;
  transition: all 0.3s ease;
}

.contact_form input[type="text"]:focus,
.contact_form input[type="email"]:focus,
.contact_form input[type="tel"]:focus,
.contact_form textarea:focus {
  border-color: #FFD93D;
  outline: none;
  background: #fff3c5a2;
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.1);
}

.contact_form input.error,
.contact_form textarea.error {
  border-color: #E74C3C;
}

.contact_form textarea {
  min-height: 180px;
  resize: vertical;
  font-family: inherit;
}

.contact_form .wpcf7-not-valid-tip {
  color: #E74C3C;
  font-size: 1.3rem;
  margin-top: 8px;
  display: block;
}

.contact_form .wpcf7-response-output {
  padding: 18px;
  margin-top: 25px;
  border-radius: 8px;
  font-size: 1.5rem;
}

.contact_form .redaria {
  margin-left: 12px;
  padding: 4px 8px;
  background: #FF0000;
  color: #fff;
  font-size: 0.8em;
  border-radius: 3px;
}

.contact_form .wpcf7-validation-errors {
  background: #FFE5E5;
  border: 2px solid #E74C3C;
  color: #E74C3C;
}

.contact_form .wpcf7-mail-sent-ok {
  background: #D4EDDA;
  border: 2px solid #28A745;
  color: #155724;
}

.contact_form input[type="submit"] {
  padding: 24px 60px;
  background: #F9F3E5;
  color: #A38465;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  width: 700px;
  border: solid 1px #A38465;
}

.contact_form input[type="submit"]:hover {
  background: #A38465;
  color: #fff;
  transform: translateY(-3px);
}

.contact_form .label_title {
  width: 300px;
  text-align: left;
  color: #E8C502;
}

.contact_form .must_icon {
  margin: 0 0 0 5px;
  font-size: 12px;
  color: #fff;
  background-color: #f00;
  padding: 3px 5px;
  border-radius: 3px;
}

.contact_form select {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
}

/* Basic Contact Form */
.basic_contact_form p {
  margin: 0 0 25px;
}

.basic_contact_form label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E8C502;
}

.basic_contact_form input[type="text"],
.basic_contact_form input[type="email"],
.basic_contact_form input[type="tel"],
.basic_contact_form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #E5E5E5;
  border-radius: 8px;
  font-size: 1.6rem;
  background: #FAFAFA;
  transition: all 0.3s ease;
  font-family: inherit;
}

.basic_contact_form input[type="text"]:focus,
.basic_contact_form input[type="email"]:focus,
.basic_contact_form input[type="tel"]:focus,
.basic_contact_form textarea:focus {
  border-color: #FFD93D;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.1);
}

.basic_contact_form textarea {
  min-height: 180px;
  resize: vertical;
}

.basic_contact_form input[type="submit"] {
  padding: 18px 60px;
  background: #FFD93D;
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.basic_contact_form input[type="submit"]:hover {
  background: #FFC700;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
}

.zip-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* flex-wrap: wrap; */
  gap: 10px;
  width: 100%;
  max-width: 800px;
  margin-left: 30px;
  box-sizing: border-box;
}

.zip-row input {
  margin-left: 0;
}

.zip-search-btn {
  display: inline-block;
  padding: 8px 14px;
  background-color: #782524;
  color: #fff;
  font-size: 0.85em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  margin-left: 16px;
}

.zip-search-btn:hover {
  background-color: #555;
}

/* responsive */
@media screen and (max-width: 768px) {
  .contact-section .section_title {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .contact_form label {
    flex-flow: column;
    padding: 30px 0;
  }

  .contact_form .redord label {
    flex-flow: unset;
    padding: 0;
  }

  .contact_form .redord>span:first-of-type {
      margin: 0 auto;
      text-align: center;
  }
  .contact_form .wpcf7-form-control-wrap {
    width: 100%;
    margin-left: 0;
  }

  label>span:first-of-type {
    margin: 0 auto 0 0;
  }

  .contact_form {
    padding: 0 30px 60px 30px;
  }
  .contact_form input[type="submit"] {
    width: 70%;
  }
  .zip-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 800px;
    margin-left: 30px;
    box-sizing: border-box;
  }

}

/* 採用情報セクション：背景の集合写真を寄せて表示（看板は見せない） */
.recruit-section {
  background-size: 350% auto;
  background-position: 45% 100%;
}

@media (min-width: 769px) {
  .recruit-section {
    background-size: 152% auto;
    background-position: 100% 65%;
  }
}
