/* ベース設定 */
:root {
    --primary-color: #0284c7; /* 清潔感のあるブルー */
    --primary-light: #e0f2fe;
    --secondary-color: #0ea5e9;
    --accent-color: #10b981; /* ミントグリーン（安心感） */
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
.header {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.clinic-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s;
}

.clinic-name:hover {
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s;
}

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

/* ヒーローセクション */
.hero {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.39);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
    background: var(--secondary-color);
}

.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: -50px;
    right: 10%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: -50px;
    right: -5%;
}

/* メインコンテンツ */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.section {
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.8);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 1rem;
}

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

.section-header h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.mechanism-box {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.mechanism-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.citation {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

/* 重症度（HDSS） */
.hdss-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
}

.hdss-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: #f1f5f9;
    border-left: 4px solid #cbd5e1;
    transition: transform 0.2s;
}

.hdss-item:hover {
    transform: translateX(5px);
}

.hdss-item.warning {
    background: #ecfdf5;
    border-left-color: var(--accent-color);
}

.hdss-score {
    font-weight: 700;
    width: 80px;
    color: var(--text-main);
}

.hdss-desc {
    flex: 1;
    font-weight: 500;
}

.info-box {
    background: #fff;
    border: 1px solid #10b981;
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: #10b981;
}

.info-box strong {
    color: #059669;
    font-size: 1.2rem;
}

/* 治療薬セクション */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.treatment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.category-header {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.category-header.hand-sweat {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
}

.category-header.armpit-sweat {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.medicine-item {
    margin-bottom: 1.5rem;
}

.medicine-item.bordered {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.medicine-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.medicine-name h4 {
    font-size: 1.2rem;
    color: var(--text-main);
}

.medicine-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.medicine-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.medicine-features li {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* アクセス案内 */
.access-content {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.clinic-info {
    flex: 1;
}

.clinic-info h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.address {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.access-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.access-map {
    flex: 1.2;
}

.access-map img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* フッター */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #0f172a;
    color: #cbd5e1;
}

.footer-note {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #94a3b8;
}

/* PC/SP改行コントロール */
.sp-br { display: none; }
.pc-br { display: block; }

/* レスポンシブ対応（スマホ最適化） */
@media (max-width: 768px) {
    .pc-br { display: none; }
    .sp-br { display: block; }
    
    .header {
        position: relative; /* スマホではスクロールについていかないようにする（画面領域確保のため） */
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.25rem;
    }
    
    .nav a {
        font-size: 0.85rem;
    }
    
    .hero {
        margin: 1.5rem 1rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
        top: -30px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
        bottom: -30px;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .main-content {
        padding: 0 1rem 3rem;
    }
    
    .section {
        margin-bottom: 2.5rem;
    }
    
    .card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .section-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .section-icon {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.35rem;
    }
    
    .highlight-text {
        font-size: 1rem;
    }
    
    .mechanism-box {
        padding: 1.25rem;
    }
    
    .mechanism-box h3 {
        font-size: 1.05rem;
    }
    
    .mechanism-box p {
        font-size: 0.95rem;
    }
    
    .citation {
        font-size: 0.75rem;
        text-align: left;
    }
    
    .hdss-list {
        margin: 1.5rem 0;
    }
    
    .hdss-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .hdss-score {
        width: auto;
        font-size: 0.95rem;
        color: var(--primary-color);
    }
    
    .hdss-desc {
        font-size: 0.95rem;
    }
    
    .info-box {
        padding: 1.25rem;
    }
    
    .info-box p {
        font-size: 0.95rem;
    }
    
    .section-title-wrapper {
        margin-bottom: 2rem;
    }
    
    .section-title-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .section-title-wrapper p {
        font-size: 0.9rem;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-header {
        padding: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .category-header h3 {
        font-size: 1.15rem;
    }
    
    .medicine-name h4 {
        font-size: 1.1rem;
    }
    
    .medicine-desc {
        font-size: 0.9rem;
    }
    
    .medicine-features li {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    
    .access-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .clinic-info h4 {
        font-size: 1.2rem;
    }

    .access-note {
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-note {
        font-size: 0.75rem;
    }
}
