@charset "UTF-8";

/* ＝＝＝ リセットと基本設定 ＝＝＝ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PC閲覧時の外側背景色 */
html {
    background-color: #f5f5f5;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #222;
    background-color: #fff;
    width: 100%;
    margin: 0 auto; /* 中央配置用 */
    position: relative;
}

/* ＝＝＝ PC閲覧時（画面幅が480px以上）の強制375px幅・中央配置 ＝＝＝ */
@media screen and (min-width: 480px) {
    body {
        max-width: 375px;
        box-shadow: 0 0 20px rgba(0,0,0,0.1); /* 浮き出ているような影 */
        min-height: 100vh;
    }
    .sp-menu {
        max-width: 375px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

body.is-locked {
    overflow: hidden;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ＝＝＝ ヘッダーエリア（固定） ＝＝＝ */
    .header-wrap {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        /* 古いCSSの干渉リセット */
        float: none !important;
        clear: both !important;
    }
    .top-notice-bar {
        background-color: #000A49;
        color: #fff;
        font-size: 12px;
        font-weight: normal;
        padding: 6px 12px;
        text-align: left;
        letter-spacing: 0.05em;
        line-height: 1.5;
        /* ▼古いCSSの干渉リセット▼ */
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .header {
        /* ▼古いCSSの干渉リセット▼ */
        display: flex !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        /* 既存スタイル */
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px 10px 12px;
        height: 62px;
    }
    .header-left {
        display: flex !important;
        align-items: center;
        float: none !important;
    }
    .logo-img {
        height: 28px; 
        width: auto;
        /* 古いCSSで非表示にされるのを防ぐ */
        display: block !important; 
    }
    .header-right {
        display: flex !important;
        align-items: center;
        gap: 16px;
        float: none !important;
    }
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #a0a0a0;
    font-size: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-item svg {
    width: 26px;
    height: 26px;
    fill: #aaa;
    margin-bottom: 2px;
}

.hamburger {
    width: 26px;
    height: 20px;
    position: relative;
    margin-bottom: 7px;
    margin-top: 2px;
}
.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #aaa;
    left: 0;
    transition: all 0.3s ease-in-out;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

#js-hamburger.is-active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
#js-hamburger.is-active .hamburger span:nth-child(2) {
    opacity: 0;
}
#js-hamburger.is-active .hamburger span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ＝＝＝ ハンバーガーメニュー（展開エリア） ＝＝＝ */
.sp-menu {
    position: fixed;
    left: 0;
    width: 100%;
    background-color: #33375c;
    color: #fff;
    z-index: 998;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sp-menu.is-active {
    opacity: 1;
    visibility: visible;
}
.sp-menu-inner {
    padding: 20px 15px 50px;
}
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 0;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    letter-spacing: 0.05em;
}
.accordion-icon {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg); 
    transition: transform 0.3s ease;
}
.accordion-item.is-open .accordion-icon {
    transform: rotate(-135deg);
}
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
}
.accordion-content-inner {
    overflow: hidden;
}
.accordion-content ul {
    list-style: none;
    padding: 15px 0 20px;
    margin: 0;
}
.accordion-content li {
    margin-bottom: 5px;
}
.accordion-content li:last-child {
    margin-bottom: 0;
}
.accordion-content a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* ハンバーガーメニュー内の電話ボタン用追加クラス */
.menu-contact-box {
    margin-top: 30px;
    margin-bottom: 0;
    text-align: center;
}

/* ＝＝＝ フッターと共通の電話ボタン ＝＝＝ */
.contact-box { 
    display: block; 
    background: linear-gradient(to bottom, #fdfdfd, #e6e6e6); 
    padding: 10px 10px 13px; 
    border-radius: 8px; 
    text-decoration: none; 
    color: #222; 
    margin-bottom: 20px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border:1px solid #ededed; 
}
.tel-row { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 0; 
}
.tel-icon { 
    background-color: #25a068; 
    border-radius: 4px; 
    width: 26px; 
    height: 26px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.tel-icon svg { 
    width: 16px; 
    height: 16px; 
    fill: #fff; 
}
.tel-num { 
    font-size: 28px; 
    font-weight: bold; 
}
.tel-time { 
    font-size: 14px; 
    color: #222; 
}

/* 下層ページタイトル画像幅矯正 */
.cmn_mv img {
    width:100%;
}

/* フッターエリア */
.footer { background-color: #fff; }
.footer-contact { padding: 5px 15px 30px; text-align: center; }
.footer-logo { margin-bottom: 25px; }
.footer-logo img { width: 120px; }
.address-info { font-size: 14px; line-height: 1.8; color: #222; }
.footer-sitemap { background-color: #32335F; padding: 40px 15px 20px; color: #fff; }
.sitemap-group { margin-bottom: 30px; }
.sitemap-heading { font-size: 16px; font-weight: bold; border-bottom: 1px solid #fff; padding-bottom: 10px; margin-bottom: 15px; letter-spacing: 0.05em; }
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { margin-bottom: 5px; }
.sitemap-list li:last-child { margin-bottom: 0; }
.sitemap-list a { color: #fff; text-decoration: none; font-size: 14px; }
.copyright { text-align: center; font-size: 12px; margin-top: 50px; color: #ddd; }