@charset "UTF-8";

:root {
    --color-navy: #061121; 
    --color-navy-light: #0A192F;
    --color-white: #FFFFFF;
    --color-gray: #F8F9FA;
    --font-mincho: 'Noto Serif JP', serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
}

/* =========================================
   ベース設定・共通クラス
   ========================================= */
body {
    font-family: var(--font-gothic);
    color: var(--color-white);
    background-color: var(--color-navy);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body.loading {
    overflow: hidden;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.section {
    padding: clamp(80px, 12vw, 150px) 0;
}

.gold-gradient {
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #C5A059;
}
.text-navy { color: var(--color-navy); }
.text-white { color: var(--color-white); }
.bg-navy { background-color: var(--color-navy); }
.bg-white { background-color: var(--color-white); }
.bg-gray { background-color: var(--color-gray); }

.pc-br { display: block; }
.sp-br { display: none; }

h1, h2, h3, .hero-sub, .concept-main-title {
    font-family: var(--font-mincho);
    font-weight: 500;
    letter-spacing: 0.08em;
}
.section-label {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: bold;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.4;
    margin-bottom: clamp(50px, 6vw, 80px);
    text-align: center;
}

/* =========================================
   共通パーツ（ローダー・ヘッダー・フッター・ボタン）
   ========================================= */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--color-navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s ease;
}
.header.is-scrolled {
    background-color: rgba(6, 17, 33, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}
.logo { margin: 0; }
.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo img {
    height: 45px;
    width: auto;
}
.logo-text {
    font-family: var(--font-mincho);
    font-size: 18px;
    color: var(--color-white);
    letter-spacing: 0.05em;
    font-weight: 500;
}
.logo-text .cross {
    color: #C5A059;
    margin: 0 6px;
    font-size: 0.85em;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-link {
    font-size: 13px;
    letter-spacing: 0.1em;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 1px;
    background: #C5A059;
    transition: width 0.4s ease;
}
.nav-link:hover::after { width: 100%; }

.btn-contact-header {
    border: 1px solid #C5A059;
    padding: 8px 24px;
    border-radius: 50px;
    color: #C5A059;
    font-size: 12px;
}
.btn-contact-header:hover {
    background: #C5A059;
    color: var(--color-navy);
}

.btn-gold-luxury {
    display: inline-block;
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728);
    color: var(--color-navy);
    padding: 20px 60px;
    font-size: 16px;
    font-weight: bold;
    font-family: var(--font-mincho);
    letter-spacing: 0.1em;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-gold-luxury::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #FCF6BA, #BF953F, #AA771C);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.btn-gold-luxury:hover::before { opacity: 1; }

.footer {
    text-align: center; 
    padding: 60px 0 30px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
}
.footer-logo {
    margin-bottom: 20px; 
    display: flex; 
    justify-content: center; 
}
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo-link img { height: 35px; width: auto; }
.footer-address { font-size: 13px; opacity: 0.6; margin-bottom: 30px; }
.copyright { font-size: 11px; opacity: 0.4; letter-spacing: 0.1em; }


/* =========================================
   トップページ (index.html)
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    transform: scale(1.05);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-sub {
    font-size: clamp(14px, 2vw, 24px);
    margin-bottom: 20px;
    letter-spacing: 0.15em;
}
.hero-title {
    font-size: clamp(40px, 7vw, 90px);
    line-height: 1.2;
    margin-bottom: 40px;
}
.hero-text {
    font-size: clamp(14px, 1.5vw, 20px);
    opacity: 0.9;
    font-family: var(--font-mincho);
    letter-spacing: 0.1em;
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    z-index: 2;
}
.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    color: #C5A059;
}
.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: rgba(197, 160, 89, 0.3);
    position: relative;
    overflow: hidden;
}
.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 100%;
    background: #C5A059;
    animation: scrollLine 2s infinite ease-in-out;
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

.card-wrapper.three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: var(--color-white);
    padding: 50px 30px;
    border-radius: 8px;
    border-top: 4px solid #C5A059;
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}
.card-icon-line {
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #BF953F, #FCF6BA);
    margin-bottom: 20px;
}
.card-title {
    font-size: 20px;
    margin-bottom: 15px;
}
.card-text { font-size: 14px; opacity: 0.8; }

.concept-header {
    text-align: center;
    margin-bottom: 60px;
}
.concept-main-title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.5;
    margin-bottom: 30px;
}
.concept-sub-text {
    font-size: clamp(14px, 1.5vw, 16px);
    opacity: 0.8;
}
.reverse-engineering-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: clamp(40px, 6vw, 60px);
    border-radius: 12px;
    text-align: center;
}
.box-title {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 30px;
}
.box-text {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}
.box-text strong {
    color: #C5A059;
    font-weight: 500;
}

.card-number {
    background: var(--color-white);
    padding: 40px;
    border: 1px solid rgba(6, 17, 33, 0.1);
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-number:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.card-number .num {
    font-family: var(--font-mincho);
    font-size: 50px;
    line-height: 1;
    margin-bottom: 20px;
}

.message-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--color-white);
    padding: clamp(40px, 6vw, 80px);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.message-image {
    width: 40%;
    flex-shrink: 0;
}
.message-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(6, 17, 33, 0.1);
    width: 100%;
    object-fit: cover;
}
.message-content {
    width: 60%;
}
.message-catch {
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 30px;
    line-height: 1.4;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 20px;
}
.message-text {
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 30px;
    line-height: 2;
}

.message-profile {
    margin-top: 50px;
    text-align: right; 
    font-family: var(--font-mincho);
}
.profile-title-sub {
    font-size: clamp(14px, 1.5vw, 18px);
    letter-spacing: 0.15em;
    margin-bottom: 5px;
}
.profile-name {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 0.1em;
    margin-bottom: 0px;
    line-height: 1.2;
}
.profile-name .name-space {
    display: inline-block;
    width: 1.5em; 
}
.profile-name-en {
    font-size: clamp(11px, 1.2vw, 14px);
    letter-spacing: 0.25em;
    margin-bottom: 15px;
    color: #C5A059; 
}
.profile-title-main {
    font-size: clamp(16px, 1.8vw, 22px);
    letter-spacing: 0.15em;
}

.cta { text-align: center; }
.cta-message {
    font-family: var(--font-mincho);
    font-size: clamp(24px, 3.5vw, 42px);
    line-height: 1.5;
    margin-bottom: 30px;
}
.cta-checks {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.cta-checks span {
    background: rgba(255,255,255,0.1);
    border: 1px solid #C5A059;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: #C5A059;
}


/* =========================================
   お問い合わせフォーム (contact.html)
   ========================================= */
.page-contact {
    padding-top: 80px; 
}
.btn-back {
    color: var(--color-white);
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}
.btn-back:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.form-inner {
    max-width: 800px;
    background: var(--color-white);
    padding: clamp(40px, 6vw, 80px);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin-top: 40px;
}
.form-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(6, 17, 33, 0.1);
    padding-bottom: 40px;
}
.form-sub {
    font-size: 14px;
    letter-spacing: 0.2em;
    font-family: var(--font-mincho);
    margin-bottom: 15px;
}
.form-title {
    font-size: clamp(28px, 4vw, 40px);
    font-family: var(--font-mincho);
    margin-bottom: 20px;
}
.form-lead {
    font-size: 15px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 35px;
}
.form-label {
    display: block;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 15px;
}
.badge-required {
    background: #BF953F;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}
.badge-optional {
    background: #ccc;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    font-family: inherit;
    font-size: 16px; 
    box-sizing: border-box;
    transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #C5A059;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--color-navy);
    cursor: pointer;
}
.form-submit-area {
    text-align: center;
    margin-top: 60px;
}
.btn-submit {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
}
.privacy-note {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 20px;
    color: var(--color-navy);
}


/* =========================================
   採用情報 (recruit.html)
   ========================================= */
.page-recruit {
    padding-top: 80px; 
}
.recruit-hero {
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.recruit-sub {
    font-size: 16px;
    letter-spacing: 0.2em;
    font-family: var(--font-mincho);
    margin-bottom: 20px;
}
.recruit-title {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.4;
    margin-bottom: 30px;
}
.recruit-lead {
    font-size: clamp(15px, 2vw, 20px);
    opacity: 0.8;
    font-family: var(--font-mincho);
    line-height: 1.8;
}

.req-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-radius: 8px;
    overflow: hidden;
}
.req-table th, .req-table td {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    text-align: left;
    color: var(--color-navy);
}
.req-table tr:last-child th, .req-table tr:last-child td {
    border-bottom: none;
}
.req-table th {
    width: 25%;
    background: var(--color-gray);
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}
.req-table td {
    width: 75%;
    font-size: 15px;
    line-height: 1.8;
}
.req-table strong {
    color: #C5A059;
    font-size: 18px;
}

.recruit-btn-area {
    text-align: center;
    margin-top: 60px;
}
.recruit-note {
    font-size: 13px;
    opacity: 0.7;
    color: var(--color-navy);
    margin-bottom: 15px;
}


/* =========================================
   GSAP初期状態
   ========================================= */
.js-reveal-text, .js-fade-up, .js-card-stagger {
    visibility: hidden;
}


/* =========================================
   レスポンシブ (スマホ表示の最終調整)
   ※この記述は必ずファイルの一番下に配置します
   ========================================= */
@media screen and (max-width: 768px) {
    .pc-br { display: none; }
    .sp-br { display: block; }
    
    /* ヘッダー・ロゴ */
    .logo a { gap: 8px; }
    .logo img { height: 30px; }
    .logo-text { font-size: 11px; }
    .nav-list { display: none; }
    .btn-contact-header { display: none; }
    
    /* トップページ */
    .card-wrapper.three-cols { grid-template-columns: 1fr; }
    .message-wrapper {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    .message-image, .message-content { width: 100%; }
    .cta-checks { flex-direction: column; gap: 10px; align-items: center; }

    /* お問い合わせフォーム */
    .page-contact { padding-top: 60px; }
    .form-inner { padding: 30px 20px; }
    .checkbox-group { flex-direction: column; gap: 10px; }

    /* 採用情報 */
    .req-table th, .req-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }
    .req-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .req-table td {
        padding-top: 0;
        margin-bottom: 10px;
    }
}