/*
 * page-home.css
 * トップページ専用スタイル — プレミアムリデザイン
 * style.css のベーススタイルを上書き
 */

/* ==========================================================================
   ヒーローセクション リデザイン
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    color: white;
    text-align: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px 60px;
}

.hero-badge--premium {
    margin-bottom: 32px;
}

.hero-badge--premium span {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 40px;
}

.hero-badge--premium span::before {
    width: 28px;
    height: 1px;
    background: var(--color-secondary, #e74c3c);
}

.hero-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff6b5a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text::after {
    display: none;
}

.home-hero-subtitle {
    font-size: clamp(15px, 2.2vw, 20px);
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 1;
    font-weight: 400;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.25);
    padding: 20px 32px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    justify-content: center;
    letter-spacing: 0.02em;
}

.hero-btn-primary {
    background: var(--color-secondary, #e74c3c);
    color: white;
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(231, 76, 60, 0.45);
    color: white;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-scroll span {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    opacity: 0.5;
}

/* ==========================================================================
   会社紹介セクション リデザイン
   ========================================================================== */

.company-intro-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: #f7f8fa;
}

.company-intro-section::before {
    display: none;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.intro-text {
    padding: clamp(32px, 4vw, 48px);
    background: white;
    border-radius: 28px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.intro-text .section-header__en {
    font-size: clamp(2rem, 4vw, 3rem);
}

.intro-text .section-title {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 600;
    color: var(--color-neutral-700, #334155);
}

.intro-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-neutral-600, #475569);
    margin-bottom: 28px;
}

.company-highlights {
    list-style: none;
    margin: 24px 0 36px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: #f7f8fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    background: #eef2f7;
    transform: translateX(4px);
}

.highlight-card__header {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--color-neutral-400, #94a3b8);
}

.highlight-card__number {
    font-weight: 700;
    color: var(--color-secondary, #e74c3c);
}

.highlight-card__tag {
    font-weight: 500;
}

.highlight-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-neutral-800, #1e293b);
}

.highlight-card__description {
    font-size: 14px;
    color: var(--color-neutral-500, #64748b);
    line-height: 1.7;
}

.intro-image {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   サービスセクション リデザイン
   ========================================================================== */

.services-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: linear-gradient(160deg, #1a4a75 0%, var(--color-primary, #4A8DD1) 60%, #5b9fd9 100%);
    color: white;
}

.services-section::before {
    display: none;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: clamp(32px, 3vw, 44px);
    text-align: left;
    transition: all 0.4s ease;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-secondary, #e74c3c);
    color: white;
    border-radius: 18px;
    font-size: 26px;
    margin: 0 0 28px;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.service-card p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.service-card li {
    padding: 6px 0 6px 28px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.service-card li::before {
    top: 6px;
    font-size: 14px;
}

/* ==========================================================================
   加工実績セクション リデザイン
   ========================================================================== */

.products-showcase-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: #f7f8fa;
}

.products-showcase-section::before {
    display: none;
}

ul.works-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 0;
}

.works__item {
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    transition: all 0.35s ease;
}

.works__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.works__imgBox {
    border-radius: 20px 20px 0 0;
}

.works__arrow {
    width: 44px;
    height: 44px;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.works__subTitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-neutral-700, #334155);
    padding: 16px 20px 20px;
}

/* ==========================================================================
   設備紹介セクション リデザイン
   ========================================================================== */

.equipment-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: linear-gradient(160deg, #1a4a75 0%, var(--color-primary, #4A8DD1) 60%, #5b9fd9 100%);
}

.equipment-section::before {
    display: none;
}

.equipment-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.equipment-section .section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
}

.equipment-lead {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.equipment-metric {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-height: 110px;
    padding: var(--spacing-5);
}

.equipment-metric__value {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 700;
}

.equipment-feature {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    padding: var(--spacing-4) var(--spacing-5);
}

.equipment-feature:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.equipment-feature__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 20px;
}

.equipment-feature__title {
    font-size: 16px;
}

.equipment-feature__text {
    font-size: 14px;
}

.equipment-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    transition: transform 0.6s ease;
}

.equipment-image:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   ニュースセクション リデザイン
   ========================================================================== */

.news-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: #ffffff;
}

.news-section::before {
    display: none;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 0;
}

.news-item {
    border-radius: 20px;
    overflow: hidden;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.news-item-featured {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.news-image {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.04);
}

.news-category {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 8px;
}

.news-content {
    padding: 20px 24px 24px;
}

.news-date {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--color-neutral-400, #94a3b8);
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.news-title a {
    color: var(--color-neutral-800, #1e293b);
    text-decoration: none;
}

.news-title a:hover {
    color: var(--color-primary, #4A8DD1);
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-neutral-500, #64748b);
}

.news-read-more {
    font-family: var(--font-family-english, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-primary, #4A8DD1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.news-read-more:hover {
    gap: 12px;
    color: var(--color-primary-dark, #3a7bc8);
}

/* ==========================================================================
   CTAセクション リデザイン
   ========================================================================== */

.cta-section {
    padding: clamp(80px, 10vw, 120px) 0;
    background: linear-gradient(160deg, #1a4a75 0%, var(--color-primary, #4A8DD1) 60%, #5b9fd9 100%);
    text-align: center;
}

.cta-section::before,
.cta-section::after {
    display: none;
}

.cta-content h2 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.cta-content p {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.35s ease;
    letter-spacing: 0.02em;
}

.cta-phone {
    background: white;
    color: var(--color-primary-dark, #3a7bc8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
    color: var(--color-primary-dark, #3a7bc8);
}

.cta-contact {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.cta-contact:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: white;
}

/* ==========================================================================
   共通ボタン リデザイン
   ========================================================================== */

.home-page .btn-more {
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(74, 141, 209, 0.25);
}

.home-page .btn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 141, 209, 0.35);
}

.home-page .section-footer {
    margin-top: clamp(40px, 5vw, 64px);
}

/* ==========================================================================
   セクションヘッダー 調整
   ========================================================================== */

.home-page .section-header--premium {
    margin-bottom: clamp(48px, 6vw, 72px);
}

.home-page .section-header--premium .section-header__en {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .equipment-content {
        grid-template-columns: 1fr;
    }

    .equipment-image {
        order: -1;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 60px 20px 40px;
    }

    .hero-title {
        font-size: clamp(26px, 6vw, 42px);
        line-height: 1.35;
    }

    .hero-btn {
        padding: 16px 28px;
        font-size: 15px;
        min-width: 170px;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .intro-text {
        padding: 28px 24px;
        border-radius: 22px;
    }

    .intro-image {
        border-radius: 22px;
        order: -1;
    }

    .intro-image img {
        aspect-ratio: 16 / 9;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-radius: 20px;
        padding: 28px 24px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    ul.works-list {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .works__item {
        border-radius: 16px;
    }

    .works__subTitle {
        font-size: 14px;
        padding: 12px 16px 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .news-item {
        border-radius: 16px;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 15px;
    }

    .equipment-metric {
        min-height: 90px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(22px, 7vw, 32px);
    }

    .home-hero-subtitle {
        padding: 16px 20px;
        border-radius: 16px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        min-width: auto;
    }

    ul.works-list {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        padding: 16px 20px;
        border-radius: 14px;
    }

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

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
