/* --- 基本設定 --- */
:root {
    --main-font: 'Noto Sans JP', sans-serif;
    --heading-font: 'M PLUS Rounded 1c', sans-serif;
    --bg-color: #FFFFFF;
    --text-color: #333333;
    --light-gray-bg: #f8f9fa;
    --primary-blue: #007bff;
    --primary-orange: #fd7e14;
    --white: #fff;
    --border-color: #dee2e6;
}

body {
    font-family: var(--main-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 800;
    line-height: 1.4;
    margin-top: 0;
}

section {
    padding: 80px 0;
}

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

.section-text {
    max-width: 800px;
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight-text {
    color: var(--primary-blue);
    font-weight: 700;
}

/* --- Language Switcher --- */
.language-switcher-container {
    background-color: #e9ecef;
    padding: 8px 0;
}
.language-switcher-container .container {
    text-align: right;
}
.language-switcher-container a {
    color: #555;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}
.language-switcher-container a:hover {
    color: var(--primary-blue);
}


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

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

.hero-text {
    flex: 1;
}

.main-catchphrase {
    font-size: 3.2rem;
    margin-bottom: 24px;
}

.sub-catchphrase {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
}

.hero-image {
    flex: 0 0 40%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    overflow: hidden; /* 画像のはみ出しを防止 */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block; /* 画像下の余白を削除 */
}

/* --- 導入セクション --- */
.problem-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}
.problem-list li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
}
.problem-list .fa-check-circle {
    color: var(--primary-blue);
    margin-right: 12px;
    margin-top: 6px;
}

/* --- 広告プレースホルダ --- */
.ad-placeholder {
    padding: 40px 0;
    text-align: center;
    color: #aaa;
}

/* --- 提案セクション --- */
.proposal-section {
    background-color: var(--light-gray-bg);
}
.solution-box {
    background: var(--white);
    border-left: 5px solid var(--primary-blue);
    padding: 32px 40px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.solution-text {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
}

/* --- メリットセクション --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.benefit-card {
    background-color: var(--light-gray-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.benefit-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 24px;
}
.benefit-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* --- CTAセクション --- */
.cta-section {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
}
.cta-section .section-title, .cta-section .section-text {
    color: var(--white);
}
.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.cta-button.primary {
    background-color: var(--primary-orange);
    color: var(--white);
}
.cta-button.primary:hover {
    background-color: #e46a0a;
    transform: translateY(-2px);
}
.cta-button.primary-alt {
    background-color: var(--primary-blue);
    color: var(--white);
}
.cta-button.primary-alt:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--text-color);
}
.cta-button i {
    margin-right: 8px;
}

/* --- フッター --- */
.site-footer {
    background-color: #222;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
}
.social-links {
    margin-bottom: 20px;
}
.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 12px;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--primary-blue);
}
.copyright {
    font-size: 0.9rem;
}

/* --- ページトップへ戻るボタン --- */
.back-to-top-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none; /* JSで表示制御 */
    z-index: 100;
    transition: background-color 0.3s;
}
.back-to-top-button:hover {
    background-color: #0056b3;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        order: -1;
        margin-bottom: 40px;
        max-width: 350px;
    }
    .main-catchphrase { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .main-catchphrase { font-size: 2.2rem; }
    .solution-text { font-size: 1.5rem; }
    .cta-buttons { flex-direction: column; width: 100%; max-width: 350px; margin-left: auto; margin-right: auto; }
    .cta-button { width: 100%; text-align: center; }
}