/* ============================================================
   top.css — TOPページ専用スタイル
   ============================================================ */

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--header-h) 2rem 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(10,15,30,0.88) 0%, rgba(10,15,30,0.65) 55%, rgba(10,15,30,0.35) 100%);
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto; width: 100%; padding: 0 2rem;
    animation: fadeInUp 0.9s ease 0.2s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.25em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.2rem, 6.5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #fff;
    white-space: nowrap;
}
.hero-accent { color: var(--blue); }
.hero-text {
    font-size: 1.05rem; color: rgba(255,255,255,0.7);
    line-height: 2; margin-bottom: 2.8rem; max-width: 480px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: #fff; font-size: 0.95rem; font-weight: 700;
    padding: 0.9rem 2.5rem; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-hero-outline::after { content: '→'; transition: transform 0.25s; }
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-hero-outline:hover::after { transform: translateX(4px); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem; z-index: 1;
}
.scroll-label { font-family: var(--font-en); font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); }
.scroll-line { width: 1px; height: 50px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
    background: var(--blue); animation: scrollAnim 2s infinite ease-in-out;
}
@keyframes scrollAnim {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* --- Stats Bar --- */
.stats-bar { background: var(--text); padding: 2.5rem 0; }
.stats-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0.5rem 3.5rem; }
.stat-num { font-family: var(--font-en); font-size: 2.5rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 0.4rem; }
.stat-num small { font-size: 1.2rem; color: var(--blue); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* --- Concept --- */
.concept-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.concept-visual { display: flex; justify-content: center; }
.concept-img-wrap {
    position: relative; width: 100%; max-width: 500px;
    border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}
.concept-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.6s ease; }
.concept-img-wrap:hover img { transform: scale(1.04); }
.concept-img-badge {
    position: absolute; bottom: 1.5rem; left: 1.5rem;
    background: rgba(10,15,30,0.85); backdrop-filter: blur(8px);
    padding: 0.8rem 1.2rem; border-radius: 6px; border-left: 3px solid var(--blue);
}
.badge-en { display: block; font-family: var(--font-en); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 0.2rem; }
.badge-ja { display: block; font-size: 0.82rem; font-weight: 700; color: #fff; }

/* --- Services --- */
.services { position: relative; overflow: hidden; }
.services-bg-img { position: absolute; inset: 0; z-index: 0; }
.services-bg-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.services-bg-overlay { position: absolute; inset: 0; background: rgba(10,15,30,0.88); }
.services-inner { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem 2rem; border-radius: 6px; backdrop-filter: blur(4px);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.service-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); border-color: rgba(26,86,219,0.5); }
.service-num { font-family: var(--font-en); font-size: 2.8rem; font-weight: 700; color: rgba(26,86,219,0.4); line-height: 1; margin-bottom: 1.2rem; }
.service-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.8rem; line-height: 1.4; color: #fff; }
.service-desc { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 1.2rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tags li {
    font-size: 0.72rem; font-weight: 500; color: var(--blue);
    background: rgba(26,86,219,0.15); padding: 0.2rem 0.65rem; border-radius: 100px;
    border: 1px solid rgba(26,86,219,0.3);
}

/* --- Works Pickup --- */
.pickup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.pickup-card { display: block; transition: transform 0.3s; }
.pickup-card:hover { transform: translateY(-4px); }
.pickup-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; position: relative; margin-bottom: 1.2rem; }
.pickup-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pickup-card:hover .pickup-thumb img { transform: scale(1.05); }
.pickup-thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.55) 0%, transparent 60%);
    display: flex; align-items: flex-end; padding: 1.2rem;
}
.pickup-tag {
    font-family: var(--font-en); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.85);
    background: rgba(26,86,219,0.7); padding: 0.25rem 0.7rem; border-radius: 100px;
}
.pickup-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.pickup-desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.6rem; }
.pickup-more { font-size: 0.82rem; font-weight: 700; color: var(--blue); }
.works-more { text-align: center; }

/* --- Contact --- */
.contact { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.contact-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.8) 100%);
}
.contact .container { position: relative; z-index: 1; width: 100%; }
.contact-box { max-width: 600px; text-align: left; padding: 4rem 0; }
.contact-eyebrow {
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.2em; color: var(--blue); text-transform: uppercase; margin-bottom: 1rem;
}
.contact-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: #fff; }
.contact-text { color: rgba(255,255,255,0.55); margin-bottom: 2.5rem; line-height: 1.9; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .concept-layout  { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid   { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .pickup-grid     { grid-template-columns: 1fr; }
    .stat-item       { padding: 0.5rem 2rem; }
}
@media (max-width: 640px) {
    .hero-cta        { flex-direction: column; }
    .stat-divider    { display: none; }
    .stat-item       { width: 50%; padding: 1rem; }
    .contact-box     { text-align: center; }
}
