/* ==========================================================================
   MoshiMo Landing Page - CSS
   ========================================================================== */

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

:root {
    /* カラー設定 */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    
    /* フォント */
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    
    /* スペーシング */
    --section-padding: 80px;
    --container-padding: 20px;
    
    /* その他 */
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-ja);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--font-en);
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 8px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-header {
    font-size: 14px;
    padding: 10px 20px;
}

/* --------------------------------------------------------------------------
   ヒーローセクション
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 0;
}

.hero-label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title-main {
    display: block;
    font-size: 36px;
}

.hero-title-emphasis {
    display: block;
    color: #fbbf24;
    font-size: 56px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #fbbf24;
    font-family: var(--font-en);
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 14px;
    opacity: 0.7;
}

.hero-note i {
    color: var(--secondary-color);
    margin: 0 8px;
}

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 60px;
}

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

.section-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-title-emphasis {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.sp-only {
    display: none;
}

/* --------------------------------------------------------------------------
   問題提起セクション
   -------------------------------------------------------------------------- */
.problem-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.problem-timeline {
    max-width: 800px;
    margin: 60px auto 0;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.problem-timeline-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.timeline-marker.critical {
    background-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.timeline-time {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-item.critical .timeline-time {
    color: var(--accent-color);
}

.timeline-content p {
    color: var(--text-light);
}

.timeline-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.problem-alert {
    margin-top: 32px;
    padding: 24px;
    background-color: #fef2f2;
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.problem-alert p {
    margin-bottom: 8px;
}

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

/* --------------------------------------------------------------------------
   オーナーの損失セクション
   -------------------------------------------------------------------------- */
.loss-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

.loss-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.loss-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.loss-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.loss-image-container:hover .loss-image {
    transform: scale(1.05);
}

.loss-intro {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.loss-items {
    margin-bottom: 32px;
}

.loss-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.loss-item:last-child {
    margin-bottom: 0;
}

.loss-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 24px;
}

.loss-details {
    flex: 1;
}

.loss-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.loss-amount {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.loss-description {
    font-size: 14px;
    color: var(--text-light);
}

.loss-total {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.loss-total-label {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.loss-total-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-color);
}

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

.loss-cta-text {
    font-size: 18px;
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   ソリューションセクション
   -------------------------------------------------------------------------- */
.solution-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.solution-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.solution-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.solution-hero-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.solution-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.solution-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--bg-white);
    border-radius: 8px;
    font-weight: 600;
}

.solution-feature-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

.solution-hero-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.solution-how {
    background-color: var(--bg-white);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.solution-how-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.solution-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

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

.solution-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.solution-step-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.solution-step-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
}

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

.solution-result-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 40px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.solution-result-icon {
    font-size: 32px;
    color: var(--secondary-color);
}

.solution-result-text {
    font-size: 16px;
    text-align: left;
    line-height: 1.7;
}

.moshimo-img {
    margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   特徴セクション
   -------------------------------------------------------------------------- */
.features-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-bottom: 16px;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
}

.feature-content {
    padding: 32px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   比較表セクション
   -------------------------------------------------------------------------- */
.comparison-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    font-size: 18px;
    font-weight: 700;
}

.comparison-table th.highlight {
    background-color: var(--primary-dark);
}

.comparison-table td {
    font-size: 15px;
}

.comparison-table td.highlight {
    background-color: #eff6ff;
    font-weight: 600;
}

.comparison-table .table-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.comparison-table .table-note {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.comparison-table i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* --------------------------------------------------------------------------
   信頼性セクション
   -------------------------------------------------------------------------- */
.trust-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

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

.media-item {
    text-align: center;
    padding: 32px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.media-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.media-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.media-program {
    font-size: 14px;
    color: var(--text-light);
}

.partnership {
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: var(--border-radius);
}

.partnership-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.partnership-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.partnership-item {
    text-align: center;
    padding: 32px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
}

.partnership-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.partnership-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.partnership-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   サブターゲットセクション
   -------------------------------------------------------------------------- */
.subtarget-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.subtarget-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.subtarget-block:last-child {
    margin-bottom: 0;
}

.subtarget-image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.subtarget-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subtarget-image-container:hover .subtarget-image {
    transform: scale(1.05);
}

.subtarget-label {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.subtarget-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
}

.subtarget-title-emphasis {
    color: var(--primary-color);
}

.subtarget-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.subtarget-benefits {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.subtarget-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.subtarget-benefit i {
    color: var(--secondary-color);
    font-size: 20px;
}

/* --------------------------------------------------------------------------
   導入の流れセクション
   -------------------------------------------------------------------------- */
.flow-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
    align-items: center;
}

.flow-step {
    text-align: center;
    grid-column: span 2;
}

.flow-arrow {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    grid-column: span 1;
}

.flow-step-number {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.flow-step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.flow-step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-step-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   お問い合わせセクション
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-info-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
}

.contact-info-title:first-child {
    margin-top: 0;
}

.contact-phone,
.contact-email {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-phone i,
.contact-email i {
    font-size: 20px;
}

.contact-hours {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-address {
    margin-top: 32px;
}

.contact-address h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-address p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-website {
    margin-top: 24px;
}

.contact-website a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-website a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: var(--accent-color);
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-ja);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox input {
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-submit {
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e5e7eb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #9ca3af;
}

/* --------------------------------------------------------------------------
   スクロールトップボタン
   -------------------------------------------------------------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--box-shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* --------------------------------------------------------------------------
   固定CTAボタン（モバイル）
   -------------------------------------------------------------------------- */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 16px;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 998;
    display: none;
}

.fixed-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 18px;
}

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* タブレット以下 */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .loss-content-wrapper,
    .solution-hero,
    .subtarget-block,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .subtarget-block.government-block .subtarget-content {
        order: 1;
    }
    
    .subtarget-block.government-block .subtarget-image-container {
        order: 2;
    }
    
    .solution-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .solution-step-arrow {
        transform: rotate(90deg);
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
    }
    
    .flow-step,
    .flow-arrow {
        grid-column: span 1;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* モバイル */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }
    
    .sp-only {
        display: inline;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
    }
    
    .btn-header {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-title-main {
        font-size: 24px;
    }
    
    .hero-title-emphasis {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-stat-number {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .problem-timeline {
        padding: 24px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .partnership {
        padding: 32px 20px;
    }
    
    .solution-how {
        padding: 32px 20px;
    }
    
    .solution-features-list {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .fixed-cta {
        display: block;
    }
    
    .scroll-to-top {
        bottom: 90px;
    }
    
    .subtarget-title {
        font-size: 28px;
    }
    
    .loss-total-amount {
        font-size: 28px;
    }
}

/* 超小型モバイル */
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .loss-item {
        flex-direction: column;
        text-align: center;
    }
    
    .loss-icon {
        margin: 0 auto;
    }
}