/* ==========================================================
   front.css — TOPページ（front-page.php）専用スタイル
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600;700;800&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

.front-wrap{max-width:1200px;margin:0 auto;padding:0 24px;width:100%;}

/* ===== ヒーロー ===== */
.hero-mv{
  position:relative;
  /*aspect-ratio:1774/887; /* 実際のメインビジュアル画像の比率（約2:1）に合わせる */
  min-height:500px;
  max-height:620px;
  background-color:var(--cream);overflow:hidden;
  display:flex;align-items:center;
}
.hero-mv img.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;}
.hero-mv-inner{position:relative;z-index:1;/*max-width:500px;*/}
.hero-eyebrow{font-size:14px;font-weight:700;color:var(--navy);margin-bottom:10px;}
.hero-title{
  font-family:'Noto Serif JP',serif;font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--navy);
  line-height:1.5;margin-bottom:22px;white-space:pre-line;
}

.hero-title{
    text-shadow:
      0 0 6px rgba(247,244,238,.9),
      0 0 6px rgba(247,244,238,.9),
      1px 1px 0 rgba(247,244,238,.7);
  }
  .hero-eyebrow{
    text-shadow:
      0 0 5px rgba(247,244,238,.9),
      0 0 5px rgba(247,244,238,.9);
  }

.hero-badges{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:28px;}
.hero-badge{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:150px;width: 100px;
    text-align: center;}
.hero-badge .ic{
  width:44px;height:44px;border-radius:50%;background:#fff;border:1.5px solid var(--gold);
  display:flex;align-items:center;justify-content:center;color:var(--gold-dark);    margin-right: auto;margin-left: auto;
}
.hero-badge .ic svg{width:20px;height:20px;}
.hero-badge .t{font-size:12px;color:var(--navy);font-weight:600;line-height:1.5;font-family: 'Noto Serif JP', serif;font-weight: bold;}
.hero-cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-start;}
.hero-cta-tel{
  background:#fff;border:1px solid var(--border);border-radius:8px;padding: 5px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: solid 2px #d1b995;
    min-height: 80px;
    gap: 3px;
}
.hero-cta-tel .lbl{font-size:11px;color:var(--muted);color: #b69366;
    font-weight: bold;}
.hero-cta-tel .num{font-size:20px;font-weight:700;color:var(--navy);display: flex;
    align-items: center;gap:6px;
    margin: -6px 0;}

.hero-cta-tel .num img{font-size:20px;font-weight:700;color:var(--navy);display: flex;
    align-items: center;width: 20px;
    height: 20px;}

.hero-cta-tel .hours{font-size:10.5px;color: var(--navy);}

@media screen and (max-width: 860px) {
	.hero-badges {
		gap: 5%;
	}
	
	.hero-badge {
		width: 30%;
	}
	
	.hero-badge .t {
		text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	}
	
	.hero-cta-tel {
		min-width: 217px;
	}
}

@media (max-width:700px){
  .hero-mv{
    aspect-ratio:auto;
    min-height:0;
    max-height:none;
    padding:36px 0;
  }
  .hero-mv-inner{max-width:100%;}
  .hero-title{
  text-shadow:
    0 0 4px rgba(247,244,238,1),
    0 0 8px rgba(247,244,238,1),
    0 0 12px rgba(247,244,238,.9),
    0 0 16px rgba(247,244,238,.8);
}
.hero-eyebrow{
  text-shadow:
    0 0 4px rgba(247,244,238,1),
    0 0 7px rgba(247,244,238,1),
    0 0 10px rgba(247,244,238,.85);
}
}

/* ===== セクション共通 ===== */
.front-section{padding:64px 0;}
.front-section.alt{background:var(--cream);}
.section-eyebrow{text-align:center;font-size:13px;font-weight:700;color:var(--gold-dark);margin-bottom:10px;}
.section-heading{
  font-family:'Noto Serif JP',serif;font-size:clamp(20px,2.6vw,28px);font-weight:700;color:var(--navy);
  text-align:center;line-height:1.6;white-space:pre-line;margin-bottom:14px;
}
.section-subtext{text-align:center;font-size:13.5px;color:var(--muted);margin-bottom:40px;}

/* ===== サービス3カード ===== */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:820px){.service-grid{grid-template-columns:1fr;}}
.service-card{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff;}
.service-head{background:var(--navy);color:#fff;padding:16px 20px;display:flex;align-items:center;gap:10px; background-color: #061e3b;justify-content: center;flex-wrap: wrap;}
.service-head .ic{display:flex;align-items:center;} .service-head .ic svg{width:18px;height:18px;}
.service-head .ic img {
	width: 30px !important;
	height: 30px !important;
}
.service-head .t{font-family:'Noto Serif JP',serif;font-size:16px;font-weight:700;font-size: 20px;}

.service-head .service-head-row {
	width: 100%;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.service-head .tagline {
	width: 100%;
    font-family: 'Noto Serif JP', serif;
    text-align: center;
    font-size: 14px;
    margin-top: -5px;
}

.service-photo{height:170px;overflow:hidden;background:linear-gradient(135deg,var(--cream),#eee5d2);display:flex;align-items:center;justify-content:center;font-size:32px;color:var(--gold-dark);}
.service-photo img{width:100%;height:100%;object-fit:cover;}
.service-body{padding:18px 20px 22px;}
.service-body p{font-size:12.5px;color:var(--muted);margin-bottom:16px;line-height:1.8;}
.service-more{display:inline-block;width:100%;text-align:center;border:1px solid var(--navy);color:var(--navy);padding:9px;border-radius:6px;font-size:12.5px;font-weight:700;}

/* ===== お悩みサポート ===== */
.worry-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;}
@media (max-width:900px){.worry-grid{grid-template-columns:repeat(4,1fr);}}
@media (max-width:560px){.worry-grid{grid-template-columns:repeat(2,1fr);}}
.worry-item{
  border:1px solid var(--border);border-radius:8px;padding: 22px 10px 10px;text-align:center;background:#fff;
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.worry-item .ic{color:var(--navy); height:40px;} .worry-item .ic svg{width:40px;height:40px;}
.worry-item .t{font-size:11.5px;font-weight:600;color:var(--navy);}
.worry-item.more{background:var(--cream);}
.worry-item.more .t{color:var(--gold-dark);}

/* ===== 選ばれる理由（ボックス+統計） ===== */
.reason-flex{display:grid;grid-template-columns:280px 1fr;gap:24px;}
@media (max-width:820px){.reason-flex{grid-template-columns:1fr;}}
.reason-box{background:var(--navy);color:#fff;border-radius:10px;padding:28px;display:flex;flex-direction:column;justify-content:center;}
.reason-box .tag{font-size:12px;color:var(--gold);font-weight:700;margin-bottom:6px;}
.reason-box h3{font-family:'Noto Serif JP',serif;font-size:20px;font-weight:800;margin-bottom:14px;}
.reason-box p{font-size:12.5px;color:#d8dbe6;line-height:1.8;margin-bottom:20px;}
.reason-box a.more{display:inline-block;background:#fff;color:var(--navy);padding:9px 20px;border-radius:6px;font-size:12.5px;font-weight:700;align-self:flex-start;}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
@media (max-width:700px){.stat-grid{grid-template-columns:1fr 1fr;}}
.stat-item{text-align:center;padding: 30px 10px 6px;}
.stat-item .ic{color:var(--gold-dark);margin-bottom:10px;display:flex;justify-content:center;} .stat-item .ic svg{width: 52px;
    height: 52px;}
.stat-item h4{font-size:14px;color:var(--navy);font-weight:bold;margin-bottom:8px;}
.stat-item p{font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 700;}

.stat-photo{
  width:100%;
  height:90px;
  border-radius:8px;
  margin-bottom:10px;
  background-color:var(--cream);
}

/* ===== ご利用の流れ ===== */
.step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative;}
@media (max-width:820px){.step-grid{grid-template-columns:1fr 1fr;}}
.step-item{border:1px solid var(--border);border-radius:10px;padding:20px;background:#fff;text-align:center;position:relative;}
.step-num{
  width:28px;height:28px;border-radius:50%;background:var(--navy);color:#fff;font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;margin:0 auto 12px;
}
.step-item .ic{color:var(--gold-dark);margin-bottom:8px;display:flex;justify-content:center;} .step-item .ic svg{width:22px;height:22px;}
.step-item h4{font-size: 14px;
    color: var(--navy);
    font-weight: bold;
margin-bottom: 4px;}
.step-item p{font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 700;}

/* ステップ間の矢印（カード右端の外側中央に配置） */
.step-arrow{
  position:absolute;top:50%;right:-27px;transform:translateY(-50%);
  width:22px;height:22px;border-radius:50%;background:var(--cream);border:1.5px solid var(--gold);
  display:flex;align-items:center;justify-content:center;color:var(--gold-dark);z-index:2;
}
@media (max-width:820px){
  .step-arrow{display:none;} /* 2カラムに折り返す幅では矢印を非表示 */
}

/* ===== 買取事例（横スライド＋矢印ボタン） ===== */
.case-scroll-wrap{position:relative;display:flex;align-items:center;gap:10px;}
.case-scroll{
  display:flex;gap:14px;overflow-x:auto;padding-bottom:10px;scroll-behavior:smooth;
  flex:1;min-width:0; /* flex子要素でoverflow-xを効かせるために必要 */
  scrollbar-width:none; /* Firefox */
}
.case-scroll::-webkit-scrollbar{display:none;} /* Chrome / Safari */
.case-scroll-item{
  flex:0 0 150px;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff;text-decoration:none;
}
.case-scroll-thumb{height:110px;background:linear-gradient(135deg,var(--cream),#eee5d2);display:flex;align-items:center;justify-content:center;font-size:24px;color:var(--gold-dark);overflow:hidden;}
.case-scroll-thumb img{width:100%;height:100%;object-fit:cover;}
.case-scroll-body{padding:10px 12px;}
.case-scroll-body .t{font-size:12px;font-weight:700;color:var(--navy);margin-bottom:6px;}
.case-scroll-body .p{font-size:14px;font-weight:800;color:var(--orange);}
.case-more-link{display:block;text-align:center;margin-top:20px;font-size:13px;color:var(--gold-dark);font-weight:700;}

.case-scroll-btn{
  flex-shrink:0;width:38px;height:38px;border-radius:50%;
  background:#fff;border:1.5px solid var(--gold);color:var(--gold-dark);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .2s, color .2s;
}
.case-scroll-btn:hover{background:var(--navy);border-color:var(--navy);color:#fff;}
@media (max-width:560px){
  .case-scroll-btn{width:32px;height:32px;}
  .case-scroll-btn svg{width:15px;height:15px;}
}

/* スマホ幅では、テキストが画像に埋もれないよう縦長比率をやめて
   固定の高さ＋パディングに切り替える（画像は右寄りに表示されたまま） */
@media (max-width:700px){
  .hero-mv{
    aspect-ratio:auto;
    min-height:0;
    max-height:none;
    padding:36px 0;
  }
  .hero-mv-inner{max-width:100%;}
}
