@charset "UTF-8";

/* =========================================
   Base Settings & Variables
   ========================================= */
:root {
    --ac-blue: #009ef7; 
	--ac-icon-blue: #0056b3;
    --ac-dark-blue: #002a45;
	--ac-text-dark: #333333;
	--ac-text-gray: #666666;
    --ac-bg-light-blue: #eef7fc; 
	--ac-border-gray: #e5e5e5; 
    --ac-teal-accent: #0097a7; 
	--ac-text-body: #333;
	--ac-navy: #002a45;      
    --ac-teal: #008b9b;    
    --ac-blue-btn: #002a45;  
    --ac-gray-bg: #eff2f5;
    --ac-text-muted: #666;
    --ac-border-light: #e0e0e0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
	-webkit-font-smoothing: antialiased;
    padding-top: 142px; /* Desktop Header Height */
}

/* Common Utilities */
.text-primary-dark {
    color: var(--ac-dark-blue);
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pageanchor {
    margin-top: -100px;
    height: 100px;
    display: block;
}

/* Common Components (Buttons, etc reused across pages) */
.ac-btn-service {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 6px 6px 6px 24px; 
    color: #333;
    width: 260px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ac-btn-service:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ac-btn-icon {
    width: 36px;
    height: 36px;
    background-color: var(--ac-blue-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* =========================================
   Header: Structure & Top Bar
   ========================================= */
.ac-header {
    z-index: 1030; 
    transition: all 0.3s ease;
}

.ac-header-top {
    min-height: 80px; 
}

.ac-header.ac-header-scrolled .ac-header-top {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    min-height: 60px;
}

/* Right Side Actions */
.ac-header-actions {
    gap: 2rem; 
}

.ac-icon-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.ac-icon-link:hover {
    opacity: 0.7;
}

.ac-icon-blue {
    color: var(--ac-icon-blue);
    font-size: 1.25rem; 
}

.ac-icon-text {
    font-size: 0.8rem;
    color: var(--ac-text-dark);
    font-weight: 500;
}

/* Reservation Button */
.ac-btn-reserv {
    background-color: var(--ac-blue);
    border-color: var(--ac-blue);
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 0.5rem 1.8rem;
    box-shadow: 0 2px 4px rgba(0,158,247,0.2);
    transition: all 0.3s;
}

.ac-btn-reserv:hover {
    background-color: #0082cc;
    border-color: #0082cc;
    transform: translateY(-1px);
}

/* =========================================
   Header: Navigation Bar
   ========================================= */
.ac-navbar-wrapper {
    background-color: #fff;
    border-top: 1px solid var(--ac-border-gray) !important;
    border-bottom: 1px solid var(--ac-border-gray) !important;
}

/* Desktop Nav Items Layout */
@media (min-width: 992px) {
    .ac-navbar-nav {
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .ac-nav-item {
        position: relative;
        display: flex; 
        align-items: center;
        padding: 0 1rem;
    }

    .ac-nav-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 25%;   
        height: 50%;
        width: 1px;
        background-color: #ddd;
    }

    .ac-nav-item:last-child::after,
    .ac-nav-item.border-end-0::after {
        display: none;
    }
}

/* Link Styling */
.ac-nav-link {
    color: var(--ac-text-dark) !important;
    font-weight: 700; 
    font-size: 0.95rem;
    padding: 1rem 1.5rem !important; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
}

/* Dropdown Chevron */
.ac-chevron {
    font-size: 0.7rem;
    color: var(--ac-blue);
    margin-top: 2px;
}

/* Active State */
.ac-nav-item.ac-active {
    position: relative;
}

.ac-nav-item.ac-active::before {
    content: '';
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--ac-teal-accent);
	background: linear-gradient(90deg, #004697 0%, #00A0AA 100%);
    z-index: 10;
}

.ac-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--ac-blue);
	background: linear-gradient(90deg, #004697 0%, #00A0AA 100%);
    transform: scaleX(0); 
    transform-origin: center;
    transition: transform 0.3s ease-out;
    opacity: 0.7;
}

.ac-nav-item.ac-active .ac-nav-link::after {
    display: none; 
}

.ac-nav-item:not(.ac-active) .ac-nav-link:hover::after {
    transform: scaleX(1); 
}

/* =========================================
   Footer Section (.ac-footer)
   ========================================= */
.ac-footer {
    color: #333;
    font-size: 0.9rem;
	padding-top:100px;
	padding-bottom:80px;
	border-top:1px solid #DDE3E6;
}

.ac-footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.ac-footer a {
    transition: color 0.2s;
}

.ac-footer a:hover {
    color: #008b9b !important; /* ホバー時の色 */
    text-decoration: underline !important;
}

.ac-footer .fa-brands, 
.ac-footer .fa-regular {
    transition: opacity 0.3s;
}

.ac-footer .fa-brands:hover, 
.ac-footer .fa-regular:hover {
    opacity: 0.7;
}

/* =========================================
   Mobile Global Adjustments
   ========================================= */
@media (max-width: 991px) {
    body {
        padding-top: 76px; 
    }
    
    .ac-header-top {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        min-height: 60px;
    }

    .ac-nav-item {
        border-bottom: 1px solid #f0f0f0;
        display: block;
        padding: 0;
    }
    
    .ac-nav-item::after {
        display: none; 
    }

    .ac-nav-link {
        justify-content: flex-start; 
        padding: 1rem 1.5rem !important;
    }

    .ac-nav-item.ac-active::before {
        height: 100%;
        width: 4px; 
        bottom: 0;
        top: 0;
        opacity: 0.5;
    }
    
    .ac-chevron {
        margin-left: auto; 
    }
}

@media (max-width: 767px) {
    .ac-footer .text-lg-end {
        text-align: left !important;
    }
	.g-5, .gx-5{
		--bs-gutter-x: 0rem;
	}
}

/* =========================================
   Header: Dropdown Menu 
   ========================================= */
   
   
.ac-dropdown {
    position: relative;
}

.ac-dropdown-menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
}

.ac-dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--ac-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* ホバー時の左側アクセントライン */
.ac-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #004697 0%, #00A0AA 100%);
    transition: height 0.3s ease;
}

.ac-dropdown-item:hover {
    color: var(--ac-blue);
    background-color: var(--ac-bg-light-blue);
    padding-left: 1.8rem; 
}

.ac-dropdown-item:hover::before {
    height: 100%;
}

.ac-chevron {
    transition: transform 0.3s ease;
}

/* -------------------------------------------
   Desktop View 
   ------------------------------------------- */
   
@media (min-width: 992px) {
    .ac-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px); 
        min-width: 240px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--ac-border-light);
        z-index: 1000;
        pointer-events: none;
    }

    .ac-dropdown:hover .ac-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .ac-dropdown:hover .ac-chevron {
        transform: rotate(180deg);
        color: var(--ac-teal-accent);
    }
}

/* -------------------------------------------
   Mobile View
   ------------------------------------------- */
media (max-width: 991px) {
    .ac-header-top .ac-logo {
        max-width: 75%;
        min-width: 0; 
    }
    
    .ac-header-top .ac-logo img {
        max-width: 100%;
        height: auto;
        max-height: 48px;
        object-fit: contain;
    }

    .ac-nav-link {
        white-space: normal !important;
        word-break: break-word;
    }
    
    .ac-navbar-wrapper,
    .ac-dropdown-menu {
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media (max-width: 991px) {
    .ac-dropdown-menu {
        background-color: #f8f9fa;
        border-radius: 0;
        border-left: 2px solid #ddd;
        margin: 0.5rem 1.5rem 1rem 1.5rem;
        display: none; 
    }
    
    .ac-dropdown-item {
        padding: 0.6rem 1rem;
    }
    
    .ac-dropdown.open .ac-dropdown-menu {
        display: block;
        animation: fadeInDown 0.3s ease forwards;
    }
    
    .ac-dropdown.open .ac-chevron {
        transform: rotate(180deg);
    }
}

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