@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;700&display=swap');

:root {
    --kai-red:   #991b1b;
    --kai-navy:  #1e3a8a;
    --kai-gold:  #d97706;
    --kai-white: #ffffff;
    --kai-text:  #111827;
}

* { box-sizing: border-box; }

.sp-wrap {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--kai-text);
}

/* ---- HERO ---- */
.sp-hero {
    position: relative;
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.sp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.sp-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.sp-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--kai-white);
    padding: 0 1.5rem;
}

.sp-hero__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sp-hero__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
}

/* ---- CONTAINER ---- */
.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- SECTION ---- */
.sp-section {
    padding: 5rem 1.5rem;
}

.sp-section--gray  { background: #f9fafb; }
.sp-section--white { background: var(--kai-white); }
.sp-section--navy  { background: linear-gradient(135deg, var(--kai-navy), #1e40af); }
.sp-section--gradient { background: linear-gradient(135deg, var(--kai-red), var(--kai-navy)); }

.sp-section__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.sp-section__title--white { color: var(--kai-white); }
.sp-section__title--dark  { color: var(--kai-text); }

.sp-section__lead {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

/* ---- OVERVIEW ---- */
.sp-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-overview__text h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--kai-text);
    margin-bottom: 1.5rem;
}

.sp-overview__text p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.sp-overview__deco {
    height: 22rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.sp-overview__deco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- SERVICE CARDS ---- */
.sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-card {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.sp-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.sp-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sp-card__icon--navy  { background: rgba(30,58,138,0.1); }
.sp-card__icon--red   { background: rgba(153,27,27,0.1); }
.sp-card__icon--gold  { background: rgba(215,119,6,0.1); }

.sp-card__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--kai-text);
    margin-bottom: 0.75rem;
}

.sp-card__desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ---- BENEFITS ---- */
.sp-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sp-benefit__check {
    color: #fbbf24;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.sp-benefit__text {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    line-height: 1.7;
}

/* ---- PROCESS ---- */
.sp-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.sp-step {
    text-align: center;
    position: relative;
}

.sp-step__num {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kai-white);
    margin: 0 auto 1rem;
}

.sp-step__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--kai-text);
    margin-bottom: 0.5rem;
}

.sp-step__desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ---- CTA ---- */
.sp-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.sp-cta__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--kai-text);
    margin-bottom: 1rem;
}

.sp-cta__text {
    font-size: 1.05rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ---- BUTTON ---- */
.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sp-btn--navy  { background: var(--kai-navy); color: var(--kai-white); }
.sp-btn--navy:hover  { background: #1e40af; color: var(--kai-white); transform: translateY(-2px); }

.sp-btn--red   { background: var(--kai-red); color: var(--kai-white); }
.sp-btn--red:hover   { background: #7f1d1d; color: var(--kai-white); transform: translateY(-2px); }

.sp-btn--gold  { background: var(--kai-gold); color: var(--kai-white); }
.sp-btn--gold:hover  { background: #b45309; color: var(--kai-white); transform: translateY(-2px); }

.sp-btn--white { background: var(--kai-white); color: var(--kai-navy); }
.sp-btn--white:hover { background: #f3f4f6; transform: translateY(-2px); }

/* ---- BACK LINK ---- */
.sp-back {
    text-align: center;
    margin-top: 2rem;
}

.sp-back a {
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.sp-back a:hover { color: var(--kai-navy); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .sp-overview { grid-template-columns: 1fr; }
    .sp-overview__deco { display: none; }
    .sp-section { padding: 3rem 1rem; }
}
