/* Service Page Styles */

/* CSS Variables (inherited from style.css but defined here for safety) */
:root {
    --navy: #1a2744;
    --navy-dark: #0f1a2e;
    --navy-light: #2a3a5c;
    --gray: #6b7280;
    --gray-light: #f8f9fa;
    --white: #ffffff;
    --accent: #c9a961;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-number: 'Noto Serif JP', serif;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.page-hero::after {
    content: 'SERVICE';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Noto Serif JP', serif;
    font-size: 180px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 20px;
    pointer-events: none;
    white-space: nowrap;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.page-hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Lead Section */
.section-lead {
    padding: 120px 60px;
    background-color: var(--white);
}

.lead-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 32px;
    font-weight: 500;
    line-height: 2;
    color: var(--navy);
    margin-bottom: 40px;
}

.lead-description {
    font-size: 15px;
    line-height: 2.2;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Overview */
.section-overview {
    padding: 100px 60px;
    background-color: var(--gray-light);
}

.overview-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--navy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.section-title-ja {
    font-size: 13px;
    color: var(--gray);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(26, 39, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 39, 68, 0.15);
}

.service-card-header {
    background: var(--navy);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.service-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.service-card-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 15px;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card-icon i {
    font-size: 24px;
    color: var(--white);
}

.service-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
}

.service-card-body {
    padding: 35px 30px;
}

.service-card-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--gray);
    margin-bottom: 25px;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-list li {
    font-size: 13px;
    color: var(--navy);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card-list li:last-child {
    border-bottom: none;
}

.service-card-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Target Section */
.section-target {
    padding: 120px 60px;
    background-color: var(--white);
}

.target-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.target-column {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 50px 40px;
}

.target-column-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--navy);
}

.target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.target-list li {
    font-size: 14px;
    color: var(--navy);
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.8;
}

.target-list li:last-child {
    border-bottom: none;
}

.target-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Process Section */
.section-process {
    padding: 120px 60px;
    background-color: var(--navy);
    position: relative;
    overflow: hidden;
}

.section-process::after {
    content: 'PROCESS';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Noto Serif JP', serif;
    font-size: 160px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 15px;
    pointer-events: none;
    white-space: nowrap;
}

.process-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header-light .section-title,
.section-header-light .section-title-ja {
    color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 80px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    color: var(--navy);
    position: relative;
    z-index: 2;
}

.process-step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.process-step-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Note Section */
.section-note {
    padding: 100px 60px;
    background-color: var(--gray-light);
}

.note-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.note-box {
    background: var(--white);
    border-radius: 12px;
    padding: 50px;
    border-left: 4px solid var(--accent);
}

.note-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}

.note-text {
    font-size: 14px;
    line-height: 2;
    color: var(--gray);
}

/* CTA Section */
.section-cta {
    padding: 100px 60px;
    background-color: var(--white);
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-text {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid var(--navy);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-hero::after {
        font-size: 120px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .target-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-hero::after {
        font-size: 60px;
        letter-spacing: 8px;
    }
    
    .page-hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .section-lead,
    .section-overview,
    .section-target,
    .section-process,
    .section-note,
    .section-cta {
        padding: 80px 20px;
    }
    
    .lead-text {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .service-card-header {
        padding: 30px 25px;
    }
    
    .service-card-body {
        padding: 25px;
    }
    
    .target-column {
        padding: 30px 25px;
    }
    
    .note-box {
        padding: 30px 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
}

/* =====================================================
   Service List Page Specific Styles
   ===================================================== */

/* Page Hero Label */
.page-hero-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Service Lead */
.service-lead {
    padding: 100px 60px;
    background-color: var(--white);
}

.service-lead-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-lead-text {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--navy);
    margin-bottom: 30px;
}

.service-lead-text span {
    color: var(--accent);
}

.service-lead-sub {
    font-size: 15px;
    line-height: 2;
    color: var(--gray);
}

.sp-only {
    display: none;
}

/* Service Overview */
.service-overview {
    padding: 60px;
    background-color: var(--gray-light);
}

.service-overview-inner {
    max-width: 600px;
    margin: 0 auto;
}

.overview-visual {
    position: relative;
    height: 450px;
    max-width: 520px;
    margin: 0 auto;
}

.overview-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.overview-center-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

.overview-items {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.overview-item {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 20px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 39, 68, 0.08);
    min-width: 130px;
    z-index: 3;
}

.overview-item-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.overview-item-2 {
    bottom: 0;
    left: 30px;
}

.overview-item-3 {
    bottom: 0;
    right: 30px;
}

.overview-item-num {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.overview-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.6;
}

.overview-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.overview-svg {
    width: 100%;
    height: 100%;
}

/* Service Section */
.service-section {
    padding: 100px 60px;
}

.service-section-01 {
    background-color: var(--white);
}

.service-section-02 {
    background-color: var(--gray-light);
}

.service-section-03 {
    background-color: var(--white);
}

.service-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.service-section-header {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.service-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 72px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    opacity: 0.15;
}

.service-title-wrap {
    flex: 1;
}

.service-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.service-title-en {
    font-family: 'Noto Serif JP', serif;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--accent);
}

.service-section-content {
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
}

.service-section-content-reverse {
    flex-direction: row-reverse;
}

.service-section-text {
    flex: 1;
}

.service-catch {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--navy);
    margin-bottom: 25px;
}

.service-desc {
    font-size: 14px;
    line-height: 2.2;
    color: var(--gray);
    margin-bottom: 30px;
}

.service-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-keyword {
    font-size: 12px;
    color: var(--navy);
    background: var(--gray-light);
    padding: 8px 16px;
    border-radius: 4px;
}

.service-section-02 .service-keyword {
    background: var(--white);
}

.service-section-image {
    width: 400px;
    flex-shrink: 0;
}

.service-image {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.service-image-01 {
    background-image: url('https://images.pexels.com/photos/7651922/pexels-photo-7651922.jpeg?auto=compress&cs=tinysrgb&w=600');
}

.service-image-02 {
    background-image: url('../images/service/service-02.jpg');
}

.service-image-03 {
    background-image: url('../images/service/service-03.jpg');
}

.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-feature {
    text-align: center;
    padding: 30px 20px;
    background: var(--gray-light);
    border-radius: 8px;
}

.service-section-02 .service-feature {
    background: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.service-feature h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-feature p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 14px 28px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: var(--navy-dark);
    transform: translateX(5px);
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(3px);
}

/* Service Flow */
.service-flow {
    padding: 100px 60px;
    background-color: var(--navy);
}

.service-flow-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.service-flow .section-header {
    margin-bottom: 60px;
}

.service-flow .section-title,
.service-flow .section-title-ja {
    color: var(--white);
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
}

.flow-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
}

.flow-step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    color: var(--navy);
}

.flow-step-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.flow-step-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.flow-arrow {
    display: flex;
    align-items: center;
    padding-top: 15px;
    color: rgba(255, 255, 255, 0.3);
}

.flow-link-wrap {
    text-align: center;
    margin-top: 50px;
}

.flow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.flow-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.flow-link svg {
    transition: transform 0.3s ease;
}

.flow-link:hover svg {
    transform: translateX(3px);
}

/* Service FAQ */
.service-faq {
    padding: 100px 60px;
    background-color: var(--gray-light);
}

.service-faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 60px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question,
.faq-answer {
    display: flex;
    gap: 20px;
}

.faq-question {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-q,
.faq-a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    flex-shrink: 0;
}

.faq-q {
    background: var(--navy);
    color: var(--white);
}

.faq-a {
    background: var(--accent);
    color: var(--white);
}

.faq-question p {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.8;
    padding-top: 4px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--gray);
    line-height: 2;
    padding-top: 4px;
}

/* Service CTA */
.service-cta {
    padding: 100px 60px;
    background-color: var(--white);
}

.service-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-lead {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}

.service-cta .cta-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 40px;
}

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

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
}

/* Responsive for Service List Page */
@media (max-width: 1024px) {
    .service-section-content {
        flex-direction: column;
    }
    
    .service-section-content-reverse {
        flex-direction: column;
    }
    
    .service-section-image {
        width: 100%;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .flow-step {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .service-lead {
        padding: 80px 20px;
    }
    
    .service-lead-text {
        font-size: 24px;
    }
    
    .service-overview {
        padding: 40px 20px;
    }
    
    .overview-visual {
        height: 350px;
    }
    
    .overview-center {
        width: 100px;
        height: 100px;
    }
    
    .overview-center-label {
        font-size: 11px;
    }
    
    .overview-item {
        padding: 15px 12px;
        min-width: 100px;
    }
    
    .overview-item-name {
        font-size: 11px;
    }
    
    .service-section {
        padding: 80px 20px;
    }
    
    .service-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .service-number {
        font-size: 48px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .service-catch {
        font-size: 20px;
    }
    
    .service-flow,
    .service-faq,
    .service-cta {
        padding: 80px 20px;
    }
    
    .service-cta .cta-buttons {
        flex-direction: column;
    }
    
    .sp-only {
        display: inline;
    }
}
