/*
Theme Name: Claude Theme
Theme URI: https://example.com
Author: あなたの名前
Description: Claude Codeで作成したWordPressテーマ
Version: 1.0
*/

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

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

/* ヘッダー */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: #0066cc;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

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

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* メインビジュアル */
.hero {
    margin-top: 80px;
    display: flex;
    align-items: center;
    min-height: 70vh;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 4rem 0;
    position: relative;
}

.hero-content {
    flex: 1;
    padding: 2rem 6rem 2rem 0;
    margin-left: 5rem;
}

.hero-content * {
    text-align: center;
}

.hero-text h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.cta-button {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.hero-image {
    flex: 1;
    text-align: center;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0066cc;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0066cc;
}

/* 特徴セクション */
.features {
    padding: 5rem 0;
    background: #fff;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.feature-item h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* こだわりポイント */
.commitment {
    padding: 5rem 0;
    background: #f8f9fa;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.commitment-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.commitment-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.commitment-item h3 {
    color: #28a745;
    margin-bottom: 1rem;
}

/* スタッフ紹介 */
.staff {
    padding: 5rem 0;
    background: #fff;
}

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

.staff-member {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.staff-member:hover {
    transform: translateY(-5px);
}

.staff-image {
    margin-bottom: 1.5rem;
}

.staff-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f0f8ff;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.staff-info h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.staff-title {
    color: #666;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.staff-description {
    text-align: left;
    line-height: 1.7;
    color: #555;
    font-size: 0.9rem;
}

/* 診療内容 */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
}

.services-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.service-category h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 0.5rem;
}

.service-category ul {
    list-style: none;
}

.service-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.service-category li::before {
    content: '●';
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* 料金表 */
.prices {
    padding: 5rem 0;
    background: #fff;
}

.price-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.price-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.price-table h3 {
    background: #0066cc;
    color: white;
    padding: 1rem;
    text-align: center;
    margin: 0;
}

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

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.price-table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #0066cc;
}

/* 設備紹介 */
.equipment {
    padding: 5rem 0;
    background: #f8f9fa;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
}

.equipment-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.equipment-item h3 {
    padding: 1rem;
    color: #0066cc;
    margin: 0;
}

.equipment-item p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 求人情報 */
.recruitment {
    padding: 5rem 0;
    background: #fff;
}

.recruitment-content {
    text-align: center;
}

.recruitment-content h3 {
    color: #0066cc;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.job-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
}

.job-item h4 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.recruitment-contact {
    color: #666;
    font-style: italic;
}

/* アクセス */
.access {
    padding: 5rem 0;
    background: #f8f9fa;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.access-info h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.access-details p {
    margin-bottom: 0.5rem;
}

.opening-hours {
    margin-top: 2rem;
}

.opening-hours h4 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.opening-hours table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

.opening-hours th,
.opening-hours td {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
}

.opening-hours th {
    background: #0066cc;
    color: white;
}

.access-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-info h3,
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0066cc;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0066cc;
}

/* お問い合わせフォーム */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.contact-form button {
    background: #0066cc;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #004499;
}

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

.social-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0066cc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .staff-member img {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .features-grid,
    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .staff-member {
        padding: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .staff-member img {
        width: 180px;
        height: 180px;
    }

    .staff-description {
        font-size: 0.9rem;
    }

    .price-tables {
        grid-template-columns: 1fr;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .feature-item,
    .commitment-item {
        padding: 1.5rem;
    }

    .staff-member {
        padding: 1.5rem;
    }

    .staff-member img {
        width: 150px;
        height: 150px;
    }

    .staff-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

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

.feature-item,
.commitment-item,
.staff-member,
.equipment-item {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロール時の要素表示アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ホバーエフェクト強化 */
.feature-item:hover,
.commitment-item:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
}

.equipment-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}