/* ============================================
   CSS Custom Properties
============================================ */
:root {
    --ci-navy:    #22428D;
    --ci-blue:    #136AAB;
    --ci-teal:    #149396;
    --ci-dark:    #2A2A2A;
    --ci-accent:  #E6F183;
    --ci-cyan-bg: #DDF1F3;
    --ci-gray-bg: #EBEBEB;
    --ci-white:   #FFFFFF;
}

/* ============================================
   共通：セクション見出し
============================================ */
.top-page_section-head {
    text-align: center;
    margin-bottom: 60px;
}
@media screen and (max-width: 1024px) {
    .top-page_section-head {
        margin-bottom: 40px;
    }
}

.top-page_section-head__en {
    display: block;
    position: relative;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--ci-navy);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
@media screen and (max-width: 1024px) {
    .top-page_section-head__en {
        font-size: 20px;
        margin-bottom: 8px;
    }
}

.top-page_section-head__ja-wrap {
    display: inline-flex;
    align-items: center;
}

.top-page_section-head__bar {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: var(--ci-accent);
    z-index: -1;
}
@media screen and (max-width: 1024px) {
    .top-page_section-head__bar {
        height: 32%;
    }
}
.top-page_section-head__ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--ci-dark);
    position: relative;
    z-index: 1;
    padding: 0 8px;
    line-height: 1.4;
}
@media screen and (max-width: 1024px) {
    .top-page_section-head__ja {
        font-size: 24px;
    }
}

/* ============================================
   FV
============================================ */
.top-page_fv {
    position: relative;
    min-height: 800px;
    background: var(--ci-cyan-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
@media screen and (max-width: 768px) {
    .top-page_fv {
        min-height: 600px;
        padding-top: 80px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_fv {
        min-height: 440px;
    }
}

.top-page_fv__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.top-page_fv__media img,
.top-page_fv__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FV スライドショー（5列 × 6行、奇数列↓ / 偶数列↑） */
.fv-slideshow {
    position: absolute;
    right: 6vw;
    top: 0;
    width: 52%;
    min-width: 640px;
    height: 120%;
    display: flex;
    gap: 6px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    transform: rotate(12deg);
}
@media screen and (max-width: 768px) {
    .fv-slideshow {
        width: 46%;
        opacity: 0.4;
    }
}
@media screen and (max-width: 768px) {
    .fv-slideshow {
        width: 80%;
        height: 150%;
        order: 2;
        min-width: unset;
    }
}

/* 上下フェードマスク */
/* .fv-slideshow::before,
.fv-slideshow::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}
.fv-slideshow::before {
    top: 0;
    background: linear-gradient(to bottom, var(--ci-cyan-bg) 0%, transparent 100%);
}
.fv-slideshow::after {
    bottom: 0;
    background: linear-gradient(to top, var(--ci-cyan-bg) 0%, transparent 100%);
} */

.fv-slideshow__col {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.fv-slideshow__track {
    display: flex;
    flex-direction: column;
    gap: 6px;
    will-change: transform;
}

/* 奇数列：上から下（-50% → 0） */
.fv-slideshow__col--down .fv-slideshow__track {
    animation: fv-scroll-down linear infinite;
}
/* 偶数列：下から上（0 → -50%） */
.fv-slideshow__col--up .fv-slideshow__track {
    animation: fv-scroll-up linear infinite;
}

/* カラムごとに速度・開始位置をずらす */
.fv-slideshow__col:nth-child(1) .fv-slideshow__track { animation-duration: 44s; animation-delay:  -4s; }
.fv-slideshow__col:nth-child(2) .fv-slideshow__track { animation-duration: 56s; animation-delay: -14s; }
.fv-slideshow__col:nth-child(3) .fv-slideshow__track { animation-duration: 40s; animation-delay:  -8s; }
.fv-slideshow__col:nth-child(4) .fv-slideshow__track { animation-duration: 52s; animation-delay:  -2s; }
.fv-slideshow__col:nth-child(5) .fv-slideshow__track { animation-duration: 48s; animation-delay: -10s; }

.fv-slideshow__item {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
}

.fv-slideshow__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fv-slideshow__item--placeholder {
    background: rgba(42, 42, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-slideshow__item--placeholder span {
    font-size: 20px;
    font-weight: 700;
    color: rgba(42, 42, 42, 0.4);
}

@keyframes fv-scroll-up {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

@keyframes fv-scroll-down {
    from { transform: translateY(-50%); }
    to   { transform: translateY(0); }
}

/* FVメインコンテンツ */
.top-page_fv__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    padding: 80px 40px 80px 0px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
@media screen and (max-width: 1250px) {
    .top-page_fv__inner {
        padding: 80px 40px 80px 0px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_fv__inner {
        padding: 40px 20px;
        max-width: 100%;
        gap: 32px;
    }
}

.top-page_fv__heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-page_fv__heading-chip {
    display: inline-block;
}

.top-page_fv__heading-chip span {
    display: inline-block;
    background: var(--ci-white);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--ci-dark);
    padding: 10px 1em;
    line-height: 1.4;
    letter-spacing: 0.04em;
}
@media screen and (max-width: 1024px) {
    .top-page_fv__heading-chip span {
        font-size: 36px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_fv__heading-chip span {
        font-size: 24px;
        padding: 8px 16px;
    }
}

.top-page_fv__heading-chip:nth-child(2){
	margin-left:96px;
}
@media screen and (max-width: 768px) {
	.top-page_fv__heading-chip:nth-child(2){
	margin-left:0px;
}
}
.top-page_fv__heading-chip.u-anim-left:nth-child(2).is-animated {
    animation-delay: 0.4s;
}

/* "Bridging People & Companies" タグライン */
.top-page_fv__tagline {
    position: relative;
}

.top-page_fv__en-title {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 480px;
    height: auto;
	font-size:20px;
	line-height:1.6em;
	margin-left:96px;
    color: #22428D;
    font-weight: 600;
}
@media screen and (max-width: 768px) {
    .top-page_fv__en-title {
        max-width: 360px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_fv__en-title {
        max-width: unset;
		margin:0;
		    font-size: 14px;
		    text-shadow: 1px 2px 6px rgba(255, 255, 255, 1);
    }
}
.top-page_fv__en-title span{
	display:inline-block;
	position:relative;
font-size:24px;
	line-height:1.6em;
    color: #22428D;
    font-weight: 600;
margin-right: 0.2em;
}
@media screen and (max-width: 768px) {
	.top-page_fv__en-title span{
		font-size:16px;
	}
}
.top-page_fv__en-title span:before{
	content:"";
	display:block;
	width:100%;
	height:0.5em;
	background:#E6F183;
	position:absolute;
	left:0;
	bottom:0;
	z-index: -1;
    opacity: 0.6;
}


/* ============================================
   お知らせ
============================================ */
.top-page_news {
    padding: 120px 0 80px;
}
@media screen and (max-width: 1024px) {
    .top-page_news {
    padding: 80px 0 0 0;
    }
}

.top-page_news__list {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--ci-dark);
}

.top-page_news__item {
    border-bottom: 1px solid rgba(42, 42, 42, 0.3);
}

.top-page_news__link {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}
@media screen and (max-width: 768px) {
    .top-page_news__link {
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 0;
    }
}

.top-page_news__link:hover {
    opacity: 0.6;
}

.top-page_news__date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--ci-navy);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.top-page_news__cat {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    padding: 8px 14px;
    border-radius: 24px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.04em;
    line-height: 1;
    width: 140px;
    text-align: center;
}

.top-page_news__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ci-dark);
    line-height: 2;
    letter-spacing: 0.04em;
    flex: 1;
}
@media screen and (max-width: 1024px) {
    .top-page_news__title {
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_news__title {
        width: 100%;
        flex: unset;
        line-height: 1.6;
    }
}

/* 「一覧へ」ボタン */
.top-page_news__more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.top-page_news__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 12px;
    background: linear-gradient(90deg, #6FD3E3 0%, #218CB8 100%);
    color: var(--ci-white);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 24px 24px;
    border-radius: 10px;
    min-width: 320px;
    letter-spacing: 0.08em;
    transition: opacity 0.2s;
}
@media screen and (max-width: 1024px) {
    .top-page_news__btn {
        min-width: 280px;
        padding: 20px 20px;
        font-size: 16px;
    }
}

.top-page_news__btn:hover {
    opacity: 0.8;
}

.top-page_news__btn span {
    color: #fff;
        font-size: 24px;
}
@media screen and (max-width: 1024px) {
    .top-page_news__btn span {
        font-size: 20px;
padding-left: 0.2em;
    }

}

.top-page_news__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    padding-left: 5px;
}
@media screen and (max-width: 1024px) {
    .top-page_news__btn-icon {
        width: 36px;
        height: 36px;
        right: 20px;
    }
    .top-page_news__btn-icon svg{
        width: 16px;
        height: 16px;
    }
}

.top-page_news__btn:hover .top-page_news__btn-icon {
    transform: translateY(-50%) translateX(6px);
}

/* ============================================
   事業内容
============================================ */
.top-page_business {
    padding-bottom: 0;
}

.top-page_business .top-page_section-head {
    padding-top: 80px;
}
@media screen and (max-width: 768px) {
    .top-page_business .top-page_section-head {
        padding-top: 60px;
    }
}

.top-page_business__item {
    margin-bottom: 80px;
}
.top-page_business__item:last-of-type{
    margin: 0;
}

.top-page_business__item--cyan {
    background: var(--ci-cyan-bg);
    border-left: 20px solid #59C1E2;
}

.top-page_business__item--gray {
    background: var(--ci-gray-bg);
    border-right: 20px solid #59C1E2;
}

.top-page_business__item-inner {
    display: flex;
    align-items: center;
    position: relative;
}

.top-page_business__item-inner--reverse {
    flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
    .top-page_business__item-inner {
        gap: 40px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_business__item-inner,
    .top-page_business__item-inner--reverse {
        flex-direction: column;
        gap: 24px;
    }
}

.top-page_business__text-col {
    flex: 1;
    min-width: 0;
    padding: 0 80px;
}
@media screen and (max-width: 1024px) {
    .top-page_business__text-col {
    padding: 40px 4vw 0 4vw;
}
}

.top-page_business__no {
    display: block;
    font-family: 'Quentin', sans-serif;
    font-size: 130px;
    font-weight: 500;
    color: #959595;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: absolute;
    top: -0.5em;
}
@media screen and (max-width: 1024px) {
    .top-page_business__no {
        font-size: 80px;
    }
}

.top-page_business__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ci-dark);
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}
@media screen and (max-width: 1024px) {
    .top-page_business__title {
        font-size: 18px;
    }
}

.top-page_business__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    color: var(--ci-dark);
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.top-page_business__img-col {
    flex: 0 0 440px;
    width: 440px;
}
@media screen and (max-width: 1024px) {
    .top-page_business__img-col {
        flex: 0 0 300px;
        width: 300px;
    }
}
@media screen and (max-width: 768px) {
    .top-page_business__img-col {
        flex: unset;
        width: 100%;
    }
}

.top-page_business__img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.top-page_business__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

