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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 40px;
    background: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #fff;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 45px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.header.scrolled .nav a {
    color: #333;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    display: block;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-top: 30px;
    display: block;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* スクロール時は白色に変更 */
.header.scrolled .hamburger span {
    background-color: #333;
}

/* メニューが開いているときは白色 */
.hamburger.active span {
    background-color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
        gap: 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        font-size: 24px;
        color: #333 !important;
    }

    .nav-menu li a:hover {
        opacity: 0.8;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header.scrolled .hamburger span {
        background-color: #333 !important;
    }

    .header.scrolled .nav-menu li a {
        color: #333 !important;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .header {
        padding: 20px;
    }

    .header.scrolled {
        padding: 15px 20px;
    }
}

/* Service Section */
.service {
    padding: 120px 40px;
    background-color: #fff;
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.section-title .en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
}

.section-title .ja {
    font-size: 16px;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.section-description {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-number {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.service-title {
    margin-bottom: 20px;
}

.service-title .ja {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-title .en {
    display: block;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.1em;
}

.service-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.service-link {
    display: inline-block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #0066cc;
}

.service-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.service-link:hover::after {
    right: -5px;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service {
        padding: 80px 20px;
    }

    .section-title .en {
        font-size: 36px;
    }

    .section-description {
        font-size: 14px;
        padding: 0 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .service {
        padding: 60px 20px;
    }

    .section-title .en {
        font-size: 32px;
    }

    .section-description br {
        display: none;
    }
}

/* More Button */
.service-more {
    text-align: center;
    margin-top: 80px;
}

.more-button {
    display: inline-flex;
    align-items: center;
    padding: 20px 60px;
    background: transparent;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.more-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #333;
    transition: width 0.3s ease;
    z-index: 1;
}

.more-button:hover::before {
    width: 100%;
}

.more-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.more-icon {
    position: relative;
    z-index: 2;
    width: 24px;
    height: 1px;
    background: #333;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.more-icon::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.more-button:hover {
    border-color: #333;
}

.more-button:hover .more-text {
    color: #fff;
}

.more-button:hover .more-icon {
    background: #fff;
}

.more-button:hover .more-icon::after {
    border-color: #fff;
}

@media (max-width: 768px) {
    .service-more {
        margin-top: 60px;
    }

    .more-button {
        padding: 15px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-more {
        margin-top: 40px;
    }
}

/* Recruit CTA Section */
.recruit-cta {
    padding: 60px 40px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1600565193348-f74bd3c7ccdf?auto=format&fit=crop&q=80') center center/cover fixed;
}

.recruit-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.recruit-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.recruit-cta-content {
    text-align: center;
}

.recruit-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.recruit-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.recruit-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.recruit-link .arrow {
    width: 35px;
    height: 1px;
    background-color: #fff;
    margin-left: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.recruit-link .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.recruit-link:hover {
    opacity: 0.8;
}

.recruit-link:hover .arrow {
    width: 45px;
}

@media (max-width: 768px) {
    .recruit-cta {
        padding: 40px 20px;
        background-attachment: scroll;
    }

    .recruit-title {
        font-size: 20px;
    }

    .recruit-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .recruit-cta {
        padding: 30px 20px;
    }
}

/* FAQ Section */
.faq {
    padding: 120px 40px;
    background-color: #f8f8f8;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    margin-top: 60px;
}

.faq-item {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.question-text {
    font-size: 16px;
    font-weight: 500;
    padding-right: 40px;
}

.question-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
}

.question-icon::before,
.question-icon::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: all 0.3s ease;
}

.question-icon::before {
    width: 14px;
    height: 2px;
    top: 6px;
    left: 0;
}

.question-icon::after {
    width: 2px;
    height: 14px;
    left: 6px;
    top: 0;
}

.faq-item.active .question-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 30px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    height: auto;
    opacity: 1;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-item:hover .faq-question {
    background-color: #f8f8f8;
}

@media (max-width: 768px) {
    .faq {
        padding: 80px 20px;
    }

    .faq-grid {
        margin-top: 40px;
    }

    .question-text {
        font-size: 14px;
    }

    .faq-question {
        padding: 20px;
    }

    .question-icon {
        right: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 60px 20px;
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-address p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    color: #999;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #999;
}

.created-by {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    text-align: center;
}

.created-by a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.created-by a:hover {
    color: #555;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
    }
}

@media (max-width: 480px) {
    .footer-info {
        gap: 20px;
    }
}

/* Navigation Dropdown */
.shop-menu {
    position: relative;
}

.shop-menu>a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    margin-left: 8px;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
}

.shop-menu:hover>a::after {
    transform: rotate(-135deg) translateY(-2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.98);
    padding: 0;
    border-radius: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.shop-menu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
    list-style: none;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
}

.shop-menu:hover .dropdown-menu li {
    transform: translateY(0);
    opacity: 1;
}

.dropdown-menu a {
    color: #333 !important;
    font-size: 14px;
    padding: 16px 24px;
    display: block;
    text-align: left;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.02);
    padding-left: 28px;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #333;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* スクロール時のドロップダウン */
.header.scrolled .dropdown-menu {
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .shop-menu>a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        margin: 5px 0;
        padding: 0;
        min-width: auto;
        backdrop-filter: none;
    }

    .shop-menu:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-menu li {
        transform: none;
        opacity: 1;
    }

    .dropdown-menu a {
        padding: 12px 0;
        font-size: 18px;
        text-align: center;
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        background: transparent;
        padding-left: 0;
    }

    .dropdown-menu a::before {
        display: none;
    }
}
