/* ==========================================================================
   アリナガ美容外科・歯科 - カスタムスタイル
   ========================================================================== */

/* カスタムスタイル - style.cssベースのアクセント */
body {
    font-family: 'Noto Sans JP', 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, #8B1538 0%, #A0274F 100%);
    color: white;
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/pattern_1.png');
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    font-family: 'Poppins', sans-serif;
    font-size: 2.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-cta {
    background: #8B1538;
    border: none;
    padding: 15px 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(139, 21, 56, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-cta:hover {
    background: #661127;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(139, 21, 56, 0.6);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    padding: 13px 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-secondary:hover {
    background: white;
    color: #8B1538;
    text-decoration: none;
    transform: translateY(-2px);
}

.features-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/pattern_2.png');
    opacity: 0.02;
    z-index: 1;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-top: 4px solid #8B1538;
}

.feature-card h4 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #374048;
    font-weight: 500;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.12);
    border-top-color: #14e06e;
}

.feature-card:nth-child(2) .feature-card {
    border-top-color: #14e06e;
}

.feature-card:nth-child(2) .feature-card:hover {
    border-top-color: #ff6b35;
}

.feature-card:nth-child(3) .feature-card {
    border-top-color: #ff6b35;
}

.feature-card:nth-child(3) .feature-card:hover {
    border-top-color: #A0274F;
}

.feature-icon {
    font-size: 5.6rem;
    color: #8B1538;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: #A0274F;
    transform: scale(1.1);
}

/* 共通セクションタイトル */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #374048;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #8B1538, #A0274F);
    border-radius: 2px;
    display: block;
}

.section-subtitle {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    color: #374048;
    font-weight: 500;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.symptoms-section {
    padding: 80px 0;
    position: relative;
}

.symptom-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    color: #374048;
    font-weight: 500;
}

.symptom-item:hover {
    background: rgba(0, 132, 255, 0.05);
    padding-left: 10px;
    margin-left: -10px;
    border-radius: 8px;
}

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

.symptom-check {
    color: #14e06e;
    margin-right: 15px;
    font-size: 1.9rem;
    transition: all 0.3s ease;
}

.symptom-item:hover .symptom-check {
    color: #8B1538;
    transform: scale(1.2);
}

.process-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/pattern_3.png');
    opacity: 0.02;
    z-index: 1;
}

.process-step {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.process-step p {
    color: #374048;
    font-weight: 500;
}

.lead {
    color: #374048;
    font-weight: 500;
}

.downtime-text {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #374048;
    font-weight: 500;
    margin-bottom: 0;
}

.care-list-item {
    padding: 8px 0;
    font-size: 1.6rem;
    color: #374048;
    font-weight: 500;
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: linear-gradient(45deg, #8B1538, #A0274F);
    color: white;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
}





/* FAQアコーディオンデザイン */

.qa-1 {
    max-width: 100%;
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 5px;
}

.qa-1 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #384048;
    font-weight: 600;
    cursor: pointer;
    font-size: 2.2rem;
}

.qa-1 summary::before,
.qa-1 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-1 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-1 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #384048b3;
    border-right: 3px solid #384048b3;
    content: '';
    transition: transform .5s;
}

.qa-1[open] summary::after {
    transform: rotate(225deg);
}

.qa-1 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #384048;
    font-weight: 500;
    transition: transform .5s, opacity .5s;
    font-size: 2.1rem;
}

.qa-1[open] p {
    transform: none;
    opacity: 1;
}

.qa-1 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}
.faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8B1538 0%, #A0274F 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/pattern_4.png');
    opacity: 0.1;
    z-index: 1;
}

.contact-info {
    background: rgba(255,255,255,0.25);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.footer {
    background: #374048;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #374048 !important;
}

.navbar-brand img {
    width: 292px !important;
    max-width: 292px !important;
    height: auto;
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #374048 !important;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #8B1538 !important;
    transform: translateY(-2px);
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* ナビゲーションバーの透明度調整 */
.navbar-default {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
    transition: all 0.3s ease;
}

.navbar-default.is-scrolling {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* ナビゲーションリンクの調整 */
.navbar-nav > li > a {
    font-weight: 500;
    color: #374048 !important;
    transition: color 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #8B1538 !important;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* top-bannerボタンスタイル */
.banner-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.banner-btn {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-height: 50px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2;
}

.banner-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner-btn:focus {
    text-decoration: none;
}

@media (max-width: 768px) {
    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .banner-btn {
        flex: none;
        width: 80%;
        font-size: 1.6rem;
        padding: 15px 20px;
    }
}

/* サイド中央固定カウンセリングボタン */
.floating-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #8B1538 0%, #A0274F 100%);
    color: white;
    padding: 20px 15px;
    border-radius: 30px 0 0 30px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25), -4px 0 15px rgba(139, 21, 56, 0.4);
    z-index: 1000;
    transition: all 0.4s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    animation: slideIn 3s infinite alternate;
}

.floating-btn:hover {
    background: linear-gradient(135deg, #661127 0%, #7d1e3f 100%);
    transform: translateY(-50%) translateX(-10px);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35), -6px 0 20px rgba(139, 21, 56, 0.6);
    color: white;
    text-decoration: none;
    padding-right: 25px;
}

@keyframes slideIn {
    0% {
        transform: translateY(-50%) translateX(5px);
        box-shadow: -6px 0 25px rgba(0, 0, 0, 0.2), -3px 0 12px rgba(139, 21, 56, 0.3);
    }
    100% {
        transform: translateY(-50%) translateX(-5px);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3), -5px 0 18px rgba(139, 21, 56, 0.5);
    }
}

/* ボタン内のアイコン追加用 */
.floating-btn .icon {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffeb3b;
}

@media (max-width: 768px) {
    .floating-btn {
        writing-mode: horizontal-tb;
        text-orientation: upright;
        min-height: auto;
        padding: 15px 10px;
        font-size: 14px;
        letter-spacing: 1px;
        top: auto;
        bottom: 20px;
        right: 20px;
        border-radius: 25px;
        transform: none;
        min-width: 140px;
        text-align: center;
    }
    
    .floating-btn:hover {
        transform: translateY(-3px);
        padding-right: 10px;
    }
    
    .floating-btn .icon {
        display: inline;
        margin-bottom: 0;
        margin-right: 5px;
    }
}

/* サイド固定ボタンのコンテンツ干渉回避 */
@media (min-width: 769px) {
    .container {
        padding-right: 100px; /* サイドボタンの幅分確保 */
    }
    
    .navbar-nav {
        margin-right: 80px; /* ナビゲーションの干渉回避 */
    }
}

/* より小さい画面での調整 */
@media (max-width: 992px) and (min-width: 769px) {
    .container {
        padding-right: 80px;
    }
}

/* ボタンの状態表示 */
.floating-btn.active {
    background: linear-gradient(135deg, #14e06e 0%, #28a745 100%);
    animation: success-pulse 1.5s ease-in-out;
}

@keyframes success-pulse {
    0%, 100% {
        transform: translateY(-50%);
        box-shadow: -5px 0 25px rgba(20, 224, 110, 0.5);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        box-shadow: -8px 0 35px rgba(20, 224, 110, 0.7);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.75rem;
    }
    
    .btn-cta, .btn-secondary {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 2.4rem;
    }
}

/* ダウンタイムセクション全体のモバイル対応 */
@media (max-width: 767px) {
    #downtime-section {
        padding: 20px 0;
    }
    
    #downtime-section .container {
        padding: 0 15px;
        background: transparent !important;
    }
    
    .downtime-wrapper {
        background: transparent !important;
        overflow: hidden;
    }
    
    /* カード間のマージンをモバイルで調整 */
    .downtime-card {
        margin-bottom: 20px !important;
    }
    
    .downtime-card:last-child {
        margin-bottom: 0 !important;
    }
}

/* ダウンタイムカード基本スタイル詳細設定 */
.downtime-card {
    background: white;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.downtime-card-day0 { border-left: 8px solid #8B1538; }
.downtime-card-days1to3 { border-left: 8px solid #ff6b35; }
.downtime-card-week1 { border-left: 8px solid #14e06e; }
.downtime-card-month1 { border-left: 8px solid #0084ff; }

.downtime-card .row {
    margin: 0;
    display: flex;
    align-items: stretch;
    min-height: 140px;
}

.downtime-icon-area {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
    padding: 30px 20px;
}

.downtime-day0-icon { background: linear-gradient(135deg, #8B1538 0%, #A0274F 100%); }
.downtime-days1to3-icon { background: linear-gradient(135deg, #ff6b35 0%, #ff8c00 100%); }
.downtime-week1-icon { background: linear-gradient(135deg, #14e06e 0%, #20c997 100%); }
.downtime-month1-icon { background: linear-gradient(135deg, #0084ff 0%, #007bff 100%); }

.downtime-icon-area i {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 12px;
}

.downtime-icon-area h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.downtime-content-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    min-height: 140px;
    background: white !important;
}

/* ダウンタイムカード　モバイル対応（上下表示） */
@media (max-width: 767px) {
    .downtime-card {
        border-left: none !important;
        background: white !important;
        overflow: hidden !important;
        margin-bottom: 20px !important;
        border-radius: 15px !important;
        box-shadow: 0 5px 25px rgba(0,0,0,0.1) !important;
    }
    
    .downtime-card .row {
        flex-direction: column !important;
        min-height: auto !important;
        margin: 0 !important;
    }
    
    .downtime-icon-area,
    .downtime-card .col-md-3,
    .downtime-card .col-sm-4 {
        width: 100% !important;
        margin: 0 !important;
        padding: 25px 20px !important;
        min-height: 80px !important;
        border-radius: 15px 15px 0 0 !important;
        border: none !important;
        order: 1 !important;
    }
    
    .downtime-content-area,
    .downtime-card .col-md-9,
    .downtime-card .col-sm-8 {
        width: 100% !important;
        margin: 0 !important;
        padding: 25px 20px !important;
        min-height: auto !important;
        background: white !important;
        border-radius: 0 0 15px 15px !important;
        border: none !important;
        border-top: 4px solid transparent !important;
        position: relative;
        z-index: 10;
        order: 2 !important;
    }
    
    /* モバイル表示時のカード全体の背景をリセット */
    .downtime-card::before {
        display: none !important;
    }
    
    /* 各段階の色を上部ボーダーで表現（モバイル） */
    .downtime-card-day0 .downtime-content-area,
    .downtime-card:nth-child(1) .downtime-content-area {
        border-top-color: #8B1538 !important;
    }
    
    .downtime-card-days1to3 .downtime-content-area,
    .downtime-card:nth-child(2) .downtime-content-area {
        border-top-color: #ff6b35 !important;
    }
    
    .downtime-card-week1 .downtime-content-area,
    .downtime-card:nth-child(3) .downtime-content-area {
        border-top-color: #14e06e !important;
    }
    
    .downtime-card-month1 .downtime-content-area,
    .downtime-card:nth-child(4) .downtime-content-area {
        border-top-color: #0084ff !important;
    }
    
    /* モバイル表示時のフォントサイズ調整 */
    .downtime-card h4 {
        font-size: 1.8rem !important;
    }
    .downtime-card p {
        font-size: 1.5rem !important;
    }
    .downtime-card i {
        font-size: 2.5rem !important;
    }
    
    /* アイコンエリアのフォントサイズをモバイル用に調整 */
    .downtime-icon-area h4 {
        font-size: 1.6rem !important;
    }
    .downtime-icon-area i {
        font-size: 2.8rem !important;
        margin-bottom: 8px !important;
    }
}

/* 小さなモバイル画面（576px以下）での追加調整 */
@media (max-width: 576px) {
    .downtime-card {
        margin-bottom: 15px !important;
    }
    
    .downtime-icon-area,
    .downtime-card .col-md-3,
    .downtime-card .col-sm-4 {
        padding: 20px 15px !important;
        min-height: 70px !important;
    }
    
    .downtime-content-area,
    .downtime-card .col-md-9,
    .downtime-card .col-sm-8 {
        padding: 20px 15px !important;
    }
    
    .downtime-card h4 {
        font-size: 1.6rem !important;
    }
    
    .downtime-card p {
        font-size: 1.4rem !important;
    }
    
    .downtime-icon-area h4 {
        font-size: 1.4rem !important;
    }
    
    .downtime-icon-area i {
        font-size: 2.4rem !important;
        margin-bottom: 5px !important;
    }
}

/* 注意事項とケアのポイントセクションのモバイル対応 */
@media (max-width: 767px) {
    .care-section-row {
        margin-top: 40px !important;
    }
    
    .care-section-row .col-md-6:first-child {
        margin-bottom: 0 !important;
    }
    
    .care-section-row .col-md-6:last-child {
        margin-top: 0 !important;
    }
}

/* ケアボックスのモバイル対応 */
@media (max-width: 767px) {
    .care-tips {
        margin-bottom: 30px !important;
    }
    
    .care-warnings {
        margin-top: 30px !important;
    }
    
    /* ケアボックスのフォントサイズ調整 */
    .care-tips h4,
    .care-warnings h4 {
        font-size: 1.9rem !important;
    }
    
    .care-tips li,
    .care-warnings li {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .care-tips {
        margin-bottom: 25px !important;
        padding: 25px 20px !important;
    }
    
    .care-warnings {
        margin-top: 25px !important;
        padding: 25px 20px !important;
    }
    
    .care-tips h4,
    .care-warnings h4 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    .care-tips li,
    .care-warnings li {
        font-size: 1.4rem !important;
        padding: 6px 0 !important;
    }
}

/* ヘッダー背景を白っぽくするオーバーレイ */
header.row {
    position: relative;
}

/* フルスクリーンヒーロー以外のヘッダーにのみ適用 */
header.row:not(.fullscreen-hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.85) 0%, 
        rgba(248, 249, 250, 0.8) 50%,
        rgba(255, 255, 255, 0.9) 100%
    );
    z-index: 1;
    pointer-events: none;
}

header.row .container,
header.row .top-banner {
    position: relative;
    z-index: 2;
}

/* オーバーレイ上のテキストのコントラスト調整 */
.top-banner h2,
.top-banner h3,
.top-banner p {
    text-shadow: none;
    color: #374048;
}

.top-banner h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #374048;
}

.top-banner h2 {
    font-weight: 700;
    text-shadow: none;
    color: #1a1a1a;
}

.top-banner p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #374048;
}

/* ボタンのコントラスト向上 */
.banner-btn {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.15);
    border: none;
    font-weight: 600;
    text-shadow: none;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header.row::before {
        background: linear-gradient(
            135deg, 
            rgba(255, 255, 255, 0.9) 0%, 
            rgba(248, 249, 250, 0.85) 50%,
            rgba(255, 255, 255, 0.95) 100%
        );
    }
    
    .top-banner h2 {
        text-shadow: none;
        color: #1a1a1a;
    }
    
    .top-banner h3,
    .top-banner p {
        text-shadow: none;
        color: #374048;
    }
}

/* ========== フルスクリーンヒーローセクション ========== */
.uoqmunthenkhung-regular {
    font-family: "UoqMunThenKhung", serif;
    font-weight: 400;
    font-style: normal;
}

.top-banner.fullscreen-hero {
    position: relative;
    height: 100vh;
    background-image: url('../images/apple-watch.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.top-banner.fullscreen-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(3px);
    z-index: 1;
}

.top-banner.fullscreen-hero .container {
    position: relative;
    z-index: 2;
    text-align: right !important;
}

/* ヒーローテキストのフェードインアニメーション */
.hero-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1.2s ease-out forwards;
}

.hero-fade-delay-1 {
    animation-delay: 0.3s;
}

.hero-fade-delay-2 {
    animation-delay: 0.6s;
}

.hero-fade-delay-3 {
    animation-delay: 0.9s;
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-banner.fullscreen-hero h2 {
    color: #8B1538;
    font-size: 7.5rem;
    font-weight: 700;
    text-align: right !important;
    text-shadow: 
        0 0 12px rgba(255,255,255,0.9),
        3px 3px 10px rgba(255,255,255,0.8), 
        5px 5px 15px rgba(255,255,255,0.7),
        -2px -2px 6px rgba(255,255,255,0.6),
        2px -2px 6px rgba(255,255,255,0.6),
        -2px 2px 6px rgba(255,255,255,0.6);
    margin-bottom: 30px;
}

.top-banner.fullscreen-hero h3 {
    color: #374048;
    font-size: 4.8rem;
    font-weight: 600;
    text-align: right !important;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.9),
        2px 2px 8px rgba(255,255,255,0.8), 
        4px 4px 12px rgba(255,255,255,0.7),
        -1px -1px 4px rgba(255,255,255,0.6),
        1px -1px 4px rgba(255,255,255,0.6),
        -1px 1px 4px rgba(255,255,255,0.6);
    margin-bottom: 25px;
}

.top-banner.fullscreen-hero p {
    color: #374048;
    font-size: 2.8rem;
    font-weight: 500;
    text-align: right !important;
    text-shadow: 
        0 0 8px rgba(255,255,255,0.9),
        2px 2px 6px rgba(255,255,255,0.8), 
        3px 3px 10px rgba(255,255,255,0.7),
        -1px -1px 3px rgba(255,255,255,0.6),
        1px -1px 3px rgba(255,255,255,0.6),
        -1px 1px 3px rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.top-banner.fullscreen-hero h4 {
    color: #374048;
    font-size: 2.8rem;
    font-weight: 500;
    text-align: right !important;
    text-shadow: 
        0 0 8px rgba(255,255,255,0.9),
        2px 2px 6px rgba(255,255,255,0.8), 
        3px 3px 10px rgba(255,255,255,0.7),
        -1px -1px 3px rgba(255,255,255,0.6),
        1px -1px 3px rgba(255,255,255,0.6),
        -1px 1px 3px rgba(255,255,255,0.6);
    margin-bottom: 0;
}

/* フルスクリーンヒーローセクション - デスクトップ専用（769px以上） */
@media (min-width: 769px) {
    .top-banner.fullscreen-hero .container {
        text-align: right !important;
    }
    
    .top-banner.fullscreen-hero h2 {
        text-align: right !important;
    }
    
    .top-banner.fullscreen-hero h3 {
        text-align: right !important;
    }
    
    .top-banner.fullscreen-hero p {
        text-align: right !important;
    }
    
    .top-banner.fullscreen-hero h4 {
        text-align: right !important;
    }
}

/* フルスクリーンヒーローセクション - モバイル対応 */
@media (max-width: 768px) {
    .top-banner.fullscreen-hero .container {
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero h2 {
        font-size: 4.5rem;
        font-family: "UoqMunThenKhung", serif;
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero h3 {
        font-size: 3.2rem;
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero p {
        font-size: 2.0rem;
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero h4 {
        font-size: 2.0rem;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .top-banner.fullscreen-hero .container {
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero h2 {
        font-size: 3.8rem;
        font-family: "UoqMunThenKhung", serif;
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero h3 {
        font-size: 2.6rem;
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero p {
        font-size: 1.7rem;
        text-align: center !important;
    }
    
    .top-banner.fullscreen-hero h4 {
        font-size: 1.7rem;
        text-align: center !important;
    }
}

/* ご予約セクション専用タイトル */
.section-title2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #fff;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.25);
}
.section-title2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fff 0%, #e7e6d8 100%);
    border-radius: 2px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}