/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;
}

/* 画像の基本設定 */
img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー */
.hero {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    padding: 40px 20px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-image img{
  width: 100%;
}

@media (min-width: 1240px) {
    .hero-image {
        max-width: 1200px;
    }
}

/* グローバルナビゲーション */
.global-nav {
    background: linear-gradient(135deg, #00b09b 0%, #008c7a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.global-nav-item {
    color: #fff;
    text-decoration: none;
    padding: 20px 32px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.global-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.global-nav-item:active {
    background-color: rgba(255, 255, 255, 0.3);
}

/* セクション共通 */
.section {
    padding: 80px 20px;
}

.section.bg-light {
    background-color: #f8fafb;
}

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

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    color: #1a2e5a;
}

.section-lead {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 60px;
    line-height: 1.8;
}

.subsection-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2e5a;
    margin-top: 60px;
    margin-bottom: 32px;
    text-align: center;
}

/* メリットカード */
.merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.merit-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.merit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.merit-icon-svg {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.merit-icon-svg svg {
    width: 64px;
    height: 64px;
}

.merit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 12px;
}

.merit-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* 支払方法の比較 */
.payment-types {
    margin-top: 60px;
}

.payment-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.payment-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.payment-card.highlighted {
    border: 3px solid #5BB8D4;
}

.payment-header {
    background: linear-gradient(135deg, #5BB8D4 0%, #4BA0C6 100%);
    color: #fff;
    padding: 24px;
    text-align: center;
}

.payment-header h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.payment-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.payment-badge.recommend {
    background: #FF7A2F;
}

.payment-body {
    padding: 28px;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.payment-detail:last-of-type {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #1a2e5a;
    font-size: 15px;
}

.detail-value {
    text-align: right;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.detail-value small {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.payment-fee-detail,
.payment-deadline-detail {
    background: #f8fafb;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.payment-fee-detail h5,
.payment-deadline-detail h5 {
    font-size: 14px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 12px;
}

.payment-fee-detail ul,
.payment-deadline-detail ul {
    list-style: none;
    padding: 0;
}

.payment-fee-detail li,
.payment-deadline-detail li {
    font-size: 14px;
    color: #555;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.payment-fee-detail li::before,
.payment-deadline-detail li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5BB8D4;
    font-weight: bold;
}

.payment-note {
    margin-top: 20px;
    padding: 16px;
    background: #fff9e6;
    border-left: 4px solid #FFB84D;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.payment-notice {
    background: #e8f4f8;
    padding: 24px;
    border-radius: 12px;
    border-left: 5px solid #5BB8D4;
    margin-top: 32px;
}

.payment-notice p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.payment-notice strong {
    color: #1a2e5a;
}

/* 料金テーブル */
.pricing-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid #eee;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row.header {
    background: linear-gradient(135deg, #5BB8D4 0%, #4BA0C6 100%);
    color: #fff;
    font-weight: 700;
}

.pricing-cell {
    padding: 20px 24px;
    font-size: 15px;
}

.pricing-row.header .pricing-cell {
    font-size: 16px;
}

.pricing-row:not(.header):nth-child(even) {
    background: #f8fafb;
}

.pricing-note {
    background: #fff9e6;
    padding: 28px;
    border-radius: 12px;
    border-left: 5px solid #FFB84D;
}

.pricing-note h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 16px;
}

.pricing-note ul {
    list-style: none;
    padding: 0;
}

.pricing-note li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: #555;
}

.pricing-note li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b09b;
    font-weight: bold;
    font-size: 18px;
}

/* お問い合わせセクション */
.contact-info {
    max-width: 700px;
    margin: 40px auto 0;
    text-align: center;
}

.contact-company {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.contact-dept {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.contact-details-simple {
    margin-top: 32px;
}

.contact-line {
    font-size: 18px;
    color: #fff;
    line-height: 2;
    margin-bottom: 16px;
}

.contact-line strong {
    font-weight: 600;
}

.contact-line a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    transition: opacity 0.3s ease;
}

.contact-line a:hover {
    opacity: 0.8;
}

.btn-line-simple {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #06C755;
    color: #fff;
    padding: 24px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-top: 32px;
    box-shadow: 0 4px 16px rgba(6, 199, 85, 0.3);
}

.btn-line-simple:hover {
    background: #05b34c;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6, 199, 85, 0.4);
}

.line-qr-simple {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.line-button-text {
    font-size: 18px;
    font-weight: 600;
}

/* 設定方法セクション */
.setup-steps {
    max-width: 900px;
    margin: 0 auto 60px;
}

.setup-step {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.setup-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5BB8D4 0%, #4BA0C6 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.setup-note {
    background: #e8f4f8;
    padding: 28px;
    border-radius: 12px;
    border-left: 5px solid #5BB8D4;
}

.setup-note h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 16px;
}

.setup-note ul {
    list-style: none;
    padding: 0;
}

.setup-note li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: #555;
}

.setup-note li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b09b;
    font-weight: bold;
    font-size: 18px;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-question,
.faq-answer {
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.faq-question {
    background: #f8fafb;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8f4f8;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
}

.faq-question .faq-icon {
    background: #5BB8D4;
    color: #fff;
}

.faq-answer .faq-icon {
    background: #00b09b;
    color: #fff;
}

.faq-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
}

.faq-question .faq-text {
    font-weight: 600;
    color: #1a2e5a;
}

.faq-answer .faq-text {
    color: #555;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #1a2e5a 0%, #2d4a7c 100%);
    color: #fff;
    text-align: center;
}

.cta-section .section-title {
    color: #fff;
}

.cta-section .section-lead {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #FF7A2F 0%, #FF6B1F 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 122, 47, 0.5);
}

.btn-secondary {
    background: #fff;
    color: #1a2e5a;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: transparent;
    color: #fff;
}

/* フッター */
.footer {
    background: #1a2e5a;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero {
        padding: 20px 16px;
    }

    .section {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-lead {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .global-nav {
        flex-wrap: wrap;
        margin-top: -20px;
    }

    .global-nav-item {
        padding: 16px 20px;
        font-size: 14px;
    }

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

    .payment-comparison {
        grid-template-columns: 1fr;
    }

    .pricing-row {
        grid-template-columns: 1fr;
    }

    .pricing-cell {
        padding: 16px;
    }

    .setup-step {
        flex-direction: column;
        padding: 24px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .contact-company {
        font-size: 22px;
    }

    .contact-dept {
        font-size: 16px;
    }

    .contact-line {
        font-size: 16px;
    }

    .line-qr-simple {
        width: 120px;
        height: 120px;
    }

    .btn-line-simple {
        padding: 20px 24px;
    }

    .line-button-text {
        font-size: 16px;
    }
}
