/*
Theme Name: GSD Custom Theme
Theme URI: https://www.ginzasugiden.com/
Author: GSD Development Team
Author URI: https://www.ginzasugiden.com/
Description: 株式会社GSDのカスタムWordPressテーマ。EC運営をもっと楽しくするための機能を搭載。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gsd-theme
Tags: business, e-commerce, custom-design, responsive
*/

/* =================================
   基本設定
================================= */
:root {
    --primary-color: #1bc7d3;
    --secondary-color: #8b5cf6;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --gradient-bg: linear-gradient(135deg, #1bc7d3 0%, #8b5cf6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
}

/* =================================
   グラデーション背景
================================= */
.bg-document {
    background: var(--gradient-bg);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}

/* =================================
   コンテナ
================================= */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================
   ヘッダー
================================= */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    position: relative;
    z-index: 1000;
}

.site-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.3s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.site-logo img {
    height: 42px;
    width: auto;
}

/* =================================
   ナビゲーション
================================= */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* モバイルメニュートグル */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* =================================
   ボタン
================================= */
.btn {
    display: inline-block;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 199, 211, 0.3);
}

.btn-default {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-default:hover {
    background: var(--text-dark);
    color: var(--white);
}

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

.btn-attention:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* =================================
   ヒーローセクション
================================= */
.hero-section {
    text-align: center;
    padding: 235px 30px 80px;
    color: var(--white);
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-section .lead-text {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* =================================
   セクション共通
================================= */
.section {
    padding: 100px 30px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
}

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

.section-bg-white .section-title {
    color: var(--text-dark);
}

.section-bg-white .section-subtitle {
    color: var(--text-light);
}

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

/* =================================
   カードグリッド
================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* =================================
   フィーチャーグリッド
================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

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

/* =================================
   スライダー
================================= */
.service-slider {
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slider-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slider-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 30px;
}

.slider-caption h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* =================================
   フッター
================================= */
.site-footer {
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 100px 30px 30px;
}

.footer-menu {
    text-align: center;
    margin-bottom: 40px;
}

.footer-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info h4 {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* =================================
   レスポンシブデザイン
================================= */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 80px 30px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .hero-section h1 {
        font-size: 32px;
    }

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

    .card-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-menu ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 150px 20px 50px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 20px;
    }
}

/* =================================
   アニメーション
================================= */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-zoom {
    animation: zoomIn 0.6s ease-out;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

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