@charset "UTF-8";

/* =========================================
    hero
========================================= */

.hero {
    position: relative;
    overflow: hidden;

    height: 100svh;
    min-height: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0;
}

/* =========================================
    hero background slider
========================================= */

.hero_visual {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}

.hero_visual::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(15, 23, 42, 0.55),
            rgba(15, 23, 42, 0.45));

    z-index: 1;
}

.hero_slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 1.8s ease;
}

.hero_slide.active {
    opacity: 1;
}

/* =========================================
    inner
========================================= */

.hero_inner {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    margin: 0 auto;
    padding: 0 6%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 40px;
}

/* =========================================
    text
========================================= */

.hero_text {
    position: relative;
    z-index: 2;

    color: #fff;

    opacity: 0;
    transform: translateY(20px);

    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.2s;
}

.hero_title {
    font-size: clamp(28px, 7vw, 34px);
    font-weight: 800;

    color: #fff;

    line-height: 1.35;
    letter-spacing: 0.01em;

    margin-bottom: 24px;

    word-break: keep-all;
}

.hero_title_line {
    white-space: nowrap;
}

/* 人間力 */
.hero_keyword {
    font-size: 1.15em;
    font-weight: 900;
}


.hero_lead {
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.02em;

    color: rgba(255, 255, 255, 0.9);

    margin-bottom: 32px;

    opacity: 0;
    transform: translateY(20px);

    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.3s;
}

/* =========================================
    button
========================================= */

.entry-btn.large {
    padding: 15px 30px;

    font-size: 15px;

    box-shadow: var(--shadow-md);

    opacity: 0;
    transform: translateY(20px);

    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.4s;
}

/* =========================================
    スクロール表示
   ========================================= */

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);

    text-align: center;
    font-size: 12px;
    letter-spacing: 0.3em;

    color: rgba(255, 255, 255, 0.85);
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 1px;
    height: 50px;
    margin: 8px auto 0;

    background: var(--primary);

    animation: scrollLine 1.5s infinite;
}

/* =========================================
    Tablet
========================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .hero_inner {
        width: 100%;
        padding: 0 8%;

        gap: 48px;
    }

    .hero_text {
        max-width: 680px;
    }

    .hero_title {
        font-size: clamp(38px, 5vw, 52px);
        line-height: 1.2;

        margin-bottom: 24px;
    }

    .hero_lead {
        font-size: 18px;
        line-height: 1.8;

        max-width: 32em;
    }

    .entry-btn.large {
        padding: 16px 32px;
        font-size: 16px;
    }

    .scroll-indicator {
        bottom: 32px;
    }

    .scroll-indicator::after {
        height: 60px;
    }
}

/* =========================================
    PC
   ========================================= */

@media (min-width: 1024px) {

    .hero_text {
        max-width: 620px;
    }

    .hero_title {
        font-size: clamp(32px, 3.4vw, 48px);
    }

    .hero_lead {
        font-size: 18px;
    }

    .scroll-indicator {
        bottom: 32px;
    }
}

/* =========================================
    News
========================================= */

.news {
    background-color: #fff;
}

/* 一覧全体 */

.news_area {
    display: flex;
    flex-direction: column;

    margin-top: 40px;
}

/* =========================================
    item
========================================= */

.news_item {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 20px 4px;

    border-bottom: 1px solid var(--border);

    text-decoration: none;
    color: inherit;

    transition:
        transform 0.3s var(--ease, ease),
        opacity 0.3s var(--ease, ease),
        border-color 0.3s var(--ease, ease);
}

.news_item:hover {
    transform: translateX(4px);
    opacity: 0.9;

    border-color: rgba(0, 158, 207, 0.25);
}

.news_item:last-child {
    border-bottom: none;
}

/* =========================================
    date
========================================= */

.news_date {
    font-size: 13px;
    font-weight: 500;

    color: var(--text-sub);

    letter-spacing: 0.04em;
}

/* =========================================
    text
========================================= */

.news_text {
    font-size: 16px;
    font-weight: 600;

    line-height: 1.8;
    color: var(--text-main);
}

/* =========================================
    label
========================================= */

.news_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;

    font-size: 10px;
    font-weight: 700;

    color: #fff;
    background: var(--primary);

    padding: 3px 8px;

    border-radius: 999px;

    margin-right: 8px;

    vertical-align: middle;
}

/* =========================================
    Tablet
========================================= */

@media (min-width: 768px) {

    .news_area {
        margin-top: 48px;
    }

    .news_item {
        flex-direction: row;
        align-items: flex-start;

        gap: 32px;

        padding: 24px 8px;
    }

    .news_date {
        flex-shrink: 0;

        width: 120px;

        font-size: 14px;

        padding-top: 2px;
    }

    .news_text {
        font-size: 17px;
    }
}

/* =========================================
    PC
========================================= */

@media (min-width: 1024px) {

    .news_item {
        gap: 40px;
        padding: 28px 8px;
    }

    .news_text {
        font-size: 18px;
    }
}


/* =========================================
    Message
========================================= */

.message_section {
    position: relative;

    padding: 40px 0 20px;

    overflow: hidden;
}

/* =========================================
    image
========================================= */

.message_img {
    position: relative;

    width: 82%;
    max-width: 320px;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    margin: 0 auto 32px;
}

.message_img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    display: block;
}

/* =========================================
    content
========================================= */

.message_content {
    color: var(--text-sub);
}

/* キャッチ */

.message_copy {
    font-size: clamp(26px, 7vw, 38px);
    font-weight: 700;

    line-height: 1.55;
    letter-spacing: 0.03em;

    color: var(--text-main);

    margin-bottom: 24px;
}

/* 本文 */

.message_text {
    font-size: 16px;
    line-height: 2;

    margin-bottom: 20px;

    word-break: keep-all;
}

/* 名前 */

.message_name {
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {

    .message_section {
        display: flex;
        align-items: center;
        gap: 40px;

        padding: 64px 0;
    }

    .message_img {
        width: 40%;
        max-width: 350px;

        margin: 0;
        margin-left: 32px;

        flex-shrink: 0;
    }

    .message_content {
        flex: 1;
    }

    .message_copy {
        font-size: clamp(30px, 4vw, 40px);
        line-height: 1.45;

        margin-bottom: 24px;
    }

    .message_text {
        font-size: 16px;
        line-height: 1.95;

        margin-bottom: 20px;
    }

    .message_name {
        font-size: 15px;
    }
}

/* =========================================
    PC
========================================= */

@media (min-width: 1024px) {

    .message_section {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 72px;

        max-width: 1180px;

        margin: 0 auto;

        padding: 80px 6%;
    }

    .message_img {
        width: 36%;
        max-width: 400px;

        margin: 0;
    }

    .message_img img {
        box-shadow: var(--shadow-md);
    }

    .message_content {
        width: 50%;
        max-width: 520px;
    }

    .message_copy {
        font-size: clamp(36px, 3vw, 48px);
        line-height: 1.5;

        margin-bottom: 32px;
    }

    .message_text {
        font-size: 18px;
        line-height: 2.1;

        letter-spacing: 0.02em;

        margin-bottom: 24px;
    }

    .message_name {
        font-size: 16px;

        margin-bottom: 40px;
    }
}


/* =========================================
    Service（事業内容）
========================================= */

/* ===== 横スクロール全体 ===== */

.service_scroll {
    position: relative;
    overflow: hidden;
}

/* ===== 横並び ===== */

.service_list {
    display: flex;
    gap: var(--space-sm);

    overflow-x: auto;
    padding: 8px 6% 16px;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scroll-padding-left: 6%;
}

/* スクロールバー非表示 */

.service_list::-webkit-scrollbar {
    display: none;
}

/* =========================================
    カード
========================================= */

.service_card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 36px 28px;

    color: inherit;
    text-decoration: none;

    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition: all 0.3s var(--ease, ease);

    overflow: hidden;
    cursor: pointer;

    /* ===== カード ===== */

    flex: 0 0 85%;
    scroll-snap-align: start;
}

/* 上にうっすらグラデ */

.service_card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(0, 158, 207, 0.10),
            rgba(56, 189, 248, 0.06),
            transparent 60%);

    opacity: 0.25;

    transition: all 0.3s var(--ease, ease);
}

/* hover */

.service_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service_card:hover::before {
    opacity: 0.5;
}

.service_card:active {
    transform: scale(0.98);
}

/* =========================================
    アイコン
========================================= */

.service_icon {
    width: 72px;
    height: 72px;

    border-radius: var(--radius-md);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    transition: all 0.3s var(--ease, ease);
}

.service_icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.service_icon svg {
    width: 40px;
    height: 40px;

    color: var(--primary);
}

/* アイコンも動く */

.service_card:hover .service_icon {
    transform: translateY(-4px) scale(1.05);
}

/* =========================================
    タイトル
========================================= */

.service_card h3 {
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 800;

    letter-spacing: 0.03em;

    margin-bottom: 18px;
}

.service_card h3::after {
    content: "";

    display: block;

    width: 32px;
    height: 3px;

    margin-top: 10px;

    background: var(--primary);
    border-radius: 2px;
}

/* =========================================
    テキスト
========================================= */

.service_card p {
    font-size: 16px;
    line-height: 1.9;

    color: var(--text-sub);

    margin-top: auto;
}

/* =========================================
    スクロールバー（インジケーター）
========================================= */

.service_indicator {
    width: 100%;
    height: 3px;

    background: var(--border);

    margin-top: var(--space-sm);

    border-radius: 2px;

    overflow: hidden;
}

.service_indicator .bar {
    width: 0%;
    height: 100%;

    background: var(--primary);

    transition: width 0.2s ease;
}

/* =========================================
    Tablet
========================================= */

@media (min-width: 768px) {

    .service_list {
        overflow-x: visible;
        flex-wrap: wrap;

        gap: 24px;
    }

    .service_card {
        flex: 0 0 calc(50% - 12px);

        padding: 40px 32px;
    }

    .service_card h3 {
        font-size: 28px;
    }

    .service_card p {
        font-size: 17px;
        line-height: 2;
    }
}

/* =========================================
    PC
========================================= */

@media (min-width: 1024px) {

    .service_list {
        overflow: visible;

        padding: 12px 0 8px;

        gap: 32px;

        justify-content: center;

        max-width: 1100px;
        margin: 0 auto;
    }

    .service_card {
        flex: 1;
        max-width: 420px;
    }

    .service_card:hover {
        transform: translateY(-8px);
    }

    .service_indicator {
        display: none;
    }
}

/* =========================================
    アニメーション軽減
========================================= */

@media (prefers-reduced-motion: reduce) {

    * {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================
    Company（会社概要）
========================================= */

.company_inner {
    margin-top: 40px;
}

/* =========================================
    table
========================================= */

.company_table {
    width: 100%;

    border-collapse: collapse;
}

/* 上の線 */

.company_table tr:first-child th,
.company_table tr:first-child td {
    border-top: 1px solid var(--border);
}

/* セル共通 */

.company_table th,
.company_table td {
    padding: 22px 16px;

    border-bottom: 1px solid var(--border);

    text-align: left;

    font-size: 16px;
    line-height: 1.9;
}

/* 見出し */

.company_table th {
    width: 32%;

    font-weight: 700;

    color: var(--text-main);

    vertical-align: top;
}

/* テキスト */

.company_table td {
    color: var(--text-main);
}

/* =========================================
    Tablet
========================================= */

@media (min-width: 768px) {

    .company_inner {
        margin-top: 48px;
    }

    .company_table th,
    .company_table td {
        padding: 28px 20px;

        font-size: 17px;
    }

    .company_table th {
        width: 26%;
    }
}

/* =========================================
    PC
========================================= */

@media (min-width: 1024px) {

    .company_inner {
        max-width: 1200px;

        margin: 56px auto 0;
    }

    .company_table th,
    .company_table td {
        padding: 32px 24px;

        font-size: 18px;
        line-height: 2;
    }

    .company_table th {
        width: 22%;
    }

    .company_table td {
        width: 78%;
    }

    .sp_br {
        display: none;
    }
}


/* =========================================
    Entry（採用）
========================================= */

.entry {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            var(--bg-sub),
            rgba(56, 189, 248, 0.12));

    padding: 96px 0;
}

/* =========================================
    content
========================================= */

.entry_content {
    position: relative;
    z-index: 1;
}

/* =========================================
    text
========================================= */

.entry_text {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 2;

    color: var(--text-sub);

    margin-bottom: 40px;

    max-width: 720px;
}

/* =========================================
    links
========================================= */

.entry_links {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

/* =========================================
    card
========================================= */

.entry_box {
    position: relative;

    overflow: hidden;

    padding: 32px 28px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid rgba(255, 255, 255, 0.6);

    backdrop-filter: blur(10px);

    color: var(--text-main);
    text-decoration: none;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* hover */

.entry_box:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

    border-color: rgba(0, 158, 207, 0.2);
}

/* =========================================
    title
========================================= */

.entry_box h3 {
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 800;

    margin-bottom: 14px;

    letter-spacing: 0.03em;
}

/* =========================================
    text
========================================= */

.entry_box p {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    line-height: 1.9;

    color: var(--text-sub);
}

/* arrow */

.entry_box p::after {
    content: "→";

    font-size: 15px;

    transition: transform 0.3s ease;
}

.entry_box:hover p::after {
    transform: translateX(4px);
}

/* =========================================
    accent
========================================= */

.entry_box:nth-child(1) {
    border-left: 4px solid rgba(0, 158, 207, 0.5);
}

.entry_box:nth-child(2) {
    border-left: 4px solid rgba(56, 189, 248, 0.5);
}

/* =========================================
    Tablet
========================================= */

@media (min-width: 768px) {

    .entry {
        padding: 110px 0;
    }

    .entry_links {
        flex-direction: row;
        gap: 24px;
    }

    .entry_box {
        flex: 1;

        padding: 40px 32px;
    }

    .entry_box p {
        font-size: 17px;
    }

}

/* =========================================
    PC
========================================= */

@media (min-width: 1024px) {

    .entry {
        padding: 120px 0;
    }

    .entry_content {
        max-width: 1100px;
    }

    .entry_links {
        gap: 32px;
    }

    .entry_box {
        padding: 44px 36px;
    }

    .entry_box h3 {
        font-size: 32px;
    }

    .entry_box p {
        font-size: 18px;
    }

}

/* =========================================
    虹ライン
   ========================================= */

.entry_box::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(90deg,
            #ff004c,
            #ffb800,
            #00c6ff,
            #7cff00);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ホバー */
.entry_box:hover::before {
    transform: scaleX(1);
}

.entry_box.is-active::after {
    transform: scaleX(1);
}

/* =========================================
    animation
========================================= */

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, 10px);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform: scaleY(0);
    }
}