/*
    -----------------------------------------------------
    基本設定とCSSリセット
    -----------------------------------------------------
*/
:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --accent-color: #28a745;
    --accent-hover-color: #218838;
    --text-color: #343a40;
    --bg-color-light: #ffffff;
    --bg-color-dark: #f8f9fa;
    --border-color: #dee2e6;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif, 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Meiryo', 'メイリオ', 'Yu Gothic', '游ゴシック', 'Osaka', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*
    -----------------------------------------------------
    ヘッダーとナビゲーション
    -----------------------------------------------------
*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-color-light);
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    padding: 1rem 0;
}

.site-header.is-scrolled {
    box-shadow: var(--box-shadow);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 40px;
    vertical-align: middle;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-list li a {
    font-weight: 700;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.menu-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/*
    -----------------------------------------------------
    ボタン共通スタイル
    -----------------------------------------------------
*/
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid transparent;
    margin: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color-light);
}

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

.btn-secondary {
    background-color: var(--bg-color-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-color-light);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0rem;
}

/*
    -----------------------------------------------------
    メインコンテンツの各セクション
    -----------------------------------------------------
*/
.section {
    padding: 6rem 0;
}

.bg-gray {
    background-color: var(--bg-color-dark);
}

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

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

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #6c757d;
}

/* ヒーローセクション */
.hero-section {
    padding: 8rem 0 9rem;
    background-image: url('./img/mv.png');
    background-size: cover;
    background-position: calc(50% + 5rem) center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 5rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero-text-content {
    flex: 1;
    max-width: 600px;
}

.hero-logo {
    margin-bottom: 2.5rem;
    text-align: center;
}

.hero-logo-img {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    padding: 0 auto
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
.hero-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
/* 機能・メリットのグリッドレイアウト */
.feature-grid,
.benefit-list,
.price-cards,
.case-grid {
    display: grid;
    gap: 2rem;
}

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

.feature-card,
.price-card,
.case-card {
    background-color: var(--bg-color-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.card-icon,
.case-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-title,
.benefit-title,
.plan-name,
.case-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-text,
.case-text {
    color: #6c757d;
}

.price-text{
    font-size: 0.5em;
    color:#6c757d;
}

/* 導入メリット */
.benefit-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 導入事例 */
.case-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.benefit-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* 料金プラン */
.price-cards {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: center;
}

.price-card {
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

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

.featured-card {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.price-header {
    background-color: var(--bg-color-dark);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-name {
    margin: 0;
}

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

.plan-price span {
    font-size: 3.5rem;
}

.plan-features {
    padding: 1.5rem;
}

.plan-features li {
    padding: 0.5rem 0;
    text-align: left;
    display: flex;
    align-items: center;
}

.plan-features li i {
    margin-right: 0.5rem;
}

.plan-features .fa-check-circle {
    color: var(--accent-color);
}

.plan-features .fa-times-circle {
    color: #dc3545;
}

.price-card .btn {
    margin: 1.5rem auto;
}

/* FAQセクション */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-color-light);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.faq-question {
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    -webkit-tap-highlight-color: transparent; /* タップ時のハイライトを無効化 */
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

/*
    -----------------------------------------------------
    フッター
    -----------------------------------------------------
*/
.site-footer {
    background-color: var(--text-color);
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: #ffffff;
    margin: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #ced4da;
}

/*
    -----------------------------------------------------
    レスポンシブデザイン（モバイル・タブレット対応）
    -----------------------------------------------------
*/
@media (max-width: 992px) {
    /* ヒーローセクションを縦並びに */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-image: none;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 700;
        padding: 0 auto
    }
    .site-header {
        padding: 0.5rem 0;
    }

    /* モバイルメニュー */
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color-light);
        box-shadow: var(--box-shadow);
        padding: 1rem 0;
        text-align: center;
    }

    .nav-list.is-open {
        display: flex;
    }

    .nav-list li {
        margin: 0.5rem 0;
    }
    
    .nav-contact-btn {
        margin-top: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .section {
        padding: 4rem 0;
    }

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