/*
Theme Name: SEEED
Theme URI: https://example.com/seeed-theme
Author: Your Name
Author URI: https://example.com
Description: モダンなサービス紹介サイト用のWordPressテーマ。「あなたの『好き』を仕事に」をコンセプトに、ティール/ブルー系のカラースキームで、レスポンシブデザイン対応。
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seeed
Tags: business, portfolio, service, responsive, modern

SEEED WordPress Theme
Copyright (C) 2024
*/

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

:root {
    --primary-color: #0085b2;
    --primary-dark: #006794;
    --primary-light: #00a3d9;
    --accent-color: #008c8c;
    --accent-dark: #004c66;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.seeed-media {
    display: block;
    max-width: 100%;
}

.seeed-media--cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seeed-media--contain {
    width: 100%;
    height: auto;
    object-fit: contain;
}

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

.seeed-inline-link {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

ul {
    list-style: none;
}

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

.container-full {
    width: 100%;
    padding: 0;
}

/* ========================================
   ボタンスタイル
======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

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

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

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

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

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

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

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

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

.hero-bg-video,
.cta-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

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

.scroll-arrow {
    animation: bounce 2s infinite;
    opacity: 0.9;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-arrow:hover {
    opacity: 1;
    transform: scale(1.1);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ========================================
   WordPress投稿コンテンツスタイル
======================================== */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.entry-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

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

/* ========================================
   特徴セクション
======================================== */
.features {
    background: var(--bg-white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   サービスセクション
======================================== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    gap: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-item:hover .image-placeholder {
    transform: scale(1.05);
}

.service-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.service-link .service-link-arrow {
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.85;
}

.service-link:hover .service-link-arrow {
    transform: translateX(6px);
    opacity: 1;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   ギャラリーセクション
======================================== */
.gallery {
    background: var(--bg-white);
    overflow: hidden;
}

.gallery-slider {
    margin-top: 40px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
}

.gallery-item {
    min-width: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 250px;
}

.gallery-caption {
    padding: 20px;
    background: var(--bg-white);
}

.gallery-caption h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.gallery-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 5 - 150px));
    }
}

.gallery-track:hover {
    animation-play-state: paused;
}

/* ========================================
   導入事例セクション
======================================== */
.case-studies {
    --cs-accent: #111827;
    --cs-edge: #ffffff;
    background: transparent;
    overflow: hidden;
}

.cs-slider {
    max-width: 1200px;
    margin: 42px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    position: relative;
}

.cs-track-viewport {
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

.cs-track-viewport::before,
.cs-track-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    pointer-events: none;
    z-index: 2;
}

.cs-track-viewport::before {
    left: 0;
    background: linear-gradient(to right, var(--cs-edge), rgba(255,255,255,0.86), rgba(255,255,255,0));
}

.cs-track-viewport::after {
    right: 0;
    background: linear-gradient(to left, var(--cs-edge), rgba(255,255,255,0.86), rgba(255,255,255,0));
}

.cs-track {
    display: flex;
    gap: 28px;
    align-items: center;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.cs-item {
    flex-shrink: 0;
    width: 170px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.cs-item:hover {
    transform: translateY(-2px);
}

.cs-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.25s ease;
}

.cs-nav {
    display: none !important;
}

.cs-static-list {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

/* ========================================
   料金プランセクション
======================================== */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.pricing-plan {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 10px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 20px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.pricing-card .btn {
    width: 100%;
}

/* ========================================
   CTAセクション
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta .btn-large {
    background: var(--bg-white);
    color: var(--primary-color);
}

.cta .btn-large:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   トップへ戻るボタン
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 133, 178, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

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

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 133, 178, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

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

.footer-title {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.8;
    color: #999;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #999;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        box-shadow: var(--shadow);
        transition: var(--transition);
        padding: 20px;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

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

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-10px);
    }

    section {
        padding: 60px 0;
    }

    .gallery-item {
        min-width: 280px;
    }

    .cs-track-viewport::before,
    .cs-track-viewport::after {
        width: 56px;
    }

    .cs-item {
        width: 132px;
        height: 76px;
    }

    .cs-track {
        gap: 18px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

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

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

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

    .cs-track {
        gap: 12px;
    }

    .cs-item {
        width: 116px;
        height: 72px;
        padding: 10px 12px;
    }

    .cs-track-viewport::before,
    .cs-track-viewport::after {
        width: 28px;
    }
}
