/* ===================================
   グローバルスタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #D4AF37;
    --accent-color: #C9A961;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #0a0a0a;
    --transition: all 0.3s ease;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

/* ===================================
   ナビゲーション
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    100% {
        opacity: 0;
    }
}

/* ===================================
   セクションヘッダー
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0 auto 15px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===================================
   会社概要セクション
   =================================== */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    min-height: 140px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.about-card-wide {
    grid-column: 1 / -1;
}

.about-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.about-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.about-card-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   事業内容セクション
   =================================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   経営理念セクション
   =================================== */
.philosophy {
    background-color: var(--white);
}

.philosophy-content {
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-main {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
}

.philosophy-main h3 {
    font-size: 36px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.philosophy-main p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.philosophy-card {
    background: var(--white);
    padding: 50px 45px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--secondary-color);
}

.philosophy-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.2;
    margin-bottom: 20px;
    line-height: 1;
}

.philosophy-card h4 {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.philosophy-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    flex-grow: 1;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    color: var(--white);
}

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

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 45px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-gold);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.contact-details a,
.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.8;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* ===================================
   フッター
   =================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-grid {
        gap: 25px;
    }
    
    .philosophy-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* ナビゲーション */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 30px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* ヒーロー */
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    /* セクションヘッダー */
    .section-title {
        font-size: 32px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    /* 会社概要 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-card {
        padding: 30px;
    }
    
    /* 事業内容 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        min-height: auto;
        padding: 40px 30px;
    }
    
    /* 経営理念 */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .philosophy-main {
        padding: 40px 30px;
    }
    
    .philosophy-main h3 {
        font-size: 28px;
    }
    
    .philosophy-main p {
        font-size: 16px;
    }
    
    .philosophy-card {
        padding: 40px 30px;
        min-height: auto;
    }
    
    /* お問い合わせ */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 13px;
    }
}