@charset "UTF-8";

/* ==========================================================================
   Page Specific Styles - Top Page
   ========================================================================== */

.section {
    padding: var(--space-xl) 0;
    text-align: center;
}

.section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.section p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   Hero & Intro Sections
   ========================================================================== */

.hero-section {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
}

.hero-slider,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 100%;
    padding: 0 20px;
    z-index: 10;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.8);
}

.hero-text-en {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text-jp {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.intro-redesign {
    background-color: #1b4332;
    color: #fff;
    overflow: hidden;
}

.intro-split {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.intro-content-wrap {
    flex: 1;
    padding: 5.6rem var(--space-lg);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.intro-text {
    max-width: 600px;
    text-align: left;
}

.intro-text h1 {
    font-family: "toppan-bunkyu-midashi-go-std", sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    color: #fff;
    margin-bottom: var(--space-md);
    text-align: left;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
}

.intro-image-wrap {
    flex: 1;
    display: flex;
}

.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   News & Instagram Sections
   ========================================================================== */

.news-section {
    padding-top: 2.8rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid #eee;
}

.news-split-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.news-main-content {
    width: 100%;
}

.news-sidebar-content {
    width: 100%;
}

.news-list-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    transition: background-color 0.3s ease;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.news-date {
    font-family: var(--font-en);
    font-weight: 500;
    color: #666;
}

.news-category {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 2px;
}

.news-text {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 100px;
}

.news-icon {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.instagram-section {
    background-color: #f9f9f9;
    padding-bottom: var(--space-xl);
}

.instagram-intro {
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.instagram-feed {
    margin-top: var(--space-md);
    min-height: 300px;
}

/* ==========================================================================
   Feature & Split-Row Sections
   ========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.features {
    padding: var(--space-xl) 0;
}

.features.section {
    padding-top: var(--space-lg);
}

.about-row-section {
    padding: 0;
    background: transparent;
}

.about-row-card {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #292929;
    height: 427px;
}

.about-row-card.reverse {
    flex-direction: row-reverse;
}

.about-row-card.reverse .about-row-image {
    justify-content: flex-end;
}

.about-row-image {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.about-row-image img {
    width: 640px;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.about-row-content {
    flex: 1;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: transparent;
    color: #fff;
}

/* Custom Themed Backgrounds */
.bg-fees { background-color: #6B5D50 !important; }
.bg-field { background-color: #463107 !important; }
.bg-sauna { background-color: #4B7063 !important; }
.bg-ambassador { background-color: #576E17 !important; }
.bg-reg { background-color: #6B5D50 !important; }

.about-row-title-group {
    margin-bottom: 1rem;
}

.about-row-en {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.about-row-title {
    font-size: 1.2rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.about-row-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2rem !important;
    max-width: none !important;
    margin-left: 0 !important;
}

.about-row-btn {
    align-self: flex-start;
    padding: 0.8rem 3rem;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.about-row-btn:hover {
    background-color: #fff;
    color: #292929;
    text-decoration: none;
}

/* ==========================================================================
   Animations & Indicators
   ========================================================================== */

.slide-in-left {
    opacity: 0;
    transform: translateX(-150px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.animate-active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(150px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.animate-active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-top {
    opacity: 0;
    transform: translateY(-100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-top.animate-active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    pointer-events: none;
}

.scroll-text {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scroll-line-anim 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-line-anim {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Large Desktop (1200px) */
@media (max-width: 1200px) {
    .news-split-layout {
        gap: 1.5rem;
    }
}

/* Standard Desktop (1100px) */
@media (max-width: 1100px) {
    .news-split-layout {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    .news-main-content, .news-sidebar-content {
        width: 100%;
    }
    .news-main-content .section-title {
        text-align: center;
    }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .intro-redesign {
        padding-top: 0;
    }
    .intro-split {
        flex-direction: row;
        min-height: auto;
    }
    .intro-content-wrap {
        padding: 2rem var(--space-md);
        justify-content: flex-end;
        flex: 0 0 55%;
    }
    .intro-text, .intro-text h1, .intro-text p {
        text-align: left;
        max-width: 100%;
    }
    .intro-image-wrap {
        flex: 0 0 45%;
        height: auto;
    }
    .about-row-section {
        padding-top: 10%;
    }
    .about-row-section + .about-row-section {
        padding-top: 0 !important;
    }
    .about-row-card, .about-row-card.reverse {
        height: auto;
        min-height: 400px;
    }
    .about-row-card.reverse {
        flex-direction: row-reverse;
    }
    .about-row-image {
        width: 45%;
    }
    .about-row-image img {
        width: 100%;
    }
    .about-row-content {
        flex: 1;
        padding: 3rem 2.5rem;
    }
    .about-row-en {
        font-size: 2.2rem;
    }
    .about-row-title {
        font-size: 1.1rem;
    }
    .about-row-desc {
        margin-bottom: 2rem !important;
    }
}

/* Tablet / Mobile Transition (768px) */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 0;
    }
    .hero-section, .hero-slider, .hero-slider .swiper-wrapper, .hero-slider .swiper-slide {
        height: 100vh;
        height: 100dvh;
    }
    .hero-slider img {
        height: 100%;
    }
    .features.section {
        padding-top: var(--space-md);
    }
    .news-item {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: var(--space-xs) var(--space-md);
        align-items: center;
    }
    .news-meta {
        grid-column: 1 / -1;
    }
    .news-text {
        grid-column: 1;
        white-space: normal;
    }
    .news-icon {
        grid-column: 2;
    }
    .news-section {
        padding-bottom: 0;
    }
}

/* Smartphone (600px) */
@media (max-width: 600px) {
    .intro-redesign {
        padding-top: 0;
    }
    .intro-split {
        flex-direction: column;
    }
    .intro-content-wrap {
        padding: 3rem var(--space-md);
        flex: none;
        order: 2;
    }
    .intro-text, .intro-text h1, .intro-text p {
        text-align: center;
    }
    .intro-image-wrap {
        width: 100%;
        height: auto;
        flex: none;
        order: 1;
    }
    .about-row-section {
        padding-top: 20%;
    }
    .about-row-section + .about-row-section {
        padding-top: 0 !important;
    }
    .about-row-card, .about-row-card.reverse {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }
    .about-row-image {
        width: 100%;
        height: auto;
        order: 1;
    }
    .about-row-image img {
        max-height: 250px;
        width: 100%;
    }
    .about-row-content {
        width: 100%;
        padding: 4rem 1.5rem;
        text-align: center;
        align-items: center;
        order: 2;
    }
    .about-row-btn {
        align-self: center;
    }
}

/* Remove gap between Instagram and Footer on Home page */
footer {
    margin-top: 0;
}
