@charset "utf-8";

/*------------------------------------------------------------------------------
  ヘッダー・フッター・ナビゲーション専用スタイル
------------------------------------------------------------------------------*/

/* シンプル一行ヘッダー - !important で確実な適用 */
.simple-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    border-bottom: 1px solid #ddd !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    width: 100% !important;
}

.header-content {
    width: 100% !important;
    padding: 15px 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 30px !important;
    max-width: none !important;
    margin: 0 !important;
}

/* ロゴエリア */
.logo-area {
    flex-shrink: 0 !important;
}

.logo {
    margin: 0 !important;
    line-height: 1 !important;
}

.logo img {
    height: 50px !important;
    width: auto !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

.logo img:hover {
    transform: scale(1.05) !important;
}

/* メインナビゲーション */
.main-navigation {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-right: 20px !important;
}

.nav-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
}

.nav-menu li {
    position: relative !important;
}

.nav-menu a {
    display: block !important;
    padding: 12px 20px !important;
    color: #013567 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.nav-menu a:hover,
.nav-menu .current a {
    background: #013567 !important;
    color: #fff !important;
    border: 2px solid #013567 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(1, 53, 103, 0.4) !important;
}

/* 連絡先エリア */
.contact-area {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.phone-info {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    gap: 8px !important;
    flex-direction: row !important;
}

.phone-icon {
    font-size: 18px !important;
    color: #013567 !important;
    order: 1 !important;
    flex-shrink: 0 !important;
}

.phone-details {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
    order: 2 !important;
}

.phone-number {
    font-weight: bold !important;
    color: #013567 !important;
    letter-spacing: 0.5px !important;
    font-size: 15px !important;
}

.phone-hours {
    font-size: 11px !important;
    color: #666 !important;
    margin-top: 2px !important;
}

.contact-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ff6600 !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    min-height: 40px !important;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3) !important;
}

.contact-btn:hover {
    background: #e55a00 !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4) !important;
}

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    width: 32px !important;
    height: 28px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}



/* モバイルナビゲーション */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: #fff;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #013567;
    color: #fff;
}

.mobile-nav-header h2 {
    margin: 0;
    font-size: 18px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-nav-ul li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-ul a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.mobile-nav-ul a:hover,
.mobile-nav-ul .current a {
    background: #013567;
    color: #fff;
}

.mobile-contact {
    margin-top: 20px;
    padding: 0 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.mobile-phone-info {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    flex-direction: row !important;
}

.mobile-phone-icon {
    font-size: 20px !important;
    color: #013567 !important;
    order: 1 !important;
    flex-shrink: 0 !important;
}

.mobile-phone-details {
    display: flex !important;
    flex-direction: column !important;
    order: 2 !important;
}

.mobile-phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #013567;
    letter-spacing: 0.5px;
}

.mobile-phone-hours {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.mobile-contact-btn {
    display: block;
    background: #013567;
    color: #fff !important;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.mobile-contact-btn:hover {
    background: #012547;
    color: #fff !important;
}

/* パンくずナビゲーション */
.breadcrumb-nav {
    margin: 20px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: #666;
}

.breadcrumb-link {
    color: #013567;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.breadcrumb-link:hover {
    background: #f0f0f0;
    color: #013567;
}

.breadcrumb-current,
.breadcrumb-category {
    color: #333;
    font-weight: bold;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    border-top: 3px solid #013567;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.quick-links {
    display: flex;
    gap: 20px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-link:hover {
    border-color: #013567;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: #013567;
}

.link-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.link-text {
    font-weight: bold;
    font-size: 14px;
}

/* CTAセクション - リデザイン */
.cta-section {
    margin-top: 30px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #013567;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-phone {
    flex: 1;
    text-align: center;
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.phone-info img {
    max-width: 200px;
    height: auto;
}

.phone-time {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.cta-divider {
    width: 2px;
    height: 60px;
    background: #ddd;
    margin: 0 30px;
}

.cta-email {
    flex: 1;
    text-align: center;
}

.email-btn {
    background: #013567;
    color: #fff;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(1, 53, 103, 0.3);
}

.email-btn:hover {
    background: #025aa5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(1, 53, 103, 0.4);
}

.email-icon {
    font-size: 20px;
}

.email-text {
    font-size: 16px;
    color: #ffffff;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }
    
    .cta-divider {
        width: 80%;
        height: 2px;
        margin: 0;
    }
    
    .phone-info img {
        max-width: 180px;
    }
    
    .email-btn {
        padding: 15px 30px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .cta-container {
        padding: 15px;
        gap: 20px;
    }
    
    .phone-info img {
        max-width: 160px;
    }
    
    .phone-time {
        font-size: 13px;
    }
    
    .email-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .email-icon {
        font-size: 18px;
    }
}

/* ページトップボタン */
.page-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
}

.page-top-btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #013567;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.page-top-btn a:hover {
    background: #013567;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    color: #fff;
}

.top-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.top-text {
    font-size: 10px;
    font-weight: bold;
}

/* メインフッター */
.main-footer {
    background: #013567;
    color: #fff;
    padding: 30px 0 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

/* フッターセクション共通 */
.footer-section {
    color: #fff;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #fff;
    display: inline-block;
}

/* 会社情報セクション */
.company-info .company-logo {
    margin-bottom: 15px;
}

.company-logo img {
    max-height: 50px;
    width: auto;
}

.company-name {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.company-info .address {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-info p {
    color: #fff;
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.contact-info .phone {
    font-weight: bold;
}

.contact-info .email {
    color: #ccc;
}

/* ナビゲーションメニュー */
.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.footer-nav a:hover {
    color: #ccc;
}

/* お問い合わせセクション */
.contact-description {
    color: #ccc;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6600;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

.footer-contact-btn:hover {
    background: #e55a00;
    color: #fff;
}

.btn-icon {
    font-size: 14px;
}

.business-hours {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.hours-title {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
}

.hours-detail {
    color: #ccc;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}



/* フッターボトム */
.footer-bottom {
    background: #01284e;
    padding: 20px 0;
}

.copyright-section {
    text-align: center;
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
    font-size: 12px;
}

.copyright-text {
    margin: 0;
    font-size: 12px;
    color: #888;
}


/* タブレット対応 - !important で確実な適用 */
@media screen and (max-width: 1024px) {
    .header-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 20px !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .logo img {
        height: 50px !important;
    }
    
    .contact-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .company-info {
        grid-column: 1 / -1;
        text-align: center;
        border-bottom: 1px solid #fff;
        padding-bottom: 20px;
        margin-bottom: 10px;
    }
}

/* スマートフォン対応 - !important で確実な適用 */
@media screen and (max-width: 768px) {
    .header-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        gap: 10px !important;
    }
    
    .logo img {
        height: 45px !important;
    }
    
    /* ヘッダーの電話情報のみ非表示（CTAセクションは除外） */
    .header-content .phone-info:not(.contact-area .phone-info) {
        display: none !important;
    }
    
    /* CTAセクションの電話情報は確実に表示 */
    .cta-section .phone-info,
    .cta-container .phone-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    /* ハンバーガーメニューボタンの確実な表示 */
    .mobile-menu-toggle {
        display: flex !important;
        order: 2 !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        width: 32px !important;
        height: 28px !important;
    }
    
    /* ヘッダーのコンタクトエリアを非表示にする */
    .header-content .contact-area {
        display: none !important;
    }
    
    /* CTAセクション専用の追加スタイル */
    .cta-phone .phone-info img {
        display: block !important;
        max-width: 180px !important;
        height: auto !important;
        margin: 0 auto !important;
    }
    
    .cta-phone .phone-time {
        display: block !important;
        text-align: center !important;
        color: #666 !important;
        font-size: 13px !important;
        margin-top: 8px !important;
    }
    
    .main-navigation {
        order: 0 !important;
    }
    
    /* パンくず */
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 4px;
    }
    
    /* CTA */
    .cta-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .quick-links {
        justify-content: center;
    }
    
    .quick-link {
        padding: 12px 16px;
    }
    
    .link-text {
        font-size: 12px;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .company-info {
        grid-column: 1;
        border-bottom: 1px solid #fff;
        padding-bottom: 20px;
        margin-bottom: 10px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-nav a {
        font-size: 12px;
        padding: 4px 0;
    }
    
    .footer-contact-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .nav-columns {
        flex-direction: column;
        gap: 15px;
    }
    
    .copyright-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* ページトップボタン */
    .page-top-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .page-top-btn a {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    /* 電話情報を完全に非表示 */
    .phone-info {
        display: none !important;
    }
    
    .phone-hours {
        display: none !important;
    }
    
    /* ハンバーガーメニューボタンの最終確認 */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .mobile-nav-content {
        width: 90%;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .quick-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-contact-methods .btn-content {
        gap: 5px;
    }
    
    .btn-title {
        font-size: 13px;
    }
    
    .btn-detail {
        font-size: 11px;
    }
}

/* ナビゲーションがオープン時のボディスクロール制御 */
.nav-open {
    overflow: hidden;
}