/* TOPページ専用スタイル */

/* トップページのmainタグにmargin-top: 80vhを適用 */
main:not(.split-layout) {
    margin-top: 80vh !important;
}

/* ファーストビュー：フルスクリーン中央ロゴ */
.hero-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 1000;
    transition: all 0.8s ease;
}

.hero-fullscreen.fade-out {
    opacity: 0;
    transform: translateY(-50px);
    pointer-events: none;
}

.hero-center {
    text-align: center;
}

.hero-logo {
    width: 500px;
    height: auto;
    max-width: 80vw;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInLogo 1.2s ease 0.3s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #000;
    opacity: 0;
    animation: fadeInScroll 1s ease 1.8s forwards;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    font-size: 1.2rem;
    font-weight: 300;
    animation: bounce 2s infinite;
}

/* アニメーション */
@keyframes fadeInLogo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* メインコンテンツ */
.main-content {
    margin-top: 100vh;
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 会社説明セクション */
.company-section {
    padding: 12rem 0 6rem 0;
    text-align: center;
}

.company-description {
    font-size: 2rem;
    font-weight: 400;
    line-height: 2.4;
    color: #000;
    margin-bottom: 3rem;
}

.company-details {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 3.2;
    color: #000;
    margin-bottom: 4rem;
}

.view-more-center {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.btn-view-more {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 1rem 3rem;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-view-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #a9db00;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-view-more:hover::before {
    left: 0;
}

.btn-view-more:hover {
    color: white;
    border-color: #a9db00;
}

/* ニュースセクション */
.news-section {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #a9db00;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* トップページのNEWSタイトルでh2の汎用アンダーラインを無効化 */
.section-title::after {
    display: none;
}

.news-underline {
    width: 60px;
    height: 3px;
    background: #a9db00;
    margin: 0 auto 3rem;
}

.news-list {
    margin-bottom: 3rem;
    text-align: left;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 2rem;
}

.news-date {
    font-size: 1rem;
    color: #000;
    min-width: 80px;
    font-weight: 300;
}

.news-title {
    font-size: 1rem;
    color: #000;
    font-weight: 300;
    line-height: 1.6;
}

/* ナビゲーションボタンセクション */
.navigation-buttons {
    padding: 4rem 0 6rem;
}

.nav-button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.nav-button {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 2rem 1.5rem;
	font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.4s ease, border-color 0.4s ease;
    text-align: center;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #a9db00;
    transition: left 0.4s ease;
    z-index: -1;
}

.nav-button:hover::before {
    left: 0;
}

.nav-button:hover {
    color: white;
    border-color: #a9db00;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    
    .hero-logo {
        width: 280px;
        margin-bottom: 3rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .company-section {
        padding: 8rem 0 4rem 0;
    }
    
    .company-description {
        font-size: 1.6rem;
		line-height: 2;
        margin-bottom: 4rem;
    }
   
    .btn-view-more {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .news-date {
        min-width: auto;
        font-size: 1rem;
    }
    
    .nav-button-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .nav-button {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
}
@media screen and (min-width: 852px) and (max-width: 1003px) {
    .company-details {
        font-size: 1rem;
    }
}
@media (max-width: 851px) {
    .company-details {
        font-size: 1rem;
		line-height: 2.4;
        margin-bottom: 3rem;
		text-align: left;
    }
}
@media screen and (min-width: 640px) and (max-width: 851px) {
	.company-description {
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 639px) {
	.company-description {
        font-size: 1.3rem;
    }
}

.br-sp-ttl{
	display: none;
}
@media (max-width: 519px) {
	.br-sp-ttl{
	display: block;
	}
}
.br-pc-details{
	display: block;
}
@media (max-width: 851px) {
	.br-pc-details{
	display: none;
	}
}

/* スクロール時のヘッダー表示制御 */
body.homepage-initial header {
    opacity: 0;
    transform: translateY(-100%);
}

body.homepage-scrolled header {
    opacity: 1;
    transform: translateY(0);
}