@charset "utf-8";

/* =========================================
   共通管理（Variables & Reset）
   ========================================= */
:root {
  --color-primary: #3b231c;
  --color-primary-hover: rgba(59, 35, 28, 0.8);
  --color-primary-light: rgba(59, 35, 28, 0.1);
  --color-bg-base: #fdfcf8;
  --color-bg-alt: #f2efe9;
  --color-bg-hover: #f8f6f3;
  --color-text-main: #333333;
  --color-text-muted: #b0a8a6;
  --color-border: #e6e2db;
  --color-white: #ffffff;
  --color-gold: #936419;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.5;
  width: 100%;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
a {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

ul {
  list-style: none;
}

.hidden {
  display: none !important;
}
.u-text-white {
  color: var(--color-white);
}

/* =========================================
   【共通・PC用スタイル】（ベース記述）
   ========================================= */

/* Layout Utils */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0; /* PCベース */
}

.container-inner {
  width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: 80px;
  transition: box-shadow 0.3s;
}

.header-inner {
  width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.header-logos {
  display: flex;
  gap: 30px;
  align-items: center;
}
.header-logos .sekisuiheim {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logos .sekisuiheim .subtx{
  font-size: 10px;
  font-weight: 600;
}
.header-logos img {
  object-fit: contain;
  height: 37px;
}
.header-logos a img {
  height: 37px;
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  border-radius: 9999px;
  width: 230px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  position: relative;
  font-size: 20px;
  letter-spacing: 0.35px;
}
.btn span {
  font-size: 1.8rem;
  font-weight: bold;
}

.btn svg {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-base)!important;
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.feature-desc {
  font-size: 1.5rem;
  font-weight: normal;
}
/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  margin-top: 80px;
}

.hero-container {
  display: flex;
  flex-direction: row; /* PCベース */
  height: clamp(400px, 50vw, 650px); /* PCベース */
  overflow: hidden; /* ★追加：画像が枠からはみ出ないようにストッパーをかける */
}

.hero-text-area {
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  padding: 0; /* PCベース */
  width: clamp(260px, 33vw, 640px); /* PCベース */
}

.hero-text-desktop {
  display: flex; /* PCベース */
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
  align-items: flex-start;
  width: 100%;
  padding: 0 clamp(16px, 3vw, 60px);
}



.hero-subtitle {
  border: 2px solid var(--color-white);
  width: 100%;
  text-align: center;
  padding: clamp(6px, 1.2vw, 16px); /* PCベース */
  color: var(--color-white);
  white-space: nowrap;
  line-height: 1.3;
  font-size: clamp(12px, 2.1vw, 40px); /* PCベース */
  font-weight: bold;
}


.hero-subtitle span {
  font-size: clamp(11px, 1.8vw, 35px); /* PCベース */
}

.hero-title {
  color: var(--color-white);
  letter-spacing: -0.04em;
  width: 100%;
  line-height: 1.1;
  font-size: clamp(28px, 4.7vw, 90px); /* PCベース */
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
  height: auto; /* PCベース */
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1; /* ★追加：裏で待機する画像は奥に配置 */
  transition: opacity 0.7s ease-in-out; /* フェードのみ担当 */
}
/* --- 表示中（active）と、消えゆく途中（is-leaving）の両方でアニメーションを維持 --- */
.carousel-img:nth-child(odd).active,
.carousel-img:nth-child(odd).is-leaving {
  animation: zoomIn 8s linear forwards;
}

.carousel-img:nth-child(even).active,
.carousel-img:nth-child(even).is-leaving {
  animation: zoomOut 8s linear forwards;
}

/* 奇数枚目：標準⇔拡大 を16秒かけて永遠に繰り返す */
.carousel-img:nth-child(odd) {
  animation: zoomInOut 16s linear infinite;
}
/* 偶数枚目：拡大⇔標準 を16秒かけて永遠に繰り返す */
.carousel-img:nth-child(even) {
  animation: zoomOutIn 16s linear infinite;
}
/* --- 【重要】アクティブ（表示中）になった時の終わりの状態 --- */

/* 1, 3, 5枚目（奇数）のアクティブ時：標準(1) → 拡大(1.15) へ【ズームイン】 */
.carousel-img:nth-child(odd).active {
  opacity: 1;
  z-index: 2; /* ★追加：表示される画像は必ず一番手前に出す */
}

/* 2, 4, 6枚目（偶数）のアクティブ時：拡大(1.15) → 標準(1) へ【ズームアウト】 */
.carousel-img:nth-child(even).active {
  opacity: 1;
  z-index: 2; /* ★追加：表示される画像は必ず一番手前に出す */
}
.hero-carousel.is-paused .carousel-img {
  animation-play-state: paused !important;
}
.carousel-img.active {
  opacity: 1;
  z-index: 2; /* 表示される画像は一番手前に出す */
}
.carousel-img.is-leaving {
  opacity: 0;
  z-index: 1; /* 消えゆく画像は奥に（動きながらフワッと消えます） */
}
/* --- アニメーションのキーフレーム --- */
@keyframes zoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

@keyframes zoomOut {
  0% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 16px 0;
  background-color: var(--color-bg-base);
}

.prev-next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(74,69,66,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  transition: background-color 0.2s;
}

.carousel-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(74,69,66,0.3);
  border-radius: 50%;
  transition: all 0.2s;
}


.dot.active {
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
}

.play-pause-btn {
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Common Section Styles */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.section-title {
  line-height: 40px;
  text-align: center;
  font-weight: 500;
  font-size: 36px; /* PCベース */
  
}

.text-white { color: var(--color-white); }
.u-text-white { color: var(--color-white); }
.bg-white { background-color: var(--color-white) !important; }

.title-line {
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
}

/* Cases Section */
.cases-section {
  padding-top: 40px;
}
.cases-grid {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.case-card {
  background-color: var(--color-white);
  box-shadow: 0px 8px 30px 0px rgba(0,0,0,0.2);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
  width: calc(50% - 20px); /* PCベース */
}


.case-img-wrap {
  width: 100%;
  overflow: hidden;
  height: 435px; /* PCベース */
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}


.case-content {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-title {
  line-height: 28px;
  font-weight: bold;
  font-size: 22px; /* PCベース */
}

.case-meta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-meta {
  display: flex;
  align-items: center;
  font-size: 16px; /* PCベース */
}

.case-meta span {
  padding: 4px 8px;
  border-right: 1px solid rgba(140,115,101,0.3);
}

.case-meta span:first-child { padding-left: 0; }
.case-meta span.no-border { border-right: none; }
.case-meta strong { font-weight: bold; }

.case-btn {
  background-color: var(--color-primary);
  color: var(--color-white)!important;
  border-radius: 9999px;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 0.3s;
  font-size: 16px; /* PCベース */
  font-weight: bold;
}


/* Features Section */
.features-section {
  background-color: var(--color-primary);
  padding: 100px 0;
}

.features-content {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-row {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row; /* PCベース */
}

.feature-img {
  height: 310px;
  overflow: hidden;
  flex-shrink: 0;
  width: 550px; /* PCベース */
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.feature-heading {
  color: var(--color-white);
  line-height: 32px;
  font-weight: bold;
  font-size: 26px; /* PCベース */
}

.feature-box {
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-box-title {
  color: var(--color-white);
  line-height: 28px;
  font-size: 20px; 
  font-weight: bold;/* PCベース */
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.line-icon {
  width: 32px;
  height: 1px;
  background-color: var(--color-white);
  flex-shrink: 0;
}

.feature-list p {
  color: var(--color-white);
  line-height: 24px;
  font-size: 24px; /* PCベース */
  font-weight: bold;
}

.feature-before-after {
  background-color: var(--color-white);
  padding: 40px;
}
.feature-row--pain {
  padding: 0 50px;
}
.feature-row--pain .feature-img {
  width: 300px;
  height: 300px;
}
.feature-row--pain .feature-box {
  padding: 0;
}
.ba-title {
  line-height: 32px;
  text-align: center;
  font-weight: bold;
  font-size: 26px; /* PCベース */
}

.ba-desc {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ba-desc-main {
  line-height: 28px;
  font-size: 20px; /* PCベース */
  font-weight: bold;
}

.ba-desc-sub {
  line-height: 24px;
  text-align: center;
  font-size: 18px; /* PCベース */
}

.ba-grid {
  margin-top: 24px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr; /* PCベース */
}

.ba-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ba-label {
  padding: 4px 20px;
  font-size: 14px;
}

.label-before {
  background-color: var(--color-border);
  color: #221815;
  font-weight: bold;
}

.label-after {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
}

.ba-img-wrap {
  width: 100%;
  overflow: hidden;
  height: 540px; /* PCベース */
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Process Section */
.process-section {
  padding-top: 100px; /* PCベース */
  padding-bottom: 100px; /* PCベース */
}


.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #3B231C;
  border-right: 0;
}
/* フロー全体を囲むコンテナ */
.process-container {
    display: flex;
    flex-direction: column;
    gap: 24px; /* gap-6 */
    align-items: center;
    margin-top: 60px;
}

/* フローの各列（上段・下段） */
.process-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-right: 136px;
}

/* 下段のインデント（ml-[200px]） */
.row-offset {
    margin-left: 104px;
    margin-right: 0;
}

/* 各ステップのボックス */
.process-step {
    width: 200px;
    height: 100px;
    border: 1px solid #3b231c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}


/* 数字部分 */
.step-number {
    color: #b0a8a6;
    font-size: 18px;
}

/* タイトル部分 */
.step-title {
    font-size: 22px;
    font-weight: bold;
}
/* support Section */
.support-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--color-bg-alt);
}
.section-header.align-left {
    align-items: flex-start;
}
.support-section .container-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.support-section .support-image {
    width: 400px;
}
.support-section .feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 60px;
    color: #333;
}
.support-section .feature-list .line-icon {
    background-color: #333;
}
.support-section .feature-list p {
    color: #333;
}
/* FAQ Section */
.faq-section {
  padding: 100px 24px;
}

.faq-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background-color: var(--color-white);
  box-shadow: 0px 6px 20px 0px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: all 0.2s;
}


.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px; /* PCベース */
}

.faq-q-text {
  display: flex;
  gap: 12px;
  align-items: center;
}

.faq-icon-q {
  color: var(--color-primary);
  line-height: 30px;
  flex-shrink: 0;
  font-size: 30px; /* PCベース */
  font-weight: bold;
}

.faq-question {
  line-height: 28px;
  text-align: left;
  font-size: 20px; /* PCベース */
  font-weight: bold;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.faq-answer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0 30px 30px 30px; /* PCベース */
}

.faq-icon-a {
  color: var(--color-gold);
  line-height: 30px;
  flex-shrink: 0;
  font-size: 30px; /* PCベース */
  font-weight: bold;
}

.faq-answer-text {
  line-height: 1.6;
  font-size: 18px; /* PCベース */
}

.faq-answer-text p {
  margin-bottom: 8px;
}

.faq-answer-text p:last-child {
  margin-bottom: 0;
}

/* FAQ Active State */
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .vertical {
  display: none;
}
/*--contact-panelarea--*/
/* ベース・共通設定 */
.contact-section * {
    box-sizing: border-box;
}

.contact-section {
    display: flex;
    width: 100%;
}
.contact-panel {
    flex: 0 0 50%;
    width: 50%;
}
/* 左側：資料請求エリア */
.contact-brochure {
    background-color: #3b231c;
    padding: 40px 0;
    display: flex;
    justify-content: right;
    align-items: center;
    margin: 0 0 0 auto;
}
.brochure-content {
    text-align: center;
    width: 600px;
    padding-right: 80px;
}
.brochure-header {
    margin-bottom: 15px; /* mb-8 */
}
.brochure-img {
    display: block;
    margin: 0 auto 0 auto; /* mx-auto mb-4 */
    /* shadow-xl 相当のドロップシャドウ */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.brochure-title {
    font-size: 30px;
    font-family: "Yu Gothic", "YuGothic", sans-serif;
    font-weight: bold;
    color: #fdfcf8;
    margin: 0;
}
/* 右側：お問い合わせエリア */
.contact-info {
    background-color: #f2efe9;
    padding: 30px 0 0;
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 0 auto 0 0;
}
.info-content {
    width: 600px;
    text-align: center;
    padding-left: 80px;
}
/* 電話相談エリア */
.phone-section {
    text-align: center;
    margin-bottom: 40px; /* mb-10 */
}
.cv-title {
    font-size: 20px;
    font-weight: bold;
    color: #3b231c;
    margin: 0; /* mb-4 または mb-6 */
}

.phone-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px; /* gap-4 */
    color: #333;
}

.phone-number {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.1;
}

.phone-hours {
    font-size: 16px;
    color: #333;
    margin: 8px 0 0 0; /* mt-2 */
}

/* 区切り線 */
.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(34, 24, 21, 0.3);
    margin: 40px 0; /* my-10 */
}

/* フォーム相談エリア */
.form-section {
    text-align: center;
}

.form-section .cv-title {
    margin-bottom: 10px; /* mb-6 */
}

/* ボタン共通設定 */
.contact-section .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    font-size: 26px;
    font-weight: bold;
    border-radius: 9999px; /* rounded-full */
    text-decoration: none;
    gap: 8px; /* gap-2 */
    /* shadow-lg 相当のドロップシャドウ */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease-in-out;
}

/* 白ボタン（資料請求） */
.contact-section .btn-white {
    background-color: #ffffff;
    color: #3b231c;
}
.contact-section .btn svg {
    right: 20px;
}

/* 茶色ボタン（フォーム相談） */
.contact-section .btn-brown {
    background-color: #3b231c;
    color: #ffffff;
}


/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo__img {
  width: auto;
  object-fit: contain;
}
/* Footer */
.footer {
  background-color: var(--color-white);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-inner p {
  text-align: center;
  font-size: 14px; /* PCベース */
}

/* Scroll To Top */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 4px 0px rgba(140,115,101,0.3);
  z-index: 40;
  transition: all 0.2s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* =========================================
   【SP（スマートフォン）用スタイル】（上書き記述）
   ========================================= */
@media screen and (max-width: 767px) {
  
  /* Layout Utils */
  .container {
    padding: 60px 15px;
  }

  /* Hero Section */
  .hero-section {
    margin-top: 0;
  }
  .hero-container {
    flex-direction: column;
    height: auto;
  }
  
  .hero-text-area {
    padding: 0 15px 0;
    width: 100%;
  }
  
  .hero-text-desktop {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    max-width: 350px;
    padding: 0;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    padding: 10px;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    white-space: nowrap;
    font-size: 24px;
  }
  
  .hero-subtitle p {
    font-size: 20px;
  }
  
  .hero-subtitle span {
    font-size: 20px;
  }
  
  .hero-title {
    font-size: 40px;
    text-align: center;
  }
  
  .hero-carousel {
    height: 220px;
  }

  /* Common Section Styles */
  .section-header {
    gap: 12px;
  }
  .section-title {
    font-size: 28px;
  }

  /* Cases Section */
  .cases-section {
    padding-top: 20px;
  }
  .cases-grid {
    margin-top: 40px;
    gap: 20px;
  }
  .case-card {
    width: 100%;
  }
  .case-content {
    padding: 15px;
    gap: 10px;
  }
  .case-img-wrap {
    height: auto;
  }
  
  .case-title {
    font-size: 17px;
  }
  .case-meta-wrap {
    display: block;
  }
  .case-meta {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .case-btn-box {
    text-align: right;
  }
  .case-btn {
    font-size: 14px;
    display: inline-block;
  }

  /* Features Section */
  .features-content {
    margin-top: 40px;
  }
  .feature-row {
    flex-direction: column;
  }
  
   .feature-row .feature-img {
    width: auto;
    order: 2;
    height: auto;
  }
   .feature-row .feature-text {
    gap: 30px;
  }
  
  .feature-box {
    padding: 0;
    gap: 10px;
  }
  .support-section .feature-list {
    gap: 15px;
    margin-top: 40px;
  }
  .feature-list li {
    align-items: flex-start; /* 縦方向を「上揃え」に変更 */
  }
  .line-icon {
    width: 20px;
    margin-top: 12px;
  }
  .feature-heading {
    font-size: 22px;
  }
  .feature-box-title {
    font-size: 17px;
  }
  
  .feature-list p {
    font-size: 20px;
    line-height: 1.4;
  }
  .feature-before-after {
    padding: 30px 20px;
  }

  .ba-title {
    font-size: 22px;
  }
  .ba-desc {
    margin-top: 20px;
  }
  .ba-desc-main {
    font-size: 17px;
    text-align: center;
  }
  
  .ba-desc-sub {
    font-size: 15px;
  }
  
  .ba-grid {
    grid-template-columns: 1fr;
  }
  
  .ba-img-wrap {
    height: auto;
    width: auto;
  }

  /* Process Section */
  .process-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .process-container {
    margin-top: 40px;
    gap: 10px;
  }
  .process-row,
  .row-offset {
    margin-left: 0;
    margin-right: 0;
  }

  /* ▼ 変更点1：4列（ステップ・矢印・ステップ・矢印）のマス目にする */
  .process-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto; 
    gap: 10px 8px; 
    width: 100%;
    padding: 0; 
    box-sizing: border-box;
    align-items: center; /* 縦方向の中央揃えを確実にする */
  }

  /* ▼ 変更点2：矢印を隠す記述（display: none;）を削除しました！ */

  .triangle {
    margin: auto;
  }

  .process-step {
    width: 100%; 
    height: 80px; 
    padding: 8px;
    box-sizing: border-box;
  }

  .step-number {
    font-size: 14px;
  }

  .step-title {
    font-size: 17px;
  }
  /* support section */
  .support-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .support-section .support-content {
    width: 100%;
  }
  .support-section .container-inner {
    flex-direction: column;
  }
  .section-header.align-left {
    align-items: center;
  }
  .support-section .support-list {
    margin-top: 40px;
  }
  .support-list li {
    font-size: 20px;
  }
  .support-list li::before {
    width: 20px;
  }
  .support-section .support-list {
    gap: 15px;
  }
  .support-image {
    margin-top: 30px;
    width: auto!important;
  }
  /* FAQ Section */
  .faq-section {
    padding: 60px 0;
  }
  .faq-list {
    margin-top: 40px;
  }
  .faq-item {
    box-shadow: 0px 6px 15px 0px rgba(0,0,0,0.2);
  }
  .faq-btn {
    padding: 15px;
  }
  .faq-q-text {
    align-items: flex-start;
  }
  .faq-icon-q {
    font-size: 24px;
  }
  
  .faq-question {
    font-size: 16px;
    padding-top: 2px;
  }
  
  .faq-answer-inner {
    padding: 0 15px 15px 15px;
  }
  .faq-a-text {
    align-items: flex-start;
  }

  .faq-icon-a {
    font-size: 24px;
  }
  
  .faq-answer-text {
    font-size: 15px;
  }
  /*contact-section*/
  /* 左右2カラムを縦並び（1カラム）に変更 */
    .contact-section {
        flex-direction: column;
    }

    /* パネルの幅を100%にする */
    .contact-panel {
        flex: 1 1 100%;
        width: 100%;
    }

    /* --- 左側（上部）：資料請求エリアの調整 --- */
    .contact-brochure {
        justify-content: center;
        padding: 30px 20px; /* 左右に少し余白を持たせる */
        margin: 0; /* PC用の中央寄せマージンをリセット */
    }

    .brochure-content {
        width: 100%;
        padding-right: 0; /* PC用の右余白をリセット */
    }

    .brochure-img {
        max-width: 95%; /* スマホ画面に合わせて画像を少し縮小 */
        height: auto;
    }

    .brochure-title {
        font-size: 20px; /* PC: 30px -> SP: 20px */
    }

    /* --- 右側（下部）：お問い合わせエリアの調整 --- */
    .contact-info {
        justify-content: center;
        padding: 30px 20px;
        margin: 0;
    }

    .info-content {
        width: 100%;
        padding-left: 0; /* PC用の左余白をリセット */
    }

    .cv-title {
        font-size: 18px; /* PC: 20px -> SP: 18px */
    }
  .phone-section .cv-title {
      margin-bottom: 10px;
  }
    .phone-number-wrapper {
        background-color: #3b231c; /* ボタンの茶色 */
        color: #fff!important; /* 文字を白に */
        border-radius: 9999px; /* 丸角 */
        padding: 12px 0;
        width: 100%;
        gap: 8px;
        /* リフォームのご相談ボタンと同じ影をつける */
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        text-decoration: none; /* 下線を消す */
        max-width: 520px;
        margin: 0 auto;
      }

    /* SVGアイコンをスマホサイズに縮小 */
    .phone-number-wrapper svg {
        fill: #ffffff;
        width: 28px;
        height: 28px;
    }

    .phone-number {
            font-size: 28px; /* PC: 60px -> SP: 28px */
    }

    .phone-hours {
        font-size: 12px; /* PC: 16px -> SP: 13px */
        margin-top: 12px;
    }

    .phone-section {
        margin-bottom: 24px;
    }

    .divider {
        margin: 24px 0;
    }

    /* --- ボタンのサイズ調整 --- */
    .contact-section .btn {
        font-size: 18px; /* PC: 26px -> SP: 18px */
        padding: 12px 0;
        margin: 0 auto;
    }
  .btn svg {
      right: 12px;
  }
  /* Footer */
  .footer-inner p {
    font-size: 12px;
  }
  /* Header */
  .header {
    height: auto;
    position: static;
  }

  .header-inner {
    width: 100%;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }
.header-logos {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 画面を1:1で均等に2分割 */
    gap: 12px;
    width: 100%;
    align-items: center;
    padding: 10px;/* 縦位置を下揃え（中央が良い場合は center に） */
  }
  .header-logos > a,
  .header-logos > .sekisuiheim {
    display: flex;
    justify-content: center;
    width: 100%;
    /* flex: 1; は不要になったので削除しました */
  }
  .header-logos .sekisuiheim {
    flex-direction: column;
    align-items: center;
    gap: 4px; /* ロゴとテキストの隙間を少し空けると綺麗です */
  }
.header-logos .sekisuiheim .subtx{
  font-weight: normal;
}
  .header-logos img {
    width: 160px;
    height: auto;
    object-fit: contain;
    max-height: 50px;
  }
  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr; /* ボタンも均等に2分割 */
    gap: 12px;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    z-index: 999;
  } 
  .header-actions svg {
    width: 6px;
    right: 10px;
  }
  .btn {
    width: 100%;
    max-width: 520px;
    font-size: 16px;
  }
  .header-actions .btn {
    width: 100%;
    max-width: none; /* PC用の設定をリセット */
    font-size: 14px; /* SPで文字がはみ出ないように少し縮小 */
    padding: 10px 0;
  }
  .header-actions .btn span {
    font-size: 1.4rem;
  }  
  /* Inner */
  .container-inner {
    width: 100%;
    padding: 0 15px;
  }

  /* Carousel Controls */
  .carousel-controls {
    gap: 20px;
    padding: 12px 0;
  }
  /* Features (special row) */
  .features-section {
    padding: 60px 0;
  }
  
  .feature-row--pain {
    padding: 0;
  }
  .feature-row--pain .feature-img {
    width: auto;
    height: auto;
  }

  /* Footer Logo */
  .footer {
    padding: 20px 15px 120px;
  }
  .footer-logo__img {
    max-width: 280px;
  }

  /* Scroll To Top */
  .scroll-to-top {
    bottom: 70px;
    right: 10px;
    width: 48px;
    height: 48px;
  }

}
/* =========================================
   PCのみ適用するホバーアクション（スマホのSticky Hover対策）
   ========================================= */
@media (hover: hover) {
  
  /* ボタン関連 */
  .btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.1);
  }

  .btn-secondary:hover {
    background-color: var(--color-primary-light);
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.1);
  }

  .contact-section .btn-white:hover {
    background-color: #f3f4f6; /* hover:bg-gray-100 */
  }

  .contact-section .btn-brown:hover {
    opacity: 0.9; /* hover:opacity-90 */
  }

  /* カルーセル（スライダー）のコントローラー */
  .prev-next-btn:hover {
    background-color: var(--color-bg-hover);
  }

  .dot:hover {
    background-color: rgba(59,35,28,0.6);
  }

  /* 事例カード（カード全体、画像拡大、ボタン色変化） */
  .case-card:hover {
    box-shadow: 0px 8px 30px 0px rgba(0,0,0,0.1);
  }

  .case-card:hover .case-img-wrap img {
    transform: scale(1.15);
  }

  .case-card:hover .case-btn {
    background-color: var(--color-primary-hover);
  }

  /* FAQアコーディオン */
  .faq-item:hover {
    background-color: var(--color-bg-hover);
  }

  /* トップへ戻るボタン */
  .scroll-to-top:hover {
    background-color: var(--color-primary-hover);
  }

}