/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - 水色系 */
    --primary-color: #00bcd4;
    --primary-light: #4dd0e1;
    --primary-dark: #0097a7;
    --secondary-color: #26c6da;
    --accent-color: #00acc1;

    /* Background */
    --bg-color: #ffffff;
    --bg-white: #ffffff;

    /* Text */
    --text-dark: #263238;
    --text-light: #ffffff;
    --text-muted: #607d8b;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Glass Liquid UI */
    --lg-bg-color: rgba(45, 52, 54, 0.75);
    --lg-highlight: rgba(255, 255, 255, 0.1);
    --lg-text: #ffffff;
    --lg-hover-glow: rgba(255, 255, 255, 0.2);
}

/* ========== RESET & BASE STYLES ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 3rem;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-logo .logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    text-shadow: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 30px;
    height: 4px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== GLASS LIQUID UI ========== */
.glass-container {
    position: relative;
    display: flex;
    font-weight: 600;
    color: var(--lg-text);
    cursor: pointer;
    background: transparent;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.glass-container--nav {
    width: 100%;
    max-width: 1160px;
}

.glass-filter {
    position: absolute;
    inset: 0;
    z-index: 0;
    backdrop-filter: blur(0px);
    /* filter: url(#lg-dist); */ /* Disabled to prevent text distortion */
    isolation: isolate;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--lg-bg-color);
}

.glass-specular {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    overflow: hidden;
    box-shadow: inset 1px 1px 0 var(--lg-highlight),
        inset 0 0 5px var(--lg-highlight);
}

.glass-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1rem 1.5rem 0.9rem;
}

.glass-content--nav {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 2rem;
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.8), rgba(100, 216, 243, 0.8), rgba(64, 224, 208, 0.8), rgba(147, 197, 253, 0.8), rgba(52, 219, 216, 0.8)) 0 0 / 1000% no-repeat;
    animation: gradientAnimation 40s ease infinite;
}

@keyframes gradientAnimation {
    0%   { background-position: 0% 30%;}
    50%  { background-position: 100% 70%;}
    100% { background-position: 0% 30%;}
}

.hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font: normal 600 72px/1 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: heroFadeIn 1.2s ease forwards 0.3s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero h1 span {
    display: block;
    margin-top: 1em;
    opacity: 0;
    animation: heroSubtitleFadeIn 1.2s ease forwards 0.8s;
    font-size: 40px;
    font-weight: 300;
}

@keyframes heroSubtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECTIONS ========== */
.section {
    padding: 5rem 0;
    background: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========== CARDS ========== */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card--large {
    padding: 3rem;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ========== ABOUT SECTION ========== */
.section--about {
    background: #ffffff;
    padding: 6rem 0;
}

.about-card-new {
    display: flex;
    gap: 4rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00bcd4 0%, #26c6da 50%, #4dd0e1 100%);
}

.about-left {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
}

.about-image-container {
    position: relative;
    display: inline-block;
}

/* Removed blur effect from about logo */
/*.about-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}*/

.about-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    position: relative;
    z-index: 1;
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-right: 1rem;
}

.about-main-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #06b6d4;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-main-text {
    font-size: 1.2rem;
    line-height: 2;
    color: #374151;
    margin: 0;
    font-weight: 400;
}

.about-btn {
    margin-top: 0.5rem;
    width: fit-content;
    font-size: 1.1rem;
    padding: 1.1rem 2.8rem;
}

.about-company-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-color);
}

.company-info-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
}

.info-value {
    color: var(--text-dark);
    font-weight: 500;
}

/* 旧スタイル（削除予定だが互換性のため残す） */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-item {
    padding: 1.5rem;
}

.about-label {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-value {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.about-mission {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.mission-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========== SERVICES SECTION ========== */
.section--service {
    background: #ffffff;
    padding: 6rem 0;
}

.service-card-single {
    background: #ffffff;
    border: 1px solid rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.service-card-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00bcd4 0%, #26c6da 50%, #4dd0e1 100%);
}

.service-content {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.service-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 2rem;
}

.service-icon-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0;
}

.service-main-icon {
    width: 500px;
    height: auto;
}

.service-text-content {
    display: flex;
    flex-direction: column;
}

.service-description-main {
    font-size: 1.2rem;
    line-height: 2;
    color: #374151;
    margin: 0;
    font-weight: 400;
}

.service-btn {
    margin-top: 1rem;
    width: fit-content;
    font-size: 1.1rem;
    padding: 1.1rem 2.8rem;
}

.service-btn:hover {
    transform: translateY(-2px);
}

.service-right {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 2rem;
}

.service-feature-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 1;
}

/* ========== INTERVIEW SECTION (SLIDER) ========== */
.carousel-section {
    background: #ffffff;
    padding: 6rem 0;
}

.interview-header {
    text-align: center;
    margin-bottom: 3rem;
}

.interview-title-text {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.slider-container {
    position: relative;
    width: 1400px;
    height: 750px;
    max-width: 95vw;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.1);
    overflow: hidden;
}

.slider-container .slide {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.slider-container .slide .item {
    width: 320px;
    height: 220px;
    position: absolute;
    bottom: 30px;
    right: 30px;
    transform: translate(0, 0);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 188, 212, 0.2);
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: all 0.5s;
    opacity: 0;
    z-index: 5;
}

.slider-container .slide .item:nth-child(3) {
    opacity: 1;
    z-index: 50;
}

.slider-container .slide .item:nth-child(1),
.slider-container .slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: all 0.5s;
    opacity: 1;
    z-index: 10;
}

.slider-container .slide .item:nth-child(n + 6) {
    left: calc(50% + 1155px);
    opacity: 0;
}

.slider-container .item .content {
    position: absolute;
    top: 50%;
    left: 175px;
    width: 525px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

.slider-container .item .content .name {
    font-size: 70px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: slideAnimate 1s ease-in-out 1 forwards;
}

.slider-container .item .content.content-top-left {
    top: 50px;
    left: 50px;
    transform: none;
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slider-container .item .content .name.name-black {
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.slider-container .item .content .name.name-small {
    font-size: 50px;
}

.slider-container .item .content .name .company-logo {
    max-height: 350px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.8));
}

.slider-container .item .content .name.name-small .company-logo {
    max-height: 140px;
    margin-top: 40px;
}

.slider-container .item .content .des {
    margin-top: 18px;
    margin-bottom: 35px;
    font-size: 1.2rem;
    opacity: 0;
    animation: slideAnimate 1s ease-in-out 0.3s 1 forwards;
}

.slider-container .item .content .seeMore {
    opacity: 0;
    animation: slideAnimate 1s ease-in-out 0.6s 1 forwards;
    position: absolute;
    bottom: 120px;
    left: 50px;
}

.slider-container .item .content button {
    padding: 1.5rem 4rem;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 1.3rem;
    font-weight: 600;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}

.slider-container .item .content button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.slider-container .slide .item .content {
    display: none;
}

.slider-container .slide .item:nth-child(2) .content {
    display: flex;
}

.slider-container .item.item-enjin {
    background-size: 40% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
}

@keyframes slideAnimate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}


/* ========== CAREERS SECTION ========== */
#careers {
    padding: 3rem 0;
    background: #ffffff;
}

.card--careers {
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.card--careers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00bcd4 0%, #26c6da 50%, #4dd0e1 100%);
}

.careers-intro {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    line-height: 2;
    font-weight: 400;
}

.careers-positions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.career-item {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.career-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.careers-btn {
    display: inline-block;
    margin: 0 auto;
    width: fit-content;
    font-size: 1.2rem;
    padding: 1.2rem 3.5rem;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 3rem 0;
    background: #ffffff;
}

.contact-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 4rem 5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00bcd4 0%, #26c6da 50%, #4dd0e1 100%);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-left: 1rem;
}

.contact-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
    flex-shrink: 0;
}

.contact-icon {
    font-size: 3rem;
    font-style: normal;
    color: white;
}

.contact-title-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-title-en {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: 0.05em;
}

.contact-title-ja {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 1rem;
    gap: 4rem;
}

.contact-description {
    flex: 1;
    padding-left: 9rem;
}

.contact-description p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
    text-align: left;
}

.contact-cta {
    flex: 0 0 auto;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.contact-link:hover::before {
    width: 300%;
    height: 300%;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.5);
}

.contact-arrow {
    font-size: 1.5rem;
    font-style: normal;
    transition: transform 0.3s ease;
}

.contact-link:hover .contact-arrow {
    transform: translateX(5px);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text-dark);
    padding: 4rem 2rem 2rem;
    color: var(--text-light);
    margin-top: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-company-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-company-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-company {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.footer-address {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--text-light);
}

.footer-main-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-link-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-sub-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link-sub {
    font-size: 0.85rem;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-top: 1.5rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    /* Navigation */
    .glass-container--nav {
        flex-direction: column;
    }

    .glass-content--nav {
        flex-wrap: wrap;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 120px;
        flex-direction: column;
        background: rgba(0, 188, 212, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero */
    .hero h1 {
        font-size: 48px;
    }

    .hero h1 span {
        font-size: 28px;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    /* About */
    .about-card-new {
        flex-direction: column;
        gap: 2rem;
    }

    .about-left {
        flex: 1;
        width: 100%;
        padding-left: 0;
    }

    .about-right {
        padding-right: 0;
    }

    .about-logo {
        max-width: 250px;
    }

    .about-main-title {
        font-size: 2.4rem;
        text-align: center;
    }

    .about-main-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .about-btn {
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    /* Services */
    .service-content {
        flex-direction: column;
        gap: 2rem;
    }

    .service-left {
        padding-left: 0;
        gap: 1.5rem;
        align-items: center;
    }

    .service-icon-wrapper {
        justify-content: center;
    }

    .service-main-icon {
        width: 400px;
        max-width: 90%;
    }

    .service-text-content {
        text-align: center;
    }

    .service-description-main {
        font-size: 1.1rem;
    }

    .service-btn {
        margin: 0 auto;
        width: fit-content;
    }

    .service-right {
        display: none;
    }

    /* Interview Slider */
    .slider-container {
        height: 600px;
    }

    .slider-container .slide .item {
        width: 250px;
        height: 180px;
        bottom: 20px;
        right: 20px;
    }

    .slider-container .item .content {
        left: 100px;
        width: 400px;
    }

    .slider-container .item .content .name {
        font-size: 50px;
    }

    .slider-container .item .content .name .company-logo {
        max-height: 220px;
    }

    .slider-container .item .content .name.name-small .company-logo {
        max-height: 100px;
        margin-top: 30px;
    }

    .slider-container .item .content .des {
        font-size: 1rem;
    }

    .slider-container .button {
        left: 40%;
        bottom: 25px;
    }

    .slider-container .button button {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .interview-title-text {
        font-size: 2rem;
    }

    /* Contact */
    .contact-card {
        padding: 3rem 2rem;
    }

    .contact-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-left: 0;
    }

    .contact-content {
        flex-direction: column;
        padding-left: 0;
        gap: 2rem;
        text-align: center;
    }

    .contact-description p {
        font-size: 1.1rem;
    }

    .contact-link {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    /* Careers */
    .careers-intro {
        font-size: 1.2rem;
    }

    .careers-positions {
        grid-template-columns: 1fr;
    }

    .career-title {
        font-size: 1.3rem;
    }

    .careers-btn {
        font-size: 1.1rem;
        padding: 1.1rem 3rem;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .hero h1 {
        font-size: 36px;
        white-space: normal;
        padding: 0 20px;
    }

    .hero h1 span {
        font-size: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* About */
    .about-main-title {
        font-size: 2rem;
        text-align: center;
    }

    .about-main-text {
        font-size: 1rem;
        text-align: center;
    }

    .about-logo {
        max-width: 200px;
    }

    .about-btn {
        width: 100%;
        text-align: center;
    }

    /* Services */
    .service-main-icon {
        width: 320px;
        max-width: 90%;
    }

    .service-description-main {
        font-size: 1rem;
    }

    .service-btn {
        width: 100%;
    }

    /* Interview Slider */
    .slider-container {
        height: 500px;
    }

    .slider-container .slide .item {
        width: 180px;
        height: 140px;
        bottom: 15px;
        right: 15px;
    }

    .slider-container .item .content {
        left: 50px;
        width: 300px;
    }

    .slider-container .item .content .name {
        font-size: 36px;
    }

    .slider-container .item .content .name .company-logo {
        max-height: 160px;
    }

    .slider-container .item .content .name.name-small .company-logo {
        max-height: 70px;
        margin-top: 20px;
    }

    .slider-container .item .content .des {
        font-size: 0.9rem;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .slider-container .item .content button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .slider-container .button {
        left: 35%;
        bottom: 20px;
        gap: 20px;
    }

    .slider-container .button button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .interview-title-text {
        font-size: 1.8rem;
    }

    /* Contact */
    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .contact-title-en {
        font-size: 2rem;
    }

    .contact-title-ja {
        font-size: 1rem;
    }

    .contact-description p {
        font-size: 1rem;
    }

    .contact-link {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Careers */
    .careers-intro {
        font-size: 1.1rem;
    }

    .career-item {
        padding: 1.5rem;
    }

    .career-title {
        font-size: 1.2rem;
    }

    .careers-btn {
        font-size: 1rem;
        padding: 1rem 2.5rem;
        width: 100%;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== NEW CAROUSEL STYLES ========== */
@import url(https://fonts.bunny.net/css?family=jura:300,500);

.carousel-main-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.msg-supports {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

@supports selector(::scroll-marker-group) {
    .msg-supports {
        display: none;
    }
}

.carousel {
    width: min(calc(100% - 2rem), 1200px);
    list-style: none;
    padding-block: 4rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 550px;
    gap: 0;
    anchor-name: --carousel;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behaviour-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 0 auto;
}

.carousel::before,
.carousel::after {
    content: '';
}

/**************** MARKERS GROUP - 非表示 *******************/
.carousel::scroll-marker-group {
    display: none;
}

/* carousel item */
.carousel > .interview-card {
    position: relative;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: auto;
    min-height: 650px;
    transition: all 400ms ease-in-out;
    transform-origin: center center;
    transform: scale(0.5) !important;
    opacity: 0.5 !important;
    pointer-events: none;
}

/* current item - 浮き出し効果 */
.carousel > .interview-card.active {
    transform: scale(1) !important;
    opacity: 1 !important;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    pointer-events: auto;
}

/************** MARKERS - 非表示 **************/
.carousel > .interview-card::scroll-marker {
    display: none;
}


/* カルーセル内のinterview-cardの調整 */
.carousel-section {
    padding: 4rem 0;
    background: #ffffff;
}

.carousel > .interview-card {
    overflow: visible !important;
    cursor: default !important;
}

.carousel > .interview-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.carousel > .interview-card.active:hover {
    transform: scale(1) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.carousel > .interview-card .interview-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}

.carousel > .interview-card .interview-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel > .interview-card .interview-card-footer {
    margin-top: auto;
    padding-bottom: 0;
}

/* カルーセルラッパーと矢印ボタン */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 188, 212, 0.6);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-prev {
    left: -80px;
}

.carousel-nav-next {
    right: -80px;
}

.carousel-nav-btn span {
    line-height: 1;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1400px) {
    .carousel-nav-prev {
        left: 10px;
    }

    .carousel-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .carousel-nav-prev {
        left: 5px;
    }

    .carousel-nav-next {
        right: 5px;
    }

    .carousel-section {
        padding: 3rem 0;
    }

    .carousel {
        grid-auto-columns: 80%;
        width: calc(100% - 2rem);
        padding-block: 0.5rem;
        gap: 1rem;
    }

    .carousel > .interview-card {
        min-height: auto;
        max-width: 450px;
        margin: 0 auto;
    }

    .carousel .interview-card-left--large {
        height: 250px;
        padding: 0;
    }

    .carousel .interview-image {
        object-fit: cover;
        object-position: center 30%;
        border-radius: 12px 12px 0 0;
    }

    .carousel .interview-image--logo {
        object-fit: contain;
        background-color: white;
        padding: 2rem;
        object-position: center;
    }

    .carousel .interview-image-wrapper {
        background-color: white;
    }

    .carousel .interview-card-right {
        padding: 1.5rem;
    }

    .carousel .interview-summary--headline {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .carousel .interview-company-name {
        font-size: 1.2rem;
    }

    .carousel .interview-company-type--large {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .carousel .interview-card-body {
        margin-bottom: 1rem;
    }

    .carousel .interview-card-header::after {
        right: -1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-section {
        padding: 2.5rem 0;
    }

    .carousel {
        grid-auto-columns: 85%;
        width: 100%;
        padding-block: 0.5rem;
        gap: 0.5rem;
    }

    .carousel > .interview-card {
        min-height: auto;
        max-width: 360px;
        margin: 0 auto;
    }

    .carousel-main-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .carousel .interview-card-left--large {
        height: 200px;
        padding: 0;
    }

    .carousel .interview-image {
        object-fit: cover;
        object-position: center 30%;
        border-radius: 12px 12px 0 0;
    }

    .carousel .interview-image--logo {
        object-fit: contain;
        background-color: white;
        padding: 1.5rem;
        object-position: center;
    }

    .carousel .interview-image-wrapper {
        background-color: white;
    }

    .carousel .interview-card-right {
        padding: 1.2rem;
    }

    .carousel .interview-summary--headline {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .carousel .interview-company-name {
        font-size: 1.1rem;
    }

    .carousel .interview-company-type--large {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
    }

    .carousel .interview-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .carousel .interview-card-body {
        margin-bottom: 0.8rem;
    }

    .carousel .interview-card-header::after {
        right: -1.2rem;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for child elements */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay variations for staggered animations */
.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* Enhance card hover effects with smooth animations */
.card.visible {
    animation: cardFloatIn 0.8s ease forwards;
}

@keyframes cardFloatIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth transitions for all animated elements */
.fade-in, .fade-in-left, .fade-in-right, .scale-in, .slide-up, .stagger-item {
    will-change: opacity, transform;
}
