﻿@charset "UTF-8";

/*
Theme Name: Rokumonsen
Theme URI: https://example.com/rokumonsen
Author: Rokumonsen
Description: Six Coins Theme
Version: 1.0.0
*/
/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --accent-color: #d30823;
    --font-main: 'Zen Old Mincho', serif;
    --menu-bg: #1a1a1a;
}

/* body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --menu-bg: #1a1a1a;
}

body.dark-mode .logo img,
body.dark-mode .footer-logo img,
body.dark-mode .loader-logo img {
    filter: brightness(0) invert(1);
} */

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 2;
    overflow-x: hidden;
    /* opacity: 0; Removed */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.loader-logo {
    width: 200px;
    opacity: 0;
}

.loader-logo img {
    width: 100%;
    height: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: var(--text-color);
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--text-color);
    padding: 1rem 4rem;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

/* body.dark-mode .header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
} */

.logo {
    width: 60px;
    height: auto;
}

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

/* Hamburger - Global */
.hamburger {
    z-index: 101;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    display: block;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s ease;
}

/* Adjust color when scrolled or when menu is active */
.header.scrolled .hamburger span,
.nav.active~.hamburger span,
body:has(.nav.active) .hamburger span,
.header:has(.nav.active) .hamburger span {
    background-color: var(--text-color);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/* Nav - Global Overlay */
.nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--menu-bg);
    z-index: 100;
    padding: 6rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-align: center;
}

.nav.active {
    opacity: 1;
    pointer-events: auto;
}

.nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.nav a {
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: 0.1em;
    position: relative;
}

.nav a:hover {
    color: var(--accent-color);
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
    pointer-events: none;
    line-height: 1;
}

.slider-icon.sun {
    left: 8px;
}

.slider-icon.moon {
    right: 8px;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 2rem;
    display: inline-block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.5em;
    height: 60vh;
    /* Adjust for vertical layout */
}

.hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 2rem;
    opacity: 0.8;
}

/* Sections Common */
.section {
    padding: 10rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.section-header {
    position: absolute;
    top: 0;
    left: 2rem;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 1rem;
}

body.dark-mode .section-header {
    border-color: rgba(255, 255, 255, 0.1);
}

.section-header.right {
    left: auto;
    right: 2rem;
    border-left: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 0;
    padding-right: 1rem;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.section-header .en {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.section-header .jp {
    font-size: 2rem;
    letter-spacing: 0.3em;
    font-weight: 500;
}

/* Concept */
.concept-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
    /* padding-left: 12rem; */
}

.text-block p {
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

/* Infinite Slider */
.infinite-slider {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 5rem;
}

.slider-track {
    display: flex;
    width: max-content;
}

.slide {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
}

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

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
    align-items: center;
    padding-right: 12rem;
}

.menu-image {
    overflow: hidden;
}

.menu-image img {
    transition: transform 0.8s ease;
}

.menu-image:hover img {
    transform: scale(1.05);
}

.menu-info {
    padding: 2rem 0;
}

.menu-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.menu-text-content {
    text-align: center;
    margin-top: 5rem;
}

.btn-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    border: 1px solid var(--text-color);
    transition: all 0.3s ease;
}

.btn-link:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Interior */
.interior {
    padding: 0;
}

.full-width-image {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.parallax-img {
    width: 100%;
    height: 120%;
    /* For parallax */
    object-fit: cover;
    position: absolute;
    top: -10%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.parallax-img.active {
    opacity: 1;
}

.interior-text-container {
    padding: 8rem 2rem;
    background-color: var(--bg-color);
    position: relative;
    margin-top: -100px;
    /* Overlap */
    z-index: 2;
    width: 80%;
    margin-left: auto;
    margin-right: 0;
}

.interior-description {
    padding-left: 10rem;
}

/* Shops */
.shop-group {
    margin-bottom: 4rem;
    padding-right: 12rem;
}

.prefecture-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-left: 2px solid var(--accent-color);
    padding-left: 1rem;
    font-weight: 500;
}

.shop-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 2rem;
}

.shop-item {
    background-color: transparent;
    padding: 0;
    border: none;
    transition: transform 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.shop-images {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 0;
}

.shop-images-link {
    display: block;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease;
}

.shop-images-link:hover {
    opacity: 0.8;
}

.shop-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.shop-img.active {
    opacity: 1;
}

.shop-content {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.shop-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    /* Subtle accent color */
    padding-bottom: 0.5rem;
    display: inline-block;
    letter-spacing: 0.1em;
}

.shop-detail p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.shop-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    border-bottom: 1px solid #aaa;
    color: #666;
    letter-spacing: 0.1em;
    padding-bottom: 2px;
    align-self: flex-end;
}

.shop-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.recruit .fc-banner-container {
    /* padding-left: 12rem; */
    /* Section header is left, so padding left */
    margin-top: 0;
    /* Remove top margin as it's a section now */
    padding-right: 0;
}

.fc-banner {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.fc-banner img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.fc-banner:hover img {
    transform: scale(1.03);
}

.fc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fc-banner:hover .fc-overlay {
    opacity: 1;
}

.btn-link.light {
    color: #fff;
    border-color: #fff;
}

.btn-link.light:hover {
    background-color: #fff;
    color: var(--text-color);
}

/* News */
.news-list {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 5rem;
    padding-left: 12rem;
}

.news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .news-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.news-item a {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    transition: background-color 0.3s ease;
}

.news-item a:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-width: 250px;
}

.news-meta time {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.news-cat {
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
}

.news-more {
    text-align: center;
    margin-top: 4rem;
}

/* Access */
.access-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.access-info {
    flex: 1;
}

.logo-large {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.access-map {
    flex: 1;
    height: 400px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
}

.footer-logo {
    width: 80px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.7;
}

.footer-nav h3,
.footer-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
}

.footer-nav ul li a {
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-nav ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-info p {
    margin-bottom: 0.8rem;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-shop-name {
    font-weight: 500;
    opacity: 1 !important;
    margin-bottom: 0.5rem !important;
}

.footer-tel {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 1 !important;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Message Section */
.message-section {
    background-color: var(--bg-color);
}

.message-content {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 5rem;
    padding-left: 10rem;
}

.message-block {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 8rem;
}

.message-block.reverse {
    flex-direction: row-reverse;
}

.message-block:last-child {
    margin-bottom: 0;
}

.message-image {
    flex: 1;
    position: relative;
    margin-top: 1.5rem;
}

.message-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 100%;
    border: 1px solid var(--accent-color);
    z-index: 0;
    pointer-events: none;
}

body.dark-mode .message-image::before {
    border-color: var(--accent-color);
}

.message-block.reverse .message-image::before {
    left: auto;
    right: -20px;
}

.message-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.message-image:hover img {
    filter: grayscale(0%);
}

.message-text-wrapper {
    flex: 1.2;
}

.message-title-box {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.job-title {
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.name {
    font-size: 1.8rem;
    font-weight: 500;
}

.en-name {
    font-size: 0.9rem;
    color: #999;
    margin-left: 1rem;
    font-weight: 400;
}

.message-body {
    line-height: 2.2;
    text-align: justify;
}

.message-body p {
    margin-bottom: 1rem;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
    }

    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .nav a {
        font-size: 1.2rem;
        color: var(--text-color);
    }

    .hero-title {
        font-size: 1.8rem;
        /* Slightly smaller for better fit */
        height: 50vh;
    }

    .section-header {
        position: relative;
        height: auto;
        flex-direction: row;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0 0 1rem 0;
        margin-bottom: 3rem;
        left: 0;
        width: 100%;
        align-items: baseline;
        gap: 1rem;
    }

    .section-header.right {
        right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: row-reverse;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-right: 0;
    }

    .interior-text-container {
        width: 90%;
        margin-right: auto;
        padding: 4rem 2rem;
    }

    .interior-description {
        padding-left: 0;
    }

    .shop-group {
        padding-right: 0;
    }

    .fc-banner-container {
        padding-right: 0;
    }

    .shop-list {
        grid-template-columns: 1fr;
    }

    .news-list {
        padding-left: 0;
    }

    .news-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .news-meta {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .access-inner {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
    }
}

/* Company Page */
.company-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: var(--bg-color); */
    background-color: #1e1e1e;
    position: relative;
    margin-bottom: 5rem;
}

.company-info-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row {
    display: flex;
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}


.info-row dt {
    width: 200px;
    font-weight: 500;
    color: var(--text-color);
}

.info-row dd {
    flex: 1;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-row dt {
        width: 100%;
        color: var(--accent-color);
    }
}

/* Philosophy Section */
.philosophy {
    padding-top: 0;
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.philosophy-image {
    margin-bottom: 4rem;
}

.philosophy-image img {
    max-width: 800px;
    margin: 0 auto;
    filter: invert(1);
}

.philosophy-text {
    line-height: 2.2;
    text-align: justify;
}

.mission-statement {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
}

.company-info-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 500;
    text-align: center;
}

/* Full Width Images */
.company-image-section {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    /* Remove bottom margin if it's the last section or for better flow */
}

.company-image-list {
    display: flex;
    width: 100%;
}

.company-image-list img {
    width: 20%;
    /* 5 images = 20% each */
    height: 300px;
    object-fit: cover;
    display: block;
    /* Remove whitespace */
}

/* sp */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .company-hero {
        height: 40vh;
        margin-bottom: 3rem;
    }

    .philosophy-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .philosophy-image {
        margin-bottom: 2rem;
    }

    .philosophy-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .philosophy-text {
        text-align: left;
        line-height: 1.8;
    }

    .mission-statement {
        font-size: 1.1rem;
        text-align: center;
        /* Keep centered */
        margin-bottom: 1.5rem;
    }

    .company-info-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Message Section SP */
    .message-content {
        margin-top: 3rem;
        padding-left: 0;
    }

    .message-block {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 5rem;
    }

    .message-block.reverse {
        flex-direction: column;
    }

    .message-image {
        width: 100%;
        padding: 0 1rem;
        margin-top: 0;
    }

    .message-image::before {
        top: -10px;
        left: 0;
    }

    .message-block.reverse .message-image::before {
        right: 0;
    }

    .name {
        font-size: 1.4rem;
    }

    .en-name {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
        font-size: 0.8rem;
    }

    .message-body {
        text-align: left;
    }
}

/* Franchise Page Styles */
.fc-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    /* Shorter than main hero */
    overflow: hidden;
}

.fc-hero-image {
    width: 100%;
    height: 100%;
}

.fc-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.fc-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 100%;
}

.fc-lead {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 2rem;
    font-weight: 500;
}

.fc-intro-content {
    padding-left: 12rem;
    /* Align with other content */
    padding-right: 2rem;
    padding-top: 3rem;
}

.fc-section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 500;
    letter-spacing: 0.2em;
}

/* Merit */
.merit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.merit-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.merit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.merit-number {
    font-size: 3rem;
    color: rgba(201, 73, 90, 0.5);
    /* Accent with opacity */
    font-family: 'Times New Roman', serif;
    font-style: italic;
    margin-bottom: -1rem;
    position: relative;
    z-index: 0;
}

.merit-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.merit-desc {
    font-size: 0.9rem;
    text-align: left;
    color: var(--text-color);
    opacity: 0.8;
}

/* Flow */
.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 3rem;
    position: relative;
}

/* .flow-step:not(:last-child)::before { */
.flow-step::before {
    content: '';
    position: absolute;
    left: 40px;
    /* Adjust based on step-num width */
    top: 2rem;
    bottom: 0;
    width: 1px;
    background-color: var(--accent-color);
    opacity: 0.3;
}

.step-num {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    color: var(--accent-color);
    min-width: 80px;
    font-style: italic;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Requirements */
.requirements-list {
    max-width: 800px;
    margin: 0 auto;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.req-row {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .req-row,
body.dark-mode .requirements-list {
    border-color: rgba(255, 255, 255, 0.1);
}

.req-row dt {
    width: 200px;
    font-weight: 500;
}

.req-row dd {
    flex: 1;
    color: var(--text-color);
    opacity: 0.9;
}

/* FC Contact */
.fc-contact {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
}

body.dark-mode .fc-contact {
    background-color: #000;
}

.contact-box h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.contact-box p {
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-actions .btn-link {
    min-width: 240px;
    text-align: center;
}

@media (max-width: 768px) {
    .flow-step {
        gap: 0rem;
    }

    .fc-intro-content {
        padding-left: 0;
        padding-top: 0;
        margin-top: 2rem;
    }

    .merit-grid {
        grid-template-columns: 1fr;
    }

    .req-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .req-row dt {
        width: 100%;
        color: var(--accent-color);
    }
}