@charset "UTF-8";

/* ==========================================================================
   Pattern 07: Positive Flow (ハイエンド・ブロークングリッド)
   Designer: "ハイエンド・モダンのUIクリエイター"
   Concept: 画像とテキストボックスを重ねる立体感、淡いグラデーション、丸みのある書体
   ========================================================================== */

:root {
    --c-primary: #52796F;
    /* 落ち着いたセージグリーン */
    --c-secondary: #E9EDC9;
    /* 淡いピスタチオ */
    --c-text: #2C363F;
    --c-text-light: #6A7B8C;
    --c-bg: #FAFAF7;
    /* 極めて薄いウォームグレー */
    --c-white: #FFFFFF;

    --font-en: 'Outfit', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;

    --shadow-soft: 0 30px 60px rgba(44, 54, 63, 0.08);
    /* 深く柔らかい影 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-ja);
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 20px;
}

/* 画像の角を少し丸く */
ul {
    list-style: none;
}

/* =========================================
   Typography & Components
========================================= */
.c-logo {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.c-logo__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--c-primary);
    border-radius: 50%;
}

.c-title {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.c-title span {
    font-family: var(--font-ja);
    font-size: 16px;
    display: block;
    color: var(--c-primary);
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.c-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background-color: var(--c-primary);
    color: var(--c-white);
    font-family: var(--font-en);
    font-weight: 500;
    border-radius: 100px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.c-btn-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(82, 121, 111, 0.2);
}

.c-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    border: 2px solid var(--c-text);
    color: var(--c-text);
    font-family: var(--font-en);
    font-weight: 500;
    border-radius: 100px;
    transition: background-color 0.3s, color 0.3s;
}

.c-btn-outline:hover {
    background-color: var(--c-text);
    color: var(--c-white);
}

.c-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--c-secondary);
    color: var(--c-primary);
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =========================================
   Layout
========================================= */
.l-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s, padding 0.4s;
    padding: 25px 0;
}

.l-header.is-scrolled {
    background-color: rgba(250, 250, 247, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.l-header__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l-header__nav ul {
    display: flex;
    gap: 40px;
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 16px;
}

.l-header__nav a:hover {
    color: var(--c-primary);
}

.l-section {
    padding: 150px 0;
}

/* =========================================
   Hero (Broken Grid)
========================================= */
.p-hero {
    position: relative;
    padding-top: 180px;
    min-height: 100vh;
    overflow: hidden;
}

.p-hero::before {
    /* 背景にうっすらとグラデーションの円を配置 */
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--c-secondary) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.p-hero__inner {
    display: flex;
    align-items: center;
    position: relative;
}

.p-hero__content {
    width: 45%;
    position: relative;
    z-index: 10;
}

.p-hero__title {
    font-family: var(--font-en);
    font-size: clamp(50px, 6vw, 90px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.p-hero__title em {
    font-style: normal;
    background: linear-gradient(120deg, var(--c-primary), #84a98c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.p-hero__text {
    font-size: 16px;
    color: var(--c-text-light);
    line-height: 2;
    margin-bottom: 50px;
}

/* 画像を重ねてずらす（ブロークングリッド） */
.p-hero__images {
    width: 65%;
    position: absolute;
    right: 0;
    height: 700px;
}

.p-hero__img {
    border-radius: 30px;
    overflow: hidden;
    position: absolute;
    box-shadow: var(--shadow-soft);
}

.p-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-hero__img--main {
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    z-index: 1;
}

.p-hero__img--sub {
    bottom: 0;
    left: -10%;
    width: 45%;
    height: 60%;
    z-index: 2;
}

/* =========================================
   Mission (Overlap Box)
========================================= */
.p-overlap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
}

.p-overlap__image {
    width: 75%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.p-overlap__image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* テキストボックスを画像に被せる */
.p-overlap__box {
    position: absolute;
    bottom: -80px;
    right: 0;
    width: 45%;
    background-color: var(--c-white);
    padding: 80px 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    z-index: 10;
}

.p-overlap__text {
    font-size: 15px;
    color: var(--c-text-light);
    margin-bottom: 40px;
}

.c-feature-list li {
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid #E5E5E5;
    position: relative;
    padding-left: 30px;
}

.c-feature-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border: 2px solid var(--c-primary);
    border-radius: 50%;
}

/* =========================================
   Culture (Broken Grid Cards)
========================================= */
.p-culture__header {
    text-align: center;
    margin-top: 150px;
    /* MissionのBoxが被る分の余白 */
    margin-bottom: 80px;
}

.p-culture__grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.c-broken-card {
    flex: 1;
    position: relative;
}

/* 真ん中のカードだけ位置を下げることでグリッドを壊す */
.c-broken-card--offset {
    margin-top: 100px;
}

.c-broken-card__img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: -40px;
    /* カード本体を画像に被せる */
    position: relative;
    z-index: 1;
    aspect-ratio: 4/5;
}

.c-broken-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.c-broken-card:hover .c-broken-card__img img {
    transform: scale(1.05);
}

.c-broken-card__content {
    background-color: var(--c-white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 0 auto;
    /* 中央寄せにして重ねる */
    box-shadow: var(--shadow-soft);
}

.c-broken-card__content h4 {
    font-family: var(--font-en);
    font-size: 20px;
    margin-bottom: 15px;
}

.c-broken-card__content p {
    font-size: 14px;
    color: var(--c-text-light);
}

/* =========================================
   CTA
========================================= */
.p-cta {
    background-color: var(--c-primary);
    color: var(--c-white);
    text-align: center;
    border-radius: 50px;
    margin: 0 40px 100px;
    padding: 120px 50px;
    position: relative;
    overflow: hidden;
}

.p-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(233, 237, 201, 0.2) 0%, transparent 60%);
}

.p-cta__inner {
    position: relative;
    z-index: 10;
}

.p-cta h2 {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 50px;
}

.p-cta__actions {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.p-cta .c-btn-solid {
    background-color: var(--c-white);
    color: var(--c-primary);
}

.p-cta .c-btn-outline {
    border-color: var(--c-white);
    color: var(--c-white);
}

.p-cta .c-btn-outline:hover {
    background-color: var(--c-white);
    color: var(--c-primary);
}

/* =========================================
   Footer
========================================= */
.l-footer {
    padding: 80px 0 30px;
}

.l-footer__inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.l-footer__info p {
    font-family: var(--font-en);
    color: var(--c-text-light);
    margin-top: 15px;
}

.l-footer__links {
    display: flex;
    gap: 100px;
}

.link-col strong {
    font-family: var(--font-en);
    font-size: 18px;
    display: block;
    margin-bottom: 25px;
}

.link-col a {
    display: block;
    font-family: var(--font-en);
    color: var(--c-text-light);
    margin-bottom: 15px;
}

.link-col a:hover {
    color: var(--c-primary);
}

.l-footer__bottom {
    text-align: center;
    border-top: 1px solid #E5E5E5;
    padding-top: 30px;
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--c-text-light);
}

/* =========================================
   Animations
========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 900px) {
    .l-header__inner {
        padding: 0 20px;
    }

    .l-header__nav {
        display: none;
    }

    .c-btn-outline {
        font-size: 14px;
        padding: 10px 20px;
    }

    .l-container {
        padding: 0 20px;
    }

    .l-section {
        padding: 80px 0;
    }

    .p-hero {
        padding-top: 120px;
        min-height: auto;
    }

    .p-hero__inner {
        flex-direction: column;
    }

    .p-hero__content {
        width: 100%;
        margin-bottom: 60px;
        text-align: center;
    }

    .p-hero__images {
        width: 100%;
        position: relative;
        height: 500px;
    }

    .p-overlap__image {
        width: 100%;
    }

    .p-overlap__box {
        position: relative;
        bottom: auto;
        right: auto;
        width: 90%;
        margin: -100px auto 0;
        padding: 40px 20px;
    }

    .p-culture__header {
        margin-top: 80px;
    }

    .p-culture__grid {
        flex-direction: column;
    }

    .c-broken-card--offset {
        margin-top: 0;
    }

    .c-broken-card__img {
        aspect-ratio: 16/9;
    }

    .p-cta {
        margin: 0 20px 80px;
        padding: 80px 20px;
        border-radius: 30px;
    }

    .p-cta h2 {
        font-size: 32px;
    }

    .p-cta__actions {
        flex-direction: column;
        gap: 15px;
    }

    .l-footer__inner {
        flex-direction: column;
        gap: 60px;
    }

    .l-footer__links {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- Hover Interaction Updates --- */
.c-broken-card { transition: transform 0.4s; }
.c-broken-card:hover { transform: translateY(-5px); }
.c-broken-card:hover .c-broken-card__img img { transform: scale(1.08); }
.p-overlap__image { overflow: hidden; }
.p-overlap:hover .p-overlap__image img { transform: scale(1.03); }
.c-broken-card__img img, .p-overlap__image img { transition: transform 0.6s; }
