@import "_core_menuSp_infoMenu.css";

.box_breadcrumb {
    /* margin-left: 1em; */
    font-size: var(--fs_n);
    line-height: 1.2em;
    margin-bottom: 0.5em;
    /* 長いラベルは折り返さず、横スクロールで閲覧 */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    overscroll-behavior-x: contain;
}
.box_breadcrumb .txt_breadcrumb {
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

@media only screen and (min-width : 769px) {
    .box_breadcrumb {
        font-size: var(--fs_s);
        margin-bottom: 1em;
    }
}

.box_breadcrumb .txt,
.box_breadcrumb .fas {
    margin-right: 0.25em;
}

/*
 * 下部パンくず・SP 店舗情報は _core_footer_breadcrumb_in_main 経由で #area_main--in 内に出力される。
 * page_listGirl / page_profile 等では #article_bgVisual が position:fixed のため、
 * z-index 無しだと固定背景の下に潜り背景色・文字が正しく見えない。
 * 旧 #wrapper 直下用セレクタは後方互換のため残す。
 */
#wrapper > .box_breadcrumb,
#area_main--in > .box_breadcrumb {
    position: relative;
    z-index: 2;
}

/* フッター直前の SP 店舗情報：固定背景 #article_bgVisual より前面 */
#wrapper > .shopInfoSeoSp,
#area_main--in > .shopInfoSeoSp {
    position: relative;
    z-index: 2;
}

#wrapper > .spSeoQuicknav {
    position: relative;
    z-index: 2;
}

.box_breadcrumb--footer {
    margin-top: 1em;
    margin-bottom: 0.75em;
}

@media only screen and (min-width : 769px) {
    .box_breadcrumb--footer {
        margin-top: 1.25em;
        margin-bottom: 1em;
    }
}

/* -------------------------------------------------------------------------- */
/* SP 店舗情報 SEO ブロック（下部パンくず直前・_core_shop_info_seo_sp.php） */
/* スタイルは本ファイルに集約（head で既に _core_list_breadcrumb.css を読込むため） */
/* -------------------------------------------------------------------------- */

.shopInfoSeoSp {
    margin: 0.75rem 0.25rem 0.5rem;
    padding: 0;
}

.shopInfoSeoSp__card {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.shopInfoSeoSp__ttl {
    margin: 0;
    padding: 0.65rem 0.85rem 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.shopInfoSeoSp__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.85rem 0.65rem;
}

.shopInfoSeoSp__logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shopInfoSeoSp__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shopInfoSeoSp__name {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.35;
}

.shopInfoSeoSp__name a {
    color: inherit;
    text-decoration: none;
}

.shopInfoSeoSp__name a:hover {
    text-decoration: underline;
}

.shopInfoSeoSp__clip {
    position: relative;
    transition: max-height 0.35s ease;
}

.shopInfoSeoSp__clip.is-collapsed {
    max-height: 200px;
    overflow: hidden;
}

.shopInfoSeoSp__clip.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(241, 245, 249, 0), rgba(241, 245, 249, 0.97));
}

.shopInfoSeoSp__clip.is-expanded {
    max-height: none;
    overflow: visible;
}

.shopInfoSeoSp__clip.is-expanded::after {
    display: none;
}

.shopInfoSeoSp__dl {
    margin: 0;
    padding: 0 0.85rem;
}

.shopInfoSeoSp__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.8rem;
    line-height: 1.45;
}

.shopInfoSeoSp__row:first-of-type {
    border-top: none;
}

.shopInfoSeoSp__dt {
    margin: 0;
    flex: 0 0 auto;
    max-width: 42%;
    font-weight: 600;
    color: #475569;
}

.shopInfoSeoSp__dd {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    text-align: right;
    color: #0f172a;
    word-break: break-word;
}

.shopInfoSeoSp__dd--link {
    text-align: right;
}

.shopInfoSeoSp__dd a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 600;
}

.shopInfoSeoSp__dd a:hover {
    text-decoration: underline;
}

.shopInfoSeoSp__moreWrap {
    padding: 0 0.85rem 0.65rem;
    text-align: center;
}

.shopInfoSeoSp__more {
    display: none;
    margin: 0 auto;
    padding: 0.4rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0369a1;
    background: #fff;
    border: 1px solid rgba(3, 105, 161, 0.35);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.shopInfoSeoSp__more.is-visible {
    display: inline-block;
}

/* -------------------------------------------------------------------------- */
/* SP クイックナビ（上部パンくず直下・_core_sp_seo_quicknav.php） */
/* -------------------------------------------------------------------------- */

@media only screen and (max-width: 768px) {
    #area_contents_01 {
        scroll-margin-top: 4.5rem;
    }
}

.spSeoQuicknav {
    margin: 0.35rem 0.35rem 0.65rem;
    padding: 0;
}

.spSeoQuicknav__bg {
    border-radius: 10px;
    padding: 0.65rem 0.5rem 0.55rem;
    background-color: #f5f5f5;
    border: 1px solid rgb(211 211 211 / 25%);
}

.spSeoQuicknav__ttl {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    color: #1e293b;
    line-height: 1.25;
}

.spSeoQuicknav__ttlLink {
    color: inherit;
    text-decoration: none;
}

.spSeoQuicknav__ttlLink:hover {
    text-decoration: underline;
}

.spSeoQuicknav__sub {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    text-align: center;
    color: #475569;
    line-height: 1.35;
}

.spSeoQuicknav__meta {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    text-align: center;
    color: #64748b;
    line-height: 1.35;
}

/* shop_menuinfo_sp 用：TOP の section--menuIcon と同じ子構造。店舗別色は _core_menuSp_infoMenu.css / 各 style_*.css に依存 */
.spSeoQuicknav__menuHost.section--menuIcon.menuSp--infoMenu {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.spSeoQuicknav__menuHost .box--menuIcon {
    width: 100%;
    margin-top: 0;
}

.spSeoQuicknav__listBtn--single.list--btn .li--btn {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
}
