/* ========================================
   リセット & ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2c3e50;
    line-height: 1.7;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #f0f9ff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0277bd;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #546e7a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover {
    color: #0277bd;
}

.cta-link {
    background: linear-gradient(135deg, #0288d1, #0277bd);
    color: white !important;
    padding: 10px 24px;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.3);
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 136, 209, 0.4);
}

/* モバイルメニューボタン */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #0277bd;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    padding: 100px 0 120px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
    color: #01579b;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(1, 87, 155, 0.15);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #0277bd;
    margin-bottom: 20px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 20px;
    color: #546e7a;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: #78909c;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0288d1, #0277bd);
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(2, 136, 209, 0.4);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(2, 136, 209, 0.5);
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover .arrow {
    transform: translateX(5px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #546e7a;
    font-weight: 500;
}

.feature-icon {
    font-size: 24px;
}

/* ========================================
   セクション共通スタイル
======================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0277bd;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #78909c;
}

/* ========================================
   サービスセクション
======================================== */
.services {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(2, 136, 209, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0277bd;
    margin-bottom: 15px;
    min-height: 30px;
}

.card-description {
    font-size: 15px;
    color: #546e7a;
    margin-bottom: 25px;
    line-height: 1.8;
    min-height: 81px;
}

.card-note {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 12px 15px;
    margin-top: 20px;
    font-size: 12px;
    color: #e65100;
    border-radius: 8px;
    line-height: 1.7;
}

.card-note-placeholder {
    background: transparent;
    border: none;
    padding: 12px 15px;
    visibility: hidden;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    padding: 10px 0;
    padding-left: 28px;
    color: #546e7a;
    font-size: 14px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid #f0f9ff;
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4fc3f7;
    font-weight: bold;
    font-size: 16px;
}

/* ========================================
   ご利用の流れセクション
======================================== */
.flow {
    padding: 100px 0;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-step {
    background: white;
    padding: 35px 25px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.flow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(2, 136, 209, 0.2);
}

/* ステップ番号の色をグラデーションで変化 */
.flow-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
}

.flow-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #b3e5fc, #81d4fa);
}

.flow-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #81d4fa, #4fc3f7);
}

.flow-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
}

.flow-step:nth-child(5) .step-number {
    background: linear-gradient(135deg, #29b6f6, #03a9f4);
}

.flow-step:nth-child(6) .step-number {
    background: linear-gradient(135deg, #03a9f4, #0288d1);
}

.step-number {
    display: inline-block;
    color: #01579b;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.step-icon {
    font-size: 52px;
    margin-bottom: 18px;
}

.step-title {
    font-size: 19px;
    font-weight: 700;
    color: #0277bd;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: #78909c;
    line-height: 1.7;
}

/* ========================================
   料金プランセクション
======================================== */
.pricing {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 100px 0;
}

.pricing-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 12px 50px rgba(2, 136, 209, 0.15);
    text-align: center;
}

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    color: #0277bd;
    margin-bottom: 30px;
    line-height: 1.5;
}

.pricing-price {
    margin-bottom: 40px;
}

.price-amount {
    font-size: 64px;
    font-weight: 700;
    color: #0288d1;
}

.price-currency {
    font-size: 28px;
    color: #546e7a;
    margin-left: 5px;
}

.price-period {
    font-size: 20px;
    color: #78909c;
    margin-left: 5px;
}

.price-tax {
    display: block;
    font-size: 16px;
    color: #78909c;
    margin-top: 5px;
}

.pricing-features {
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e3f2fd;
    font-size: 16px;
    color: #546e7a;
}

.pricing-feature:last-child {
    border-bottom: none;
}

.feature-check {
    color: #4fc3f7;
    font-size: 20px;
    font-weight: bold;
}

.pricing-note {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e3f2fd;
    color: #78909c;
    font-size: 14px;
    line-height: 1.8;
}

.pricing-note strong {
    color: #0277bd;
}

.pricing-note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-note-item {
    text-align: center;
    padding: 20px 15px;
    background: #f0f9ff;
    border-radius: 12px;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
}

.pricing-note-item:hover {
    border-color: #4fc3f7;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.2);
}

.pricing-note-item strong {
    display: block;
    font-size: 14px;
    color: #0277bd;
    margin-bottom: 8px;
    font-weight: 700;
}

.pricing-note-item p {
    font-size: 14px;
    color: #546e7a;
    line-height: 1.6;
    margin: 0;
}

.pricing-highlight {
    margin-top: 5px;
    padding-top: 20px;
    border-top: 2px solid #e3f2fd;
    font-weight: 600;
    color: #0277bd;
    font-size: 16px;
}

/* ========================================
   導入のメリットセクション
======================================== */
.benefits {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(2, 136, 209, 0.2);
}

.benefit-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: #0277bd;
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 15px;
    color: #78909c;
    line-height: 1.8;
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 100px 0;
}

.contact-content-center {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-unified {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-info-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e3f2fd;
}

.contact-note {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #e65100;
    border-radius: 8px;
    line-height: 1.7;
    text-align: left;
}

.contact-area {
    color: #546e7a;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #546e7a;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #f44336;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, #0288d1, #0277bd);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(2, 136, 209, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 136, 209, 0.4);
}

/* ========================================
   フッター
======================================== */
.footer {
    background: linear-gradient(135deg, #01579b, #0277bd);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
}

.footer-logo .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
}

.footer-info h4,
.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   レスポンシブデザイン
======================================== */

/* ========================================
   アクセシビリティ
======================================== */

/* フォーカス表示の強化 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #4fc3f7;
    outline-offset: 2px;
}

/* スキップリンク */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0277bd;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* 視覚的に隠すがスクリーンリーダーには読まれる */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
    .hero-badge,
    .step-number {
        border: 2px solid currentColor;
    }
}

/* 動きの削減設定 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* PC表示用のクラス */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 80px);
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        padding: 15px 20px;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }

    .cta-link {
        margin-top: 20px;
        text-align: center;
    }

    /* PCのみ表示 */
    .pc-only {
        display: none;
    }

    /* スマホのみ表示 */
    .sp-only {
        display: inline;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        font-size: 16px;
        padding: 14px 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-content-center {
        padding: 0 20px;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    .pricing-note-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .price-amount {
        font-size: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .services-grid,
    .benefits-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .benefit-card,
    .flow-step {
        padding: 30px 20px;
    }

    .pricing-title {
        font-size: 22px;
    }

    .price-amount {
        font-size: 40px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-cta {
        font-size: 14px;
        padding: 12px 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
}

