@charset "UTF-8";

/* =========================================================
   Lumière Dental Salon - Integrated Stylesheet
   Theme: Luxury (Gold & Black) / Serif Font
   ========================================================= */

/* ====================================
   1. 基本設定・リセット（高級仕様）
   ==================================== */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    /* 高級感を出すための明朝体設定 */
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    color: #333; /* 真っ黒すぎない墨色 */
    background-color: #fcfcfc; /* オフホワイト */
    line-height: 2.2; /* 行間を広げてゆったり見せる */
}

a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

a:hover {
    color: #bf9f58; /* ゴールド */
}

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

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

/* ====================================
   2. 共通レイアウト
   ==================================== */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.section {
    padding: 100px 0; /* 余白を広めにとってラグジュアリーに */
}

/* 背景色の切り替え（薄いベージュで上品に） */
#features,
#access {
    background-color: #faf9f6;
}

/* セクションタイトル（ゴールド＆明朝） */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #bf9f58;
    margin-bottom: 60px;
    font-weight: normal;
    letter-spacing: 0.2em;
}
.section-title span {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 15px;
    font-weight: normal;
    letter-spacing: 0.1em;
    font-family: "Montserrat", sans-serif;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s;
}
.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   3. ヘッダー
   ==================================== */
.header {
    background: rgba(255, 255, 255, 0.95); /* 少し透過させる */
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* --- ナビゲーション（PC） --- */
.global-nav {
    margin-left: auto;
    margin-right: 40px;
}
.global-nav ul {
    display: flex;
    gap: 30px;
}
.global-nav a {
    font-weight: normal;
    font-size: 15px;
    position: relative;
    letter-spacing: 0.05em;
    font-family: "Montserrat", sans-serif; /* メニューは英語フォントで見やすく */
}
.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #bf9f58; /* ゴールドのライン */
    transition: 0.3s;
}
.global-nav a:hover::after {
    width: 100%;
}
.global-nav a:hover {
    color: #bf9f58;
}

/* --- 予約ボタン（黒×ゴールド） --- */
.btn-reservation {
    background-color: #333;
    color: #bf9f58 !important;
    padding: 12px 25px;
    border: 1px solid #bf9f58;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: 0.4s;
}
.btn-reservation:hover {
    background-color: #bf9f58;
    color: #fff !important;
}

/* ハンバーガーメニュー */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ====================================
   4. メインビジュアル（アニメーション維持）
   ==================================== */
.main-visual {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: brightness(0.9); /* 画像を少し暗くして高級感を */
    animation: slideAnime 15s ease infinite;
}
.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 5s; }
.slide-item:nth-child(3) { animation-delay: 10s; }

@keyframes slideAnime {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 1; }
    33% { opacity: 1; }
    37% { opacity: 0; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1); }
}

.main-visual-content {
    background-color: rgba(255, 255, 255, 0.7); /* 透過度を調整 */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 60px 80px;
    border-radius: 0; /* 角丸なしでシャープに */
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

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

.main-visual h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 0.15em;
    line-height: 1.6;
}
.main-visual p {
    letter-spacing: 0.1em;
    line-height: 2.4;
    font-size: 16px;
    color: #555;
}

/* スクロールダウン（白文字） */
.scrolldown {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-align: center;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.scrolldown span {
    display: block;
    margin-bottom: 10px;
    writing-mode: vertical-rl;
    font-family: "Montserrat", sans-serif;
}
.scrolldown::after {
    content: "";
    display: block;
    width: 1px;
    height: 60px;
    background: #fff;
    margin: 0 auto;
    animation: scrollLine 1.5s ease-in-out infinite;
    opacity: 0;
}
@keyframes scrollLine {
    0% { height: 0; top: 0; opacity: 0; }
    30% { height: 60px; opacity: 1; }
    100% { height: 0; top: 60px; opacity: 0; }
}

/* ====================================
   5. コンテンツエリア（高級リメイク）
   ==================================== */

/* お知らせ */
.news-list li {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: 0.3s;
}
.news-list li:hover {
    background-color: #fafafa;
    padding-left: 10px;
}
.news-list .date {
    width: 120px;
    margin-right: 15px;
    color: #999;
    font-family: "Montserrat", sans-serif;
}
.news-list .category {
    background: #333; /* 黒背景 */
    color: #bf9f58; /* ゴールド文字 */
    font-size: 11px;
    padding: 5px 15px;
    width: auto;
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
    letter-spacing: 0.1em;
}
.news-list a {
    flex: 1;
    color: #333;
}

/* --- コンセプト（画像とテキストの横並び） --- */
.concept-section {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 20px;
    gap: 60px;
}
.concept-img {
    flex: 1;
    box-shadow: 20px 20px 0px #f4f0e6; /* ベージュの影 */
}
.concept-text {
    flex: 1;
}
.concept-text h3 {
    font-size: 28px;
    color: #bf9f58;
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: "Montserrat", sans-serif;
}

/* --- 当院について --- */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-text, .about-img { flex: 1; }
.about-text h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}
.about-img img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- こだわり --- */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.feature-item {
    width: 32%;
    text-align: center;
}
/* 写真を綺麗に切り抜く設定 */
.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 4px;
}
.feature-item h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #bf9f58;
    display: inline-block;
    padding-bottom: 10px;
}
.feature-item p {
    font-size: 14px;
    text-align: left;
    color: #666;
}

/* --- 院長あいさつ --- */
.message-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    border: 1px solid #eee; /* 青枠削除、薄いグレーに */
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.message-img {
    flex-shrink: 0;
    width: 240px;
}
.message-img img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #bf9f58; /* ゴールドの枠線 */
    padding: 5px; /* 余白 */
}
.message-text h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #bf9f58;
    border-bottom: none;
}

/* --- 診療内容 --- */
.service-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.service-item {
    background: #fff;
    width: 48%;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: block;
    transition: 0.4s;
    border: 1px solid #f0f0f0;
}
.service-item:hover {
    transform: translateY(-5px);
    border-color: #bf9f58; /* ゴールド枠 */
    background: #fffff8; /* ほんのり黄色 */
}
.service-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}
.more-link {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #bf9f58;
    letter-spacing: 0.1em;
    margin-top: 15px;
}

/* ====================================
   6. アクセス・地図・フッター
   ==================================== */
.schedule-area table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #fff;
    text-align: center;
    font-family: "Montserrat", sans-serif; /* 数字は見やすく */
}
.schedule-area th, .schedule-area td {
    border: 1px solid #eee;
    padding: 20px;
}
.schedule-area thead th {
    background: #f4f0e6; /* 薄いベージュ */
    color: #333;
}
.schedule-area .holiday {
    color: #999;
    background: #f9f9f9;
}

.access-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: grayscale(100%); /* 地図をモノクロにしておしゃれに */
}

/* アクセス詳細 */
.access-info { margin-top: 40px; }
.info-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.info-row dt {
    width: 100px;
    color: #bf9f58;
}

/* フッター */
.footer {
    background-color: #222; /* 濃いグレー */
    color: #bf9f58;
    text-align: center;
    padding: 30px 0;
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #bf9f58;
    width: 50px;
    height: 50px;
    border: 1px solid #bf9f58;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    cursor: pointer;
}
.page-top.active {
    opacity: 1;
    pointer-events: auto;
    bottom: 30px;
}
.page-top:hover {
    background: #bf9f58;
    color: #fff;
}

/* ====================================
   7. 下層ページフォーム・スタッフ
   ==================================== */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fafafa;
}
.wpcf7 input[type="submit"] {
    background-color: #333;
    color: #bf9f58;
    border: 1px solid #bf9f58;
    padding: 15px 80px;
    margin: 40px auto 0;
    display: block;
    cursor: pointer;
    transition: 0.3s;
}
.wpcf7 input[type="submit"]:hover {
    background-color: #bf9f58;
    color: #fff;
}

/* スタッフ */
.staff-role {
    background: #333;
    color: #bf9f58;
    padding: 5px 15px;
    border-radius: 0;
}
.staff-name {
    border-bottom: 1px solid #bf9f58;
    color: #333;
}
.staff-data dt { color: #bf9f58; }

/* ====================================
   8. スマホ対応（レスポンシブ）
   ==================================== */
@media screen and (max-width: 768px) {
    
    /* レイアウト基本 */
    .container, .header-inner {
        width: 90% !important;
        padding: 0 !important;
    }
    .section { padding: 60px 0; }

    /* ヘッダー */
    .logo img { height: 35px; }
    .btn-reservation { display: none; }

    /* ハンバーガーメニュー */
    .hamburger-btn {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 200;
    }
    .hamburger-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px; /* 線を細く */
        background-color: #333;
        transition: 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) { top: 11px; transform: rotate(45deg); }
    .hamburger-btn.active span:nth-child(2) { opacity: 0; }
    .hamburger-btn.active span:nth-child(3) { bottom: 12px; transform: rotate(-45deg); }

    /* ナビゲーション */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: 0.4s;
    }
    .global-nav.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    .global-nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .global-nav a { font-size: 18px; color: #333; }

    /* 縦積み設定 */
    .concept-section,
    .about-content,
    .features-grid,
    .message-content,
    .service-grid,
    .info-row {
        display: block !important;
        width: 100%;
    }
    
    .concept-img, .concept-text,
    .about-text, .about-img,
    .feature-item, .service-item,
    .message-text, .message-img {
        width: 100% !important;
        margin-bottom: 40px;
    }

    /* スマホ画像の調整 */
    .message-img { text-align: center; }
    .message-content { padding: 30px; }
    .concept-section { gap: 30px; }

    /* メインビジュアル */
    .main-visual h2 { font-size: 26px; }
    .main-visual-content { padding: 40px 20px; width: 90%; }
}

/* ====================================
   9. UI/UX改善：スマホ専用・追従予約ボタン
   ==================================== */
.mobile-fixed-footer { display: none !important; }

@media screen and (max-width: 768px) {
    .mobile-fixed-footer {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(34, 34, 34, 0.95); /* 黒背景 */
        padding: 15px 20px;
        z-index: 99999 !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .fixed-btn {
        display: block !important;
        width: 100% !important;
        background-color: #bf9f58 !important; /* ゴールド */
        color: #fff !important;
        text-align: center;
        padding: 12px 0;
        font-family: "Montserrat", sans-serif;
        font-weight: normal;
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    
    body { padding-bottom: 80px !important; }
}

/* ====================================
   10. 画像のズームアニメーション（高級感）
   ==================================== */
.about-img, .staff-img, .feature-item {
    overflow: hidden;
}
.about-img img, .staff-img img, .feature-item img {
    transition: transform 0.8s ease;
}
.about-content:hover .about-img img,
.feature-item:hover img {
    transform: scale(1.05); /* ほんの少しだけズームして上品に */
}

/* ====================================
   11. 404ページ
   ==================================== */
.error-404-content h2 {
    font-size: 60px;
    color: #eee;
    font-family: "Montserrat", sans-serif;
}
/* =========================================
   高級予約フォーム（Reservation）デザイン
   ========================================= */

/* 1. フォーム全体の枠 */
.reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* ふんわり影 */
}

/* 2. 各行のデザイン（テーブル風に） */
.form-row {
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.form-row:last-child {
    border-bottom: none;
}

/* 3. ラベル（左側） */
.form-row dt {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Shippori Mincho", serif;
}

/* 必須バッジ */
.required {
    background: #bf9f58; /* ゴールド */
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    margin: 0 4px;
    border-radius: 2px;
    font-family: sans-serif;
}

/* 4. 入力エリア（右側） */
.form-row dd {
    margin: 0;
    width: 100%;
}

/* 5. 全入力フォーム共通設定 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 15px;
    background: #faf9f6; /* 薄いベージュ */
    border: 1px solid #ddd;
    border-radius: 0; /* 角丸なしでシャープに */
    font-size: 16px;
    transition: 0.3s;
    box-sizing: border-box; /* 枠からはみ出さない呪文 */
}

/* フォーカス時（入力しようとした時） */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    background: #fff;
    border-color: #bf9f58; /* ゴールドに光る */
    outline: none;
    box-shadow: 0 0 8px rgba(191, 159, 88, 0.2);
}

/* 6. 日付と時間の横並び調整 */
.date-row {
    display: flex;
    gap: 20px;
}
.date-row input, .date-row select {
    flex: 1; /* 半分ずつの幅に */
}

/* 7. ラジオボタン・チェックボックスの調整 */
.wpcf7-list-item {
    margin: 0 20px 10px 0;
    display: inline-block;
}
.wpcf7-list-item label {
    cursor: pointer;
    font-size: 15px;
    color: #555;
}
/* ポチッとする部分の色（モダンブラウザ用） */
input[type="radio"], input[type="checkbox"] {
    accent-color: #bf9f58; /* ゴールド */
    transform: scale(1.2); /* 少し大きく */
    margin-right: 5px;
}

/* 8. 送信ボタン */
.form-btn-area {
    text-align: center;
    margin-top: 50px;
}
.wpcf7 input[type="submit"] {
    background-color: #333; /* 黒 */
    color: #bf9f58; /* ゴールド文字 */
    border: 1px solid #bf9f58;
    padding: 18px 80px;
    font-size: 16px;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: 0.4s;
    width: auto; /* 幅をなりゆきに */
}
.wpcf7 input[type="submit"]:hover {
    background-color: #bf9f58;
    color: #fff;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .reservation-form {
        padding: 30px 20px;
        border: none;
        box-shadow: none;
    }
    .date-row {
        flex-direction: column; /* 日付と時間を縦並びに */
        gap: 10px;
    }
    .wpcf7 input[type="submit"] {
        width: 100%; /* ボタンを横幅いっぱいに */
    }
}