@charset "utf-8";
/* ========================================
   KOYO - 株式会社高陽 Website Styles
   Brand Color: Blue (#0066cc)
   Based on nsgame.co.jp design
======================================== */

/* ----------------------------------------
   CSS Variables / Brand Colors
---------------------------------------- */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #0088ee;
    --secondary-color: #003366;
    --accent-color: #00aaff;
    --text-color: #333;
    --text-light: #666;
    --bg-gray: #eaeaea;
    --bg-light-gray: #f7f7f7;
    --white: #fff;
    --black: #000;
}

/* ----------------------------------------
   Reset & Base Styles
---------------------------------------- */
* {
    padding: 0;
    margin: 0;
    border: 0;
    vertical-align: top;
    box-sizing: border-box;
}

html, body {
    -webkit-text-size-adjust: 100%;
    font-size: 62.5%;
    height: auto;
}

body {
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic Pro", "Yu Gothic", "Meiryo", sans-serif;
    font-weight: 400;
    width: 100%;
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.08rem;
}

/* Prevent scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

img {
    width: 100%;
    height: auto;
}

/* ----------------------------------------
   Typography
---------------------------------------- */
.enfont {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: italic;
}

.fo-bold {
    font-weight: 700;
}

.fo14 {
    font-size: 1.4rem;
}

.fo18 {
    font-size: 1.8rem;
}

.fo20 {
    font-size: 2.0rem;
}

.fo38 {
    font-size: 3.8rem;
    line-height: 1.5;
}

/* ----------------------------------------
   Colors
---------------------------------------- */
.co-blue {
    color: var(--primary-color);
}

.co-white {
    color: var(--white);
}

/* ----------------------------------------
   Links
---------------------------------------- */
a {
    color: var(--text-color);
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* ----------------------------------------
   Header
---------------------------------------- */
header {
    position: fixed;
    width: 100%;
    z-index: 100;
    top: -50px;
    opacity: 0;
    transition: all 0.5s;
    background: transparent;
}

header.visible {
    top: 0;
    opacity: 1;
}

header.fixed {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
    width: 96%;
    max-width: 1400px;
    transition: all 0.5s;
}

header.fixed .header-inner {
    padding: 10px 0;
}

.logo {
    transition: all 0.5s;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 180px;
    height: auto;
    transition: opacity 0.3s;
}

.logo-company-name {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: color 0.3s;
}

.top .logo-company-name {
    color: var(--white);
}

.top header.fixed .logo-company-name {
    color: var(--text-color);
}

body:not(.top) .logo-company-name {
    color: var(--text-color);
}

/* Top page: white logo by default, colored when fixed */
.top .logo .logo-white {
    display: block;
}

.top .logo .logo-colored {
    display: none;
}

.top header.fixed .logo .logo-white {
    display: none;
}

.top header.fixed .logo .logo-colored {
    display: block;
}

/* Sub pages: colored logo only */
body:not(.top) .logo .logo-colored {
    display: block;
}

/* ----------------------------------------
   Navigation
---------------------------------------- */
.g-nav {
    position: relative;
    z-index: 15;
}

.g-nav ul {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    list-style: none;
}

.g-nav ul li {
    position: relative;
    margin: 0;
    padding: 10px 0;
}

.g-nav ul li a {
    position: relative;
    display: block;
    margin-left: 35px;
    color: var(--white);
    font-size: 1.4rem;
}

header.fixed .g-nav ul li a {
    color: var(--text-color);
}

.g-nav ul li a span {
    position: relative;
    top: 0;
    transition: 0.3s cubic-bezier(0.76, 0.09, 0.215, 1);
}

.g-nav ul li a::before,
.g-nav ul li a::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    bottom: -5px;
    left: 0;
}

.g-nav ul li a::before {
    transition: 0.35s cubic-bezier(0.76, 0.09, 0.215, 1);
    border-bottom: 2px solid var(--white);
}

header.fixed .g-nav ul li a::before {
    border-bottom-color: var(--text-color);
}

.g-nav ul li a::after {
    transition: 0.55s cubic-bezier(0.76, 0.09, 0.215, 1) 0.2s;
    border-bottom: 2px solid var(--primary-color);
}

.g-nav ul li a:hover span {
    top: -5px;
}

.g-nav ul li a:hover::before,
.g-nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Nav Button */
.nav-btn-area {
    display: none;
}

/* ----------------------------------------
   Container & Layout
---------------------------------------- */
.container {
    overflow: hidden;
}

main {
    position: relative;
    z-index: 10;
}

.inner {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

/* ----------------------------------------
   First View / Hero Section
---------------------------------------- */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.fv-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    max-width: 200px;
    z-index: 2;
    opacity: 0;
    transition: opacity 2s ease;
}

.fv-logo.show {
    opacity: 0.9;
}

.fv-text-area {
    position: absolute;
    left: 10%;
    bottom: 15%;
    z-index: 2;
    color: var(--white);
    width: 90%;
    max-width: 800px;
}

.fv-catch {
    font-size: 6.0rem;
    letter-spacing: 0.08em;
    margin-bottom: -30px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.fv-catch .txt {
    opacity: 0;
    animation: fadeInText 1.5s ease forwards 1s;
}

.fv-catch-area p {
    margin-bottom: 15px;
    letter-spacing: 0.15em;
}

.fv-catch-area p span {
    position: relative;
    display: inline-block;
    font-size: 2.4rem;
    padding: 5px 15px;
}

.fv-catch-area p span::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transform: skewX(-5deg);
    z-index: -1;
    transition: width 0.8s ease;
}

.fv-catch-area.open p span::before {
    width: 100%;
}

.fv-catch-area.open p:nth-child(2) span::before {
    transition-delay: 0.2s;
}

.fv-catch-area .txt {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fv-catch-area.open .txt {
    opacity: 1;
    transition-delay: 0.6s;
}

.fv-catch-area.open p:nth-child(2) .txt {
    transition-delay: 0.8s;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

@keyframes slideInBg {
    to {
        width: 100%;
    }
}

/* FV Slider */
#fv-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

#fv-slide .swiper-slide {
    overflow: hidden;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomUp 12s linear forwards;
}

#fv-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.5) 0%, rgba(0, 68, 153, 0.6) 100%);
    z-index: 1;
}

@keyframes zoomUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15);
    }
}

/* Scroll Indicator */
.fv-scroll {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

/* ----------------------------------------
   Section Titles
---------------------------------------- */
.section-title {
    position: relative;
    font-size: 2.0rem;
    z-index: 2;
}

.section-title .enfont {
    display: block;
    line-height: 1.0;
    font-size: 4.5rem;
    margin-bottom: 10px;
}

.section-title .jp {
    position: relative;
    display: inline-block;
}

.section-title .jp span {
    position: relative;
    z-index: 3;
}

.section-title.line-blue::before {
    position: absolute;
    content: "";
    display: block;
    width: 0;
    left: 0;
    border-bottom: 4px solid var(--primary-color);
    z-index: 1;
    bottom: -5px;
    transition: all 0.5s cubic-bezier(0.76, 0.09, 0.215, 1) 1.0s;
}

.on .section-title.line-blue::before {
    width: 100%;
}

.section-title.line-blue:not(.line-blue-nonbox) .jp::before {
    position: absolute;
    content: "";
    width: calc(100% + 15px);
    height: 20px;
    left: 0;
    bottom: 0;
    background: var(--bg-gray);
    z-index: 1;
}

.section-title.line-white::before {
    border-bottom-color: var(--white);
}

/* White line style - no background box on dark backgrounds */
.section-title.line-white .jp::before {
    display: none;
}

.section-title-center {
    text-align: center;
    margin-bottom: 30px;
}

.section-title-center .enfont {
    font-size: 3.2rem;
    color: var(--primary-color);
}

.sub-title {
    font-size: 2.8rem;
    line-height: 1.6;
    letter-spacing: 0.1rem;
    margin: 25px 0 20px;
}

/* ----------------------------------------
   Topics Section
---------------------------------------- */
.topics-section {
    position: relative;
    margin: 40px 0;
    padding: 60px 0;
    z-index: 2;
    background: var(--white);
}

.topics-list {
    list-style: none;
    margin: 0;
}

.topics-list li a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-gray);
    transition: all 0.3s;
}

.topics-list li a:hover {
    background: var(--bg-light-gray);
    padding-left: 10px;
}

.topics-list .cate {
    display: inline-block;
    color: var(--white);
    background: var(--primary-color);
    padding: 2px 15px;
    font-size: 1.2rem;
    min-width: 90px;
    text-align: center;
}

.topics-list .date {
    margin: 0 20px;
    font-size: 1.4rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
}

.topics-list h3 {
    font-weight: 400;
    font-size: 1.5rem;
}

/* ----------------------------------------
   Concept Section (Gray Box Style)
---------------------------------------- */
.concept-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light-gray) 100%);
    min-height: 700px;
    padding: 100px 0;
}

.concept-section .inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.concept-image {
    position: absolute;
    width: 50%;
    left: 0;
    top: 50px;
    z-index: 1;
}

.concept-box {
    position: relative;
    width: 50%;
    margin-left: auto;
    background: var(--white);
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.concept-box .btn {
    margin-top: 30px;
}

/* ----------------------------------------
   Service Section
---------------------------------------- */
.service-section {
    position: relative;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
}

.service-section .inner {
    margin-bottom: 50px;
}

.service-section .section-title {
    color: var(--white);
}

.service-section .section-title .enfont {
    color: var(--white);
}

.service-contents-area {
    display: flex;
    justify-content: center;
}

.service-contents {
    position: relative;
    width: 33.333%;
    text-align: center;
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.service-image figure {
    margin: 0;
    height: 100%;
}

.service-image figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.6) 0%, rgba(0, 68, 153, 0.75) 100%);
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    min-height: 350px;
}

.service-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    z-index: 2;
}

.service-text h3 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.service-text p {
    line-height: 2.2;
}

.service-section .btn {
    margin-top: 50px;
    text-align: center;
}

/* ----------------------------------------
   Works Section
---------------------------------------- */
.works-section {
    position: relative;
    background: var(--bg-light-gray);
    min-height: 700px;
    padding: 100px 0;
}

.works-section .inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.works-image {
    position: absolute;
    width: 55%;
    right: 0;
    top: 50px;
    z-index: 1;
}

.works-box {
    position: relative;
    width: 50%;
    background: var(--white);
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.works-box .btn {
    margin-top: 30px;
}

/* ----------------------------------------
   Company Section
---------------------------------------- */
.company-section {
    background: var(--white);
    padding: 100px 0;
}

.company-section .section-title {
    margin-bottom: 50px;
}

.company-info-area {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.company-info {
    flex: 1;
}

.info-list {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    border-bottom: 1px solid var(--bg-gray);
    padding: 15px 0;
}

.info-row dt {
    width: 120px;
    font-weight: 500;
    color: var(--primary-color);
}

.info-row dd {
    flex: 1;
}

.company-map {
    flex: 1;
    max-width: 450px;
}

.company-image {
    flex: 1;
    max-width: 450px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----------------------------------------
   Recruit Section
---------------------------------------- */
.recruit-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.recruit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.recruit-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.recruit-section .inner {
    position: relative;
    z-index: 1;
}

.recruit-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.recruit-section .section-title {
    text-align: center;
}

.recruit-section .jp-title {
    position: relative;
    display: inline-block;
    padding: 5px 20px;
    background: var(--white);
}

.recruit-section .jp-title::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gray);
    transform: skewX(-5deg);
    z-index: -1;
}

.recruit-section .jp-title span {
    position: relative;
    z-index: 1;
}

.recruit-section .sub-title {
    margin: 30px 0 20px;
}

.recruit-section .btn {
    margin-top: 40px;
}

/* ----------------------------------------
   Staff Section
---------------------------------------- */
.staff-section {
    padding: 100px 0;
    background: var(--bg-light-gray);
}

.staff-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.staff-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.staff-image img {
    width: 100%;
    height: auto;
    display: block;
}

.staff-text {
    flex: 1;
}

.staff-lead {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.5;
}

.staff-text p {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.staff-points {
    display: flex;
    gap: 30px;
    margin-top: 35px;
}

.staff-point {
    text-align: center;
}

.staff-point .point-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-point .point-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.staff-point span:last-child {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
}

/* ----------------------------------------
   Contact CTA Section
---------------------------------------- */
.contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.contact-cta-section .btn {
    text-align: center;
}

/* ----------------------------------------
   Buttons
---------------------------------------- */
.btn {
    clear: both;
}

.btn a {
    position: relative;
    display: inline-block;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    padding: 15px 30px;
    font-size: 1.5rem;
}

.btn a span {
    position: relative;
    display: block;
    z-index: 2;
}

.btn a .arrow::after {
    position: absolute;
    content: "";
    right: -20px;
    top: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: all 0.3s;
}

.btn-primary {
    color: var(--white);
    background: var(--primary-color);
    transform: skewX(-5deg);
}

.btn-primary span {
    transform: skewX(5deg);
}

.btn-primary::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: all 0.4s;
    z-index: 1;
}

.btn-primary:hover {
    color: var(--primary-color);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white::before {
    background: var(--primary-color);
}

.btn-white:hover {
    color: var(--white);
}

.btn180 {
    min-width: 180px;
}

.btn600 {
    min-width: 400px;
    max-width: 600px;
}

.btn-large {
    padding: 25px 50px;
    font-size: 1.8rem;
}

/* ----------------------------------------
   Footer
---------------------------------------- */
footer {
    position: relative;
    width: 100%;
    z-index: 12;
}

.footer-logo-area {
    background: var(--white);
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    width: 280px;
    margin: 0 auto;
}

.footer-logo a {
    display: block;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-company-name {
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.2em;
}

.footer-list-area {
    background: var(--primary-color);
    padding: 40px 0;
    color: var(--white);
}

.footer-list-area .inner {
    max-width: 1000px;
    justify-content: space-between;
}

.footer-list-area .col {
    display: flex;
    flex-wrap: wrap;
}

.footer-list-area dl {
    margin-right: 40px;
    margin-bottom: 20px;
}

.footer-list-area dt {
    font-size: 1.4rem;
}

.footer-list-area a {
    color: var(--white);
}

.footer-list-area a:hover {
    opacity: 0.7;
}

.copy {
    text-align: center;
    margin-top: 30px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

/* ----------------------------------------
   Fixed Area (Side Contact Button)
---------------------------------------- */
.fixed-area {
    position: fixed;
    right: 0;
    top: 35%;
    z-index: 20;
}

.fixed-area ul {
    list-style: none;
    margin: 0;
}

.fixed-area li a {
    display: flex;
    align-items: center;
    background: var(--white);
    writing-mode: vertical-rl;
    padding: 15px 12px;
    letter-spacing: 0.15em;
    border-radius: 10px 0 0 10px;
    transform: translateX(10px);
    transition: transform 0.2s ease-out;
    color: var(--primary-color);
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.3rem;
}

.fixed-area li a svg {
    margin-bottom: 8px;
}

.fixed-area li a:hover {
    transform: translateX(0);
    color: var(--primary-color);
}

/* ----------------------------------------
   Page Top Button
---------------------------------------- */
.page-top {
    position: fixed;
    bottom: -80px;
    right: 20px;
    z-index: 12;
    opacity: 0;
    transition: all 0.3s;
}

.page-top.visible {
    bottom: 20px;
    opacity: 1;
}

.page-top a {
    display: block;
    position: relative;
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.page-top a::before {
    position: absolute;
    content: "";
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(-45deg);
    width: 12px;
    height: 12px;
    top: 20px;
    left: 18px;
}

/* ----------------------------------------
   Animations
---------------------------------------- */
.fadein {
    opacity: 0;
    transform: translate(0, 80px);
    transition: all 2.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 2.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.on.fadein,
.on.fade {
    opacity: 1;
    transform: translate(0, 0);
}

.fadein-list .fade-list {
    opacity: 0;
    transform: translate(0, 100px);
    transition: all 3000ms cubic-bezier(0.19, 1, 0.22, 1);
}

.on.fadein-list .fade-list:nth-of-type(1) {
    animation: onAc 0.5s ease-in-out 0.40s forwards;
}

.on.fadein-list .fade-list:nth-child(2) {
    animation: onAc 0.5s ease-in-out 0.60s forwards;
}

.on.fadein-list .fade-list:nth-child(3) {
    animation: onAc 0.5s ease-in-out 0.80s forwards;
}

@keyframes onAc {
    0% {
        transform: translate(0, 100px);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.fade-txt,
.fade-ph {
    opacity: 0;
}

.on .fade-txt {
    animation: fadeTxt 2.0s cubic-bezier(0.19, 1, 0.22, 1) 0.65s forwards;
}

.on .fade-ph {
    animation: fadePh 2.0s cubic-bezier(0.19, 1, 0.22, 1) 1.0s forwards;
}

.on .fade-txt.fade-txt05 {
    animation-delay: 1.0s;
}

@keyframes fadeTxt {
    0% {
        transform: translate(0, 30px);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes fadePh {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Carpet Animation */
.carpet::before {
    position: absolute;
    content: "";
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: all 1.0s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 2;
}

.carpet-l::before {
    left: 0;
}

.carpet-r::before {
    right: 0;
}

.carpet.on::before {
    width: 0;
}

/* Shadow */
.shadow {
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.3));
}

/* ----------------------------------------
   Responsive - Tablet
---------------------------------------- */
@media only screen and (max-width: 1024px) {
    .pc {
        display: none !important;
    }

    .tablet {
        display: block !important;
    }

    .sp {
        display: none !important;
    }

    /* Header Tablet */
    .logo img {
        width: 150px;
    }

    .logo-company-name {
        font-size: 1.2rem;
    }

    .g-nav ul li a {
        font-size: 1.3rem;
        margin-left: 20px;
    }

    .fv-catch {
        font-size: 4.5rem;
    }

    .fv-catch-area p span {
        font-size: 2.0rem;
    }

    .sub-title {
        font-size: 2.4rem;
    }

    .service-text h3 {
        font-size: 2.2rem;
    }

    .company-info-area {
        flex-direction: column;
    }

    .company-map,
    .company-image {
        max-width: 100%;
    }

    .staff-content {
        flex-direction: column;
        gap: 40px;
    }

    .staff-points {
        flex-wrap: wrap;
    }

    /* Footer Tablet */
    .footer-logo {
        width: 220px;
    }
}

/* ----------------------------------------
   Responsive - Mobile
---------------------------------------- */
@media only screen and (max-width: 750px) {
    .pc, .tablet {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    /* Header Mobile */
    header {
        top: 0 !important;
        opacity: 1 !important;
        background: var(--white) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: fixed !important;
        z-index: 200 !important;
    }

    .top header {
        background: var(--white) !important;
    }

    .header-inner {
        padding: 15px 0;
        min-height: 70px;
        position: relative;
    }

    .logo img {
        width: 120px;
    }

    .logo a {
        padding: 5px 0;
    }

    .logo-company-name {
        display: none;
    }

    /* Mobile: Always show colored logo, hide white logo */
    .top .logo .logo-white {
        display: none !important;
    }

    .top .logo .logo-colored {
        display: block !important;
    }

    .top .logo .logo-colored {
        display: block;
    }

    /* Navigation Mobile */
    .g-nav {
        position: fixed;
        display: none;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        background: var(--primary-color);
        padding: 30px 7%;
        overflow-y: auto;
        z-index: 99;
    }

    .g-nav.open {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .g-nav ul {
        display: block;
        padding-bottom: 20px;
    }

    .g-nav ul li {
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .g-nav ul li:last-child {
        border-bottom: none;
    }

    .g-nav ul li a {
        display: block;
        padding: 18px 0;
        color: var(--white);
        font-size: 1.6rem;
        margin-left: 0;
        letter-spacing: 0.1em;
    }

    .g-nav ul li a span {
        position: relative;
        display: inline-block;
    }

    .g-nav ul li a::before,
    .g-nav ul li a::after {
        display: none;
    }

    /* Hide duplicate contact button in mobile nav */
    .g-nav .header-contact {
        display: none !important;
    }

    .g-nav .header-contact.sp {
        display: none !important;
    }

    /* Nav Button (Hamburger) */
    .nav-btn-area {
        display: block;
        position: absolute;
        width: 50px;
        height: 50px;
        top: 50%;
        right: 4%;
        transform: translateY(-50%);
        z-index: 250;
        cursor: pointer;
    }

    .nav-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 20px;
    }

    .icon-animation span {
        width: 26px;
        height: 2px;
        display: block;
        background: var(--primary-color);
        position: absolute;
        left: 50%;
        margin-left: -13px;
        transition: all 0.3s ease;
    }

    .icon-animation .top {
        top: 0;
    }

    .icon-animation .middle {
        top: 9px;
    }

    .icon-animation .bottom {
        top: 18px;
    }

    /* Hamburger open state - X mark */
    .nav-btn-area.is-open .icon-animation span {
        background: var(--primary-color);
    }

    .nav-btn-area.is-open .icon-animation .top {
        top: 9px;
        transform: rotate(45deg);
    }

    .nav-btn-area.is-open .icon-animation .middle {
        opacity: 0;
    }

    .nav-btn-area.is-open .icon-animation .bottom {
        top: 9px;
        transform: rotate(-45deg);
    }

    /* FV Mobile */
    .fv {
        height: calc(100vh - 60px);
        min-height: auto;
    }

    .fv-logo {
        width: 30%;
        max-width: 120px;
    }

    .fv-text-area {
        left: 6%;
        bottom: 10%;
        width: 94%;
    }

    .fv-catch {
        font-size: 2.8rem;
        margin-bottom: -15px;
    }

    .fv-catch-area p span {
        font-size: 1.6rem;
        padding: 3px 10px;
    }

    .fv-scroll {
        display: none;
    }

    /* Sections Mobile */
    .inner {
        width: 88%;
    }

    .section-title .enfont {
        font-size: 3.0rem;
    }

    .sub-title {
        font-size: 2.0rem;
    }

    /* Topics Mobile */
    .topics-section {
        padding: 40px 0;
        margin: 0;
    }

    .topics-list li a {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .topics-list .cate {
        font-size: 1.1rem;
        min-width: 80px;
    }

    .topics-list .date {
        margin: 0 10px;
        font-size: 1.2rem;
    }

    .topics-list h3 {
        width: 100%;
        margin-top: 8px;
        font-size: 1.4rem;
    }

    /* Concept Mobile */
    .concept-section {
        padding: 60px 0;
        min-height: auto;
    }

    .concept-section .inner {
        display: block;
    }

    .concept-image {
        position: relative;
        width: 100%;
        top: 0;
        margin-bottom: -50px;
    }

    .concept-box {
        width: 100%;
        margin-left: 0;
        padding: 70px 20px 40px;
    }

    /* Service Mobile */
    .service-section {
        padding: 60px 0;
    }

    .service-contents-area {
        flex-direction: column;
    }

    .service-contents {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-image {
        height: 280px;
    }

    .image-placeholder {
        min-height: 250px;
    }

    .service-text h3 {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    /* Works Mobile */
    .works-section {
        padding: 60px 0;
        min-height: auto;
    }

    .works-section .inner {
        display: block;
    }

    .works-image {
        position: relative;
        width: 100%;
        right: 0;
        top: 0;
        margin-bottom: -50px;
    }

    .works-box {
        width: 100%;
        padding: 70px 20px 40px;
    }

    /* Company Mobile */
    .company-section {
        padding: 60px 0;
    }

    .info-row {
        flex-direction: column;
    }

    .info-row dt {
        width: 100%;
        margin-bottom: 5px;
    }

    /* Recruit Mobile */
    .recruit-section {
        padding: 60px 0;
    }

    .recruit-box {
        padding: 40px 20px;
    }

    /* Staff Section Mobile */
    .staff-section {
        padding: 60px 0;
    }

    .staff-content {
        flex-direction: column;
        gap: 30px;
    }

    .staff-lead {
        font-size: 2rem;
    }

    .staff-text p {
        font-size: 1.4rem;
    }

    .staff-points {
        justify-content: center;
        gap: 25px;
    }

    .staff-point .point-icon {
        width: 44px;
        height: 44px;
    }

    .staff-point .point-icon svg {
        width: 20px;
        height: 20px;
    }

    .staff-point span:last-child {
        font-size: 1.3rem;
    }

    /* Contact CTA Mobile */
    .contact-cta-section {
        padding: 50px 0;
    }

    .btn600 {
        min-width: auto;
        width: 100%;
    }

    .btn-large {
        padding: 18px 30px;
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer-logo-area {
        padding: 40px 0;
    }

    .footer-logo {
        width: 200px;
    }

    .footer-company-name {
        font-size: 1.4rem;
        margin-top: 12px;
    }

    .footer-list-area {
        padding: 30px 0;
    }

    .footer-list-area .col {
        flex-wrap: wrap;
    }

    .footer-list-area dl {
        width: 50%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .footer-list-area dt {
        font-size: 1.3rem;
    }

    /* Fixed Area Mobile */
    .fixed-area {
        display: none;
    }

    /* Page Top Mobile */
    .page-top a {
        width: 40px;
        height: 40px;
    }

    .page-top a::before {
        width: 10px;
        height: 10px;
        top: 15px;
        left: 14px;
    }
}

/* ----------------------------------------
   Utilities
---------------------------------------- */
@media only screen and (min-width: 1025px) {
    .sp, .tablet {
        display: none !important;
    }

    .pc {
        display: block !important;
    }
}
