@charset "UTF-8";

/* ==========================================================================
   Pattern 01: Standard Basic (王道コーポレート)
   Designer: "王道コーポレートのプロフェッショナル"
   Concept: クリーンなブルー、十分な余白、3カラムカード、安定感
   ========================================================================== */

:root {
    --c-primary: #1E4D8C;
    /* 信頼感のあるネイビーブルー */
    --c-primary-light: #E8F0F8;
    --c-text: #333333;
    --c-text-light: #666666;
    --c-bg: #FFFFFF;
    --c-bg-gray: #F7F9FA;
    --c-border: #E0E5E9;

    --font-base: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* =========================================
   Components
========================================= */
.c-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 0.05em;
}

.c-btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--c-primary);
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    /* 王道感のある控えめな角丸 */
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}

.c-btn:hover {
    background-color: #143563;
    transform: translateY(-2px);
    opacity: 1;
}

.c-btn--small {
    padding: 10px 24px;
    font-size: 14px;
}

.c-btn--large {
    padding: 20px 50px;
    font-size: 18px;
    width: 100%;
}

.c-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
}

.c-section-title span {
    display: block;
    font-size: 14px;
    color: var(--c-primary);
    font-weight: 500;
    margin-top: 5px;
}

.c-section-title--center {
    text-align: center;
}

/* =========================================
   Layout
========================================= */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.l-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l-header__nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.l-header__nav a:not(.c-btn) {
    font-size: 15px;
    font-weight: 500;
}

.l-header__nav a:not(.c-btn):hover {
    color: var(--c-primary);
}

.l-section {
    padding: 100px 40px;
}

.l-section--gray {
    background-color: var(--c-bg-gray);
}

.l-section__inner {
    max-width: 1120px;
    margin: 0 auto;
}

/* =========================================
   Hero Slider (CSS Animation)
========================================= */
.p-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Header height */
}

.p-hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.p-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 24s infinite;
}

.p-hero__slide:nth-child(1) {
    animation-delay: 0s;
}

.p-hero__slide:nth-child(2) {
    animation-delay: 8s;
}

.p-hero__slide:nth-child(3) {
    animation-delay: 16s;
}

@keyframes crossfade {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    33.33% {
        opacity: 1;
        transform: scale(1);
    }

    43.33% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.p-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 77, 140, 0.4);
    /* ネイビーのオーバーレイ */
    z-index: -1;
}

.p-hero__content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
    width: 100%;
}

.p-hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.p-hero__text {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 500;
}

/* =========================================
   About
========================================= */
.p-about {
    display: flex;
    align-items: center;
    gap: 80px;
}

.p-about__image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.p-about__text {
    flex: 1;
}

.p-about__text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--c-primary);
}

/* =========================================
   Service (3 Column Cards)
========================================= */
.p-service-cards {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.c-card {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.c-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.c-card__thumb {
    height: 200px;
}

.c-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-card__body {
    padding: 30px;
}

.c-card__title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--c-primary);
}

.c-card__text {
    font-size: 15px;
    color: var(--c-text-light);
}

/* =========================================
   Company & Contact
========================================= */
.p-bottom-info {
    display: flex;
    gap: 60px;
}

.p-company {
    flex: 6;
}

.c-def-list {
    width: 100%;
    border-top: 1px solid var(--c-border);
}

.c-def-list dt {
    width: 30%;
    float: left;
    clear: both;
    padding: 20px 0;
    font-weight: 700;
    border-bottom: 1px solid var(--c-border);
}

.c-def-list dd {
    width: 70%;
    float: left;
    padding: 20px 0 20px 20px;
    border-bottom: 1px solid var(--c-border);
}

.c-def-list::after {
    content: "";
    display: table;
    clear: both;
}

.p-contact-box {
    flex: 4;
    background-color: var(--c-primary-light);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
}

.p-contact-box h3 {
    font-size: 28px;
    color: var(--c-primary);
    margin-bottom: 20px;
}

.p-contact-box p {
    font-size: 15px;
    margin-bottom: 30px;
}

/* =========================================
   Footer
========================================= */
.l-footer {
    background-color: var(--c-primary);
    color: #fff;
    padding: 60px 40px 20px;
}

.l-footer__inner {
    max-width: 1120px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l-footer__logo {
    font-size: 24px;
    font-weight: 700;
}

.l-footer__nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.l-footer__copy {
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

/* =========================================
   Animations
========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 900px) {
    .l-header__nav {
        display: none;
    }

    .p-hero__title {
        font-size: 36px;
    }

    .p-about {
        flex-direction: column;
        gap: 40px;
    }

    .p-service-cards {
        flex-direction: column;
        gap: 30px;
    }

    .p-bottom-info {
        flex-direction: column;
        gap: 50px;
    }

    .c-def-list dt,
    .c-def-list dd {
        width: 100%;
        float: none;
    }

    .c-def-list dd {
        padding: 5px 0 20px 0;
    }
}

/* --- Hover Interaction Updates --- */
.c-card { transition: transform 0.4s, box-shadow 0.4s; }
.c-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.c-card__thumb, .p-about__image { overflow: hidden; }
.c-card:hover .c-card__thumb img, .p-about:hover .p-about__image img { transform: scale(1.05); }
.c-card__thumb img, .p-about__image img { transition: transform 0.6s; }
