@charset "UTF-8";

/* ====================================
   Variables & Reset
   ==================================== */
:root {
    /* Colors */
    --brand-navy: #222d5e;   /* 指定の濃紺 */
    --bg-dark: #222d5e;      /* 背景色として使用 */
    
    --text-main: #222d5e;    /* メインの文字色（見出し等） */
    --text-body: #333333;    /* 本文の文字色（読みやすさ重視） */
    --text-white: #ffffff;
    --text-muted: #666666;
    
    --accent: #c6a87c;       /* ゴールド：ネイビーとの相性抜群 */
    --bg-light: #ffffff;
    --bg-gray: #f4f6f9;      /* ほんのり青みがかったグレー */

    /* Fonts */
    --font-en: "Cormorant Garamond", serif;
    --font-jp: "Noto Sans JP", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    color: var(--text-body);
    line-height: 1.8;
    letter-spacing: 0.04em;
    background-color: var(--bg-light);
    font-weight: 300;
}

a { text-decoration: none; color: inherit; transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
ul { list-style: none; }

/* ====================================
   Header
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    transition: all 0.4s ease;
    color: var(--text-white); /* 最初は白文字 */
}

/* スクロール時のヘッダー変化 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(34, 45, 94, 0.1); /* ネイビーの薄い影 */
    color: var(--brand-navy); /* 文字色がネイビーに */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-family: var(--font-en);
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor; /* 現在の文字色と同じ色 */
    transition: 0.4s;
}

.nav-list a:hover::after { width: 100%; }

/* Contact Button in Nav */
.btn-nav {
    border: 1px solid currentColor;
    padding: 8px 20px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-nav:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 20px;
    position: relative;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: currentColor; /* ヘッダーの文字色に追従 */
    position: absolute;
    transition: 0.4s;
}
.hamburger span:nth-child(1) { top: 0; width: 70%; right: 0; }
.hamburger span:nth-child(2) { bottom: 0; }
.hamburger.active span { background-color: var(--brand-navy) !important; }
.hamburger.active span:nth-child(1) { top: 9px; width: 100%; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { bottom: 10px; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-light);
    z-index: 150;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    color: var(--brand-navy);
}
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu ul li { margin: 30px 0; text-align: center; }
.mobile-menu a { font-family: var(--font-en); font-size: 2rem; }

/* ====================================
   Hero Section
   ==================================== */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--bg-dark); /* ここが #222d5e になる */
    color: var(--text-white);
    overflow: hidden;
}

.hero-container {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-eyebrow {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-en);
    font-size: 6vw;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

/* 枠線文字のエフェクト */
.text-stroke {
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
    color: transparent;
    font-style: italic;
    font-weight: 300;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}
.scroll-down span {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0.7;
}
.scroll-down .line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}
.scroll-down .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(-100%);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@media (min-width: 1200px) {
    .hero-title { font-size: 5rem; }
}

/* ====================================
   Layout & Typography
   ==================================== */
.content-wrapper {
    background: var(--bg-light);
}

.section { padding: 120px 0; }
.bg-gray { background-color: var(--bg-gray); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.en-title {
    display: block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.jp-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-main); /* ネイビー */
}

/* ====================================
   About (USP)
   ==================================== */
.usp-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.usp-item {
    display: flex;
    align-items: flex-start;
    border-top: 1px solid rgba(34, 45, 94, 0.2); /* ネイビーの薄い線 */
    padding-top: 30px;
}

.usp-num {
    font-family: var(--font-en);
    font-size: 3rem;
    line-height: 1;
    color: #e0e0e0;
    margin-right: 40px;
    font-weight: 600;
}

.usp-text h3 {
    font-family: var(--font-en);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-main); /* ネイビー */
}

.usp-text p {
    color: var(--text-muted);
}

/* ====================================
   Service
   ==================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.service-card {
    background: #fff;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(34, 45, 94, 0.05); /* 影に少しネイビーを含ませる */
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-num {
    font-family: var(--font-en);
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-en);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--text-main); /* ネイビー */
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-tags li {
    font-size: 0.8rem;
    padding: 5px 15px;
    border: 1px solid rgba(34, 45, 94, 0.2);
    color: var(--text-main);
    border-radius: 20px;
}

/* ====================================
   Company
   ==================================== */
.company-info {
    border-top: 1px solid var(--text-main);
}

.company-info dl {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid rgba(34, 45, 94, 0.2);
}

.company-info dt {
    width: 200px;
    font-family: var(--font-en);
    font-weight: 600;
    color: var(--text-main);
}

.company-info dd {
    flex: 1;
    color: var(--text-muted);
}

/* ====================================
   Contact
   ==================================== */
.contact-section {
    background-color: var(--bg-dark); /* ネイビー背景 */
    color: #fff;
    text-align: center;
    padding: 150px 0;
}

.contact-title {
    font-family: var(--font-en);
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-family: var(--font-en);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.btn-contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.btn-contact:hover {
    border-color: transparent;
    color: #fff;
}

.btn-contact:hover::before {
    transform: scale(1);
}

.btn-contact .arrow {
    margin-left: 10px;
    transition: 0.4s;
}

.btn-contact:hover .arrow {
    transform: translateX(5px);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: #1a2245; /* 背景より少し暗いネイビー */
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
    font-family: var(--font-en);
}

/* ====================================
   Animation
   ==================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: block; }
    
    .hero-title { font-size: 3rem; }
    
    .header { padding: 15px 20px; }
    
    .usp-item { flex-direction: column; }
    .usp-num { margin-bottom: 10px; font-size: 2.5rem; }
    
    .company-info dl { flex-direction: column; }
    .company-info dt { margin-bottom: 10px; }
    
    .contact-title { font-size: 2.5rem; }
    .btn-contact { width: 150px; height: 150px; font-size: 1rem; }
}