/* ==================== */
/* CSS変数定義 - 赤メイン */
/* ==================== */
:root {
    /* メインカラー: 赤系 */
    --primary-red: #e53e3e;
    --primary-red-dark: #c53030;
    --primary-red-light: #fc8181;
    --primary-red-pale: #fed7d7;
    --primary-red-bg: #fef2f2;
    
    /* アクセントカラー */
    --accent-dark: #2d3748;
    --accent-gray: #4a5568;
    --accent-light: #718096;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-lighter: #f9f9f9;
    
    /* テキスト色 */
    --text-dark: #2d3748;
    --text-gray: #4a5568;
    --text-light: #718096;
    --text-white: #ffffff;
    
    /* ボーダー色 */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    
    /* シャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-red: 0 4px 6px -1px rgba(229, 62, 62, 0.1), 0 2px 4px -1px rgba(229, 62, 62, 0.06);
    
    /* フォント */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-cn: 'Noto Sans SC', sans-serif;
    /* フォールバック（日本語/中国語共通） */
    --font-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 700;
}

/* ==================== */
/* 共通スタイル */
/* ==================== */

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: inherit; */
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html[lang="ja"] body {
    font-family: var(--font-jp), var(--font-fallback);
}

html[lang="zh"] body {
    font-family: var(--font-cn), var(--font-fallback-cn)!important;
}


body {
    /* font-family: var(--font-family); */
    font-family: var(--font-jp), var(--font-fallback); /* ← デフォルトを追加 */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-red);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 768px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

/* ==================== */
/* タイポグラフィ */
/* ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-black);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.highlight-red {
    color: var(--primary-red);
}

.highlight-white {
    background: transparent;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid var(--text-white);
    padding: 0 0.2rem;
}

/* ==================== */
/* ボタン */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

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

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

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-cta {
    background: var(--text-white);
    color: var(--primary-red);
    border: 2px solid var(--text-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: transparent;
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==================== */
/* ヘッダー */
/* ==================== */
.header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: padding 0.3s ease;
    max-width: 1000px;
}

.header.scrolled .container {
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-black);
    color: var(--text-white);
    transition: color 0.3s ease;
}

.header.scrolled .logo-text {
    color: var(--text-white);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary-red-light);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red-light);
    transition: width 0.3s ease;
}

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

.header.scrolled .nav a {
    color: var(--text-white);
}

.header.scrolled .nav a:hover {
    color: var(--primary-red-light);
}

.nav-cta {
    background: var(--text-white);
    color: var(--primary-red) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: var(--font-weight-bold);
}

.nav-cta:hover {
    background: var(--primary-red-light);
    color: var(--text-white) !important;
    transform: translateY(-2px);
}

.header.scrolled .nav-cta {
    background: var(--text-white);
    color: var(--primary-red) !important;
}

.header.scrolled .nav-cta:hover {
    background: var(--primary-red-light);
    color: var(--text-white) !important;
}

/* ==================== */
/* 言語切り替えボタン */
/* ==================== */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 2rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    background: transparent;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--text-white);
    color: var(--primary-red);
    border-color: var(--text-white);
}

.header.scrolled .lang-btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
}

.header.scrolled .lang-btn:hover,
.header.scrolled .lang-btn.active {
    background: var(--text-white);
    color: var(--primary-red);
    border-color: var(--text-white);
}

/* ==================== */
/* ハンバーガーメニュー */
/* ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.header.scrolled .hamburger span {
    background: var(--text-white);
}

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

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

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

.hamburger.active span {
    background-color: var(--primary-red-dark);
}

/* モバイルメニュー用のオーバーレイ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


.hero-slider {
    position: relative;
    height: 80vh;
    max-height: 500px;
    margin: 100px auto 50px;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-white);
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    width: 90%;
    max-width: 800px;
    height: 100%;
}

/* PC時の順序設定 */
.slide-container.reverse {
    grid-template-columns: 1fr 1fr;
}

.slide-container.reverse .slide-content {
    order: 2;
}

.slide-container.reverse .slide-image {
    order: 1;
}

.slide-content {
    padding: 2rem;
    text-align: left;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--primary-red);
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.slide-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 1rem;
}

.slide-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 15px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 4;
}

.slider-controls button {
    background: rgba(229, 62, 62, 0.9);
    color: var(--text-white);
    border: none;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.slider-controls button:hover {
    background: var(--primary-red-dark);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(229, 62, 62, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--primary-red);
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

/* ==================== */
/* 問題セクション */
/* ==================== */
.problem {
    background: var(--bg-white);
    padding: 100px 0;
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.problem .container {
    position: relative;
    z-index: 2;
}

.problem .section-title {
    margin-bottom: 4rem;
}

/* 行のレイアウト */
.problem-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.problem-row:last-child {
    margin-bottom: 0;
}

/* 1段目: 左画像 + 右アイテム */
.first-row {
    grid-template-columns: 1fr 2fr;
}

/* 2段目: 左アイテム + 右画像 */
.second-row {
    grid-template-columns: 2fr 1fr;
}

.second-row .problem-items {
    order: 1;
}

.second-row .problem-image {
    order: 2;
}

/* アイテムリスト */
.problem-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    background: var(--primary-red-bg);
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 62, 62, 0.03), transparent);
    transition: left 0.6s ease;
}

.problem-item:hover::before {
    left: 100%;
}

.problem-item:hover {
    transform: translateX(8px);
    box-shadow: 
        0 8px 25px -8px rgba(229, 62, 62, 0.15),
        0 4px 12px -4px rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    border-left-color: var(--primary-red-dark);
}

.problem-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.problem-item:hover .problem-icon {
    background: var(--primary-red-dark);
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px -4px rgba(229, 62, 62, 0.4);
}

.problem-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
    transition: transform 0.3s ease;
}

.problem-item:hover .problem-icon i {
    transform: scale(1.1);
}

.problem-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.problem-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    font-weight: var(--font-weight-normal);
    opacity: 0.9;
}

/* 画像部分 - 正方形に変更 */
.problem-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 8px 25px -8px rgba(229, 62, 62, 0.1);
    aspect-ratio: 1 / 1; /* 正方形 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-image:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 12px 30px -8px rgba(229, 62, 62, 0.15);
}

.problem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.problem-image:hover .problem-img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(229, 62, 62, 0.1) 30%,
        rgba(229, 62, 62, 0.9) 100%
    );
    color: var(--text-white);
    padding: 2.5rem 2rem;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.image-overlay h4 {
    font-size: 1.6rem;
    font-weight: var(--font-weight-black);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    font-weight: var(--font-weight-medium);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.problem-item {
    animation: fadeInUpProblem 0.6s ease-out;
}

.first-row .problem-item:nth-child(1) { animation-delay: 0.1s; }
.first-row .problem-item:nth-child(2) { animation-delay: 0.2s; }
.second-row .problem-item:nth-child(1) { animation-delay: 0.3s; }
.second-row .problem-item:nth-child(2) { animation-delay: 0.4s; }

.problem-image {
    animation: fadeInUpProblem 0.8s ease-out 0.5s both;
}

/* ==================== */
/* 強みセクション */
/* ==================== */
.strength {
    background: var(--primary-red);
    padding: 80px 0;
    position: relative;
}

.strength .section-title {
    color: var(--text-white);
    margin-bottom: 3rem;
}

.strength .highlight-red {
    background: transparent;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.strength-item {
    background: var(--bg-white);
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.strength-number {
    font-size: 1.8rem;
    font-weight: var(--font-weight-black);
    color: var(--bg-white);
    position: absolute;
    top: -0.8rem;
    left: 1.5rem;
    background: var(--primary-red-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 3px solid var(--primary-red); */
    z-index: 2;
}

.strength-image {
    margin: 0.5rem auto 1.5rem;
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
}

.strength-image img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.strength-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
}

.strength-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ==================== */
/* 比較セクション */
/* ==================== */
.comparison {
    background: var(--text-white);
    padding: 80px 0;
    position: relative;
}

.comparison .section-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison .section-subtitle {
    margin-bottom: 3rem;
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
}

.comparison-table {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* ヘッダーのグリッドレイアウト - 修正版 */
.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: var(--primary-red);
    color: var(--text-white);
    padding: 1.5rem 1rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.comparison-category {
    font-weight: var(--font-weight-bold);
    text-align: center;
    font-size: 0.95rem;
    padding: 0 0.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-option {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    width: 100%;
}

.best-option {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    width: 100%;
    margin: 0;
}

.option-badge {
    background: #ffd700;
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-black);
    display: inline-block;
}

.option-title {
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    line-height: 1.2;
}

/* 行のグリッドレイアウト - 修正版 */
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 1rem;
    gap: 0.5rem;
    align-items: center;
    justify-items: center;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.row-title {
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    padding: 0 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    width: 100%;
}

.row-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 60px;
    text-align: center;
    width: 100%;
}

/* 評価スタイル */
.rating {
    font-size: 1.3rem;
    font-weight: var(--font-weight-black);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ベスト（当社） */
.row-content.best {
    background: linear-gradient(135deg, var(--primary-red-pale), #fff);
    border: 2px solid var(--primary-red);
    transform: scale(1.02);
}

.row-content.best .rating {
    background: var(--primary-red);
    color: white;
}

/* 良い・普通・悪い */
.row-content.good,
.row-content.normal,
.row-content.poor {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--text-light);
}

.row-content.good .rating,
.row-content.normal .rating,
.row-content.poor .rating {
    background: #6b7280;
    color: white;
}

.content-text {
    flex: 1;
    text-align: center;
}

.content-text strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    font-weight: var(--font-weight-bold);
}

.content-text small {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

@keyframes bestGlow {
    0% { box-shadow: 0 0 0 rgba(229, 62, 62, 0.4); }
    50% { box-shadow: 0 0 20px rgba(229, 62, 62, 0.6); }
    100% { box-shadow: 0 0 0 rgba(229, 62, 62, 0.4); }
}

.row-content.best {
    animation: bestGlow 3s ease-in-out infinite;
}

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

.comparison-table {
    animation: fadeInUpComparison 0.6s ease-out 0.2s both;
}

/* ==================== */
/* 比較結果 - 新しい構成 */
/* ==================== */
.comparison-result {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.result-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 2rem;
}

/* 画像部分 - 正方形 */
.result-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: var(--shadow-lg); */
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-image:hover {
    transform: translateY(-5px);
    /* box-shadow: var(--shadow-xl); */
}

.result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.result-image:hover .result-img {
    transform: scale(1.08);
}

/* 情報部分 */
.result-info {
    padding: 0;
}

.result-info h3 {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.4;
    color: var(--text-dark);
}

.result-points {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.result-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    /* padding: 1rem; */
    /* background: var(--text-white); */
    border-radius: 12px;
    /* border-left: 4px solid var(--primary-red); */
    transition: all 0.3s ease;
}

/* .result-point:hover {
    transform: translateX(5px);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
} */

.point-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.result-point:hover .point-icon {
    background: var(--primary-red-dark);
    transform: scale(1.1);
}

.point-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    padding-top: 0.3rem;
    color: var(--text-dark);
}

/* 結論部分 - 下部に配置 */
.result-conclusion-container {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-red-pale), var(--bg-white));
    border-radius: 15px;
    border: 2px solid var(--primary-red);
}

.result-conclusion {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
    color: var(--text-dark);
}

.result-conclusion strong {
    color: var(--primary-red);
    font-size: 1.4rem;
}

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

.result-content {
    animation: fadeInResult 0.8s ease-out 0.3s both;
}

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

.result-point {
    animation: pointSlideIn 0.6s ease-out;
}

.result-point:nth-child(1) { animation-delay: 0.5s; }
.result-point:nth-child(2) { animation-delay: 0.6s; }
.result-point:nth-child(3) { animation-delay: 0.7s; }
.result-point:nth-child(4) { animation-delay: 0.8s; }

.result-conclusion-container {
    animation: fadeInResult 0.8s ease-out 1s both;
}

/* ==================== */
/* 制作実績セクション */
/* ==================== */
.works {
    background: var(--bg-light);
    padding: 80px 0;
}

.works .container {
    max-width: 1000px;
}

.works .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.work-item {
    background: var(--bg-white);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.work-image {
    position: relative;
    overflow: hidden;
    height: 130px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(229, 62, 62, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-info {
    text-align: center;
    color: var(--text-white);
}

.work-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.work-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* サイトリンクスタイル */
.site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--text-white);
    color: var(--primary-red);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
    text-decoration: none;
}

.site-link:hover {
    background: var(--bg-light);
    transform: scale(1.05);
    color: var(--primary-red);
}

.site-link i {
    font-size: 0.8rem;
}

.work-content {
    padding: 1rem;
}

.work-content h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
}

.work-content p {
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-size: 0.7rem;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--primary-red-pale);
    color: var(--primary-red);
    padding: 0.3rem;
    border-radius: 15px;
    font-size: 0.6rem;
    font-weight: var(--font-weight-medium);
}

/* アクションボタンスタイル */
.works-actions {
    text-align: center;
    margin-top: 3rem;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 200px;
    text-align: center;
    justify-content: center;
}

/* ==================== */
/* お客様の声セクション */
/* ==================== */
.testimonials {
    background: var(--bg-white);
    padding: 80px 0;
}

.testimonials .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1rem;
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
}

.client-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    text-align: left;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-rating i {
    margin: 0 0.1rem;
}

/* ==================== */
/* プロセスセクション */
/* ==================== */
.process {
    background: var(--primary-red);
    padding: 80px 0;
    position: relative;
}

.process .section-title {
    color: var(--text-white);
    margin-bottom: 3rem;
}

.process .highlight-red {
    background: transparent;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    background: var(--bg-white);
    border-radius: 0;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 80% 0, 95% 50%, 80% 100%, 0 100%, 20% 50%);
    margin-right: -10px;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:last-child {
    clip-path: polygon(0 0, 80% 0, 95% 50%, 80% 100%, 0 100%, 20% 50%);
    margin-right: 0;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: var(--font-weight-black);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 3;
    border: 3px solid var(--bg-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.8rem;
}

.process-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border: 2px solid var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.process-note p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: var(--font-weight-medium);
}

.process-note i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

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

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.featured {
    border: 3px solid var(--primary-red);
    transform: scale(1.05);
}

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

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plan-name {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
}

.plan-price {
    text-align: center;
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.plan-price span {
    font-size: 0.5rem;
    color: var(--text-light);
    font-weight: var(--font-weight-normal);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

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

.plan-features i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

.plan-target {
    background: var(--bg-lighter);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.plan-target strong {
    color: var(--text-dark);
}

.plan-note {
    text-align: center;
    background: var(--primary-red-pale);
    padding: 1.5rem;
    border-radius: 10px;
}

.plan-note p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.plan-note i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

/* ==================== */
/* プロフィールセクション */
/* ==================== */
.profile {
    background: var(--primary-red);
    padding: 80px 0;
    position: relative;
}

.profile .section-title {
    color: var(--text-white);
    margin-bottom: 3rem;
}

.profile .highlight-red {
    background: transparent;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.profiles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.profile-circle {
    background: var(--bg-white);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* 重なるデザイン */
.profile-circle.designer {
    margin-right: -40px;
    z-index: 2;
}

.profile-circle.assistant {
    margin-left: -40px;
    z-index: 1;
}

.profile-circle:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 2px solid var(--primary-red-pale);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
}

.profile-role {
    color: var(--primary-red);
    font-weight: var(--font-weight-medium);
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.profile-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.profile-features li {
    padding: 0.2rem 0;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.3;
}

.profile-message {
    text-align: center;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-red);
    max-width: 500px;
    margin: 0 auto;
}

.profile-message p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

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

.services .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1rem;
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.service-card.main-service {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, var(--bg-white), var(--primary-red-pale));
}

.service-card.main-service::before {
    content: "メインサービス";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: var(--text-white);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 1.2rem;
}

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

.service-features li:before {
    content: "✓";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* その他サービス */
.other-services {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.other-services-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
}

.other-services-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.other-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.service-tag {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: var(--primary-red);
    color: var(--text-white);
    border-color: var(--primary-red);
}

/* ==================== */
/* CTAセクション */
/* ==================== */
.cta-section {
    position: relative;
    color: var(--text-white);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pc.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(229, 62, 62, 0.9) 0%, 
        rgba(184, 40, 40, 0.85) 100%);
    z-index: 2;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: var(--font-weight-medium);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-feature i {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* ==================== */
/* コンタクトセクション */
/* ==================== */
.contact {
    background: var(--bg-white);
    padding: 80px 0;
}

.contact .container {
    max-width: 600px;
}

.contact-content {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.contact-item.simple {
    background: var(--bg-lighter);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.contact-icon.wechat {
    background: #25D366;
}

.contact-icon.instagram {
    background: #E4405F;
}

.contact-icon.redbook {
    background: #FF2442;
}

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

.qr-code {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.contact-id {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-id strong {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: var(--font-weight-bold);
}

.contact-id span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
}

.contact-item.simple i {
    font-size: 1.5rem;
    color: var(--primary-red);
    width: 40px;
    text-align: center;
}

.contact-item.simple div {
    display: flex;
    flex-direction: column;
}

.contact-item.simple strong {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item.simple span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* フォームスタイル */
.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

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

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

.required {
    color: var(--primary-red);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#captcha-question {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: var(--font-weight-bold);
    min-width: 100px;
    text-align: center;
}

#captcha {
    flex: 1;
}

.privacy-agree {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-agree input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-agree label {
    margin: 0;
    font-weight: var(--font-weight-normal);
}

.privacy-agree a {
    color: var(--primary-red);
    text-decoration: none;
}

.privacy-agree a:hover {
    text-decoration: underline;
}

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

.submit-btn {
    width: 100%;
    justify-content: center;
}

.form-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==================== */
/* フッター */
/* ==================== */
.footer {
    background: var(--primary-red);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-info p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

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

.footer-links a:hover {
    opacity: 1;
}

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

#privacy {
    background-color: var(--bg-white);
}

#privacy .container {
    margin-top: 60px;
}
/* ==================== */
/* アニメーション */
/* ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-red-pale);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}

/* ==================== */
/* レスポンシブデザイン */
/* ==================== */

/* 1024px以下のレスポンシブ */
@media (max-width: 1024px) {
    .problem-row {
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .problem-item {
        padding: 1.8rem;
        gap: 1.3rem;
    }
    
    .problem-icon {
        width: 55px;
        height: 55px;
    }
    
    .problem-icon i {
        font-size: 1.4rem;
    }
    
    .result-content {
        gap: 2.5rem;
    }
    
    .result-info h3 {
        font-size: 1.4rem;
    }
    
    .point-text {
        font-size: 1rem;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* タブレット向け微調整 */
@media (min-width: 769px) and (max-width: 1024px) {
    .problem-row {
        gap: 3.5rem;
    }
    
    .problem-item {
        padding: 1.8rem;
    }
}

/* -----------------------------------------------------------768px以下のレスポンシブ */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    /* ヘッダー */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 6rem 2rem 2rem;
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-light);
        color: var(--text-dark);
        text-align: center;
    }

    .nav ul li a:hover {
        color: var(--primary-red);
    }

    .language-switcher {
        margin: 2rem 0 0;
        padding: 1rem 0 0;
        border-left: none;
        justify-content: center;
        width: 100%;
        display: flex;
        gap: 0.5rem;

    }

    .lang-btn {
        border-color: var(--border-medium);
        color: var(--text-dark)!important ;
        border: 2px solid var(--border-medium);
        background: transparent;
        min-width: 100px;
        text-align: center;
    }

    /* アクティブな言語ボタンのスタイル修正 */
    .lang-btn.active,
    .nav-cta {
        background: var(--primary-red);
        color: var(--text-white)!important;
        border-color: var(--primary-red);
    }
    
    /* ホバー時のスタイル修正 */
    .lang-btn:hover {
        background: var(--primary-red);
        color: var(--text-white);
        border-color: var(--primary-red);
    }






    .hamburger {
        display: flex;
    }

    /* スライドショー */
    .hero-slider {
        height: auto;
        height: 70vh;
        min-height: 500px;
        max-height: none;
        margin: 80px 20px 30px;
        border-radius: 15px;
    }
    
    /* スマホ時は全てのスライドを縦並びに変更 */
    .slide-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
        height: auto;
        min-height: 500px;
        width: 100%;
        max-width: 100%;
    }
    
    /* スマホ時は全ての順序をリセット */
    .slide-container .slide-content,
    .slide-container.reverse .slide-content {
        order: 2;
        width: 90%;
        padding: 0 1rem;
        text-align: center;
    }
    
    .slide-container .slide-image,
    .slide-container.reverse .slide-image {
        order: 1;
        width: 90%;
        padding: 0 1.5rem;
    }
    
    .slide-content {
        text-align: center;
        padding: 0 1.5rem;
        width: 90%;
        height: 90%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .slide-image {
        padding: 0 1.5rem;
        height: 250px;
        width: 100%;
    }
    
    .slide-image img {
        height: 100%;
        max-height: 250px;
        width: 100%;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-controls button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .slider-dots {
        bottom: 20px;
    }

    /* 問題セクション */
    .problem {
        padding: 80px 0;
    }



    .problem .section-title {
        margin-bottom: 3rem;
    }

    /* モバイルでは順序を統一 */
    /* .second-row .problem-items,
    .second-row .problem-image {
        order: unset;
    } */

    .problem-items {
        gap: 1.2rem;
    }

    .problem-item {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .problem-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .problem-icon i {
        font-size: 1.3rem;
    }

    .problem-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .problem-item p {
        font-size: 0.95rem;
    }

    .problem-image {
        aspect-ratio: 16 / 9; /* モバイルでは横長に */
        border-radius: 15px;
    }

    .image-overlay {
        padding: 2rem 1.5rem;
    }

    .image-overlay h4 {
        font-size: 1.4rem;
    }

    .image-overlay p {
        font-size: 0.95rem;
    }

    /* 強みセクション */
    .strength {
        padding: 60px 0;
    }
    

    .strength-item {
        padding: 2rem 1.5rem;
    }
    
    .strength-number {
        left: 50%;
        transform: translateX(-50%);
        top: -1.5rem;
    }

    /* 比較セクション */
    .comparison {
        padding: 60px 0;
    }
    
    .comparison-result {
        margin: 2rem auto 0;
    }
    

    
    .result-info h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .result-points {
        gap: 1rem;
    }
    
    .point-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .point-text {
        font-size: 0.95rem;
        padding-top: 0.2rem;
    }
    
    .result-conclusion-container {
        padding: 1.5rem;
    }
    
    .result-conclusion {
        font-size: 1.1rem;
    }
    
    .result-conclusion strong {
        font-size: 1.2rem;
    }

    .comparison-table {
        margin: 0 1rem 2rem;
        border-radius: 12px;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
        text-align: center;
    }

    .comparison-category {
        display: none;
    }

    .comparison-option {
        text-align: center;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 0.8rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        margin-bottom: 0.25rem;
    }

    .best-option {
        margin: 0;
        background: rgba(255, 255, 255, 0.2);
    }

    .option-badge {
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    .row-title {
        background: var(--bg-light);
        padding: 0.8rem 1rem;
        border-radius: 6px;
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
        text-align: center;
        font-weight: var(--font-weight-bold);
        min-height: auto;
    }

    .row-content {
        margin-bottom: 0.5rem;
        min-height: 50px;
        justify-content: center;
        text-align: center;
    }

    .row-content.best {
        transform: none;
        border-left: 4px solid var(--primary-red);
        border: 1px solid var(--primary-red);
    }

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

    /* 制作実績セクション */
    .works {
        padding: 60px 0;
    }
    
    .work-image {
        height: 200px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .work-info h3 {
        font-size: 1.3rem;
    }
    
    .site-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* お客様の声セクション */
    .testimonials {
        padding: 60px 0;
    }
    

    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-header {
        justify-content: center;
        text-align: center;
    }

    /* プロセスセクション */
    .process {
        padding: 60px 0;
    }
    
    .process-steps {
        /* grid-template-columns: 1fr; */
        gap: 2rem;
    }
    
    .process-step {
        clip-path: none !important;
        border-radius: 15px;
        margin-right: 0;
        padding: 2rem 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .process-step:hover {
        transform: translateY(-3px);
    }
    
    .step-number {
        border: 2px solid var(--bg-white);
    }

    /* プロフィールセクション */
    .profile {
        padding: 60px 0;
    }
    
    .profiles-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-circle {
        width: 250px;
        height: 250px;
        padding: 2rem;
    }
    
    .profile-circle.designer,
    .profile-circle.assistant {
        margin: 0 auto;
    }
    
    .profile-image {
        width: 70px;
        height: 70px;
    }
    
    .profile-info h3 {
        font-size: 1rem;
    }
    
    .profile-features li {
        font-size: 0.75rem;
    }

    /* サービスセクション */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .other-services {
        padding: 2rem 1.5rem;
    }
    
    .other-services-list {
        gap: 0.5rem;
    }
    
    .service-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* CTAセクション */
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-background {
        background-attachment: scroll;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-features {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-feature {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    
    .btn-cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    /* コンタクトセクション */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-qr {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        display: flex; /* gridからflexに変更 */
        flex-direction: column;
        align-items: center; /* 横方向の中央揃え */
    }
    
    .footer-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* 子要素を中央揃え */
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-info > p,
    .footer-contact {
        text-align: center; /* テキストも中央揃え */
        align-items: center; /* フレックスアイテムの中央揃え */
    }
    
    .footer-contact p {
        justify-content: center; /* アイコンとテキストを中央揃え */
    }
    
    .footer-links {
        width: 100%;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* メニュー項目を中央揃え */
        gap: 10px 20px;
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
}

/* -------------------------------------------------------480px以下のレスポンシブ */
@media (max-width: 480px) {
    .hero-slider {
        margin: 70px 15px 20px;
        border-radius: 12px;
        min-height: 450px;
    }
    
    .slide-container {
        gap: 1.5rem;
        min-height: 450px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-image {
        height: 200px;
        margin-top: -50px;
    }
    
    .slide-image img {
        max-height: 100%;
        object-fit: contain;
    }
    
    .slider-controls button {
        display: none;
    }
    
    .btn-large {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }

    .language-switcher {
        flex-direction: column;
        align-items: center;
    }

    .lang-btn {
        width: 100%;
        text-align: center;
    }

    /* 問題セクション */
    .problem {
        padding: 60px 0;
    }

    .problem-row {
        /* gap: 2.5rem; */
        margin-bottom: 1rem;
    }

    .problem-row {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .problem-row:first-of-type{
        margin-top: -2.5rem;
    } 



    /* !important を使用して強制的に上書き */
    .problem .problem-item {
        flex-direction: row !important;
        text-align: left !important;
        padding: 1rem !important;
        gap: 1rem !important;
        align-items: flex-start !important;
    }

    .problem .problem-icon {
        width: 40px !important;
        height: 40px !important;
        align-self: flex-start !important;
        margin-top: 0.2rem !important;
        flex-shrink: 0 !important;
    }

    .problem .problem-icon i {
        font-size: 1.2rem !important;
    }

    .problem .problem-text {
        flex: 1 !important;
    }

    .problem-item h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .problem-item p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .problem-image {
        aspect-ratio: 4 / 3 !important;
        border-radius: 12px !important;
    }

    .image-overlay {
        padding: 1.5rem 1.2rem !important;
    }

    .image-overlay h4 {
        font-size: 1.3rem !important;
    }

    .image-overlay p {
        font-size: 0.9rem !important;
    }

    .problem-image:last-of-type {
    display: none !important;
    }

    /* モバイル用アニメーション調整 */
    .problem-item:nth-child(1) { animation-delay: 0.05s; }
    .problem-item:nth-child(2) { animation-delay: 0.1s; }
    .problem-item:nth-child(3) { animation-delay: 0.15s; }
    .problem-item:nth-child(4) { animation-delay: 0.2s; }

    /* 強みセクション */
    .strength {
        padding: 50px 0;
    }

    .strength-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    
    .strength-item {
        padding: 1.8rem 1.2rem;
    }
    
    .strength-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        top: -1.2rem;
    }
    
    .strength-item h3 {
        font-size: 1.1rem;
    }
    
    .strength-item p {
        font-size: 0.85rem;
    }

    /* 比較セクション */
    .result-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .result-image {
        max-width: 400px;
        margin: 0 auto;
    }
    .comparison {
        padding: 50px 0;
    }

    .comparison .section-subtitle {
        margin-bottom: 2rem;
        font-size: 0.9rem;
    }

    .comparison-result {
        margin: 2rem auto 0;
    }
    
    .result-content {
        gap: 1.5rem;
    }
    
    .result-image {
        max-width: 300px;
    }
    
    .result-info h3 {
        font-size: 1.3rem;
    }
    
    .result-point {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .point-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .point-text {
        font-size: 0.9rem;
    }
    
    .result-conclusion-container {
        padding: 1.2rem;
    }
    
    .result-conclusion {
        font-size: 1rem;
    }
    
    .result-conclusion strong {
        font-size: 1.1rem;
    }

    .comparison-table {
        margin: 0 0.5rem 1.5rem;
    }

    .comparison-header {
        padding: 1rem 0.5rem;
    }

    .comparison-row {
        padding: 0.8rem 0.5rem;
    }

    .row-content {
        padding: 0.6rem;
        min-height: 45px;
        gap: 0.6rem;
    }

    .rating {
        width: 25px;
        height: 25px;
        font-size: 1.1rem;
    }

    .content-text strong {
        font-size: 0.8rem;
    }

    .content-text small {
        font-size: 0.7rem;
    }

    .result-point {
        font-size: 0.85rem;
        gap: 0.8rem;
    }

    /* 制作実績セクション */
    .works {
        padding: 50px 0;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .work-image {
        height: 150px;
    }
    
    .work-content {
        padding: 1.2rem;
    }
    
    .work-content h3 {
        font-size: 1.1rem;
    }
    
    .btn-outline {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* お客様の声セクション */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .testimonials {
        padding: 50px 0;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .client-image {
        width: 50px;
        height: 50px;
    }
    
    .client-info h3 {
        font-size: 0.9rem;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
    }

    /* プロセスセクション */
    .process {
        padding: 50px 0;
    }
    
    .process-step {
        padding: 1.8rem 1.2rem;
    }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .process-note {
        padding: 1.2rem;
    }
    
    .process-note p {
        font-size: 1rem;
    }

    /* プロフィールセクション */
    .profile {
        padding: 50px 0;
    }
    
    .profile-circle {
        width: 220px;
        height: 220px;
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 60px;
        height: 60px;
    }
    
    .profile-message {
        padding: 1.2rem 1.5rem;
    }
    
    .profile-message p {
        font-size: 0.9rem;
    }

    /* サービスセクション */
    .services {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 1.8rem 1.2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .other-services {
        padding: 1.5rem 1rem;
    }

    /* CTAセクション */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-feature {
        justify-content: center;
    }

    /* コンタクトセクション */
    .contact {
        padding: 50px 0;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .qr-code {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 1200px以上の大型デバイス */
@media (min-width: 1200px) {
    .hero-slider {
        max-width: 1100px;
    }
    
    .slide-container {
        max-width: 900px;
    }
    
    .slide-content h2 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .slide-image img {
        height: 350px;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .problem {
        background: var(--accent-dark);
    }
    
    .problem-item {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .problem-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .problem-item h3 {
        color: var(--text-white);
    }
    
    .problem-item p {
        color: rgba(255, 255, 255, 0.8);
    }

    .comparison {
        background: var(--accent-dark);
    }
    
    .comparison-table {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .row-title {
        color: var(--text-white);
    }
    
    .row-content.good,
    .row-content.normal {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .comparison-row:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}


/* ==================== */
/* WeChat固定ボタン */
/* ==================== */
.wechat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.wechat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366; /* WeChatグリーン */
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.wechat-qr {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    width: 200px;
    text-align: center;
}

.wechat-qr img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.wechat-qr p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
    font-weight: var(--font-weight-medium);
}

.wechat-float:hover .wechat-qr,
.wechat-float:focus-within .wechat-qr {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wechat-float {
        bottom: 20px;
        right: 20px;
    }
    
    .wechat-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .wechat-qr {
        width: 180px;
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .wechat-float {
        bottom: 15px;
        right: 15px;
    }
    
    .wechat-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .wechat-qr {
        width: 160px;
        padding: 12px;
    }
    
    .wechat-qr p {
        font-size: 0.8rem;
    }
}