/* 2026年向けモダンデザイン - X-Sol */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS変数定義 - 2026年トレンドカラー */
:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8E53;
    --accent-orange: #FFB085;
    --dark-orange: #E55A2B;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #888;
    --bg-primary: #FEFEFE;
    --bg-secondary: #FFF9F6;
    --bg-accent: #FFF4F0;
    --border-light: rgba(255, 107, 53, 0.1);
    --shadow-subtle: 0 2px 20px rgba(255, 107, 53, 0.08);
    --shadow-medium: 0 8px 40px rgba(255, 107, 53, 0.12);
    --shadow-strong: 0 20px 60px rgba(255, 107, 53, 0.15);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8E53 50%, #FFB085 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 142, 83, 0.05) 100%);
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ベーススタイル - 2026年タイポグラフィ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* グリッドレイアウトシステム */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ナビゲーション - ミニマリストデザイン */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-logo svg {
    transition: var(--transition-fast);
}

.nav-logo:hover svg {
    transform: rotate(5deg);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

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

.contact-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-btn::after {
    display: none;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ヒーローセクション - 2026年スタイル */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.hero-geometric {
    position: absolute;
    width: 600px;
    height: 600px;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-subtle);
    border-radius: 50%;
    filter: blur(60px);
    animation: float-geometric 20s infinite ease-in-out;
}

@keyframes float-geometric {
    0%, 100% { 
        transform: translateY(-50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-60%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeInUp 1s ease;
    text-align: center;
    margin: 0 auto;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

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

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

/* セクション共通スタイル */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* サービスセクション - カードグリッド */
.services {
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="%23FF6B35" fill-opacity="0.03" cx="30" cy="30" r="1"/></g></svg>');
    opacity: 0.5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-accent);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-orange);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* 特徴セクション - フレックスレイアウト */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--border-radius-lg);
    background: var(--bg-secondary);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: white;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 事業概要セクション */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-item {
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
    border-left: 4px solid var(--primary-orange);
}

.about-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
}

.about-item h3 {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-item p {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 500;
}

.about-item ul {
    list-style: none;
    padding: 0;
}

.about-item ul li {
    padding: 8px 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 24px;
    font-weight: 500;
}

.about-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 600;
}

/* 事業主挨拶セクション */
.owner-message {
    background: var(--bg-accent);
    position: relative;
}

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

.message-text {
    background: white;
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.message-text::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-orange);
    font-family: serif;
    opacity: 0.3;
}

.message-text p {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.message-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--border-light);
}

.signature-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* コンタクトセクション */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.contact-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.contact-item svg {
    width: 28px;
    height: 28px;
    color: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: white;
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 24px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

/* フッター */
.footer {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.7;
    font-size: 1.125rem;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* アニメーション */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン - 2026年標準 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-medium);
        padding: 40px 0;
        gap: 24px;
    }

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

    .hamburger {
        display: flex;
    }

    .hero {
        text-align: center;
        padding: 40px 0;
    }

    .hero-geometric {
        width: 400px;
        height: 400px;
        right: -200px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    section {
        padding: 80px 0;
    }

    .message-text {
        padding: 40px 32px;
    }
}

@media (max-width: 480px) {
    .container, .container-wide {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .message-text {
        padding: 32px 24px;
    }
}