/* ========================================
   リセット & 基本スタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - オレンジベース */
    --primary-color: #FF6B35;
    --primary-dark: #E85A2A;
    --primary-light: #FF8C5F;
    --secondary-color: #F7931E;
    --accent-color: #FFB84D;

    /* 医療系カラー */
    --medical-blue: #2E86AB;
    --medical-light-blue: #A9D6E5;
    --trust-color: #1B4965;

    /* グレースケール */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gray: #E8ECF0;
    --medium-gray: #8B95A5;
    --dark-gray: #4A5568;
    --black: #1A202C;

    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);

    /* シャドウ */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* フォント */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* トランジション */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0px 0;
    transition: var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 150px;
    width: auto;
}

.logo-subtitle {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 400;
    /* ロゴのベースラインに合わせるための微調整 */
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:not(.cta-button):hover {
    color: var(--primary-color);
}

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

.nav-link:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition-base);
}

.mobile-menu-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--black);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

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

.stat-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 14px;
    color: var(--medium-gray);
    margin-top: 8px;
}

/* ========================================
   課題セクション
   ======================================== */
.problems {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 60px;
}

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

.problem-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
}

.problem-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.problem-description {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ========================================
   コンセプトセクション
   ======================================== */
.concept {
    padding: 100px 0;
    background-color: var(--white);
}

.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concept-text .section-title {
    text-align: left;
    margin-bottom: 32px;
}

.concept-description {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 24px;
    line-height: 1.9;
}

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

.concept-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.concept-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}

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

.concept-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.concept-circle {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.concept-circle-inner {
    width: 360px;
    height: 360px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.concept-circle-inner i {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.concept-circle-inner p {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.concept-circle-inner span {
    font-size: 16px;
    color: var(--medium-gray);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   特徴セクション
   ======================================== */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

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

.feature-card {
    background-color: var(--white);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card-highlight {
    border: 3px solid var(--primary-color);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.08);
    font-family: var(--font-secondary);
}

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

.feature-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.feature-description {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 16px;
}

/* ========================================
   機能セクション
   ======================================== */
.functions {
    padding: 100px 0;
    background-color: var(--white);
}

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

.function-card {
    background-color: var(--light-gray);
    padding: 40px 32px;
    border-radius: 16px;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.function-card:hover {
    background-color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.function-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 24px;
}

.function-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.function-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.8;
}

/* ========================================
   導入メリットセクション
   ======================================== */
.benefits {
    padding: 100px 0;
    background: var(--gradient-hero);
}

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

.benefit-item {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.benefit-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
}

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

.flow-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
}

.flow-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.flow-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background-color: var(--light-gray);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
    transition: var(--transition-base);
}

.flow-item:hover .flow-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.flow-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.flow-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.flow-arrow {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: var(--primary-color);
    font-size: 32px;
    margin-top: 130px;
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--trust-color) 0%, var(--medical-blue) 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-description {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-item i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.contact-info-item span {
    font-size: 14px;
    opacity: 0.9;
}

.contact-info-item strong {
    font-size: 24px;
    font-weight: 700;
}

.contact-info-item small {
    font-size: 13px;
    opacity: 0.8;
}

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

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-checkbox label {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    margin-bottom: 8px;
}

.footer-logo-image {
    height: 100px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.6;
}

.footer-company {
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--medium-gray);
    font-size: 14px;
}

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

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .concept-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .concept-circle {
        width: 350px;
        height: 350px;
    }

    .concept-circle-inner {
        width: 310px;
        height: 310px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        padding: 140px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 40px;
    }

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

    .problems-grid,
    .features-grid,
    .functions-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .flow-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

    .concept-circle {
        width: 280px;
        height: 280px;
    }

    .concept-circle-inner {
        width: 250px;
        height: 250px;
        padding: 20px;
    }

    .concept-circle-inner i {
        font-size: 60px;
    }

    .concept-circle-inner p {
        font-size: 22px;
    }
}