/* 
 * 株式会社ゲートジャパン - メインスタイルシート
 * Gate Japan Co., Ltd. - Main Stylesheet
 */

/* ===== CSS変数定義 ===== */
:root {
    --primary-color: #004d73;
    --secondary-color: #007fbd;
    --accent-color: #d32121;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Yu Gothic Medium', 'Yu Gothic', Meiryo, 'MS PGothic', sans-serif;
    --font-heading: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Yu Gothic Medium', 'Yu Gothic', Meiryo, 'MS PGothic', sans-serif;
}

/* ===== フォント表示最適化 ===== */

/* ===== ベースリセット ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "kern" 1;
}

/* ===== コンテナとレイアウト ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

/* ===== サイトヘッダー ===== */
.site-header, .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 15px 20px;
    width: 100%;
}

.site-logo {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.main-navigation {
    margin-left: auto;
    margin-right: 20px;
}

.logo, .site-logo, .logo-container {
    height: 50px;
    width: auto;
}

.logo img, .site-logo img, .logo-container img {
    height: 100%;
    width: auto;
}

/* ===== ナビゲーションメニュー ===== */
.main-nav, .main-navigation {
    display: flex;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.nav-menu, .main-navigation ul, .main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li, .main-navigation li, .main-nav li {
    margin: 0 10px;
}

.nav-menu a, .main-navigation a, .main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: none;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    will-change: auto;
    font-feature-settings: "kern" 1;
    letter-spacing: 0;
}

.nav-menu a:hover, .nav-menu a.active,
.main-navigation a:hover, .main-navigation a.active,
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
    background-color: rgba(0, 77, 115, 0.1);
    font-weight: 500;
    text-decoration: none;
    outline: none;
}

.nav-menu a::after, .main-navigation a::after, .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: none;
    transform: translateX(-50%);
}

.nav-menu a:hover::after, .nav-menu a.active::after,
.main-navigation a:hover::after, .main-navigation a.active::after,
.main-nav a:hover::after, .main-nav a.active::after {
    width: 80%;
}

/* ===== モバイルメニュー ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== ページヘッダー ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ===== ヒーローセクション ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #b91c1c;
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== 特徴グリッド ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

/* ===== サービスグリッド ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-content p {
    color: var(--light-text);
    line-height: 1.6;
}

/* ===== 統計セクション ===== */
.stats-section {
    background: var(--light-bg);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* ===== ニュースグリッド ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.news-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.news-title {
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===== ニュースセクション ===== */
.news-section {
    padding: 4rem 0;
}

.news-list-homepage {
    max-width: 800px;
    margin: 0 auto;
}

.news-item-homepage {
    margin-bottom: 2rem;
}

.news-link-homepage {
    display: block;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    transition: var(--transition);
}

.news-link-homepage:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.news-date-homepage {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-category-homepage {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.news-title-homepage {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
}

.mt-40 { margin-top: 40px; }

/* ===== お問い合わせフォーム ===== */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 77, 115, 0.1);
}

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

/* ===== サイトフッター ===== */
.site-footer, .footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== サイドバー ===== */
.sidebar {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.sidebar h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.sidebar a:hover,
.sidebar a.active {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    margin-right: 0.5rem;
}

.breadcrumb-list a {
    color: var(--light-text);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease;
}

/* ===== ユーティリティクラス ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ===== レスポンシブデザイン ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        padding: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .hero-section,
    .page-header {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== コンテンツセクション ===== */
.content-section {
    padding: 4rem 0;
}

.content-section.bg-light {
    background: var(--light-bg);
}

/* ===== CEO挨拶 ===== */
.ceo-greeting {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.ceo-photo {
    text-align: center;
}

.ceo-photo img {
    width: 100%;
    max-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.ceo-title {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.ceo-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ceo-message h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.ceo-message p {
    line-height: 1.8;
    color: var(--light-text);
}

/* ===== 経営理念グリッド ===== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.philosophy-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.philosophy-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.philosophy-item li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.philosophy-item li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== 会社情報テーブル ===== */
.company-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-table th, .company-info-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.company-info-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-color);
}

.company-info-table td ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-info-table td li {
    margin-bottom: 0.25rem;
}

/* ===== 沿革タイムライン ===== */
.history-timeline {
    list-style: none;
    padding: 0;
    position: relative;
    margin: 3rem 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.history-timeline li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.history-year {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.history-event {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-top: 0.5rem;
}

/* ===== アクセスグリッド ===== */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.access-map h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.mt-40 { margin-top: 40px; }

/* ===== 海外拠点グリッド ===== */
.overseas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.office-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.office-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.office-item p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* ===== お問い合わせヘッダー ===== */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-method-item {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.required {
    color: var(--accent-color);
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 77, 115, 0.1);
}

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

/* ===== プライバシーポリシーセクション ===== */
.privacy-policy-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    max-height: 200px;
    overflow-y: auto;
}

.privacy-policy-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.privacy-policy-section h4 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    color: var(--text-color);
}

.privacy-policy-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--light-text);
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-group-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== SHAZE ===== */
#shaze {
    margin: 3rem 0;
}

.shaze-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin: 0 auto;
    display: block;
}

/* ===== FAQ ===== */
.faq-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.faq-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-intro p {
    color: var(--light-text);
    line-height: 1.6;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background: white;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    background: var(--light-bg);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 0;
    margin: 0;
    line-height: 1.6;
    color: var(--light-text);
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: white;
}

/* ===== ニュースリストコンテナ ===== */
.news-list-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-item-full {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.news-item-full:first-child {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.news-item-full:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item-full .news-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item-full .news-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
    display: block;
}

.news-item-full .news-title a:hover {
    color: var(--primary-color);
}

/* ===== ニュース記事 ===== */
.news-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.news-article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.news-article-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.news-article-date {
    color: var(--light-text);
    font-size: 0.9rem;
}

.news-article-content {
    line-height: 1.8;
    color: var(--text-color);
}

.news-article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.news-article-content p {
    margin-bottom: 1rem;
}

.news-article-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.news-article-content li {
    margin-bottom: 0.5rem;
}

.news-article-image {
    margin: 2rem 0;
    text-align: center;
}

.news-article-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.news-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.news-article-footer .btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.news-article-footer .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== メインコンテンツ ===== */
.main-content {
    padding: 2rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* ===== 製品セクション ===== */
.product-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ===== 製品カテゴリグリッド ===== */
.product-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-title {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

/* ===== スタイル付きテーブル ===== */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.styled-table th,
.styled-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.styled-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.styled-table td {
    color: var(--text-color);
}

.styled-table tbody tr:last-child th,
.styled-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== レーザー設備グリッド ===== */
.laser-equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.equipment-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.equipment-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-card-title {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.equipment-card-desc {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
    line-height: 1.6;
}

/* ===== レスポンシブデザイン（設備ページ） ===== */
@media (max-width: 1024px) {
    .laser-equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .laser-equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .equipment-card {
        margin-bottom: 1rem;
    }
    
    .equipment-card img {
        height: 150px;
    }
    
    .equipment-card-title {
        font-size: 1.1rem;
    }
    
    .equipment-card-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .laser-equipment-grid {
        grid-template-columns: 1fr;
    }
} 