﻿/* HERO */
.hero-wrap {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.hero {
    min-height: calc(100vh - var(--nav-h));
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 5rem;
}
.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-bottom: 2rem;
    max-width: 700px;
}
.hero-title em {
    font-style: normal;
    color: var(--accent);
    border-bottom: 3px solid var(--accent-light);
    padding-bottom: 2px;
}
.hero-desc {
    font-size: 0.9rem;
    color: var(--text2);
    line-height: 2.4;
    margin-bottom: 3rem;
    max-width: 520px;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--surface);
    background: var(--navy);
    padding: 1rem 2.2rem;
    text-decoration: none;
    transition: background 0.2s;
}
.hero-cta:hover {
    background: var(--navy2);
}
.hero-cta-sub {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text2);
    text-decoration: none;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 2px;
    transition: color 0.2s;
}
.hero-cta-sub:hover {
    color: var(--navy);
}

/* PHILOSOPHY */
.philosophy {
    background: var(--navy);
    color: #fff;
}
.philosophy .section-en {
    color: var(--accent-light);
}
.philosophy .section-title {
    color: #fff;
}
.philosophy .section-lead {
    color: rgba(255, 255, 255, 0.55);
}
.phil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 4rem;
    align-items: start;
}
.phil-text p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 2.4;
    margin-bottom: 1.5rem;
}
.value-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.value-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.value-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--accent-light);
    line-height: 1;
    min-width: 2.8rem;
    padding-top: 4px;
    opacity: 0.7;
}
.value-name {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--accent-light);
    margin-bottom: 0.4rem;
}
.value-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2;
}

/* SERVICES */
.services {
    background: var(--bg2);
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 3.5rem;
    background: var(--border);
    border: 1px solid var(--border);
}
.service-card {
    background: var(--surface);
    padding: 3.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: background 0.25s;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover {
    background: var(--bg);
}
.service-card:hover::after {
    transform: scaleX(1);
}
.service-badge {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    color: var(--accent);
    background: var(--accent-pale);
    padding: 0.3rem 0.8rem;
    width: fit-content;
    margin-bottom: 2rem;
}
.service-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.service-desc {
    font-size: 0.83rem;
    color: var(--text2);
    line-height: 2;
    flex: 1;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 0.2rem;
    width: fit-content;
    transition: gap 0.25s;
}
.service-card:hover .service-link {
    gap: 0.8rem;
}

/* RECRUIT */
.recruit {
    background: var(--surface);
}
.recruit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}
.recruit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.recruit-card {
    background: var(--bg);
    padding: 2.5rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}
.recruit-card:hover {
    background: var(--bg2);
}
.recruit-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}
.recruit-role {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.recruit-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.5;
    flex: 1;
}
.recruit-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text3);
    transition: color 0.2s, gap 0.2s;
}
.recruit-card:hover .recruit-arrow {
    color: var(--accent);
    gap: 0.7rem;
}

 /* CONTACT */
.contact {
    background: var(--navy);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: end;
}
.contact .section-en {
    color: var(--accent-light);
}
.contact .section-title {
    color: #fff;
}
.contact-body {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2.4;
    margin: 1.5rem 0 2.5rem;
}
.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 1.1rem 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    transition: background 0.2s;
}
.contact-btn:hover {
    background: var(--accent-light);
}
.contact-btn-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 1.1rem 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    transition: background 0.2s;
}
.contact-btn-sub:hover {
    background: rgba(255, 255, 255, 0.12);
}
.contact-right {
    padding-top: 1rem;
}
.contact-tel-block {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
.contact-tel-label {
    font-size: 0.62rem;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1rem;
}
.contact-tel {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.contact-hours {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.15em;
}
.contact-address {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 2;
    text-align: center;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    animation: fadeUp 0.7s ease both 0.1s;
}
.hero-title {
    animation: fadeUp 0.7s ease both 0.25s;
}
.hero-desc {
    animation: fadeUp 0.7s ease both 0.4s;
}
.hero-btns {
    animation: fadeUp 0.7s ease both 0.5s;
}


/* ============================================================
   @media スマホ（768px以下）
   ============================================================ */
@media (max-width: 768px) {

    /* HERO */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 5rem 2rem 0;
    }
    .hero-left {
        padding: calc(var(--nav-h) + 2.5rem) 1.5rem 2.5rem;
        max-width: 100%;
        margin-left: 0;
    }
    .hero-deco-line {
        display: none;
    }
    .hero-right-label {
        margin-bottom: 1.2rem;
    }
    .hero-info-item {
        padding: 1.2rem 0;
    }
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    /* PHILOSOPHY */
    .phil-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2.5rem;
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 2rem 1.5rem;
    }
    .service-badge {
        margin-bottom: 1.2rem;
    }

    /* RECRUIT */
    .recruit-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    .recruit-grid {
        grid-template-columns: 1fr;
    }
    .recruit-card {
        padding: 1.6rem 1.2rem;
    }
    .recruit-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* CONTACT */
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-tel {
        font-size: 1.6rem;
    }
    .contact-tel-block {
        padding: 1.8rem;
    }
}
