/*
Theme Name: Tokyo Online Clinic
Description: 東京オンラインクリニックの公式WordPressテーマ - プレビュー完全再現版
Version: 2.0
Author: Tokyo Online Clinic
Text Domain: clinic
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles */
.site-header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 2rem;
    width: auto;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (min-width: 1280px) {
    .main-nav {
        gap: 1rem;
    }
}

@media (min-width: 1536px) {
    .main-nav {
        gap: 1.5rem;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

@media (min-width: 1280px) {
    .main-nav ul {
        gap: 2rem;
    }
}

@media (min-width: 1536px) {
    .main-nav ul {
        gap: 1.5rem;
    }
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

@media (min-width: 1280px) {
    .main-nav a {
        font-size: 0.875rem;
        white-space: normal;
    }
}

@media (min-width: 1536px) {
    .main-nav a {
        font-size: 1rem;
    }
}

.main-nav a:hover {
    color: #15c5cc;
}

.cta-buttons {
    display: none;
}

@media (min-width: 1024px) {
    .cta-buttons {
        display: flex;
        align-items: center;
    }
}

.mobile-menu-toggle {
    display: block;
    color: #17d7df;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: #17d7df;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 1rem;
    display: block;
}

.mobile-menu a:hover {
    color: #15c5cc;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 0.75rem;
    white-space: nowrap;
}

@media (min-width: 1280px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 1536px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.btn-primary {
    background: linear-gradient(to right, #17d7df, #17f1fc);
    color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #15c5cc, #15e8f3);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    border: 2px solid #4b5563;
    color: #374151;
    background: transparent;
}

.btn-secondary:hover {
    background: #4b5563;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background: white;
}

.top-hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.clinic-hero,
.group-hero,
.legal-hero {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.clinic-hero .top-hero-background,
.group-hero .top-hero-background,
.legal-hero .top-hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 3.75rem;
    }
}

.hero-section .hero-subtitle {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 0.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* News Banner */
.news-banner {
    padding: 2rem 0;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.news-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.news-badge {
    background: #f59e0b;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.news-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.news-text {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Campaign Section */
.campaign-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 700;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.campaign-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.campaign-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
}

.campaign-card {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.campaign-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #17d7df, #17f1fc);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-size: cover;
    background-position: center;
}

.campaign-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.campaign-image h3 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .campaign-image h3 {
        font-size: 1rem;
    }
    
    .campaign-card {
        width: 250px;
        height: 250px;
    }
}

@media (min-width: 1024px) {
    .campaign-image h3 {
        font-size: 1.125rem;
    }
    
    .campaign-card {
        width: 300px;
        height: 300px;
    }
}

.campaign-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #17d7df;
    width: 2rem;
}

.indicator:hover {
    background: #9ca3af;
}

/* Treatment Section */
.treatments-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 4rem;
}

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

@media (min-width: 768px) {
    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .treatment-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.treatment-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .treatment-card {
        border-radius: 1rem;
    }
}

.treatment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.treatment-image {
    position: relative;
    height: 8rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .treatment-image {
        height: 12rem;
    }
}

.treatment-card:hover .treatment-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.treatment-content {
    background-color: #affcff;
    padding: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .treatment-content {
        padding: 1rem;
    }
}

.treatment-content h3 {
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

@media (min-width: 768px) {
    .treatment-content h3 {
        font-size: 1.125rem;
    }
}

/* Reasons Section */
.reasons-section {
    padding: 5rem 0;
    background: white;
}

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

@media (min-width: 768px) {
    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reason-card {
    text-align: center;
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #06b6d4;
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.reason-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Flow Section */
.flow-section {
    padding: 5rem 0;
    background: #f9fafb;
}

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

@media (min-width: 768px) {
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .flow-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flow-step {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.step-number {
    background: linear-gradient(to right, #17d7df, #17f1fc);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.step-icon {
    color: #17d7df;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.flow-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.flow-step p {
    color: #6b7280;
    font-size: 0.875rem;
}

.repeat-consultation {
    margin-top: 4rem;
    background: rgba(23, 215, 223, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.repeat-consultation h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1.5rem;
}

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

@media (min-width: 768px) {
    .consultation-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.consultation-case {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.case-number {
    background: linear-gradient(to right, #17d7df, #17f1fc);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.consultation-case h4 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.consultation-case p {
    color: #374151;
    margin-bottom: 0.75rem;
}

.consultation-case ul {
    list-style: none;
    padding: 0;
}

.consultation-case li {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit {
    color: #374151;
    font-weight: 600;
}

/* Subscription Section */
.subscription-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(23, 215, 223, 0.1), rgba(23, 241, 252, 0.1));
}

.subscription-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .subscription-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-highlight {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-highlight h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

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

@media (min-width: 768px) {
    .subscription-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .subscription-benefits {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-list {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

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

.faq-question span:first-child {
    font-weight: 600;
    color: #1f2937;
}

.faq-toggle {
    color: #6b7280;
    font-size: 1.25rem;
    transition: transform 0.3s;
}

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

.faq-answer {
    display: none;
    padding: 1.5rem;
    background: white;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
    white-space: pre-line;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    color: #17d7df;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #17d7df;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.5rem;
    font-weight: 700;
    color: #17d7df;
}

.contact-hours {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.sns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sns-item {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    transition: background-color 0.3s;
    border: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 0.875rem;
    color: #17d7df;
}

.sns-item:hover {
    background: #f3f4f6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(to right, #17d7df, #17f1fc);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-content h2 {
        font-size: 3rem;
    }
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #a5f3fc;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: #17d7df;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background: #f3f4f6;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.chatbot-toggle {
    background: linear-gradient(to right, #17d7df, #17f1fc);
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.chatbot-toggle:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

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

.chatbot-window {
    display: none;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 20rem;
    height: 42rem;
    flex-direction: column;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(to right, #17d7df, #17f1fc);
    color: white;
    padding: 1rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header span:first-child {
    font-weight: 600;
}

.chatbot-close {
    cursor: pointer;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.chatbot-close:hover {
    color: #d1d5db;
}

.chatbot-content {
    flex: 1;
    padding: 1rem;
    background: #f9fafb;
    overflow-y: auto;
}

.chatbot-message {
    background: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-message p {
    color: #374151;
    font-size: 0.875rem;
    margin: 0;
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chatbot-option {
    width: 100%;
    text-align: left;
    background: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-option:hover {
    background: #f3f4f6;
}

.chatbot-input {
    padding: 0.75rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
}

.chatbot-input input:focus {
    border-color: #17d7df;
    box-shadow: 0 0 0 2px rgba(23, 215, 223, 0.2);
}

.chatbot-input button {
    background: #17d7df;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chatbot-input button:hover {
    background: #15c5cc;
}

/* Footer Styles */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #17d7df;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

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

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.bg-gray { background: #f9fafb; }

/* Legal Pages Styles */
.legal-hero {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/4173251/pexels-photo-4173251.jpeg?auto=compress&cs=tinysrgb&w=1200');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.danger-hero::before {
    background-image: url('https://images.pexels.com/photos/3683074/pexels-photo-3683074.jpeg?auto=compress&cs=tinysrgb&w=1200');
}

.legal-hero-content {
    position: relative;
    z-index: 10;
}

.legal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #17d7df;
}

.danger-icon {
    color: #ef4444;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .legal-hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .legal-hero h1 {
        font-size: 3.75rem;
    }
}

.legal-hero p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.legal-content {
    padding: 4rem 0;
    background: white;
}

.legal-sections {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.legal-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-number {
    background: #17d7df;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.legal-section p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.purpose-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.purpose-number {
    background: #17d7df;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.legal-contact {
    padding: 4rem 0;
    background: #f9fafb;
}

.contact-box {
    max-width: 64rem;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-info {
    background: #f0f9ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-email {
    color: #17d7df;
    font-weight: 700;
    font-size: 1.125rem;
}

.legal-cta {
    padding: 4rem 0;
    background: linear-gradient(to right, #17d7df, #17f1fc);
    text-align: center;
    color: white;
}

.legal-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .legal-cta h2 {
        font-size: 2.25rem;
    }
}

.legal-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #a5f3fc;
}

/* Tokusho Law Specific Styles */
.business-info-grid,
.transaction-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .business-info-grid,
    .transaction-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.info-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-content h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: #374151;
    margin: 0;
}

.legal-notice {
    padding: 4rem 0;
    background: white;
}

.notice-box {
    max-width: 64rem;
    margin: 0 auto;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.notice-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.notice-content p {
    color: #92400e;
    line-height: 1.6;
    margin: 0;
}

.contact-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.contact-icon {
    font-size: 1.25rem;
    color: #17d7df;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

.contact-label {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.contact-value {
    color: #17d7df;
    font-weight: 700;
}

/* Drug Import Risks Specific Styles */
.survey-section {
    padding: 4rem 0;
    background: white;
}

.survey-box {
    max-width: 64rem;
    margin: 0 auto;
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: 0.5rem;
    padding: 2rem;
}

.survey-icon {
    font-size: 1.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.survey-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.survey-box p {
    color: #dc2626;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.survey-companies h3 {
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.company-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc2626;
    font-size: 0.875rem;
}

.company-item::before {
    content: '•';
    color: #ef4444;
    font-weight: 700;
}

.survey-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .survey-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-item {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #fecaca;
    text-align: center;
}

.result-item h4 {
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.result-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 0.25rem;
}

.result-item p {
    color: #dc2626;
    font-size: 0.875rem;
    margin: 0;
}

.risks-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.risks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.risk-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.risk-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.risk-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.risk-card > p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.risk-details {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.risk-details p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.safe-alternative {
    padding: 4rem 0;
    background: white;
}

.safe-box {
    max-width: 64rem;
    margin: 0 auto;
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.safe-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.safe-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 1rem;
}

.safe-content p {
    color: #166534;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.safe-content p:last-child {
    margin-bottom: 0;
}

.conclusion-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.conclusion-box {
    max-width: 64rem;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.conclusion-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.conclusion-box p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.conclusion-box p:last-child {
    margin-bottom: 0;
}

.references-section {
    padding: 4rem 0;
    background: white;
}

.references-box {
    max-width: 64rem;
    margin: 0 auto;
    background: #f9fafb;
    border-radius: 1rem;
    padding: 2rem;
}

.references-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.references-list li {
    color: #374151;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.references-list li::before {
    content: '•';
    color: #17d7df;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Group Introduction Specific Styles */
.group-hero {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.group-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1200');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.group-hero-content {
    position: relative;
    z-index: 10;
}

.group-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #17d7df;
}

.group-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .group-hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .group-hero h1 {
        font-size: 3.75rem;
    }
}

.group-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.group-hero > div > div > p:last-of-type {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.group-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.business-section {
    padding: 4rem 0;
    background: white;
}

.business-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.business-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.business-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.online-clinic .business-header {
    background: linear-gradient(to right, #17d7df, #17f1fc);
    color: white;
}

.dermatology .business-header {
    background: linear-gradient(to right, #22c55e, #10b981);
    color: white;
}

.solutions .business-header {
    background: linear-gradient(to right, #8b5cf6, #6366f1);
    color: white;
}

.business-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 50%;
}

.business-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .business-title h2 {
        font-size: 1.875rem;
    }
}

.business-title h3 {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
}

.business-content {
    padding: 2rem;
}

.business-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.business-content p:last-of-type {
    margin-bottom: 2rem;
}

.business-link {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.link-icon {
    font-size: 1.25rem;
    color: #17d7df;
    margin-top: 0.25rem;
}

.link-content h4 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.link-content a {
    color: #17d7df;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.link-content a:hover {
    color: #15c5cc;
}

.vision-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.vision-text {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 64rem;
    margin: 0 auto 3rem;
}

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

@media (min-width: 768px) {
    .vision-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vision-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.vision-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.vision-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.vision-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.group-cta {
    padding: 4rem 0;
    background: linear-gradient(to right, #17d7df, #17f1fc);
    text-align: center;
    color: white;
}

.group-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .group-cta h2 {
        font-size: 2.25rem;
    }
}

.group-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #a5f3fc;
}

.group-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .group-cta .cta-buttons {
        flex-direction: row;
    }
}

.group-cta .btn-secondary {
    background: white;
    color: #22c55e;
    border: 2px solid white;
}

.group-cta .btn-secondary:hover {
    background: #f3f4f6;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .treatment-grid {
        gap: 0.75rem;
    }
    
    .flow-grid {
        gap: 1rem;
    }
    
    .reasons-grid {
        gap: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .chatbot-container,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .treatment-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .campaign-track {
        transition: none;
    }
}

/* TOPページ以外でヘッダーメニューを白色にする */

/* TOPページ以外のメニューリンクを白色に */
body:not(.home):not(.front-page) .main-nav a,
body:not(.home):not(.front-page) .mobile-menu a {
    color: #ffffff !important;
}

/* TOPページ以外のメニューリンクのホバー効果 */
body:not(.home):not(.front-page) .main-nav a:hover,
body:not(.home):not(.front-page) .mobile-menu a:hover {
    color: #17d7df !important;
    /* ホバー時は薄い青色 */
}

/* TOPページ以外のモバイルメニューボタンを白色に */
body:not(.home):not(.front-page) .mobile-menu-toggle {
    color: #ffffff !important;
}

/* TOPページ以外のロゴも白色にしたい場合（オプション） */
body:not(.home):not(.front-page) .logo img {
    filter: brightness(0) invert(1);
    /* 画像を白色に変換 */
}

/* より具体的なページタイプでの指定も可能 */

/* 個別投稿ページでのメニュー色 */
body.single .main-nav a,
body.single .mobile-menu a {
    color: #ffffff;
}

/* 固定ページでのメニュー色 */
body.page .main-nav a,
body.page .mobile-menu a {
    color: #ffffff;
}

/* カテゴリーページでのメニュー色 */
body.category .main-nav a,
body.category .mobile-menu a {
    color: #ffffff;
}

/* アーカイブページでのメニュー色 */
body.archive .main-nav a,
body.archive .mobile-menu a {
    color: #ffffff;
}

/* 特定のページでのみ異なる色にしたい場合の例 */
/* 例：aboutページではメニューを別の色に */
body.page-template-about .main-nav a,
body.page-template-about .mobile-menu a {
    color: #f0f0f0;
    /* 少し薄い白 */
}

/* モバイルメニューの背景も調整したい場合 */
body:not(.home):not(.front-page) .mobile-menu {
    background: rgba(0, 0, 0, 0.9);
    /* 半透明の黒背景 */
}

/* アクティブなメニュー項目の色 */
body:not(.home):not(.front-page) .main-nav .current-menu-item a,
body:not(.home):not(.front-page) .mobile-menu .current-menu-item a {
    color: #17d7df !important;
    font-weight: 600;
}

/* ドロップダウンメニューがある場合 */
body:not(.home):not(.front-page) .main-nav .sub-menu a {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.8);
}

body:not(.home):not(.front-page) .main-nav .sub-menu a:hover {
    color: #17d7df;
    background: rgba(0, 0, 0, 0.9);
}