/*
Theme Name: Cocoon Child Cherie
Template: cocoon-master
Description: Cherieリラクゼーションサロン用Cocoon子テーマ
Version: 1.0.0
Author: Cherie
*/

/* ===========================
   ピンク基調のカラー設定
   =========================== */
:root {
    --cherie-pink: #d4a5a5;
    --cherie-pink-light: #e8c5c5;
    --cherie-pink-pale: #f5e6e8;
    --cherie-bg: #faf8f6;
}

/* ===========================
   ヘッダーカスタマイズ
   =========================== */
.header-container {
    background: linear-gradient(135deg, var(--cherie-pink-pale) 0%, #fff 100%);
}

.site-name-text a {
    color: var(--cherie-pink) !important;
}

/* ===========================
   メインカラーをピンクに変更
   =========================== */
.navi-in > ul > li > a {
    color: #fff;
    background: var(--cherie-pink);
}

.navi-in > ul > li > a:hover {
    background: var(--cherie-pink-light);
}

/* ボタン類 */
.btn,
.button-caption {
    background: linear-gradient(135deg, var(--cherie-pink), var(--cherie-pink-light)) !important;
    border-color: var(--cherie-pink) !important;
}

.btn:hover {
    opacity: 0.8;
}

/* リンク色 */
a {
    color: var(--cherie-pink);
}

a:hover {
    color: var(--cherie-pink-light);
}

/* ===========================
   セラピストカード（一覧表示）
   =========================== */
.therapist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.therapist-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.therapist-card:hover {
    box-shadow: 0 5px 20px rgba(212, 165, 165, 0.2);
    transform: translateY(-3px);
}

.therapist-photo {
    position: relative;
    overflow: hidden;
    padding-top: 133%; /* 3:4 ratio */
    background: #f5f5f5;
}

.therapist-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff1493;
    color: #fff;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 10;
}

.therapist-info {
    padding: 15px;
}

.therapist-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.therapist-name-en {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.therapist-age {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.therapist-size {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 12px;
}

.therapist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.therapist-tag {
    background: var(--cherie-pink-pale);
    color: var(--cherie-pink);
    padding: 3px 10px;
    font-size: 10px;
    border: 1px solid var(--cherie-pink-light);
    border-radius: 3px;
}

/* ===========================
   出勤スケジュール
   =========================== */
.schedule-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(212, 165, 165, 0.1);
}

.schedule-date {
    text-align: center;
    font-size: 20px;
    color: var(--cherie-pink);
    margin-bottom: 20px;
    font-weight: 500;
}

.schedule-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.schedule-nav button {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid var(--cherie-pink);
    color: var(--cherie-pink);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.schedule-nav button:hover,
.schedule-nav button.active {
    background: var(--cherie-pink);
    color: #fff;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.schedule-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.schedule-time {
    background: linear-gradient(135deg, var(--cherie-pink), var(--cherie-pink-light));
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
    min-width: 100px;
    font-weight: 500;
}

.schedule-therapist-name {
    font-size: 15px;
    color: var(--cherie-pink);
    font-weight: 500;
}

/* ===========================
   イベント一覧
   =========================== */
.event-list {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.event-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    color: var(--cherie-pink);
    font-size: 13px;
    margin-bottom: 8px;
}

.event-title {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.event-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ===========================
   レスポンシブ対応
   =========================== */
@media (max-width: 768px) {
    .therapist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .schedule-list {
        grid-template-columns: 1fr;
    }
    
    .schedule-nav button {
        width: 100%;
    }
}

/* ===========================
   カスタム投稿タイプアーカイブ
   =========================== */
.post-type-archive-therapist .entry-card-wrap,
.post-type-archive-cherie_event .entry-card-wrap {
    display: none;
}

/* ===========================
   セクションタイトル
   =========================== */
.section-title {
    text-align: center;
    margin: 40px 0 30px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--cherie-pink);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-title p {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 3px;
}
