* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 20px;
    color: #333;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #E31E60;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #E31E60;
}

.btn-line-header {
    background: #E31E60;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-line-header:hover {
    background: #c71850;
    color: white;
}

.btn-tel-header {
    background: transparent;
    color: #333;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-tel-header:hover {
    border-color: #E31E60;
    color: #E31E60;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

/* 暗幕（文字を読みやすく） */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
    pointer-events: none;
}

/* スライダーの枠 */
.hero-content {
    position: relative;
    width: 100%;
}

/* ---- フェードスライドショー ---- */
/* スライドを全部重ねてopacityで切り替える */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}

/* activeだけ前面に */
.hero-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* 画像 */
.hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

/* ===== スライドショーの上に重ねる文字 ===== */
.hero-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;     /* 上下中央 */
    justify-content: center; /* 左右中央 */
    text-align: center;
}

.hero-text-inner {
    max-width: 700px;
    padding: 0 20px;
}

.hero-catch {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
    /* text-shadow: 
    1px 1px 0px #000000, 
    -1px 1px 0px #000000, 
    1px -1px 0px #000000, 
    -1px -1px 0px #000000, 
    1px 0px 0px #000000, 
    0px 1px 0px #000000, 
    -1px 0px 0px #000000, 
    0px -1px 0px #000000; */
}

.hero-sub {
    font-weight:bold;
    font-size: 20px;
    color: #E31E60;
    line-height: 1.7;
    /* text-shadow: 
    0.5px 0.5px 0px #fff, 
    -0.5px 0.5px 0px #fff, 
    0.5px -0.5px 0px #fff, 
    -0.5px -0.5px 0px #fff, 
    0.5px 0px 0px #fff, 
    0px 0.5px 0px #fff, 
    -0.5px 0px 0px #fff, 
    0px -0.5px 0px #fff; */
}



/* メインコンテンツエリア */
.main-content {
    background: #fff;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* カード型コンテンツ */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.section-tag {
    display: inline-block;
    background: #fff0f5;
    color: #E31E60;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
}

.main-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ボタングループ */
.button-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #E31E60;
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(227, 30, 96, 0.3);
}

.btn-primary:hover {
    background: #c71850;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #333;
    padding: 18px 40px;
    border: 2px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #E31E60;
    color: #E31E60;
}

/* 特徴タグ */
.feature-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f8f8f8;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

/* 2カラムレイアウト */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.store-image {
    width: 100%;
    height: 400px;
    background: #2a2a2a;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.store-image::before {
    content: '今月買取強化車種';
    position: absolute;
    z-index: 1;
}

/* 選ばれる理由セクション */
.reasons-section {
    margin-top: 80px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reason-card {
    text-align: left;
}

.reason-label {
    font-size: 12px;
    color: #E31E60;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.reason-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.reason-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 買取の流れ */
.flow-section {
    margin-top: 80px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.flow-card {
    text-align: center;
    position: relative;
}

.flow-number {
    width: 60px;
    height: 60px;
    background: #E31E60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.flow-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.flow-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 買取実績 */
.results-section {
    margin-top: 80px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* result-card内に本文を追加 */
.result-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.10);
}

/* 画像がカード幅にフィットするように */
.result-card img{
  width:100%;
  height:250px;          /* height属性よりCSS優先したい場合 */
  object-fit:cover;
  display:block;
}

.result-body{
  padding:14px 14px 16px;
}

.result-title{
  font-weight:900;
  margin:0 0 4px;
}

.result-meta{
  color:#6b7280;
  font-size:13px;
  margin-bottom:10px;
}

.result-desc{
  margin:0;
  color:#111827;
  font-size:14px;
  line-height:1.75;
  overflow:hidden;
}

/* 最初は数行だけ表示（4行） */
.result-desc.is-clamped{
  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines, 4);
}

.result-more{
  margin-top:10px;
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:999px;
  padding:10px 12px;
  font-weight:800;
  cursor:pointer;
}

.result-more:hover{
  background:#f3f4f6;
}



/* CTAセクション */
.cta-section {
    background: #E31E60;
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 60px;
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: #E31E60;
    padding: 18px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 50px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-image {
        min-height: 500px;
        max-height: 700px;
    }
    
    .hero-catch {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .hero-sub {
        font-size: 14px;
    }

    .header-nav {
        display: none;
    }

    .store-image img{
        width:100%;
    }

    .two-column,
    .reasons-grid,
    .flow-grid,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-title {
        font-size: 28px;
    }

    .content-card {
        padding: 30px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }


}
