/* 全站共用样式：旧站 CSS（themes/simpleboot4，只读）之上的覆盖与跨组件样式；只服务一个组件的样式写在该组件的 <style scoped> */

/* 店内写真缩略图铺满格子：srcset 档位比原图宽时 OSS 不放大，不定宽会按缩小后的固有宽度显示 */
.shop_photo img {
    width: 100%;
}

/* 店铺 logo 统一按 2:1 显示（gotohost 同框）：非 2:1 的图居中裁切 */
.shop_info .logo img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

/* 特集页エージェント横幅的关闭按钮 */
.agent-cta-close {
    position: absolute;
    top: -14px;
    right: 12px;
    z-index: 1;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #5b4a7a;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
}

/* 店铺ニュース・レポート的正文标题：用 h2（每页一个 h1），外观同旧站 .typo h1 */
.typo h2.article-title {
    margin: 0 0 2rem;
    padding: 0;
    border-left: 0;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.45;
    scroll-margin-top: 0;
}

/* 改成 div 的旧标题（ホスパス详情的栏目标题、店铺お問合せ的「Line」）：行高同旧站标题标签 */
div.page__tit,
div.form-label {
    line-height: 1.2;
}

/* 灰色小字的对比度（WCAG AA 4.5:1）：旧站的 #9e9e9e 与浅灰底上的 #757575 不足 */
.list .subheader,
.shop_about .need_list li.no {
    color: #757575;
}
/* 面包屑链接是行内元素，上下内边距只扩大点击区域、不改行高 */
.breadcrumb li a {
    padding: 5px 0;
    color: #666;
}
h1.text-muted {
    color: #666 !important;
}

/* Tab 栏点击区域放大到 24px 以上，外观不变：链接用内边距撑大、负边距抵消（当前项是纯文字，留白不能挪走） */
.tab_nav li a {
    display: block;
    margin: calc(-0.625rem - 0.25rem) 0 -0.25rem;
    padding: calc(0.625rem + 0.25rem) 0 0.25rem;
}

/* 页内提示（キープ等，AppToast）：底部居中，在店铺页底栏（3.5rem）之上、抽屉菜单之下 */
.app-toast-region {
    position: fixed;
    right: 0;
    bottom: calc(3.5rem + 12px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}
.app-toast {
    max-width: 420px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
    pointer-events: auto;
}
.app-toast a {
    margin-left: 0.75rem;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
}
.app-toast-error {
    background: #b3261e;
}

/* 店铺页底栏的キープ是按钮（不是链接）：去掉浏览器默认的底色与边框，与旁边的链接同样显示 */
.bottom-nav button.nav-item {
    border: 0;
    background: none;
    letter-spacing: inherit;
}
