﻿@charset "utf-8";

.top-hero {
    position: relative;
    background-image: url("../image/layout/top_bg.jpg");
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (min-width: 768px) {
    .top-hero { min-height: 797px; display: flex; }
}

.top-hero__content {
    width: 43%;
    min-width: 320px;
    padding: clamp(64px, 10vw, 120px) clamp(24px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    z-index: 2;
}

.top-hero__lead-en {
    margin: 0;
    color: #004EB4;
    font-size: min(79px, 13vw);
    line-height: 1.08;
    letter-spacing: 0.08em;
    font-family: "Viga", sans-serif;
    font-weight: 500;
	white-space:nowrap;
}

.top-hero__lead-en span {
    color: #7398D6;
}

.top-hero__lead-jp {
    margin: 0;
    color: #111;
    font-size: clamp(17px, 1.5vw, 23px);
    line-height: 1.8;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 700;
}

.top-hero__image {
    min-height: 420px;
    background-image: url("../image/top/top_image.jpg");
    background-position: center center, center center;
    background-repeat: no-repeat;
    background-size: cover, cover;
}
@media (min-width: 768px) {
	.top-hero__image { flex:1; order:1; }
}

.top-message {
    position: relative;
    overflow: hidden;
    height: 683px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0 20px 50px;
    box-sizing: border-box;
    color: #fff;
    background:url(../image/top/top_image2.jpg) no-repeat center center / cover;
}

.top-message::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../image/icon/humburger_bg.png");
    background-position: left -30px center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: min(75vw, 810px) auto, auto, auto;
}

.top-message__inner,
.top-message__decor {
    position: relative;
    z-index: 1;
}

.top-message__eyebrow {
    font-family: "Viga", sans-serif;
    font-size: 18px;
    letter-spacing: 0.18em;
    line-height: 1;
    margin-bottom: 40px;
}

.top-message__eyebrow::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
}

.top-message__title {
    margin: 0;
    font-size: 39px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight:900;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.top-message__copy {
    margin-top: 34px;
    max-width: 620px;
}

.top-message__copy p {
    margin: 0;
    line-height: 2.5;
    font-weight:bold;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
}

.top-message__copy p + p {
    margin-top: 5px;
}

.top-message__decor {
    margin-left: auto;
    align-self: center;
    padding-left: 24px;
    font-family: "Viga", sans-serif;
    font-size: 130px;
    line-height: 0.88;
    letter-spacing: 0.06em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
    opacity: 0.9;
    user-select: none;
    pointer-events: none;
}

.top-contents1 { background:url(../image/top/top_back1.jpg) no-repeat center center / 100% auto; padding:80px 0 0; }

.top-service {
    position: relative;
    padding: 10px 0 0;
}
.top-company {
    position: relative;
    padding: 30px 0 clamp(40px, 5vw, 72px);
    background: #ffffff;
}

.top-service::before {
    content: "";
    position: absolute;
    left: 0;
    top: 55px;
	width:70%;
    max-width: 1027px;
    height:100%;
    background: #EBF0F6;
    pointer-events: none;
}

.top-service::after {
    content: "SERVICE";
    position: absolute;
    top: 0;
    right: 0;
    font-family: "Viga", sans-serif;
    font-size: 135px;
    line-height: 0.8;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 78, 180, 0.14);
    pointer-events: none;
    user-select: none;
}

.top-company::after {
    content: "COMPANY";
    position: absolute;
    top: -10%;
    right: 0;
    font-family: "Viga", sans-serif;
    font-size: 135px;
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 78, 180, 0.14);
    pointer-events: none;
    user-select: none;
}

.top-service__inner,
.top-company__inner {
    position: relative;
    z-index: 1;
}

.top-service__eyebrow,
.top-company__eyebrow {
    margin: 0 0 8px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.top-service__title,
.top-company__title {
    margin: 0;
    color: #004EB4;
    font-family: "Viga", sans-serif;
    font-size: min(72px, 6vw);
    line-height: 1.3;
    letter-spacing: 0.08em;
}

@media (min-width: 768px) {
	.top-service__content,
	.top-company__content {
		display: grid;
		grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.28fr);
		align-items:center;
	}
	.top-company__content {
		grid-template-areas:
			".  figure"
			"heading figure"
			"body figure"
			".  figure";
	}
	.top-company__heading {
		grid-area: heading;
	}
	.top-company__body {
		grid-area: body;
	}
	.top-service__list,
	.top-company__body {
		padding-right:60px;
	}
	.top-company__figure {
		grid-area: figure;
	}
	.top-service__figure,
	.top-company__figure {
		position: relative;
		margin: 0;
		width: calc(50vw + 105px);
		min-height: 420px;
		overflow: hidden;
		z-index: 0;
	}
}

.top-service__list {
    list-style: none;
    display: grid;
    align-content: start;
}

.top-service__item {
    height: 127px;
}

.top-service__item + .top-service__item {
    border-top: 1px solid rgba(0, 78, 180, 0.1);
}

.top-service__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    height: 100%;
    padding: 0 92px 0 28px;
    color: #111111;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.top-service__item a::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 37px;
    height: 100%;
    background: #E2E6EF;
}

.top-service__item a:hover {
    background: #ffffff;
    transform: translateX(4px);
}

.top-service__item-label {
    display: inline-block;
    padding-left: 46px;
    background-image: url("../image/icon/aircon.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 30px auto;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.top-service__item:nth-child(2) .top-service__item-label {
    background-image: url("../image/icon/book.png");
}

.top-service__item:nth-child(3) .top-service__item-label {
    background-image: url("../image/icon/license.png");
}

.top-service__item a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 26px;
    width: 35px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url("../image/icon/arrow_right2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.top-service__figure img,
.top-company__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    position: relative;
    z-index: 1;
}

.top-company {
    position: relative;
    margin-top: 6%;
    background-image: url("../image/layout/top_bg.jpg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

.top-company-links {
    position: relative;
    z-index: 2;
    margin: 80px auto 0;
    padding: 60px 0;
    max-width: 1240px;
}

.top-company-links__inner {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 20px;
}

.top-company-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 18px);
}

.top-company-links__item {
    min-width: 0;
}

.top-company-links__card {
    display: block;
    color: #111111;
    text-decoration: none;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.top-company-links__thumb {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.top-company-links__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.top-company-links__label {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 40px 0 18px;
    background: #ffffff;
    font-size:min(20px, 2.3vw);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.top-company-links__label::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 23px;
    height: 100%;
    background: #04142B;
}

.top-company-links__label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 11px;
    width: 24px;
    height: 12px;
    transform: translateY(-50%);
    background-image: url("../image/icon/arrow_right3.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.top-company-links__card:hover {
    transform: translateY(-4px);
}

.top-company-links__card:hover .top-company-links__thumb img {
    transform: scale(1.05);
}

.top-recruit {
    margin-top: 6%;
    position: relative;
    padding: 100px 0;
    background: #ffffff;
}

.top-recruit::before {
    content: "RECRUIT";
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Viga", sans-serif;
    font-size: 139px;
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 78, 180, 0.14);
    pointer-events: none;
    user-select: none;
    z-index: 3;
}

.top-recruit::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1027px;
    height: 712px;
    transform: translateY(-50%);
    background: #EBF0F6;
    pointer-events: none;
}

.top-recruit__inner {
    position: relative;
    z-index: 1;
}

.top-recruit__content {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
    gap: clamp(16px, 2vw, 28px);
    align-items: center;
}

.top-recruit__figure {
    position: relative;
    margin: 0;
    margin-left: calc((min(1200px, calc(100vw - 40px)) - 100vw) / 2);
    width: calc(100% + (100vw - min(1200px, calc(100vw - 40px))) / 2);
    min-height: 420px;
    overflow: hidden;
}

.top-recruit__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.top-recruit__body {
    padding: clamp(34px, 4vw, 52px) 0 clamp(28px, 3.8vw, 42px) clamp(22px, 3vw, 34px);
}

.top-recruit__heading-inner {
    position: absolute;
    top: -15%;
    right: 0;
    display: flex;
    justify-content: end;
}

.top-recruit__heading {
    margin-top: 0;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: start;
    width: fit-content;
}

.top-recruit__title {
    margin: 0;
    color: #004EB4;
    font-family: "Viga", sans-serif;
    font-size: clamp(54px, 7vw, 74px);
    line-height: 0.95;
    letter-spacing: 0.08em;
}

.top-recruit__eyebrow {
    margin: 8px 0 0;
    width: 100%;
    color: #111111;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.top-recruit__lead {
    margin: 0;
    color: #004EB4;
    font-size: 29px;
    line-height: 1.45;
    letter-spacing: 0.02em;
    font-weight: 800;
}

.top-recruit__copy,
.top-company__copy {
    margin-top: 24px;
}

.top-recruit__copy p,
.top-company__copy p {
    margin: 0;
    color: #111111;
    font-size: 16px;
    line-height: 2;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.top-recruit__copy p + p,
.top-company__copy p + p {
    margin-top: 6px;
}

.top-recruit__cta,
.top-company__cta {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 74px;
    padding: 0 86px 0 70px;
    color: #111111;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url("../image/icon/person2.png");
    background-repeat: no-repeat;
    background-position: 24px center;
    background-size: 34px 34px;
    font-size:21px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.top-recruit__cta {
    margin-top: 50px;
}

.top-company__cta {
    margin-top: 36px;
}

.top-recruit__cta::before,
.top-company__cta::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 37px;
    height: 100%;
    background-color: #e2e7ef;
}

.top-recruit__cta::after,
.top-company__cta::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 35px;
    height: 14px;
    transform: translateY(-50%);
    background-image: url("../image/icon/arrow_right2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.top-recruit__cta:hover,
.top-company__cta:hover {
    background-color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .top-main {
        padding-top: 0;
    }

    .top-hero {
        flex-direction: column;
    }

    .top-hero__content {
        width: 100%;
        padding: 0px 20px 44px;
        gap: 20px;
		margin-top:-28vw;
    }

    .top-hero__image {
        min-height: 320px;
		height:80vw;
        background-position: center top, center top;
    }
}
@media (max-width: 991px) {
    .top-message {
        height: auto;
        padding: 44px 0 52px;
        flex-direction: column;
    }

    .top-message__eyebrow {
        font-size: 16px;
    }

    .top-message__title {
        font-size: 28px;
    }

    .top-message__copy {
        margin-top: 22px;
    }

    .top-message__copy p {
        font-size: 15px;
        line-height: 1.9;
    }

    .top-message__decor {
        display: none;
    }

    .top-message::before {
        background-position: left -120px center, center, center;
        background-size: min(94vw, 580px) auto, auto, auto;
    }

    .top-service,
    .top-company {
        padding: 30px 0 44px;
    }

    .top-company::after {
        font-size: 45px;
        top: 5%;
    }

    .top-service::before,
    .top-company::before {
        top: 10px;
        right: 10px;
        font-size: clamp(44px, 16vw, 88px);
        opacity: 0.9;
    }

    .top-service::after {
        top: 10%;
        font-size: 55px;
    }

    .top-service__item {
        height: 95px;
    }

    .top-service__heading {
        margin-bottom: 30px;
    }

    .top-company__heading {
        margin: 0 0 20px;
    }

    .top-service__title,
    .top-company__title {
        font-size: clamp(38px, 12vw, 58px);
    }

    .top-service__content,
    .top-company__content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "figure"
            "body";
    }

	.top-service__figure,
    .top-company__figure {
        min-height: 0;
        margin-right: 0;
        width: 100%;
        order: -1;
    }
	.top-service__figure { margin-top:20px; }

    .top-service__item a {
        min-height: 76px;
        padding-left: 18px;
    }

    .top-service__item-label {
        padding-left: 42px;
        font-size: 15px;
    }

    .top-recruit {
        padding: 40px 0 48px;
    }

    .top-recruit::before {
        top: -6px;
        left: 6px;
        font-size: 55px;
    }

    .top-recruit::after {
        height: 95%;
    }

    .top-recruit__heading-inner {
        top: -11%;
    }

    .top-recruit__content {
        grid-template-columns: 1fr;
    }

    .top-recruit__figure {
        min-height: 250px;
        margin-left: 0;
        width: 100%;
    }

    .top-recruit__body {
        padding: 20px 0 8px;
    }

    .top-recruit__heading {
        margin-bottom: 0;
    }

    .top-recruit__title {
        font-size: clamp(44px, 12vw, 60px);
    }

    .top-recruit__lead {
        font-size: 24px;
        line-height: 1.45;
    }

    .top-recruit__copy,
    .top-company__copy {
        margin-top: 14px;
    }

    .top-recruit__copy p,
    .top-company__copy p {
        font-size: 14px;
        line-height: 1.85;
    }

    .top-recruit__cta,
    .top-company__cta {
        margin-top: 18px;
        min-height: 62px;
        padding-left: 56px;
        padding-right: 68px;
        background-position: 18px center;
        background-size: 30px 30px;
    }

    .top-recruit__cta::before,
    .top-company__cta::before {
        width: 62px;
    }

    .top-recruit__cta::after,
    .top-company__cta::after {
        right: 17px;
        width: 28px;
        height: 16px;
    }

    .top-company-links {
        margin-top: 26px;
        padding-bottom: 36px;
    }

    .top-company-links__inner {
        position: static;
    }
}
@media (max-width: 767px) {
    .top-company-links__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .top-company-links__thumb {
        aspect-ratio: 16 / 7;
    }

    .top-company-links__label {
        min-height: 56px;
        padding-left: 14px;
        padding-right: 60px;
		font-size:18px;
    }
}
