/* ========================================
   リセット & 基本スタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-dark: #1a1a2e;
    --bg-light: #f8f9fa;
    --bg-dark: #16213e;
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* スペーシング */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* トランジション */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.pc-only {
    display: inline;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-subtitle {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.8;
}

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

.nav-link {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 52, 96, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-primary);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--highlight-color);
    color: var(--text-primary);
    border-color: var(--highlight-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    opacity: 0.7;
}

.scroll-indicator span {
    font-family: var(--font-secondary);
    font-size: 11px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: var(--text-primary);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* ========================================
   セクション共通スタイル
   ======================================== */
.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   About セクション
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--highlight-color);
    border-radius: 12px;
    z-index: -1;
}

.about-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-description {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #555;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
}

.about-features i {
    color: var(--highlight-color);
    font-size: 20px;
}

/* ========================================
   Services セクション
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--highlight-color), #ff6b81);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

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

.service-icon i {
    font-size: 36px;
    color: var(--text-primary);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Vision セクション
   ======================================== */
.vision {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.vision-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(15, 52, 96, 0.75) 100%);
    z-index: 2;
}

.vision-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-primary);
}

.vision-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.vision-text {
    font-size: 20px;
    line-height: 2;
    opacity: 0.95;
}

/* ========================================
   Company セクション
   ======================================== */
.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.company-table th,
.company-table td {
    padding: 20px 15px;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    font-weight: 700;
    color: var(--primary-color);
    width: 140px;
    font-size: 15px;
}

.company-table td {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   Contact セクション
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--highlight-color), #ff6b81);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 24px;
    color: var(--text-primary);
}

.contact-info-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-text p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.required {
    color: var(--highlight-color);
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.form-message.error {
    display: block;
    background-color: rgba(233, 69, 96, 0.2);
    border: 1px solid rgba(233, 69, 96, 0.5);
    color: var(--highlight-color);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

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

.footer-nav a {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--highlight-color);
}

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

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* ========================================
   スクロールトップボタン
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--highlight-color), #ff6b81);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(233, 69, 96, 0.5);
}

/* ========================================
   アニメーション効果
   ======================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .about-content,
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .pc-only {
        display: none;
    }
    
    /* ヘッダー */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 100px 30px;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* ヒーロー */
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* セクション */
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* About */
    .about-heading {
        font-size: 26px;
    }
    
    .about-image::after {
        top: 10px;
        left: 10px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Vision */
    .vision {
        height: 400px;
    }
    
    .vision-title {
        font-size: 28px;
    }
    
    .vision-text {
        font-size: 16px;
    }
    
    /* Company */
    .company-table th {
        width: 100px;
        font-size: 13px;
        padding: 15px 10px;
    }
    
    .company-table td {
        font-size: 13px;
        padding: 15px 10px;
    }
    
    /* Contact */
    .contact-form {
        padding: 30px 20px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    /* スクロールトップボタン */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
}
