/* ============================================
   RI-MO Corporate Site - Minimal Monochrome
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    color: #1a1a1a;
    background-color: #fff;
    line-height: 1.8;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* --- Utility --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-label {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
    line-height: 1.2;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: #000;
    margin-bottom: 48px;
    margin-top: 4px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: #1a1a1a;
    margin-top: 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
}

.header-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1a1a1a;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: #1a1a1a;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- MV (Main Visual) --- */
.mv {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
}

.mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 100%);
}

.mv-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.mv-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
    line-height: 1.3;
}

.mv-sub {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

.mv-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mv-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

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

.mv-scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: #fff;
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -100%;
    }

    50% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* --- ABOUT --- */
.about {
    background: #fff;
}

.about-body {
    max-width: 100%;
}

.about-heading {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.9;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
}

.about-text {
    font-size: 0.92rem;
    line-height: 2.1;
    color: #555;
}

/* --- SERVICE --- */
.service {
    background: #f7f7f7;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.service-item {
    background: #fff;
    padding: 40px 32px;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.service-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.service-item-text {
    font-size: 0.88rem;
    line-height: 2;
    color: #666;
}

/* --- COMPANY --- */
.company {
    background: #fff;
}

.company-table {
    width: 100%;
    max-width: 680px;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid #eee;
}

.company-table th,
.company-table td {
    padding: 20px 0;
    font-size: 0.9rem;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    font-weight: 600;
    color: #1a1a1a;
    width: 140px;
    letter-spacing: 0.04em;
}

.company-table td {
    color: #555;
}

/* --- Footer --- */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-copy {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Responsive
   ============================================ */

@media screen and (max-width: 768px) {

    /* Header */
    .hamburger {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: right 0.4s ease;
    }

    .header-nav.open {
        right: 0;
    }

    .header-nav a {
        font-size: 0.9rem;
        color: #1a1a1a;
    }

    /* MV */
    .mv {
        min-height: 100svh;
    }

    .mv-title {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    .mv-sub {
        font-size: 0.75rem;
    }

    /* Sections */
    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 36px;
    }

    /* About */
    .about-heading {
        font-size: 1.1rem;
    }

    .about-text {
        font-size: 0.88rem;
    }

    /* Service */
    .service-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-item {
        padding: 32px 24px;
    }

    /* Company */
    .company-table th {
        width: 100px;
        font-size: 0.82rem;
    }

    .company-table td {
        font-size: 0.82rem;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* --- Fade-in Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}