@charset "UTF-8";

/* ==================================================
   変数の定義 (Colors & Settings)
================================================== */
:root {
  --brand-red: #C00014;
  --brand-dark: #9A0010;
  --brand-light: #F4F0ED;
  --bg-gray: #F8F9FA;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #f3f4f6;
  /* Tailwindの gray-100 */
  --border-red: #E5DBD3;
}

/* ==================================================
   リセット & ベーススタイル
================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.bg-light {
  background-color: var(--brand-light);
}

.bg-gray {
  background-color: var(--bg-gray);
}

.bg-white {
  background-color: #ffffff;
}

.text-brand {
  color: var(--brand-red);
}

.relative-z {
  position: relative;
  z-index: 10;
}

.scroll-mt {
  scroll-margin-top: 4rem;
}

/* SP表示用ユーティリティ */
.sp-only {
  display: block;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* ==================================================
   共通コンポーネント
================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-red);
  color: #ffffff;
  font-weight: bold;
  line-height: 1;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--brand-dark);
  transform: translateY(-4px);
  /* 少し浮き上がる */

  /* ホバー時はさらに影を濃く・広げます */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.section-container {
  padding: 5rem 0;
}

#flow,
#voice,
#faq,
#contact {
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-en-title {
  color: var(--brand-red);
  font-weight: bold;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.section-ja-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-top: 0.5rem;
  color: #1f2937;
}

.section-line {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--brand-red);
  margin: 1rem auto 0;
  border-radius: 0.25rem;
}

/* ==================================================
   ヘッダー
================================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  z-index: 50;
  transition: all 0.3s;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
@media screen and (max-width: 440px) {
  .header-inner{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s;
}
@media screen and (max-width: 440px) {
  .header-logo{
    gap: 0.25rem;
  }
}

.header-logo:hover {
  opacity: 0.8;
}

.header-logo img {
  height: 1.5rem;
}
@media screen and (max-width: 440px) {
  .header-logo img {
    height: 1.25rem;
  }
}
.logo-divider {
  width: 1px;
  height: 1.75rem; /* [2026-10-20 変更] 2行表示に合わせて 1rem → 1.75rem */
  background-color: #d1d5db;
}

.logo-text {
  font-size: 0.75rem;
  font-weight: bold;
  color: #374151;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap; /* [2026-10-01 追加] 375px付近でflex圧縮により折り返す不具合の修正 */
}

/* [2026-10-20 追加] 仙台支店の下に仙台北店を縦並びで表示 */
.logo-branches {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.header-nav {
  display: none;
}

.btn-header {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.75rem;
  /* [2026-10-01 追加] 375px付近でヘッダーのflexが圧縮し、
     「お問い合わせ」ボタンの文字・アイコンが2行に折り返す不具合の修正 */
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header i {
  margin-left: 0.25rem;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 2.25rem;
  }

  .logo-text {
    font-size: 0.875rem;
  }

  .btn-header {
    height: 3rem;
    padding: 0 2.25rem;
    font-size: 0.875rem;
  }

  .btn-header i {
    margin-left: 0.5rem;
  }
}

@media (min-width: 1280px) {
  .header-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-right: auto;
    margin-left: 2rem;
  }

  .header-nav a:hover {
    color: var(--brand-red);
    transition: 0.3s;
  }
}

/* ==================================================
   ヒーローセクション (Hero)
================================================== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  background-image: url('../img/kv-01-pc.webp');
  background-size: cover;
  background-position: 10% 20px;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .hero-section {
    background-image: url('../img/kv-01-sp.webp');
    background-position: 10% 60px;
  }
}
@media screen and (max-width: 526px) {
  .hero-section {
    
    background-position: 10% 0px;
  }
}
@media screen and (max-width: 488px) {
  .hero-section {
    background-position: 10% 50px;
  }
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.25;
  /* leading-tight */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle01 {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 570px) {
  .hero-subtitle01 {
    font-size: 1.05rem;
    margin-bottom: 0;
  } 
}
@media screen and (max-width: 374px) {
  .hero-subtitle01 {
    font-size: 0.875rem;
  }
}

.hero-subtitle01-strong {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 570px) {
  .hero-subtitle01-strong {
    font-size: 1.26rem;
    margin-bottom: 0.2rem;
  } 
}
@media screen and (max-width: 400px) {
  .hero-subtitle01-strong {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  } 
}
@media screen and (max-width: 374px) {
  .hero-subtitle01-strong {
    font-size: 1rem;
  } 
}

.hero-subtitle02 {
  display: block;
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
}
@media screen and (max-width: 620px) {
  .hero-subtitle02 {
    font-size: 3rem;
  }
}
@media screen and (max-width: 460px) {
  .hero-subtitle02 {
    font-size: 2rem;
    letter-spacing: normal;
  } 
}
.hero-subtitle03 {
  display: block;
  color: #fff;
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.4rem;
}
@media screen and (max-width: 460px) {
  .hero-subtitle03 {
    font-size: 5rem;
    letter-spacing: normal;
  } 
}
@media screen and (max-width: 374px) {
  .hero-subtitle03 {
    font-size: 4rem;
  } 
}
.hero-logo-box {
  width: 100%;
  max-width: 676px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
  margin: 0 auto;
}

.hero-logo-box p { 
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand-red);
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 778px) {
  .hero-logo-box p {
    font-size: 1rem;
  }
}
.hero-logo-grid{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0.5rem 0;
}
@media screen and (max-width: 778px) {
  .hero-logo-grid {
    gap: 0.5rem;
  }
}
.strength-logo {
  background-color: transparent;
  padding: 12px;
  border-radius: 8px;
  /* height: 1.375rem; */
}
@media screen and (max-width: 778px) {
  .hero-logo-box img {
    width: 50%;
    padding: 8px;
    /* height: 1rem; */
  }
}
/* .hero-logo-box span {
  font-size: 0.625rem;
  font-weight: bold;
  letter-spacing: 0.05em;
} */

.hero-catchphrase {
  font-weight: bold;
  font-size: 1rem;
  color: var(--brand-red);
  letter-spacing: 0.05em;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 678px) {
  .hero-catchphrase {
    color: #fff;
  }
}

.btn-large {
  width: 100%;
  max-width: 576px;
  height: 4.5rem;
  font-size: 1.6rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 520px) {
  .btn-large {
    font-size: 1.25rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  opacity: 0.8;
  animation: bounce 1s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, -25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translate(-50%, 0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.875rem;
  }

  /* .hero-logo-box img {
    height: 2.25rem;
  } */

  /* .hero-logo-box span {
    font-size: 0.75rem;
  } */

  .hero-catchphrase {
    font-size: 1.25rem;
  }

  .btn-large {
    font-size: 1.8rem;
  }
}

/* ==================================================
   イントロダクション
================================================== */
.intro-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.intro-inner {
  max-width: 896px;
}

.intro-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.625;
  /* leading-relaxed */
  color: #1f2937;
}

.intro-text {
  color: var(--text-muted);
  line-height: 2;
  /* leading-loose */
  font-size: 0.875rem;
  text-align: left;
  display: inline-block;
  max-width: 672px;
}

@media (min-width: 768px) {
  .intro-title {
    font-size: 1.875rem;
  }

  .intro-text {
    font-size: 1rem;
    text-align: center;
  }
}

/* ==================================================
   お悩みセクション (Worries)
================================================== */
.worries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1152px;
  margin: 0 auto;
}

@media (max-width: 950px) {
  .worries-grid {
    gap: 1rem;
  }
}

.card-item {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}
@media (max-width: 768px) {
  .card-item {
    padding: 1rem;
  }
}

.card-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-img {
  height: 10rem;
  width: 100%;
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--brand-red);
  line-height: 1.25;
  /* word-break: keep-all;  */
  /* （※ Safariなど一部環境の調整用） */
  /* overflow-wrap: anywhere;  */
  /* leading-tight */
}

.card-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.625;
  /* leading-relaxed */
}

.worries-footer {
  margin-top: 3rem;
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
}

@media (min-width: 768px) {
  .worries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================================================
   共通CTAバナー (CTA Section)
================================================== */
.cta-section {
  padding: 2.5rem 0;
  background-color: #E8E6E3;
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border-red);
  text-align: center;
}

.cta-section.has-top-border {
  border-top: 1px solid var(--border-color);
}

.cta-catchphrase {
  color: var(--brand-red);
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
@media (max-width: 425px) {
  .cta-catchphrase {
    font-size: 0.9rem;
  }
}
.cta-action {
  max-width: 576px;
  margin: 0 auto;
}

.btn-cta {
  width: 100%;
  height: 4.4rem;
  font-size: 1.8rem;
}
@media (max-width: 520px) {
  .btn-cta {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }

  .cta-catchphrase {
    font-size: 1.125rem;
  }
}


/* ==================================================
   選ばれる理由 (Strength)
================================================== */
.strength-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  max-width: 1024px;
  margin: 0 auto;
}

.strength-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.strength-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.strength-img img {
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: contain;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.strength-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strength-title-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.strength-number {
  background-color: var(--brand-red);
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

.strength-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  line-height: 1.25;
  /* leading-tight */
}

.strength-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.625;
  /* leading-relaxed */
}

/* 4つの売却方法グリッド */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
}

.method-card {
  background-color: var(--brand-light);
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: box-shadow 0.3s;
}

.strength-img img.method-icon {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: 30px;
  margin: 0 auto 0.625rem;
}

.method-title {
  font-weight: bold;
  font-size: 0.875rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  /* leading-tight */
}

.method-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.375;
  /* leading-snug */
}

@media (min-width: 768px) {
  .strength-list {
    gap: 8rem;
  }

  .strength-item {
    flex-direction: row;
    gap: 3rem;
    border: none;
    padding: 0;
    border-radius: 0;
  }

  .strength-item.reverse {
    flex-direction: row-reverse;
  }

  .strength-img,
  .strength-content {
    width: 50%;
  }

  .strength-title {
    font-size: 1.6 rem;
  }
}

/* ==================================================
   売却の流れ (Flow)
================================================== */
.flow-list {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.flow-item {
  display: flex;
  position: relative;
}

.flow-number-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
  position: relative;
  flex-shrink: 0;
}

.flow-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--brand-red);
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.flow-line {
  position: absolute;
  top: 3.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% - 12px);
  background-color: var(--brand-red);
  opacity: 0.4;
  z-index: 0;
}

.flow-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  width: 100%;
  position: relative;
  z-index: 10;
  transition: box-shadow 0.3s;
}

.flow-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.flow-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.625rem;
  color: #1f2937;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 0.25rem;
}

.flow-title-text {
  display: inline-flex;
  align-items: flex-start;
}
.flow-icon {
  width: auto;
  height: 24px;
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.flow-badge {
  font-size: 0.625rem;
  background-color: var(--brand-light);
  color: var(--brand-red);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #E5DBD3;
  font-weight: bold;
  white-space: nowrap;
  margin-left: 1em;
}
.flow-badge i {
  margin-right: 4px;
}
.flow-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.625;
  /* leading-relaxed */
}

@media (min-width: 768px) {
  .flow-list {
    gap: 3rem;
  }

  .flow-desc {
    font-size: 0.875rem;
    padding-left: 2.75rem;
  }
}

/* ==================================================
   お客様の声 (Voice)
================================================== */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1024px;
  margin: 0 auto;
}

.voice-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.voice-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.voice-img-wrap {
  height: 12rem;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.voice-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.625rem;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
  border-top-right-radius: 0.375rem;
}

.voice-tag i {
  color: var(--brand-red);
  margin-right: 0.25rem;
}

.voice-period {
  margin-bottom: 1rem;
}

.voice-period span {
  background-color: var(--brand-red);
  color: white;
  font-size: 0.625rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  font-weight: bold;
}

.voice-text {
  color: #374151;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.625;
  /* leading-relaxed */
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.voice-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.voice-profile img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.voice-name {
  font-weight: bold;
  font-size: 0.875rem;
  color: #1f2937;
}

.voice-family {
  font-size: 0.625rem;
  color: #6b7280;
  font-weight: 500;
}

.voice-results {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
}

.results-box {
  display: inline-block;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border-red);
}

.results-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  /* leading-tight */
}

.results-number span {
  font-size: 3rem;
  color: var(--brand-red);
  line-height: 1;
}

.results-number .unit {
  font-size: 1.5rem;
  font-weight: bold;
}

.results-note {
  font-size: 0.625rem;
  color: #6b7280;
  font-weight: 500;
}

.results-note span {
  display: block;
  margin-right: 0.75rem;
}

@media (min-width: 768px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-text {
    font-size: 0.875rem;
  }

  .results-number {
    font-size: 2.25rem;
  }

  .results-number span {
    font-size: 3.75rem;
  }

  .results-note {
    font-size: 0.75rem;
  }
}

/* ==================================================
   FAQ
================================================== */
.faq-list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: bold;
  color: #1f2937;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  transition: background-color 0.3s;
  font-family: inherit;
}

.accordion-header:hover {
  background-color: var(--brand-light);
}

.faq-q {
  display: flex;
  align-items: center;
}

.faq-q span {
  color: var(--brand-red);
  font-size: 1.125rem;
  margin-right: 0.75rem;
  line-height: 1;
}

.accordion-icon {
  color: #9ca3af;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.accordion-icon.active {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background-color: var(--brand-light);
  padding: 0 1.5rem;
}

.accordion-content.active {
  max-height: 500px;
}

.faq-a {
  padding: 1rem 0;
  border-top: 1px solid var(--border-red);
  display: flex;
  align-items: flex-start;
  font-size: 0.75rem;
  color: #374151;
}

.faq-a span {
  color: var(--brand-red);
  font-weight: bold;
  font-size: 1.125rem;
  margin-right: 0.75rem;
  line-height: 1;
  margin-top: 0.125rem;
}

.faq-a p {
  line-height: 1.625;
}

@media (min-width: 640px) {
  .accordion-header {
    font-size: 1rem;
  }

  .faq-a {
    font-size: 0.875rem;
  }
}

/* ==================================================
   お問い合わせ (Contact)
================================================== */
.contact-wrapper {
  max-width: 768px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-top: 12px solid var(--brand-red);
  overflow: hidden;
}

.contact-header {
  padding: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.25;
  /* leading-tight */
}

.contact-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.625;
  /* leading-relaxed */
  max-width: 42rem;
  margin-bottom: 0.5rem;
}

.required-note {
  color: var(--brand-red);
  font-size: 0.6875rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* .contact-body {
  padding: 0 2rem 2rem;
} */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  color: #374151;
  margin-bottom: 0.625rem;
}

.form-group label .required {
  color: var(--brand-red);
}

.form-group label .optional {
  color: #9ca3af;
  font-weight: normal;
  font-size: 0.6875rem;
  margin-left: 0.5rem;
}

.input-wrap {
  position: relative;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: var(--bg-gray);
  border: none;
  border-bottom: 2px solid #d1d5db;
  border-radius: 0.5rem 0.5rem 0 0;
  font-size: 0.875rem;
  color: #374151;
  transition: background-color 0.3s;
  font-family: inherit;
}

.input-wrap textarea {
  line-height: 1.625;
  /* leading-relaxed */
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  outline: none;
  background-color: #ffffff;
}

.input-wrap select {
  appearance: none;
  cursor: pointer;
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #374151;
  font-size: 0.75rem;
  pointer-events: none;
}

/* フォーカス時のアニメーションボーダー */
.focus-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--brand-red);
  transition: 0.3s;
}

.input-wrap input:focus~.focus-border,
.input-wrap select:focus~.focus-border,
.input-wrap textarea:focus~.focus-border {
  width: 100%;
  left: 0;
}

.form-submit {
  padding-top: 1.5rem;
}

.btn-submit {
  background-color: var(--brand-red);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 0.875rem 3.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background-color 0.3s;
  font-family: inherit;
}

.btn-submit:hover {
  background-color: var(--brand-dark);
}

.btn-submit:active {
  transform: scale(0.95);
}

@media (min-width: 768px) {
  .contact-header {
    padding: 2.75rem;
  }

  .contact-title {
    font-size: 1.875rem;
  }

  .contact-desc {
    font-size: 0.875rem;
  }

  /* .contact-body {
    padding: 0 2.75rem 2.75rem;
  } */

  .contact-form {
    gap: 2.25rem;
  }
}
/* ==================================================
   実績一覧テーブル
================================================== */
.achievements-table-wrap {
  margin-top: 2rem;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}
.achievements-table-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.achievements-table-wrap::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0.5rem;
}
.achievements-table-wrap::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 0.5rem;
}

.achievements-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  text-align: center;
  font-size: 0.8125rem;
}

.achievements-table th {
  background-color: #f3f4f6;
  color: #374151;
  font-weight: bold;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  position: sticky;
  top: -1px; /* 1px gap fix */
  z-index: 10;
  background-clip: padding-box; /* Prevent background bleeding */
}

.achievements-table td {
  padding: 1rem 0.75rem;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  vertical-align: middle;
}

.achievements-table td .price-number {
  font-size: 1.125rem;
  font-weight: bold;
  color: #1f2937;
}

.achievements-table td .price-unit {
  display: block;
  font-size: 0.75rem;
  margin-top: 2px;
  color: #6b7280;
}

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

@media (min-width: 768px) {
  .achievements-table {
    font-size: 0.875rem;
  }
}

/* ==================================================
   [2026-09-28 追加] クライアント要望対応
   ①スクロールに気づきにくい → スクロールバーを太く・赤色にし、
     下端フェード＋「スクロールできます」バッジで目立たせる
   ②スマホで見づらい → 768px未満はテーブルをやめ、
     1件＝1カードの縦並び（すまいステップ形式）に変更
   HTMLは無編集。列の並び順（物件種別/沿線駅/所在地/価格/面積/間取り/築年/時期）に
   対応させて nth-child でラベルを疑似要素として付与している。
================================================== */

.achievements-table-wrap {
  position: relative;
  scrollbar-width: auto;
  scrollbar-color: var(--brand-red) #f1f5f9;
  /* 下端をフェードさせ「まだ続きがある」ことを示す */
  mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent 100%);
}
.achievements-table-wrap::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}
.achievements-table-wrap::-webkit-scrollbar-thumb {
  background-color: var(--brand-red);
  border-radius: 0.5rem;
  border: 2px solid #f1f5f9;
}

/* 「スクロールできます」ヒントバッジ
   バッジ自体の高さ分だけ完全に上へ逃がすため、top:0 + translateYで
   「自身の高さ＋8px」を必ず確保する（固定px指定だと高さが変わった際に
   表のヘッダー行に埋もれてしまうため） */
.achievements-table-wrap::before {
  content: "↕ スクロールしてご覧いただけます";
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-100%) translateY(-8px);
  background-color: var(--brand-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 20;
  white-space: nowrap;
  animation: scrollHintBounce 1.6s ease-in-out infinite;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* スマホ：テーブル→カード形式に変更 */
@media screen and (max-width: 767px) {
  .achievements-table-wrap {
    overflow-x: hidden;
    padding: 0.75rem;
  }
  .achievements-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  .achievements-table thead {
    display: none;
  }
  .achievements-table tbody tr {
    display: flex;
    flex-direction: column;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
  }
  .achievements-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .achievements-table td {
    display: block;
    border: none;
    padding: 0.25rem 0;
    text-align: left;
    font-size: 0.8125rem;
  }
  /* 売却価格をカード先頭に大きく表示 */
  .achievements-table td:nth-child(4) {
    order: -1;
    padding-bottom: 0.625rem;
    margin-bottom: 0.375rem;
    border-bottom: 1px solid #f3f4f6;
  }
  .achievements-table td:nth-child(4) {
    display: flex;
    align-items: baseline;
  }
  .achievements-table td:nth-child(4) .price-number {
    font-size: 1.5rem;
    color: var(--brand-red);
  }
  /* 元CSSの display:block（PC表での縦積み用）をカードでは無効化し、
     価格と単位を同じ行に並べる */
  .achievements-table td:nth-child(4) .price-unit {
    display: inline;
    margin-top: 0;
    margin-left: 0.25em;
  }
  /* 各項目にラベルを付与（列の並び順に対応、価格欄は対象外） */
  .achievements-table td:not(:nth-child(4))::before {
    font-weight: bold;
    color: #374151;
    margin-right: 0.4em;
  }
  .achievements-table td:nth-child(1)::before { content: "物件種別："; }
  .achievements-table td:nth-child(2)::before { content: "沿線・駅："; }
  .achievements-table td:nth-child(3)::before { content: "所在地："; }
  .achievements-table td:nth-child(6)::before { content: "間取り："; }
  .achievements-table td:nth-child(7)::before { content: "築年："; }
  .achievements-table td:nth-child(8)::before { content: "売却時期："; }

  /* 面積欄（5列目）：土地面積／建物・専有面積を2行に分けてラベル表示
     値の中身（「-/-」等の組み合わせ表記）は変更していない。
     他の行（tdごとに上下0.25rem余白）と縦のリズムを揃えるため、
     td自体の余白は0にし、spanそれぞれに同じ余白を持たせる */
  .achievements-table td:nth-child(5) {
    padding-top: 0;
    padding-bottom: 0;
  }
  .achievements-table td:nth-child(5) .land-area,
  .achievements-table td:nth-child(5) .building-area {
    display: block;
    padding: 0.25rem 0;
  }
  .achievements-table td:nth-child(5) .land-area::before {
    content: "土地面積：";
    font-weight: bold;
    color: #374151;
    margin-right: 0.4em;
  }
  .achievements-table td:nth-child(5) .building-area::before {
    content: "建物／専有面積：";
    font-weight: bold;
    color: #374151;
    margin-right: 0.4em;
  }
  .achievements-table td:nth-child(5) br {
    display: none;
  }
}

/* ==================================================
   フッター
================================================== */
.site-footer {
  background-color: #ffffff;
  color: #1f2937;
  padding: 3rem 0 0;
  border-top: 1px solid #e5e7eb;
}

.footer-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .footer-content-wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }
}

/* Left part */
.footer-left {
  flex: 0 0 auto;
}
@media (min-width: 1024px) {
  .footer-left {
    margin-top: 1.25rem;
  }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem; /* [2026-10-20 変更] 0.5rem → 1rem（見出しとのメリハリ） */
}
.footer-logo img {
  height: 2.5rem;
  width: auto;
}
/* [2026-10-20 追加] 仙台支店・仙台北店の2拠点を並べる（SPは縦積み、タブレット以上は横並び） */
.footer-branches {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .footer-branches {
    flex-direction: row;
    gap: 2rem;
  }
}
/* [2026-10-20 変更] 見出しにメリハリを付与（ブランドカラーの縦線・サイズUP・住所との余白を縮小） */
.footer-branch {
  font-size: 1rem;
  font-weight: bold;
  color: #1f2937;
  line-height: 1.2;
  padding-left: 0.5rem;
  border-left: 3px solid var(--brand-red);
  margin-bottom: 0.625rem;
}
.footer-address {
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 0;
}
/* [2026-10-22 追加] 仙台支店と仙台北店を横並びにしたとき、住所の行数をそろえる（SPは縦積みなので非表示） */
.footer-addr-spacer {
  display: none;
}
@media (min-width: 768px) {
  .footer-addr-spacer {
    display: block;
    height: 1.8em;
  }
}
.footer-address p {
  margin: 0;
}
/* Telephone link styles */
.tel-link {
  color: inherit;
  text-decoration: none;
  pointer-events: none; /* Disable click on PC */
}
@media (max-width: 1023px) {
  .tel-link {
    pointer-events: auto; /* Enable click on mobile */
  }
}

.footer-privacy a {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: none;
}
.footer-privacy a:hover {
  text-decoration: underline;
}


/* Middle & Right Wrapper for mobile side-by-side */
.footer-message-area {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .footer-message-area {
    gap: 1.5rem;
    flex: 1 1 0; /* [2026-10-20 追加] 拠点が増えた分、吹き出し側を縮めて収める */
    min-width: 0;
  }
}

/* Middle part */
.footer-middle {
  flex: 1;
  position: relative;
}
.footer-message-box {
  border: none;
  border-radius: 0.5rem;
  padding: 1.25rem;
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.6;
  position: relative;
  background: #f3f4f6;
}
.footer-message-box p {
  margin-bottom: 1rem;
}
.footer-message-box p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .footer-message-box {
    padding: 1.75rem;
    font-size: 0.875rem;
    line-height: 1.8;
  }
}

/* 吹き出しの矢印（全画面共通） */
.footer-message-box::after {
  content: '';
  position: absolute;
  top: 35px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent #f3f4f6;
  right: -8px;
}

@media (min-width: 768px) {
  .footer-message-box::after {
    top: 60px;
  }
}

@media (min-width: 1024px) {
  .footer-message-box::after {
    border-width: 10px 0 10px 10px;
    right: -10px;
  }
}

/* Right part */
.footer-right {
  flex: 0 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-manager-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f3f4f6;
  margin-bottom: 0.5rem;
}
.footer-manager-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-manager-name {
  font-size: 0.75rem;
  font-weight: bold;
  color: #374151;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .footer-manager-img {
    width: 120px;
    height: 120px;
    margin-bottom: 0.75rem;
  }
  .footer-manager-name {
    font-size: 0.9375rem;
  }
}

/* Bottom Copy */
.footer-copy {
  padding: 1.5rem 0;
  border-top: 1px solid #f3f4f6;
  color: #9ca3af;
  font-size: 0.625rem;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 768px) {
  #strength .section-header {
    margin-bottom: 6rem;
    /* md:mb-24 */
  }

  #flow .section-header,
  #voice .section-header {
    margin-bottom: 5rem;
    /* md:mb-20 */
  }
}


.btn-large:hover,
.btn-cta:hover {
  transform: translateY(-0.25rem);
  /* hover:-translate-y-1 (4px) */
}

.btn-header:hover {
  transform: translateY(-0.125rem);
  /* hover:-translate-y-0.5 (2px) */
}


.flow-line {
  width: 0.5px;
  /* w-[0.5px] */
}


@media (min-width: 640px) {
  .flow-desc {
    font-size: 0.875rem;
    /* sm:text-sm */
  }
}

@media (min-width: 1024px) {
  .method-desc {
    font-size: 0.75rem;
    /* lg:text-xs */
  }
}

.voice-img-wrap {
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  /* shadow-inner */
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: #9ca3af;
  /* placeholder-gray-400 */
}


/* for tsuchiya */
.strength-img-inner{
  width: 100%;
}
.strength-img .strength-logo{
  max-width: 320px;
  border: none;
  box-shadow: none;
  margin:0 auto 10px;
}
.strength-img .strength-img01{
  background-color: #F4F0ED;
}


/* ==================================================
   サンクスページ (Thank You Page)
================================================== */
.thankyou-container {
  padding: 120px 0 80px; /* ヘッダーとの重なりを防ぐ余白 */
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-box {
  max-width: 600px;
  width: 95%;
  background: #ffffff;
  padding: 4rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.check-icon {
  font-size: 4rem;
  color: var(--brand-red); /* 変数を利用[cite: 2] */
  margin-bottom: 1.5rem;
}

.thankyou-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #1f2937;
}

.thankyou-text {
  color: var(--text-muted); /* 変数を利用[cite: 2] */
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
}

@media screen and (max-width: 640px) {
  .thankyou-title {
    font-size: 1.5rem;
  }
}