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

/* ===========================
   カラー設定
   =========================== */
:root {
    --cherie-pink: #d4a5a5;
    --cherie-pink-light: #e8c5c5;
    --cherie-pink-pale: #f5e6e8;
}

/* ===========================
   基本スタイル
   =========================== */
.site-name-text a {
    color: var(--cherie-pink) !important;
}

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

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

.btn {
    background: linear-gradient(135deg, var(--cherie-pink), var(--cherie-pink-light)) !important;
    border-color: var(--cherie-pink) !important;
}

.btn:hover {
    opacity: 0.8;
}

/* ===========================
   セクションタイトル
   =========================== */
.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;
}

/* ===========================
   出勤スケジュールセクション
   =========================== */
.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: 30px;
    font-weight: 500;
}

/* 日付ボタン */
.schedule-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.schedule-day-btn {
    min-width: 90px;
    padding: 12px 10px;
    background: white;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.schedule-day-btn:hover {
    background: var(--cherie-pink-pale);
    border-color: var(--cherie-pink-light);
}
/* ギャラリーアイテムにポインター */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.schedule-day-btn.active {
    background: var(--cherie-pink);
    color: white;
    border-color: var(--cherie-pink);
    font-weight: bold;
}

/* ===========================
   セラピストグリッド
   =========================== */
.therapist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* ===========================
   セラピストカード
   =========================== */
.therapist-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.therapist-card a {
    text-decoration: none;
    color: inherit;
}

/* セラピスト写真 */
.therapist-photo {
    position: relative;
    padding-top: 133%;
    background: #f5f5f5;
    overflow: hidden;
}

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

/* 時刻オーバーレイ */
.time-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.closed-overlay {
    background: rgba(102, 102, 102, 0.9);
}

/* NEWバッジ */
.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: 3;
}

/* セラピスト情報 */
.therapist-info {
    padding: 15px;
}

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

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

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

.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;
}

/* ===========================
   イベント一覧
   =========================== */
.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;
}

/* ===========================
   ファーストビュー
   =========================== */
.hero-section {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-image-pc {
    display: block;
}

.hero-image-mobile {
    display: none;
}

/* ===========================
   カスタムヘッダー
   =========================== */
.custom-header {
    background: linear-gradient(135deg, var(--cherie-pink-pale) 0%, #fff 100%) !important;
    color: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(212, 165, 165, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
}

.header-logo {
    max-height: 60px;
    overflow: hidden;
}

.header-logo img {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    background: transparent;
}

/* PC用ナビゲーション */
.pc-nav {
    display: flex;
}

.pc-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.pc-nav li a {
    color: var(--cherie-pink);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    transition: all 0.3s;
}

.pc-nav li a span {
    font-size: 11px;
    font-weight: normal;
    display: block;
    color: #999;
}

.pc-nav li a:hover {
    color: var(--cherie-pink-light);
    transform: translateY(-2px);
}

/* PC用：電話番号と営業時間 */
.pc-contact {
    text-align: right;
}

.contact-phone a {
    color: var(--cherie-pink);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: all 0.3s;
}

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

.contact-hours {
    font-size: 12px;
    color: #999;
}

/* モバイル要素 */
.mobile-only {
    display: none;
}

.mobile-right-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-phone-btn {
    display: none;
}

.header-phone-btn a {
    color: var(--cherie-pink);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    gap: 3px;
}

.hamburger-menu {
    display: none;
}

.hamburger-btn {
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cherie-pink);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.hamburger-btn span:nth-child(1) {
    top: 0;
}

.hamburger-btn span:nth-child(2) {
    top: 11px;
}

.hamburger-btn span:nth-child(3) {
    bottom: 0;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

.menu-text {
    font-size: 10px;
    margin-top: 5px;
    color: var(--cherie-pink);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--cherie-pink-pale) 0%, #fff 100%);
    transition: right 0.3s;
    z-index: 999;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu nav ul {
    list-style: none;
    padding: 40px 20px;
    margin: 0;
}

.mobile-menu nav li {
    margin-bottom: 30px;
}

.mobile-menu nav li a {
    color: var(--cherie-pink);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.mobile-menu nav li a span {
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin-top: 5px;
    color: #999;
}

.mobile-menu-contact {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--cherie-pink-light);
}

.mobile-menu-phone {
    color: var(--cherie-pink);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.mobile-menu-hours {
    color: #999;
    font-size: 12px;
}


/* ===========================
   料金ページ
   =========================== */
.price-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.price-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(212, 165, 165, 0.1);
}

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

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

.price-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.price-table tr:last-child {
    border-bottom: none;
}

.price-table td {
    padding: 15px 10px;
    font-size: 16px;
}

.price-table td:first-child {
    color: #666;
}

.price-amount {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: var(--cherie-pink);
}

.price-note {
    background: var(--cherie-pink-pale);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.price-note p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.terms-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(212, 165, 165, 0.1);
}

.terms-title {
    font-size: 22px;
    color: var(--cherie-pink);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cherie-pink-pale);
    font-weight: 500;
}

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

.terms-content h4 {
    font-size: 18px;
    color: var(--cherie-pink);
    margin: 25px 0 15px 0;
    font-weight: 500;
}

.terms-content h4:first-child {
    margin-top: 0;
}

.terms-content ul {
    margin: 0;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

.cancel-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cancel-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.cancel-table td {
    padding: 12px 10px;
    font-size: 15px;
}

.cancel-fee {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #d9534f;
}

.cancel-note {
    font-size: 13px;
    color: #999;
    margin: 5px 0;
}

/* ===========================
   全固定ページ共通レスポンシブ
   =========================== */
.page .content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===========================
   レスポンシブ - モバイル
   =========================== */
@media (max-width: 768px) {
    /* グリッド */
    .therapist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* 時刻 */
    .time-overlay {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .time-overlay svg {
        width: 14px;
        height: 14px;
    }
    
    /* セクション */
    .schedule-section {
        padding: 20px 15px;
    }
    
    .schedule-date {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .section-title p {
        font-size: 10px;
    }
    
    .therapist-detail-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* スケジュールボタン */
    .schedule-day-btn {
        min-width: 70px;
        font-size: 12px;
        padding: 10px 8px;
    }
    
    /* ファーストビュー */
    .hero-image-pc {
        display: none;
    }
    
    .hero-image-mobile {
        display: block;
    }
    
    /* 背景 */
    body.home {
        background-image: url('../images/bg-top-mobile.jpg');
        background-attachment: scroll;
    }
    
    /* ヘッダー */
    .header-logo {
        max-height: 40px;
    }
    
    .header-logo img {
        height: 40px;
        max-height: 40px;
    }
    
    .pc-nav,
    .pc-contact {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .header-phone-btn,
    .hamburger-menu {
        display: flex !important;
    }
    
    .hamburger-menu {
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* 料金ページ */
    .price-section {
        padding: 20px 15px;
    }
    
    .price-box,
    .terms-box {
        padding: 20px;
    }
    
    .price-title,
    .terms-title {
        font-size: 20px;
    }
    
    .price-table td,
    .cancel-table td {
        padding: 12px 5px;
        font-size: 14px;
    }
    
    .price-amount {
        font-size: 18px;
    }
    
    .terms-content {
        font-size: 14px;
    }
    
    /* 固定ページ共通 */
    .page img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ===========================
   レスポンシブ - タブレット
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .therapist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================
   レスポンシブ - PC
   =========================== */
@media (min-width: 1025px) {
    .therapist-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   プレーンページ
   =========================== */
.plain-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(212, 165, 165, 0.1);
}

.plain-content h2 {
    font-size: 24px;
    color: var(--cherie-pink);
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cherie-pink-pale);
}

.plain-content h3 {
    font-size: 20px;
    color: var(--cherie-pink);
    margin: 25px 0 15px 0;
}

.plain-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.plain-content ul,
.plain-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.plain-content li {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 8px;
}

.plain-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.plain-content table th {
    background: var(--cherie-pink-pale);
    color: var(--cherie-pink);
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

.plain-content table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.plain-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .plain-content {
        padding: 20px 15px;
    }
    
    .plain-content h2 {
        font-size: 20px;
    }
    
    .plain-content h3 {
        font-size: 18px;
    }
    
    .plain-content p,
    .plain-content li {
        font-size: 14px;
    }
}

</div><!-- .main -->
    </div><!-- .content -->

.footer-logo {
    max-height: 60px;
    overflow: hidden;
}

.footer-logo img {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .footer-logo {
        max-height: 40px;
    }
    
    .footer-logo img {
        height: 40px;
        max-height: 40px;
    }
}

/* ===========================
   カスタムフッター
   =========================== */
.custom-footer {
    background: linear-gradient(135deg, var(--cherie-pink-pale) 0%, #fff 100%);
    padding: 40px 20px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    max-height: 60px;
    overflow: hidden;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-phone {
    display: block;
    gap: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--cherie-pink);
    text-decoration: none;
    margin-bottom: 8px;
	 text-align: center;  /* 追加 */
}


.footer-phone:hover {
    color: var(--cherie-pink-light);
}

.footer-phone svg {
    width: 18px;
    height: 18px;
}

.footer-hours {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.footer-copyright {
    border-top: 1px solid var(--cherie-pink-light);
    padding-top: 20px;
}

.footer-copyright p {
    font-size: 10px;
    color: #999;
    line-height: 1.6;
    margin: 3px 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .custom-footer {
        padding: 30px 15px 20px;
        margin-top: 60px;
    }
    
    .footer-logo {
        max-height: 40px;
        margin-bottom: 15px;
    }
    
    .footer-logo img {
        height: 40px;
        max-height: 40px;
    }
    
    .footer-phone {
        font-size: 14px;
        flex-direction: column;
        gap: 3px;
    }
    
    .footer-phone svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-hours {
        font-size: 9px;
    }
    
    .footer-copyright {
        padding-top: 15px;
    }
    
    .footer-copyright p {
        font-size: 9px;
        line-height: 1.5;
    }
}
.footer-notice {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    font-weight: normal;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .footer-notice {
        font-size: 9px;
        margin-top: 8px;
    }
}
/* ===========================
   全固定ページの背景画像
   =========================== */
/* PC用背景 */
body.page {
    background-image: url('../images/bg-top-pc.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.page #body,
body.page .body,
body.page #container,
body.page .wrap,
body.page .content,
body.page .main {
    background: transparent !important;
}

body.page .custom-header {
    background: linear-gradient(135deg, var(--cherie-pink-pale) 0%, #fff 100%) !important;
}

body.page .header-container {
    background: transparent !important;
}

/* 特定のセクションのみ白背景 */
body.page .schedule-section {
    background: rgba(255, 255, 255, 0.95) !important;
}

body.page .price-section > * {
    background: rgba(255, 255, 255, 0.95) !important;
}

body.page .plain-content {
    background: rgba(255, 255, 255, 0.95) !important;
}

body.page .price-box,
body.page .terms-box {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* モバイル用背景 */
@media (max-width: 768px) {
    body.page {
        background-image: url('../images/bg-top-mobile.jpg');
        background-attachment: scroll;
    }
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===========================
   地図セクション
   =========================== */
.map-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(212, 165, 165, 0.1);
    text-align: center;  /* 追加 */
}

.map-info {
    margin-bottom: 30px;
    text-align: center;
}

.map-info h3 {
    font-size: 24px;
    color: var(--cherie-pink);
    margin-bottom: 15px;
    text-align: center;  /* 追加 */
}

.map-address {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: center;  /* 追加 */
}

.map-access {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: center;  /* すでにあるはず */
}

.map-access strong {
    color: var(--cherie-pink);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .map-section {
        padding: 20px 15px;
    }
    
    .map-info h3 {
        font-size: 20px;
    }
    
    .map-address,
    .map-access {
        font-size: 14px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ===========================
   セラピスト写真ギャラリー
   =========================== */
.therapist-gallery-section {
    margin: 40px 0;
}

.therapist-gallery-section h3 {
    font-size: 22px;
    color: var(--cherie-pink);
    margin-bottom: 20px;
    text-align: center;
}

.therapist-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    padding-top: 133%;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    .therapist-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .therapist-gallery-section h3 {
        font-size: 18px;
    }
}