/*
Theme Name: Whitening BAR
Theme URI: https://whiteningbar.co.jp
Description: ホワイトニングバー公式サイト用WordPressテーマ。既存サイト(whiteningbar.jp)のブランドイメージを完全に踏襲し、ホットペッパービューティー風の店舗ページを含むプロフェッショナルなテーマです。
Version: 1.0.0
Author: Whitening BAR Development Team
Author URI: https://whiteningbar.co.jp
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whiteningbar
Tags: business, health, beauty, responsive, custom-menu, featured-images, custom-logo
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ===================================
   カラー変数定義
   =================================== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --highlight-color: #FFD700;
    --success-color: #4CAF50;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===================================
   リセットCSS
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ===================================
   コンテナ
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   ヘッダー
   =================================== */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

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

.logo a {
    display: block;
    line-height: 0;
}

.site-logo {
    height: 50px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.btn-reserve {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-reserve:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.feature-item i {
    color: var(--success-color);
    font-size: 20px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

/* ===================================
   ボタンスタイル
   =================================== */
.btn-primary,
.btn-secondary,
.btn-campaign {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.btn-campaign {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

.btn-campaign:hover {
    background-color: #FFC700;
    transform: translateY(-2px);
}

/* ===================================
   キャンペーンバナー
   =================================== */
.campaign-banner {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
}

.campaign-content h3 {
    font-size: 32px;
    font-weight: 900;
    margin: 10px 0;
}

.campaign-label {
    display: inline-block;
    padding: 5px 20px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ===================================
   セクション共通
   =================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.section-title-image {
    max-width: 500px;
    margin: 0 auto 20px;
    display: block;
}

/* ===================================
   在籍歯科医師セクション
   =================================== */
.dentist-section {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.dentist-content {
    max-width: 1000px;
    margin: 0 auto;
}

.dentist-header {
    text-align: center;
    margin-bottom: 50px;
}

.dentist-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 10px;
}

.dentist-main {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
}

.dentist-image {
    text-align: center;
}

.dentist-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.dentist-info {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.dentist-greeting-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.dentist-message p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 15px;
}

.dentist-career {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.career-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.career-list {
    list-style: none;
    padding: 0;
}

.career-list li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.career-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .dentist-section {
        padding: 60px 0;
    }
    
    .dentist-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dentist-image {
        display: flex;
        justify-content: center;
    }
    
    .dentist-image img {
        width: 120px;
        height: 120px;
    }
    
    .dentist-info {
        padding: 20px;
    }
    
    .dentist-greeting-title {
        font-size: 18px;
    }
    
    .dentist-message p {
        font-size: 14px;
    }
    
    .career-title {
        font-size: 16px;
    }
    
    .career-list li {
        font-size: 13px;
    }
}

/* ===================================
   選ばれる5つの理由
   =================================== */
.reasons-section {
    background-color: var(--bg-light);
}

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

.reason-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.reason-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.reason-icon i {
    font-size: 60px;
    color: var(--secondary-color);
}

.reason-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reason-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.reason-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   7つのお約束
   =================================== */
.promise-section {
    background-color: var(--bg-white);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.promise-card {
    text-align: center;
    padding: 30px 20px;
}

.promise-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promise-icon img {
    width: 100%;
    height: auto;
}

.promise-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.promise-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   失敗しないセルフホワイトニング店の選び方
   =================================== */
.select-section {
    background-color: var(--bg-light);
}

.select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.select-item {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.select-category {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px;
    text-align: center;
    font-weight: 900;
    font-size: 18px;
}

.select-content {
    padding: 40px 30px;
    text-align: center;
}

.select-logo {
    margin-bottom: 20px;
}

.select-logo img {
    max-width: 150px;
}

.select-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.select-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   店舗一覧セクション
   =================================== */
.stores-section {
    background-color: var(--bg-white);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.store-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.store-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
}

.store-info {
    padding: 25px;
}

.store-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.store-location,
.store-access {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.store-location i {
    margin-right: 5px;
}

.store-rating {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    color: var(--highlight-color);
}

.rating-score {
    font-weight: 700;
    color: var(--primary-color);
}

.rating-count {
    font-size: 14px;
    color: var(--text-light);
}

/* ===================================
   CTAセクション
   =================================== */
.cta-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-price {
    font-size: 24px;
    margin-bottom: 10px;
}

.price-large {
    font-size: 64px;
    font-weight: 900;
}

.price-tax {
    font-size: 18px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   フッター
   =================================== */
.site-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   ユーティリティ
   =================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ===================================
   WordPress管理バー対応
   =================================== */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ===================================
   WordPress デフォルトクラス
   =================================== */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
}

.sticky {
    /* スティッキー投稿用 */
}

.bypostauthor {
    /* 投稿者コメント用 */
}

/* ===================================
   メニュー・料金セクション
   =================================== */
.menu-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 20px;
}

.menu-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.menu-section .section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.menu-card.featured {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border: 2px solid var(--highlight-color);
    position: relative;
}

.menu-card.featured::before {
    content: "おすすめ";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--highlight-color);
    color: var(--primary-color);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.menu-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.menu-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.menu-subtitle {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.menu-price {
    text-align: center;
    margin: 25px 0;
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.price-unit {
    font-size: 16px;
    color: var(--text-color);
    margin-left: 5px;
}

.price-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.menu-description {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.menu-features {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.menu-features h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

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

.menu-features li {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.menu-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.menu-duration {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
}

.menu-note {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.menu-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.menu-options h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
}

.option-name {
    color: var(--text-color);
}

.option-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-section h2 {
        font-size: 26px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}
