/*
Theme Name: Creative Studio Pro
Description: Professional content creation theme for agencies, studios, and creative professionals
Version: 1.0.0
Author: Your Name
*/

/* CSS Variables for Design System */
:root {
    --section-padding: 6rem 0;
    --section-padding-mobile: 4rem 0;
    --main-title-size: 2.5rem;
    --subtitle-size: 1.5rem;
    --body-text-size: 1.1rem;
    --large-text-size: 1.2rem;
    --card-padding: 2.5rem;
    --card-padding-mobile: 2rem;
    --card-radius: 20px;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
    --content-max-width: 900px;
    --text-max-width: 800px;
    --transition: all 0.3s ease;
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff;
    font-size: 16px;
}

/* ヘッダー */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.site-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-title a {
    color: #1a202c;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ナビゲーション */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-navigation a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #667eea;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* メインコンテンツ */
.site-main {
    margin-top: 80px;
    /* ヘッダーの高さ分のマージン */
}

.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヒーローセクション */
.hero-section {
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%),
        url('./hero-image.jpg') center/cover no-repeat;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 98px,
            rgba(255, 255, 255, 0.03) 100px);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: white;
    color: #667eea;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* About Us セクション */
.about-us-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.about-us-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.about-us-section .section-title {
    font-size: var(--main-title-size);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.section-subtitle-large {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    color: #667eea;
    text-align: center;
    letter-spacing: -0.01em;
}

.about-us-text {
    font-size: var(--large-text-size);
    line-height: 1.8;
    color: #4a5568;
    max-width: var(--text-max-width);
    margin: 0 auto;
    text-align: left;
}

/* About Us Continued セクション */
.about-continued-section {
    padding: 6rem 0;
    background:
        linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(45, 55, 72, 0.9) 100%),
        linear-gradient(45deg, #2d3748 0%, #1a202c 50%, #2d3748 100%);
    color: white;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* 握手画像が利用可能な場合 */
.about-continued-section.has-image {
    background:
        linear-gradient(135deg, rgba(26, 32, 44, 0.8) 0%, rgba(45, 55, 72, 0.8) 100%),
        url('./handshake-background.jpg') center/cover no-repeat;
}

.about-continued-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(0px);
    }

    50% {
        opacity: 0.9;
        transform: translateY(-10px);
    }
}

.about-continued-content {
    position: relative;
    z-index: 2;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
}

.content-right {
    max-width: var(--content-max-width);
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: var(--card-padding) 3rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.continued-title {
    font-size: var(--main-title-size);
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
}

.continued-text {
    font-size: var(--large-text-size);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: var(--text-max-width);
    margin: 0 auto;
}

/* Media Strategy セクション */
.media-strategy-section {
    padding: var(--section-padding);
    background: white;
}

.strategy-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.strategy-title {
    font-size: var(--main-title-size);
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.strategy-text {
    font-size: var(--large-text-size);
    line-height: 1.8;
    color: #4a5568;
    text-align: left;
    max-width: var(--text-max-width);
    margin: 0 auto;
}

/* Three Services セクション */
.three-services-section {
    padding: var(--section-padding);
    background: #f7fafc;
}

.three-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.service-item-title {
    font-size: var(--subtitle-size);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-item-text {
    font-size: var(--body-text-size);
    line-height: 1.7;
    color: #4a5568;
    text-align: left;
}

/* サービスセクション */
.services-section {
    padding: var(--section-padding);
    background-color: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: var(--main-title-size);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: var(--body-text-size);
    color: #718096;
    margin-bottom: 3rem;
    max-width: var(--text-max-width);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: var(--subtitle-size);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
    letter-spacing: -0.01em;
}

.service-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: var(--body-text-size);
}

/* ブログレイアウト */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f7fafc;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* 投稿 */
.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

.post-header {
    padding: 1.5rem 2rem 0;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-content {
    padding: 0 2rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
}

.post-footer {
    padding: 0 2rem 2rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-posts h2 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.no-posts p {
    color: #718096;
}

/* サイドバー */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
    font-weight: 600;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 0.75rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 0.75rem;
}

.widget ul li a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f7fafc;
}

.widget ul li a:hover {
    color: #667eea;
    padding-left: 0.5rem;
}

.widget .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget .search-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
}

.widget .search-submit {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.widget .search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* About セクション */
.about-section {
    padding: var(--section-padding);
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    font-size: var(--large-text-size);
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.about-photo {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
    filter: grayscale(20%) contrast(1.1) brightness(0.95);
}

.about-photo:hover {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.2) brightness(1);
}

.image-placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-weight: 500;
    border: 2px dashed #e2e8f0;
    text-align: center;
    font-size: 1.1rem;
}

/* お客様の声セクション */
.testimonials-section {
    padding: 6rem 0;
    background: #f7fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: #1a202c;
}

.testimonial-title {
    font-size: 0.9rem;
    color: #718096;
}

/* コンタクトセクション */
.contact-section {
    padding: var(--section-padding);
    background: #1a202c;
    color: #ffffff;
    position: relative;
}

.contact-section .section-title {
    color: #1a202c;
    font-weight: 700;
    /* background: rgba(255, 255, 255, 0.95); */
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.contact-info p {
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: var(--card-shadow);
}

.method-details h4 {
    color: #1a202c;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    /* background: rgba(255, 255, 255, 0.9); */
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
}

.method-details p {
    color: #e2e8f0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group select option {
    background: #1a202c;
    color: #ffffff;
}

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* フッター */
.site-footer {
    background-color: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 3rem 0 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    :root {
        --main-title-size: 2.2rem;
        --subtitle-size: 1.4rem;
        --card-padding: 2rem;
    }

    .content-right {
        max-width: 600px;
        padding: 2.5rem 2rem;
    }

    .three-services-grid,
    .services-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
        --main-title-size: 2rem;
        --subtitle-size: 1.3rem;
        --card-padding: var(--card-padding-mobile);
    }

    .header-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid,
    .three-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-right {
        max-width: 100%;
        width: 100%;
        padding: var(--card-padding-mobile);
        margin: 0;
    }

    .strategy-text {
        text-align: center;
    }

    .section-subtitle-large {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        order: -1;
        position: static;
    }

    .content-area {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --main-title-size: 1.8rem;
        --subtitle-size: 1.2rem;
        --body-text-size: 1rem;
        --large-text-size: 1.1rem;
        --card-padding: 1.5rem;
        --content-max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .content-right {
        padding: 1.5rem;
    }

    .section-subtitle-large {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .newsletter-form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .tagline-text {
        font-size: 2.5rem;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .pricing-card.featured {
        transform: none;
    }

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

/* Newsletter Section Styles */
.newsletter-section {
    background: #f7fafc;
    padding: var(--section-padding);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.newsletter-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: #34495e;
    margin: 0 0 20px 0;
}

.newsletter-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.newsletter-form .form-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color: #333;
    background: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #667eea;
}

.subscribe-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Tagline Section Styles */
.tagline-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: var(--section-padding);
    text-align: center;
}

.tagline-text {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1px;
}

/* Call to Action Section Styles */
.cta-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: var(--section-padding);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.play-button {
    display: inline-block;
    font-size: 4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* About Section Updates */
.about-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #667eea;
    margin: 0 0 20px 0;
}

/* Clients Section Styles */
.clients-section {
    background: #f7fafc;
    padding: var(--section-padding);
    text-align: center;
}

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

.client-logo {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.client-logo span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Pricing Section Styles */
.pricing-section {
    background: #f7fafc;
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

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

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

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

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header {
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.currency {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
}

.period {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.plan-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    color: #4a5568;
    font-size: 0.95rem;
    border-bottom: 1px solid #e2e8f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li:before {
    content: "";
    margin-right: 10px;
}

.plan-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pricing-card.featured .plan-button {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}

.pricing-note p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    padding: var(--section-padding);
    background: white;
    min-height: 80vh;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f7fafc;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.effective-date {
    font-size: var(--body-text-size);
    color: #667eea;
    font-weight: 600;
    margin: 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-intro {
    background: #f7fafc;
    padding: 2rem;
    border-radius: var(--card-radius);
    margin-bottom: 3rem;
    border-left: 4px solid #667eea;
}

.policy-intro p {
    font-size: var(--large-text-size);
    color: #4a5568;
    margin-bottom: 1rem;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.policy-section:last-of-type {
    border-bottom: none;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #667eea;
    letter-spacing: -0.01em;
}

.policy-section p {
    font-size: var(--body-text-size);
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-list li {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    border-bottom: 1px solid #f7fafc;
    font-size: var(--body-text-size);
    color: #4a5568;
    line-height: 1.7;
}

.policy-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 1rem;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li strong {
    color: #1a202c;
    font-weight: 600;
}

.contact-info {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid #e2e8f0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: var(--body-text-size);
    color: #4a5568;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: #1a202c;
    font-weight: 600;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f7fafc;
    text-align: center;
}

.policy-footer p {
    font-size: var(--body-text-size);
    color: #718096;
    font-style: italic;
    margin: 0;
}

/* Privacy Policy レスポンシブ対応 */
@media (max-width: 768px) {
    .policy-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .policy-intro {
        padding: 1.5rem;
    }

    .policy-list li {
        padding-left: 1.5rem;
    }

    .contact-info {
        padding: 1rem;
    }
}

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

    .section-heading {
        font-size: 1.3rem;
        padding-left: 0.75rem;
    }

    .policy-intro {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .policy-section {
        margin-bottom: 2rem;
    }
}

/* ============================================
   Contact Form 7 スタイル - 強力な上書き設定
   ============================================ */

/* Contact Form 7のデフォルトスタイルを完全に無効化 */
.contact-section .wpcf7 * {
    box-sizing: border-box !important;
}

/* 隠しフィールドコンテナを完全に非表示 */
.contact-section .hidden-fields-container,
.contact-section fieldset.hidden-fields-container {
    display: none !important;
    visibility: hidden !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* fieldset要素の一般的なリセット */
.contact-section fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.contact-section .wpcf7-form p {
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
}

.contact-section .wpcf7-form label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    line-height: 1.4 !important;
}

/* ラベル内の<br>タグを削除してインライン表示 */
.contact-section .wpcf7-form label br {
    display: none !important;
}

/* wpcf7-form-control-wrap のスタイル */
.contact-section .wpcf7-form-control-wrap {
    display: block !important;
    margin-top: 0.5rem !important;
}

/* 最終的な強制スタイル適用 */
.contact-section .wpcf7 {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-section .wpcf7-form {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Contact Form 7のデフォルトスタイルを完全に無効化 */
.contact-section .wpcf7-form > p {
    margin-bottom: 1.5rem !important;
}

/* ボタンの位置調整 */
.contact-section .wpcf7-form p:last-child {
    margin-bottom: 0 !important;
}

/* 入力フィールドのスタイル - 最強セレクター */
.contact-section input[type="text"],
.contact-section input[type="email"], 
.contact-section textarea,
.contact-section .wpcf7-form-control,
.contact-section .wpcf7-text,
.contact-section .wpcf7-email,
.contact-section .wpcf7-textarea {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    background-color: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    margin: 0 !important;
    outline: none !important;
}

/* フォーカス時のスタイル */
.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section textarea:focus,
.contact-section .wpcf7-form-control:focus,
.contact-section .wpcf7-text:focus,
.contact-section .wpcf7-email:focus,
.contact-section .wpcf7-textarea:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* テキストエリアのスタイル */
.contact-section textarea,
.contact-section .wpcf7-textarea {
    resize: vertical !important;
    min-height: 120px !important;
}

/* 送信ボタンのスタイル */
.contact-section input[type="submit"],
.contact-section .wpcf7-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 0.875rem 2rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 150px !important;
    width: auto !important;
    margin: 0 !important;
}

.contact-section input[type="submit"]:hover,
.contact-section .wpcf7-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* 送信ボタンが無効化された時のスタイル */
.contact-section input[type="submit"]:disabled,
.contact-section .wpcf7-submit:disabled,
.contact-section input[type="submit"].disabled,
.contact-section .wpcf7-submit.disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

/* 送信中のスタイル */
.contact-section .wpcf7-form.submitting input[type="submit"],
.contact-section .wpcf7-form.submitting .wpcf7-submit {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* エラーメッセージのスタイル */
.contact-section .wpcf7-not-valid-tip {
    color: #d63031 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

.contact-section .wpcf7-validation-errors {
    background-color: #ffeaea !important;
    border: 1px solid #d63031 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    color: #d63031 !important;
}

/* 成功メッセージのスタイル */
.contact-section .wpcf7-mail-sent-ok {
    background-color: #eafaf1 !important;
    border: 1px solid #00b894 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    color: #00b894 !important;
    font-weight: 600 !important;
}

/* 文字数カウンターのスタイル */
.contact-section .character-counter {
    font-size: 0.875rem !important;
    color: #aaa !important;
    text-align: right !important;
    margin-top: 0.25rem !important;
}

.contact-section .character-counter.warning {
    color: #f39c12 !important;
}

/* スピナーのスタイル - デフォルトで非表示 */
.contact-section .wpcf7-spinner {
    display: none !important;
    margin-left: 10px !important;
}

/* 送信中のみスピナーを表示 */
.contact-section .wpcf7-form.submitting .wpcf7-spinner {
    display: inline-block !important;
    visibility: visible !important;
    border: 2px solid #f3f3f3 !important;
    border-top: 2px solid #667eea !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 必須フィールドのアスタリスク */
.contact-section .required::after {
    content: " *" !important;
    color: #ff6b6b !important;
    font-weight: bold !important;
}

/* 無効な入力フィールドのスタイル */
.contact-section .wpcf7-not-valid,
.contact-section input.wpcf7-not-valid,
.contact-section textarea.wpcf7-not-valid {
    border-color: #d63031 !important;
    box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1) !important;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .contact-section input[type="text"],
    .contact-section input[type="email"],
    .contact-section textarea,
    .contact-section .wpcf7-form-control,
    .contact-section .wpcf7-text,
    .contact-section .wpcf7-email,
    .contact-section .wpcf7-textarea {
        font-size: 16px !important; /* iOS でのズームを防ぐ */
    }
    
    .contact-section input[type="submit"],
    .contact-section .wpcf7-submit {
        width: 100% !important;
        padding: 1rem !important;
    }
}