@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Noto+Sans+JP:wght@400;500;700&family=Yuji+Mai&display=swap');

/* --- Design Tokens --- */
:root {
    --primary-color: #303f9f;
    --secondary-color: #1976d2;
    --accent-gradient: linear-gradient(135deg, #4aa3f2 0%, #7dd6f7 100%);
    --text-color: #333333;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8faff;
    --border-color: #e0e6ed;
    --header-height: 80px;
    --inner-width: 1100px;
    --transition: 0.3s ease-in-out;
}

/* --- Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 4%;
}

/* --- Typography --- */
h1, h2, h3, h4, .en {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-ttl {
    text-align: center;
    margin-bottom: 60px;
}

.section-ttl .en {
    display: block;
    font-size: 14px;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.section-ttl .jp {
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-ttl .jp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* --- Header --- */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 5px 0;
    backdrop-filter: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 4%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    clip-path: inset(20% 0 20% 0);
    margin: -15px 0;
}

.header__nav-list {
    display: flex;
    gap: 30px;
}

.header__nav-item a {
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.header__nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.header__nav-item a:hover::after {
    width: 100%;
}

/* --- Hamburger (SP Only) --- */
.hamburger {
    display: none;
}

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

.footer__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__info-ttl {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer__nav {
    display: flex;
    gap: 40px;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__nav-item a:hover {
    color: var(--secondary-color);
}

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

.copyright {
    font-size: 13px;
    color: #999;
}

/* --- Components --- */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.c-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.c-btn:hover::before {
    width: 100%;
}

.c-btn__arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.c-btn:hover {
    transform: scale(1.05);
}

.c-btn:hover .c-btn__arrow {
    transform: translateX(10px);
}

.c-signature {
    font-family: 'Yuji Mai', serif;
    font-size: 32px;
    color: #1a1a1a;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.c-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.c-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.c-card__img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 8px;
}

.c-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.c-card:hover .c-card__img {
    transform: scale(1.1);
}

/* --- Layout Sections --- */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header__nav {
        display: none; /* In reality, implement hamburger menu */
    }

    .section-ttl .jp {
        font-size: 26px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer__top {
        flex-direction: column;
    }
}

/* --- Scroll Indicator --- */
.c-scroll {
    position: absolute;
    left: 40px;
    bottom: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.c-scroll span {
    writing-mode: vertical-rl;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
}

.c-scroll::after {
    content: '';
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.c-scroll__line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 80px;
    background: #fff;
    transform: translateX(-50%);
    animation: scroll-line 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0) translateX(-50%); transform-origin: top; }
    50% { transform: scaleY(1) translateX(-50%); transform-origin: top; }
    50.1% { transform: scaleY(1) translateX(-50%); transform-origin: bottom; }
    100% { transform: scaleY(0) translateX(-50%); transform-origin: bottom; }
}
@media screen and (max-width: 768px) {
    .c-scroll {
        left: 20px;
        bottom: 15px;
        gap: 10px;
    }
    
    .c-scroll span {
        font-size: 11px;
    }

    .c-scroll::after, .c-scroll__line {
        height: 40px;
    }

    .header__logo-img {
        height: 100px;
        margin: -15px 0;
    }
}

/* --- Animations --- */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1), transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.js-fade-up.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for multiple items (optional but recommended) */
.service__grid .c-card:nth-child(1) { transition-delay: 0.1s; }
.service__grid .c-card:nth-child(2) { transition-delay: 0.2s; }
.service__grid .c-card:nth-child(3) { transition-delay: 0.3s; }
