@charset "utf-8";

/* =========================================================
   トップページ ver.2（深みのある青＋光の演出）
========================================================= */

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* --- 背景オーバーレイ --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(24, 37, 120, 0.55) 0%,
            rgba(40, 60, 160, 0.6) 40%,
            rgba(15, 30, 90, 0.8) 100%);
    background-size: 400% 400%;
    animation: moveGradient 20s ease-in-out infinite alternate;
    z-index: 1;
    mix-blend-mode: overlay;
    /* 背景と自然に馴染む */
}

.hero-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 30, 0.25);
    pointer-events: none;
}

/* グラデーションがゆっくり流れるアニメーション */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
        opacity: 0.85;
    }

    50% {
        background-position: 100% 50%;
        opacity: 0.9;
    }

    100% {
        background-position: 0% 50%;
        opacity: 0.85;
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 18s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 6s;
}

.slide:nth-child(3) {
    animation-delay: 12s;
}

@keyframes fadeSlide {

    0%,
    25% {
        opacity: 1;
    }

    33%,
    100% {
        opacity: 0;
    }
}

/* --- Heroテキスト全体 --- */
.hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
    animation: fadeInHero 1.2s ease both;
    font-family: "Noto Serif JP", serif;
    text-align: center;
    top: 30%;
    transform: translateY(-50%);
    width: 100%;
}

/* --- 見出し（h1）をより大きく・余白も調整 --- */
.hero-text h1 {
    font-family: "Shippori Mincho B1", serif;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.hero-text h1 span {
    display: block;
}

.hero-text p {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.hero-text p.en {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInSub 1.8s ease 1.2s forwards;
}


.hero-btn {
    display: inline-block;
    margin-top: 3.5rem;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    background: #fff;
    color: #182578;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
}

.hero-btn:hover {
    background: #182578;
    color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
}

/* --- ヒーローテキストのフェードイン --- */
@keyframes fadeInSub {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* --- 英語コピーのフェード --- */
@keyframes fadeInSub {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
    #hero {
        height: 95vh;
    }

    .hero-text h1 {
        font-size: clamp(30px, 8vw, 48px);
        line-height: 1.5;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text p.en {
        font-size: 0.9rem;
        letter-spacing: 0.06em;
    }

    .hero-btn {
        padding: 0.8rem 1.8rem;
    }
}


/* -------- fadeUp -------- */
.fadeUpTrigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fadeUp {
    opacity: 1;
    transform: translateY(0);
}

/* -------- Business -------- */
#business {
    background: #fff;
    padding: 8rem 5% 6rem;
    text-align: center;
}

.business-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

#business h2 {
    color: #182578;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.business-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 30%;
    min-width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(24, 37, 120, 0.25);
}

.business-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card {
    background: #f6f8fc;
    border-radius: 1rem;
    width: 300px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #182578;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =========================================================
   事業紹介セクション
========================================================= */
#business {
    text-align: center;
}

.business-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

.business-card {
    width: 30%;
    min-width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(24, 37, 120, 0.25);
}

.business-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.business-card:hover img {
    transform: scale(1.05);
}

.business-card h3 {
    font-size: 1.3rem;
    color: #182578;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.business-card p {
    font-size: 0.95rem;
    color: #444;
    padding: 0 1.2rem 2rem;
    line-height: 1.8;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .business-wrap {
        flex-direction: column;
        align-items: center;
    }

    .business-card {
        width: 90%;
    }
}

/* =========================
   Vision / Message
========================= */
#vision {
    position: relative;
    overflow: hidden;
}

/* 背景にほのかな“電気の光”を重ねる */
#vision::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%,
            rgba(24, 37, 120, 0.15),
            transparent 60%),
        radial-gradient(circle at 80% 70%,
            rgba(66, 80, 184, 0.12),
            transparent 65%);
    pointer-events: none;
}

.vision-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* 引用（理念） */
.vision-quote {
    margin: 2rem auto 2.5rem;
    max-width: 600px;
    padding: 1.8rem 1.6rem;
    border-left: 4px solid var(--main-blue);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
    border-radius: 12px;
}

.vision-quote p {
    font-family: "Shippori Mincho B1", serif;
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 2;
    color: #233;
}

/* バリュー3つ */
.vision-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin: 2rem 0 0;
    list-style: none;
    padding: 0;
}

.vision-values li {
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 6px 22px rgba(24, 37, 120, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vision-values li:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(24, 37, 120, 0.16);
}

.vision-values h3 {
    color: var(--main-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}

.vision-values p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.9;
}

/* CTA並び */
.vision-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.2rem;
}

.vision-cta .btn-outline {
    border-radius: 50px;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
    .vision-values {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .vision-quote {
        padding: 1.2rem 1rem;
    }

    .vision-values {
        grid-template-columns: 1fr;
    }

    .vision-cta {
        flex-direction: column;
        align-items: center;
    }
}


/* -------- Links -------- */
#links {
    padding: 6rem 5%;
    background: #f5f7fb;
}

.link-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.link-inner {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 3rem;
    text-align: center;
    border: 2px solid #182578;
    transition: all 0.3s ease;
}

.link-inner:hover {
    background: #182578;
    color: #fff;
}

.link-inner h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.link-inner span {
    font-size: 0.95rem;
}

/* -------- Footer -------- */
#footer {
    background: #182578;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

/* -------- fadeUp -------- */
.fadeUpTrigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fadeUp {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Access / アクセス
========================================================= */
#access {
    text-align: center;
}

.access-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.access-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.access-info {
    flex: 1 1 40%;
    text-align: left;
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.8rem;
    box-shadow: 0 5px 18px rgba(24, 37, 120, 0.08);
    line-height: 1.8;
}

.access-info h3 {
    font-size: 1.3rem;
    color: #182578;
    margin-bottom: 0.8rem;
}

.access-info p {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.access-info a {
    color: #243fb5;
    text-decoration: none;
}

.access-info a:hover {
    text-decoration: underline;
}

.access-map {
    flex: 1 1 55%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(24, 37, 120, 0.08);
}

/* スマホ */
@media screen and (max-width: 768px) {
    .access-wrap {
        flex-direction: column;
        align-items: center;
    }

    .access-info,
    .access-map {
        width: 100%;
    }

    .access-info {
        text-align: center;
    }
}