/* muw サポートページスタイル */

/* 基本設定 */
:root {
    --primary-color: #4285f4; /* Google Chromeのブルー */
    --secondary-color: #34a853; /* Google グリーン */
    --accent-color: #ea4335; /* Google レッド */
    --neutral-color: #fbbc05; /* Google イエロー */
    --text-color: #333;
    --light-gray: #f5f7fa;
    --medium-gray: #e1e5eb;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --max-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    /* muw特有の色 */
    --nofollow-color: #FF5733;
    --ugc-color: #33FF57;
    --sponsored-color: #3357FF;
    --no-rel-color: #FFFF33;
    --other-rel-color: #FF33FF;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

section {
    padding: 60px 0;
}

/* ヘッダー */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.2rem;
    margin: 0;
}

header .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* ヒーローセクション */
.hero {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

/* スクリーンショットのプレースホルダー */
.screenshot-placeholder {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.browser-mockup {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: white;
}

.browser-header {
    background: #f0f0f0;
    padding: 10px;
    display: flex;
    align-items: center;
}

.browser-buttons {
    display: flex;
    gap: 5px;
    margin-right: 15px;
}

.browser-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.browser-buttons span:nth-child(1) {
    background: #ff5f56;
}

.browser-buttons span:nth-child(2) {
    background: #ffbd2e;
}

.browser-buttons span:nth-child(3) {
    background: #27c93f;
}

.browser-address-bar {
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
    flex: 1;
    font-size: 14px;
    color: #666;
}

.browser-content {
    padding: 20px;
    min-height: 300px;
}

/* muwデモ */
.muw-demo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-link {
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.demo-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid;
    border-radius: 4px;
    pointer-events: none;
}

.demo-link.nofollow::before {
    border-color: var(--nofollow-color);
}

.demo-link.ugc::before {
    border-color: var(--ugc-color);
}

.demo-link.sponsored::before {
    border-color: var(--sponsored-color);
}

.demo-link.none::before {
    border-color: var(--no-rel-color);
}

.demo-link.other::before {
    border-color: var(--other-rel-color);
}

.demo-image {
    position: relative;
    margin-top: 20px;
}

.image-placeholder {
    width: 100%;
    height: 150px;
    background: #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder::after {
    content: "サンプル画像";
    color: #888;
}

.alt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 4px 0 4px 0;
}

/* ボタン */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

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

.button.primary:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(66, 133, 244, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* 機能セクション */
.features {
    background-color: var(--white);
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

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

.feature-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.icon-rel, .icon-alt, .icon-toggle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: white;
    font-weight: bold;
}

.icon-rel {
    background: linear-gradient(135deg, var(--nofollow-color), var(--sponsored-color));
}

.icon-alt {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.icon-toggle {
    background: linear-gradient(135deg, var(--secondary-color), var(--neutral-color));
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* 使い方セクション */
.how-to-use {
    background-color: var(--light-gray);
}

.how-to-use h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
}

.steps {
    counter-reset: step-counter;
    list-style-type: none;
    padding: 0;
}

.steps li {
    position: relative;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    counter-increment: step-counter;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.steps h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* 活用シーンセクション */
.use-cases {
    background-color: var(--white);
}

.use-cases h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.use-case-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.use-case-item h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* FAQ セクション */
.faq {
    background-color: var(--light-gray);
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* お問い合わせセクション */
.contact {
    background-color: var(--white);
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-methods {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-methods a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.contact-methods a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* フッター */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--white);
}

/* レスポンシブデザイン */
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-methods a {
        width: 100%;
    }
}