/* --- Hero --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-white);
    overflow: hidden;
}

/* Background Running Text */
.hero__bg-text {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    display: flex;
    white-space: nowrap;
    font-family: var(--font-en);
    font-size: 180px;
    font-weight: 800;
    color: rgba(0,0,0,0.02);
    z-index: 1;
    pointer-events: none;
}

.hero__bg-text-inner {
    animation: textScroll 40s linear infinite;
}

@keyframes textScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.hero__slider-wrap {
    position: absolute;
    top: 15vh;
    right: 5%;
    width: 65%;
    height: 70vh;
    z-index: 2;
    overflow: visible;
}

.hero__slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s;
    transform: scale(1.1);
}

.hero__slide.active {
    opacity: 1;
    animation: kenBurns 8s linear forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.0); }
}

/* cityscape.svg */
.hero__illustration {
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 40vw;
    z-index: 15;
    pointer-events: none;
}

.hero__illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__content {
    position: relative;
    z-index: 10;
		margin-top: 12%;
    padding-left: 6%;
    width: 100%;
}

.hero__sub-en {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero__title-line {
    background-color: var(--color-white);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero__lead {
    font-size: 18px;
    line-height: 2.2;
    font-weight: 400;
}

.hero__lead-line {
    background-color: var(--color-white);
    display: inline-block;
    margin-bottom: 0.2em;
}

/* Flowing Animation */
.js-text-flow {
    display: inline-block;
    opacity: 0;
    transform: translateX(-40px);
    transition: 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-active .js-text-flow,
.is-active > .js-text-flow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Hero Scroll --- */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* SCROLLテキストとラインの間の余白 */
}

.hero__scroll-text {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    writing-mode: vertical-rl; /* 垂直方向に表示 */
    font-weight: 400;
    opacity: 0.8;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 80px;
    background: rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--color-primary);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

/* --- Concept --- */
.concept {
    padding: var(--space-section) 0;
    width: 100%;
    overflow: hidden;
}

.concept__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.concept__img img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.concept__content {
    padding: 80px;
    background: var(--color-white);
    margin-left: -100px;
    position: relative;
    z-index: 2;
}

.concept__text {
    font-size: 18px;
    line-height: 2.2;
}

/* --- Business --- */
.business {
    padding: var(--space-section) 0;
    background: var(--color-white);
    width: 100%;
    overflow: hidden;
}

.business__container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

.business__header {
    margin-bottom: 60px;
}

.business__tiling {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.business__tile-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    width: 33.3333%;
}

@media (min-width: 1025px) {
    .business__tile-item:nth-child(1),
    .business__tile-item:nth-child(2) {
        width: 50%;
    }
}

@media (max-width: 1024px) and (min-width: 641px) {
    .business__tile-item {
        width: 50%;
    }
}

.business__tile-card {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.business__tile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.business__tile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.business__tile-card:hover img {
    transform: scale(1.08);
}

.business__tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 10;
    color: var(--color-white);
}

.business__tile-num {
    display: block;
    font-family: var(--font-en);
    font-size: 32px;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
    opacity: 0.8;
}

.business__tile-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.business__tile-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- Column --- */
.column {
    padding: var(--space-section) 0;
    width: 100%;
    overflow: hidden;
}

.column__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.column__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.column__card {
    display: block;
    width: calc(33.3333% - 27px);
}

@media (max-width: 1024px) and (min-width: 641px) {
    .column__card {
        width: calc(50% - 20px);
    }
}

.column__card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #eee;
}

.column__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.column__card:hover .column__card-img img {
    transform: scale(1.1);
}

.column__date {
    display: block;
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 0.1em;
}

.column__card-title {
		margin-bottom: 0.5em;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
}

.column__card-excerpt {
    font-size: 14px;
		color: var(--color-text-light);
}

/* --- Loop Section --- */
.loop-section {
    width: 100%;
    overflow: hidden;
    background: var(--color-white);
    padding: 0;
}

.loop-section__track {
    display: flex;
    width: 200%;
    animation: loopScroll 60s linear infinite;
}

.loop-section__img {
    width: 100%;
		max-width: 2600px;
    flex-shrink: 0;
}

.loop-section__img img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes loopScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Recruit Section --- */
.recruit-section {
    padding: var(--space-section) 0;
    background: var(--color-primary);
    color: var(--color-white);
    width: 100%;
    overflow: hidden;
}

.recruit-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.recruit-section__content {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recruit-section__content .section-title {
    color: var(--color-white);
    margin-bottom: 40px;
}

.recruit-section__text {
    font-size: 18px;
    line-height: 2.2;
    opacity: 0.9;
}

.recruit-section__img {
    min-height: 500px;
    overflow: hidden;
}

.recruit-section__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.deco_01 {
	position: absolute;
	z-index: 2;
	width: 14%;
	left: 0;
}

.deco_01 img {
	position: relative;
	top: -140px;
	left: 100px;
	display: block;
	width: 100%;
}

.deco_02 {
	position: absolute;
	z-index: 2;
	width: 15%;
	right: 0;
}

.deco_02 img {
	position: relative;
	top: -160px;
	right: 100px;
	display: block;
	width: 100%;
}

.deco_03 {
	position: absolute;
	z-index: 2;
	width: 14%;
	left: 0;
}

.deco_03 img {
	position: relative;
	top: -180px;
	left: 100px;
	display: block;
	width: 100%;
}

.deco_04 {
	position: absolute;
	z-index: 2;
	width: 16%;
	right: 0;
}

.deco_04 img {
	position: relative;
	top: -120px;
	right: 100px;
	display: block;
	width: 100%;
}

.deco_05 {
	position: absolute;
	z-index: 2;
	width: 12%;
	left: 0;
}

.deco_05 img {
	position: relative;
	top: -130px;
	left: 100px;
	display: block;
	width: 100%;
}

.deco_06 {
	position: absolute;
	z-index: 2;
	width: 14%;
	right: 0;
}

.deco_06 img {
	position: relative;
	top: -140px;
	right: 100px;
	display: block;
	width: 100%;
}

@media (max-width: 1024px) {
    .hero { height: auto; min-height: 100vh; flex-direction: column; padding-top: 100px; padding-bottom: 60px; }
    .hero__bg-text { font-size: 60px; top: 5%; z-index: 3; }
    .hero__slider-wrap { position: relative; top: 0; right: 0; width: 100%; height: 50vh; margin-bottom: 60px; overflow: visible; }
    .hero__content { padding-left: 0; text-align: center; width: 100%; padding: 0 20px; margin-top: 0; }
    .hero__title { font-size: 56px; line-height: 1.5; margin-bottom: 20px; }
    .hero__lead { font-size: 18px; }
    .hero__illustration { position: absolute; bottom: -40px; right: 0; width: 60%; }
    .hero__scroll { display: none; }
		@media (max-width: 640px) {
				.hero__title { font-size: 28px; line-height: 1.5; margin-bottom: 20px; }
				.hero__lead { font-size: 14px; }
		}
    .concept__grid { grid-template-columns: 1fr; }
		.concept__img img { height: 400px; width: 90%; }
		.concept__content { margin-left: auto; margin-right: 0; padding: 40px 40px; margin-top: -40px; width: 90%; box-shadow: none; }
    .concept__text { font-size: 15px; }
    @media (max-width: 640px) {
				.concept__img img { height: 350px; width: 100%; }
				.concept__content { margin-left: 0; margin-right: auto; padding: 40px 20px; margin-top: 0; width: 100%; }
        .business__tiling { grid-template-columns: 1fr; }
        .business__tile-item { width: 100% !important; aspect-ratio: 16 / 10; }
        .business__tile-content { padding: 20px; }
				.business__tile-num {
						font-size: 24px;
						margin-bottom: 0;
				}
        .business__tile-title { font-size: 24px; }
        .business__tile-text { font-size: 14px; max-width: 100%; }
    }
    .business__container { width: 100%; padding: 0 20px; }
    @media (max-width: 640px) {
        .column__card { width: 100% !important; }
    }
    .column__header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
    .column__card-img { margin-bottom: 15px; }
    .column__card-title { font-size: 16px; }
    .recruit-section__grid { grid-template-columns: 1fr; }
    .recruit-section__content { padding: 60px 20px; order: 2; }
    .recruit-section__img { height: 300px; min-height: 300px; order: 1; }
    .recruit-section__text { font-size: 15px; }
	
		.deco_01 {
			width: 25%;
		}

		.deco_01 img {
			top: -100px;
			left: 40px;
		}

		.deco_02 {
			width: 25%;
		}

		.deco_02 img {
			top: -100px;
			right: 20px;
		}

		.deco_03 {
			width: 25%;
		}

		.deco_03 img {
			top: -120px;
			left: 40px;
		}

		.deco_04 {
			width: 25%;
		}

		.deco_04 img {
			top: -90px;
			right: 20px;
		}

		.deco_05 {
			width: 20%;
		}

		.deco_05 img {
			top: -70px;
			left: 40px;
		}
	
		.deco_06 {
			width: 20%;
		}

		.deco_06 img {
			top: -90px;
			right: 20px;
		}
}

@media (max-width: 640px) {
    .hero__content { padding: 0 16px; }
	
		.loop-section__img {
				width: 150%;
		}
	
		.deco_01 {
			width: 30%;
		}

		.deco_01 img {
			top: -20px;
			left: 40px;
		}

		.deco_02 {
			width: 30%;
		}

		.deco_02 img {
			top: -50px;
			right: 20px;
		}

		.deco_03 {
			width: 30%;
		}

		.deco_03 img {
			top: -60px;
			left: 40px;
		}

		.deco_04 {
			width: 30%;
		}

		.deco_04 img {
			top: -50px;
			right: 20px;
		}

		.deco_05 {
			width: 22%;
		}

		.deco_05 img {
			top: -40px;
			left: 20px;
		}
	
		.deco_06 {
			width: 30%;
		}

		.deco_06 img {
			top: -50px;
			right: 20px;
		}

}