/* =============================================
   style_v8.css — LP全面刷新
   3つの理由・お客様の声・テキスト整列修正
============================================= */

/* ===========================
   代表の想い：写真非表示時のPC1カラム修正
=========================== */
.story-inner {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   日本語テキスト折り返し制御（全体）
=========================== */
p, h1, h2, h3, h4, li {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* ===========================
   センタリング補正
   （inline-block span 除去後の崩れを修正）
=========================== */
.catchcopy-desc {
  text-align: center;
}

.support-card-desc {
  text-align: left;
}

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

.flow-step p {
  text-align: center;
}

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

/* ===========================
   安心サポート カード写真
=========================== */
.support-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* support-card-img のデフォルト背景を無効化 */
.support-card-img:has(.support-card-photo) {
  background: none;
  padding: 0;
  min-height: unset;
  height: auto;
  overflow: hidden;
}

/* 写真準備中バッジを非表示 */
.support-card-img:has(.support-card-photo)::after {
  content: none;
}

/* ===========================
   選ばれる3つの理由
=========================== */
.reasons-v8 {
  background: #fdf6f2;
  padding: 96px 0;
}

.reasons-grid-v8 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.reason-card-v8 {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #e8613a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card-v8:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(232, 97, 58, 0.14);
}

.reason-num-v8 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #e8613a;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.reason-title-v8 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a0a00;
  line-height: 1.6;
  margin-bottom: 14px;
}

.reason-desc-v8 {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .reasons-v8 {
    padding: 72px 0;
  }

  .reasons-grid-v8 {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .reason-card-v8 {
    padding: 28px 22px 24px;
  }
}

/* ===========================
   お客様の声
=========================== */
.voices-v8 {
  background: linear-gradient(160deg, #fff8f5 0%, #fff2eb 100%);
  padding: 96px 0;
}

.voices-grid-v8 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.voice-card-v8 {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-card-v8:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}

.voice-quote-v8 {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: #e8613a;
  opacity: 0.18;
  line-height: 0.8;
  height: 32px;
  margin-bottom: 14px;
  user-select: none;
}

.voice-text-v8 {
  font-size: 0.93rem;
  color: #333;
  line-height: 1.9;
  flex: 1;
  margin-bottom: 24px;
}

.voice-author-v8 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #f0e5dd;
}

.voice-avatar-v8 {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f5e0d0, #fce8d8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.voice-name-v8 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 3px;
}

.voice-role-v8 {
  font-size: 0.76rem;
  color: #999;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .voices-v8 {
    padding: 72px 0;
  }

  .voices-grid-v8 {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .voice-card-v8 {
    padding: 28px 22px 24px;
  }
}

/* ===========================
   フォームフィールド強化
=========================== */
.form-row input,
.form-row select,
.form-row textarea {
  border: 2px solid #e8d5c8;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #e8613a;
  box-shadow: 0 0 0 3px rgba(232, 97, 58, 0.12);
  outline: none;
}

/* ===========================
   ヘッダーロゴ拡大
=========================== */
.logo-img {
  height: 48px;
}

.header-inner {
  height: 56px;
}

/* ===========================
   フッター強化
=========================== */
.footer {
  background: #fdf6f0;
  color: #3d1f0a;
}

.footer-logo-img {
  height: 200px;
}

.footer-tagline {
  color: #7a5a47;
}

.footer-copy {
  color: #7a5a47;
  border-top-color: #e8d5c8;
}

.footer-links a {
  color: #5a3e2b;
}

.footer-links a:hover {
  color: #e8613a;
}
