/* Front Page Specific Styles */
/* These styles are only loaded on the front page */

/* =======================================================================================================================
Section Hero (shared intro layout: text left + vision image right)
================================================================================ */

.section-hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 12rem;
}

.section-hero .section-vision {
    width: 100%;
    aspect-ratio: unset;
}

.section-hero-summary {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.9;
    color: #3A3A3A;
}

@media (min-width: 641px) and (max-width: 1023px) {
    .section-hero {
        display: grid;
        grid-template-columns: 1fr 1.25fr;
        gap: 4rem;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .section-hero {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
        align-items: start;
    }
}

/* =======================================================================================================================
    Section Header
======================================================================================================================== */

.section-header {
    display: flex;
    margin-bottom: 4rem;
    gap: 1rem;
    position: relative;
}

.section-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: #F0F0F0;
    line-height: 1;
    user-select: none;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.875rem;
    font-weight: 300;
    color: #3A3A3A;
    letter-spacing: -0.025em;
}
.section-title {
    font-size: 2rem;
}


@media (min-width: 640px) {
    .section-header {
        gap: 1.5rem;
    }

    .section-number {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .section-number {
        font-size: 7rem;
    }

    .section-title-content {
        padding-top: 1rem;
    }

    .section-title {
        font-size: 1.875rem;
        letter-spacing: -0.025em;
    }
}


/* =======================================================================================================================
Vision Section 
================================================================================ */

.section-vision {
    position: relative;
}

.section-vision picture {
    display: block;
    overflow: hidden;
}

:root .section-vision_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1) contrast(1) opacity(1);
    transition: filter 0.6s ease;
}

.section-vision_title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    color: #3A3A3A;
    line-height: 1.4;
    letter-spacing: 0.025em;
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    padding-right: 4px;
}

.section-vision:hover img {
    filter: saturate(0.5) contrast(0.4) opacity(0.7);
}

@media (max-width: 1023px) and (min-width: 641px) {
    .section-vision_title {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .section-vision_title {
        font-size: 0.8rem;
    }
}

/* =======================================================================================================================
Hero Section 
================================================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(247, 249, 250, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
    display: flex;
    justify-content: space-between;
}

.hero-inner {
    max-width: 48rem;
}

@media (min-width: 641px) {
    .hero-inner {
        width: 32%;
        padding-top: 3rem;
    }

    .hero .section-vision {
        width: 66%;
    }
}

.hero .section-vision img {
    object-fit: cover;
    max-width: 800px;
    height: auto;
    filter: saturate(0.5) contrast(0.4) opacity(0.5);
    transition: filter 0.5s ease, opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-headline {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: #3A3A3A;
    line-height: 1.4;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}


.hero-subtitle {
    /* font-family: 'Noto Sans JP', 'DM Sans', sans-serif; */
    font-size: 1rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.75;
    max-width: 28rem;
    margin-bottom: 0.75rem;
}

.hero-description {
    /* font-family: 'Noto Sans JP', 'DM Sans', sans-serif; */
    font-size: 0.875rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.75;
    max-width: 24rem;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.scroll-line {
    width: 2rem;
    height: 1px;
    background-color: #666666;
    transition: width 0.3s ease;
}

.scroll-indicator:hover .scroll-line {
    width: 3rem;
}

.hero .section-vision:hover img {
    filter: saturate(0.6) contrast(0.5) opacity(0.7);
}


@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    .hero-content {
        padding: 8rem 0;
    }
    .hero-headline {
        font-size: min(3.5rem, 3.5vw);
    }
    .hero-inner {
        padding-top: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-inner {
        width: 100%;
        max-width: 48rem;
        padding-top: 0;
    }
    .hero-content {
        padding: 4rem 0;
        display: block;
    }
    .hero-headline {
        font-size: max(1.8rem, 6vw);
    }
    .hero-subtitle {
        font-size: min(1rem, 3.5vw);
    }
    .hero-description {
        font-size: 0.75rem;
    }
    .hero .section-vision {
        width: 100%;
        margin-top: 2rem;
    }
    .hero .section-vision img {
        width: 100%;
    }
}



/* =======================================================================================================================
    About Section 
======================================================================================================================== */

.about {
    padding: 6rem 0;
    border-bottom: 1px solid #E0E0E0;
    position: relative;
    z-index: 5;
}

@media (max-width: 640px) {
    .about {
        padding: 9rem 0;
    }
}



/* =================================================================
Philosophy Section 
================================================================= */

.philosophy {
    padding: 9rem 0;
}

@media (max-width: 640px) {
    .philosophy {
        padding: 6rem 0;
        border-bottom: 1px solid #E0E0E0;
    }
}

.philosophy .section-number {
    color: #F0F0F0;
}

.philosophy .section-label {
    color: #666666;
}

.philosophy .section-title {
    color: #3A3A3A;
}

.philosophy-headline {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    font-weight: 300;
    color: #3A3A3A;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .philosophy-headline {
        font-size: 1.25rem;
    }
}

.philosophy-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.9;
}

.philosophy-text {
    /* font-family: 'Noto Sans JP', 'DM Sans', sans-serif; */
    font-size: 1rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.philosophy-visual {
    width: 100%;
    max-width: 20rem;
    opacity: 0.8;
}

.inner-code-section {
    border-top: 1px solid #E0E0E0;
    padding-top: 4rem;
    margin-bottom: 4rem;
}

.inner-code-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #3A3A3A;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 641px) {
    .inner-code-title {
        font-size: 1.875rem;
    }
}

.inner-code-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 1rem;
}

.philosophy-note {
    font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.9;
    margin-top: 1.5rem;
}

.philosophy-tagline {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid #E0E0E0;
}

.philosophy-tagline-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #3A3A3A;
    letter-spacing: -0.025em;
    font-style: italic;
}

@media (min-width: 641px) {
    .philosophy-tagline-text {
        font-size: 1.875rem;
    }
}

/* =======================================================================================================================
    Section Transition Bridge
======================================================================================================================== */

.section-transition-bridge {
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid #E0E0E0;
    background-color: var(--bg-color);
}

.bridge-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: #3A3A3A;
    line-height: 2.2;
    letter-spacing: 0.05em;
}

/* =======================================================================================================================
    InnerTech Manifesto Section
======================================================================================================================== */

.innertech-manifesto {
    background-color: var(--bg-color);
    padding: 8rem 0;
}

.manifesto-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.manifesto-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1rem;
}

.manifesto-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1A1A1A;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .manifesto-title {
        font-size: 1.75rem;
    }
}

.manifesto-definition {
    margin-bottom: 5rem;
    padding: 2.5rem 3rem;
    background-color: #EFECE6;
}

.manifesto-def-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.25rem;
}

.manifesto-def-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: #3A3A3A;
    line-height: 2.1;
}

.manifesto-points {
    margin-bottom: 5rem;
}

.manifesto-points-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 3rem;
}

.manifesto-point {
    padding: 2.5rem 0;
    border-bottom: 1px solid #C8C4BC;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.manifesto-point:last-child {
    border-bottom: none;
}

@media (max-width: 640px) {
    .manifesto-point {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.manifesto-point-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1A1A1A;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.manifesto-point-text {
    font-size: 1rem;
    font-weight: 300;
    color: #555;
    line-height: 2.1;
}

.manifesto-footer {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid #C8C4BC;
}

.manifesto-footer-brand {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #888;
    text-transform: uppercase;
}

.manifesto-footer-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1A1A1A;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Technology Section */
.technology {
    padding: 6rem 0;
    border-bottom: 1px solid #E0E0E0;
}

@media (min-width: 641px) {
    .technology {
        padding: 9rem 0;
    }
}

.tech-headline {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: #3A3A3A;
    line-height: 1.9;
    margin-bottom: 2rem;
}

@media (min-width: 641px) {
    .tech-headline {
        font-size: 1.5rem;
    }
}

.tech-text {
    font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.tech-quote {
    border-left: 1px solid #D7C9A3;
    padding-left: 1.5rem;
}

.tech-quote p {
    font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.9;
    font-style: italic;
}

.tech-visual {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.tech-structure {
    border: 1px solid #E0DDD8;
    padding: 1.5rem;
}

.tech-structure-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888880;
    margin-bottom: 1.5rem;
}

.structure-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F0EDE8;
}

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

.structure-dot {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.structure-dot.main {
    background-color: #141410;
}

.structure-dot.sub {
    background-color: #C8C5BF;
}

.structure-text {
    font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.6;
}

.structure-text.main {
    color: #141410;
}

.structure-text.sub {
    color: #666560;
}

/* =================
Domains Section 
===================*/
.domains {
    padding: 6rem 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #E0E0E0;
}

@media (min-width: 641px) {
    .domains {
        padding: 9rem 0;
    }
}

.domains .section-number {
    color: #E8E8E8;
}

.domains-diagram {
    width: 100%;
    max-width: 32rem;
    margin-bottom: 4rem;
}

.domains-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: .5px solid #E0E0E0;
}

@media (min-width: 641px) {
    .domains-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.domain-card {
    padding: 2rem;
    border: .5px solid #E0E0E0;
    transition: background-color 0.3s ease;
}

.domain-card:hover {
    background-color: #F7F9FA;
}

@media (min-width: 641px) {
    .domain-card:nth-child(1) {
        border-right: 1px solid #E0E0E0;
    }
}

.domain-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.domain-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D7C9A3;
}


.domain-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #3A3A3A;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 641px) {
    .domain-title {
        font-size: 1.875rem;
    }
}

.domain-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.9;
}

.section-cta {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-cta-text {
    font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #666666;
}

.section-cta-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3A3A3A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-cta-link:hover {
    color: #555555;
}

/* ====================

For Organizations Section

======================*/

.for-organizations {
    padding: 6rem 0;
    border-bottom: 1px solid #E0DDD8;
}

.for-organizations .container{
    position: relative;
}

@media (max-width: 640px) {
    .for-organizations {
        padding: 4rem 0;
    }
}

/*-----------------------------------------------------------------
for-organizations セクションタイトル
 ------------------------------------------------------------------*/

.for-organizations .section-number {
    color: #E8E5E0;
}

.for-organizations .section-label {
    color: #888880;
}

.for-organizations .section-title {
    color: #141410;
}


/*-----------------------------------------------------------------
for-organizations 選択セクター
 ------------------------------------------------------------------*/

.sectors-list {
    border-top: 1px solid #E0DDD8;
}

.sector-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #E0DDD8;
    padding: 1.5rem 0;
    transition: background-color 0.2s ease;
}

@media (min-width: 1024px) {
    .sectors-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-right: 1px solid #E0DDD8;
    }

    .sector-item {
        padding: 2rem 1.5rem;
        border-right: none;
        border-left: 1px solid #E0DDD8;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .sector-item {
        padding: 2rem 0;
    }
}

.sector-item:hover {
    background-color: #F5F3EF;
}

.sector-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 641px) {
    .sector-content {
        align-items: center;
    }
}

.sector-info {
    flex: 1;
}

.sector-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C8C5BF;
    margin-bottom: 0.5rem;
}

.sector-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #141410;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.sector-item:hover .sector-title {
    color: #444440;
}

.sector-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: #888880;
    margin-top: 0.25rem;
}

.sector-arrow {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1px;
    background-color: #C8C5BF;
    transition: width 0.3s ease;
    margin-top: 0.75rem;
}

@media (min-width: 641px) {
    .sector-arrow {
        margin-top: 0;
    }
}

.sector-item:hover .sector-arrow {
    width: 2.5rem;
}

.org-note {
    padding-top: 2rem;
}

.org-note p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #888880;
    line-height: 1.9;
}

/* Grid layouts */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 7fr 5fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }
}

.philosophy-visual-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.inner-code-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .inner-code-grid {
        grid-template-columns: 1fr 2fr 2fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }
}

.principles-fig-block {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.principle-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: 6fr 6fr;
        gap: 4rem;
    }
}

.domains-fig-block {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Bottom line */
.bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #E0E0E0;
}

