:root {
    --bg: #fff;
    --surface: #fff;
    --text: #30343a;
    --muted: #7b818a;
    --line: rgba(48, 52, 58, .14);

    /* ベージュ系（薄め） */
    --accent: #bfae9a;
    --accent-weak: rgba(191, 174, 154, .22);
    --accent-weak-2: rgba(191, 174, 154, .14);
    --accent-strong: #a99780;

    --soft: #f1f2f4;
    --soft2: #eaedf1;

    --r: 10px;
    --r2: 8px;

    /* CTA用：濃いめ */
    --cta-primary: #a99780;
    /* 既存 accent-strong と同等 */
    --cta-primary2: #8f7f6a;
    /* hover用 */

    /* CTA用：テイクアウトは少し彩度を変える */
    --cta-soft: #7f8d8a;
    /* くすみグリーン/グレー */
    --cta-soft2: #6f7c79;
    /* hover用 */
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

/* layout */
.storePage {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.storeMain {
    width: min(980px, calc(100% - 28px));
    margin: 12px auto 72px;
}

/* ===== Hero (wfHero) ===== */
.wfHero {
    background: var(--surface);
}

.wfHero__inner {
    width: min(980px, calc(100% - 28px));
    margin: 0 auto;
    padding: 14px 0 10px;
}

.wfHero__brand {
    text-align: center;
    padding: 10px 0 6px;
}

.wfHero__avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--soft);
}

.wfHero__name {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
}

/* profile clamp */
.wfHero__profile {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--muted);
}

.wfHero__profile.is-clamped .wfHero__profileText {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wfHero__profile.is-open .wfHero__profileText {
    display: block;
    -webkit-line-clamp: unset;
}

.wfHero__profileToggle {
    margin-top: 6px;
    border: 0;
    background: transparent;
    color: #6f7680;
    font-size: 12px;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wfHero__cta {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

/* ===== Buttons (polished) ===== */
/* ===== Buttons (fix + CTA強化 / withcafeトーン) ===== */
.wfBtn{
  display:flex;
  align-items:center;
  justify-content:center;
  height:44px;
  border-radius:6px;
  font-size:13px;
  font-weight:500;
  letter-spacing:.06em;
  padding:0 10px;

  text-decoration:none;

  /* ★固定色をやめる（variantで決める） */
  color: var(--text);

  border:1px solid rgba(48,52,58,.14);
  background:#fff;

  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .06s ease;
}

.wfBtn:visited{ color: inherit; }
.wfBtn:hover{ color: inherit; }
.wfBtn:active{ transform: translateY(1px); }

.wfBtn:focus-visible{
  outline:2px solid rgba(191,174,154,.55);
  outline-offset:2px;
}


/* 2つとも白文字に */
.wfBtn--primary,
.wfBtn--soft{
  color:#fff !important;
  border-color: transparent !important;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
}

/* 来店予約：ブランドの濃ベージュ（少し締める） */
.wfBtn--primary{
  background: #8f7f69 !important;      /* 濃いめベージュ */
}
.wfBtn--primary:hover{
  background: #7f705c !important;      /* さらに少し濃く */
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

/* テイクアウト：同系統の“深いグレー寄り”で差別化（サイトに馴染む） */
.wfBtn--soft{
  background: #3f454b !important;      /* 濃いグレー（上品に強い） */
}
.wfBtn--soft:hover{
  background: #33383d !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

/* 押した時の沈み */
.wfBtn:active{
  transform: translateY(1px);
}

/* active(押した時)は既存の translateY(1px) が効くのでそのままでOK */

.wfBtn--ghost {
    background: #fff;
    border-color: rgba(48, 52, 58, .14);
}

.wfBtn--ghost:hover {
    background: rgba(241, 242, 244, .65);
    border-color: rgba(48, 52, 58, .18);
}

/* ===== TOP/Menu tabs ===== */
.wfTopTabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.wfTopTabs__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
    text-decoration: none;
    color: #8a9098;
    font-size: 11px;
    font-weight: 400;
    transition: color .18s ease, background .18s ease;
}

.wfTopTabs__item:visited {
    color: #8a9098;
}

.wfTopTabs__item:hover {
    color: #6a6259;
    /* ★青にしない */
    background: rgba(241, 242, 244, .55);
    /* うっすら */
}

.wfTopTabs__item i {
    font-size: 14px;
}

.wfTopTabs__item.is-active {
    color: #6a6259;
    position: relative;
}

.wfTopTabs__item.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: rgba(191, 174, 154, .75);
}

/* ===== Page section (menu/detail) ===== */
.storeSection {
    margin-top: 10px;
}

.storeSection__title {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 6px;
}

.storeSection__sub {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--muted);
    margin: 0 0 10px;
}

.note {
    color: #c46b79;
    font-size: 12px;
    font-weight: 400;
    margin: 10px 0;
}

.empty {
    color: rgba(48, 52, 58, .55);
    font-size: 13px;
    padding: 10px 0;
}

/* ===== Info list ===== */
.infoGrid {
    display: grid;
    gap: 0;
}

/* Info rows: icon + label + value を縦中央に揃える */
.infoItem {
    display: grid;
    grid-template-columns: 26px 72px 1fr;
    gap: 10px;

    padding: 12px 0;
    border-bottom: 1px solid rgba(48, 52, 58, .10);

    align-items: center;
    /* ★これがポイント（上寄りを解消） */
}

/* アイコンは中央配置（1行でも2行でも見た目安定） */
.infoItem__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    /* アイコンの縦基準を作る */
    color: rgba(48, 52, 58, .45);
    font-size: 18px;
    line-height: 1;
}

/* ラベルも中央揃え＆行間を整える */
.infoItem__label {
    display: flex;
    align-items: center;
    min-height: 22px;
    /* アイコンと揃う基準 */
    color: #707781;
    font-size: 12px;
    line-height: 1.4;
}

/* 値も中央揃え。複数行になったら自然に下に伸びる */
.infoItem__value {
    display: flex;
    align-items: center;
    min-height: 22px;
    font-size: 12.5px;
    line-height: 1.7;
    color: #3a3f46;
}

/* 値が複数行になるケース（住所＋リンク）は上から積む */
.infoItem__value>div {
    width: 100%;
}

.infoItem__value a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(48, 52, 58, .25);
}

/* 住所行だけ value を縦積みに（リンクが下に来る） */
.infoItem:first-child .infoItem__value {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: auto;
}

/* ===== Category tabs ===== */
.wfCatTabs {
    display: flex;
    gap: 18px;
    border-bottom: 1px solid rgba(48, 52, 58, .12);
    padding: 6px 0;
    overflow-x: auto;
}

.wfCatTabs__btn {
    border: 0;
    background: transparent;
    padding: 10px 0;
    font-size: 12.5px;
    font-weight: 400;
    color: #7c828b;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.wfCatTabs__btn.is-active {
    color: #3a3f46;
    border-bottom-color: rgba(191, 174, 154, .75);
}

/* ===== Menu group/title ===== */
.mg {
    margin-top: 14px;
}

.mg__title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3a3f46;
    letter-spacing: .02em;
    text-decoration: underline;
}

/* ===== Menu list (縦/枠なし) ===== */
.ml {
    display: grid;
    gap: 0;
    margin-top: 8px;
}

.mi {
    width: 100%;
    text-align: left;
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 10px;
    align-items: start;

    padding: 12px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.mi:active {
    transform: translateY(1px);
}

.mi__thumb {
    width: 62px;
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--soft);
}

.mi__name {
    font-size: 13px;
    font-weight: 400;
    color: #3a3f46;
    display: block;
}

.mi__desc {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: #7a7f87;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mi__price {
    font-size: 12.5px;
    font-weight: 400;
    color: #3a3f46;
    white-space: nowrap;
}

.yen {
    font-size: 12.5px;
}

.yen__u {
    font-size: 11px;
    color: #7a7f87;
    margin-left: 2px;
}

/* takeout chip */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 400;
    color: #a14b5a;
}

.chip--takeout {
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(161, 75, 90, .18);
    background: rgba(255, 245, 247, .70);
}

.chip i {
    font-size: 12px;
}

/* ===== Course card ===== */
.wfCourseCard {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(48, 52, 58, .10);
}

.wfCourseCard__media {
    width: 70px;
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--soft);
}

.wfCourseCard__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wfCourseCard__name {
    font-size: 13px;
    font-weight: 400;
    color: #3a3f46;
    margin-bottom: 8px;
}

.wfPills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.wfPill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--soft);
    border: 1px solid rgba(48, 52, 58, .10);
    font-size: 11px;
    font-weight: 400;
    color: #6d737c;
}

.wfPill--accent {
    background: rgba(191, 174, 154, .18);
    border-color: rgba(191, 174, 154, .25);
    color: #6a6259;
}

.wfCourseCard__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wfPrice {
    font-size: 12.5px;
    font-weight: 400;
    color: #3a3f46;
    white-space: nowrap;
}

.wfPrice__unit {
    font-size: 11px;
    color: #7a7f87;
    margin-left: 2px;
}

.wfCourseCard .wfBtn--soft{
  height:34px;
  border-radius:6px;
  font-size:12px;
  cursor: pointer;
}

.wfHero__cta{
  margin-top:12px;
  margin-bottom: 6px;
  display:grid;
  gap:10px;

  max-width:560px;   /* ★追加 */
  margin-left:auto;  /* ★追加 */
  margin-right:auto; /* ★追加 */
}


/* ===== Menu Modal (mm) ===== */
.mm {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 3000;
}

.mm.is-open {
    display: block;
}

.mm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 26, .32);
    z-index: 1;
}

.mm__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background: #fff;
    border-radius: 16px 16px 0 0;
    border-top: 1px solid rgba(48, 52, 58, .14);
    box-shadow: 0 -18px 40px rgba(0, 0, 0, .14);

    max-height: 85vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    z-index: 2;
}

.mm__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 12px 14px;
    border-bottom: 1px solid rgba(48, 52, 58, .10);
    background: rgba(250, 249, 248, .85);
}

.mm__title {
    font-size: 13px;
    font-weight: 400;
    color: #30343a;
}

.mm__close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(48, 52, 58, .12);
    background: #fff;
    cursor: pointer;
    color: rgba(48, 52, 58, .65);
}

.mm__body {
    padding: 14px;
    overflow: auto;
}

.mm__meta {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.mm__metaText {
    min-width: 0;
}

.mm__imgWrap {
    width: 84px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--soft);
}

.mm__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mm__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.mm__price {
    font-size: 12.5px;
    font-weight: 400;
    color: #30343a;
    margin-top: 6px;
}

.mm__desc {
    font-size: 12.5px;
    line-height: 1.75;
    color: rgba(48, 52, 58, .78);
    margin: 10px 0 12px;
    white-space: pre-line;
}

/* ===== Options (from menu_list.html data-opt) ===== */
.opt {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(48, 52, 58, .10);
}

.opt__title {
    font-size: 12.5px;
    font-weight: 400;
    color: #30343a;
    margin-bottom: 10px;
}

.optg {
    padding: 10px;
    border: 1px solid rgba(48, 52, 58, .10);
    border-radius: 8px;
    background: rgba(250, 249, 248, .70);
}

.optg+.optg {
    margin-top: 10px;
}

.optg__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.optg__name {
    font-size: 12.5px;
    font-weight: 600;
    color: #30343a;
}

.optg__meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pill {
    font-size: 11px;
    font-weight: 400;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(48, 52, 58, .10);
    background: var(--soft);
    color: rgba(48, 52, 58, .75);
}

.pill--req {
    background: rgba(191, 174, 154, .18);
    border-color: rgba(191, 174, 154, .25);
    color: #6a6259;
}

.optg__list {
    display: grid;
    gap: 8px;
}

.optc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px dashed rgba(48, 52, 58, .10);
}

.optg__list .optc:first-child {
    border-top: 0;
    padding-top: 0;
}

.optc__name {
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(48, 52, 58, .92);
}

.optc__price {
    font-size: 12px;
    font-weight: 400;
    color: rgba(48, 52, 58, .72);
    white-space: nowrap;
}

.optc__price--muted {
    color: rgba(48, 52, 58, .45);
}

/* desktop */
@media (min-width: 900px) {
    .mm__sheet {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        width: min(720px, calc(100% - 28px));
        border-radius: 16px;
        border: 1px solid rgba(48, 52, 58, .14);
        max-height: 80vh;
    }
}

/* responsive */
@media (max-width: 560px) {
    .infoItem {
        grid-template-columns: 26px 62px 1fr;
    }
}

/* ===== Course Modal (wfModal) ===== */
.wfModal {
    position: fixed;
    inset: 0;
    display: none;
    /* 通常は非表示 */
    z-index: 3200;
}

/* open時：menu.html側で style.display='block' にしてるなら必須ではないけど保険 */
.wfModal.is-open {
    display: block;
}

.wfModal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 26, .32);
    z-index: 1;
}

.wfModal__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background: #fff;
    border-radius: 16px 16px 0 0;
    border-top: 1px solid rgba(48, 52, 58, .14);
    box-shadow: 0 -18px 40px rgba(0, 0, 0, .14);

    max-height: 85vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    z-index: 2;
}

.wfModal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 12px 14px;
    border-bottom: 1px solid rgba(48, 52, 58, .10);
    background: rgba(250, 249, 248, .85);
}

.wfModal__title {
    font-size: 13px;
    font-weight: 400;
    color: #30343a;
}

.wfModal__close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(48, 52, 58, .12);
    background: #fff;
    cursor: pointer;
    color: rgba(48, 52, 58, .65);
}

.wfModal__body {
    padding: 14px;
    overflow: auto;
}

/* ===== dl inside modal ===== */
.wfDl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.wfDl__row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px;

    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(48, 52, 58, .10);
    background: rgba(250, 249, 248, .70);
}

.wfDl__row--block {
    grid-template-columns: 1fr;
}

.wfDl__dt {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: rgba(48, 52, 58, .70);
}

.wfDl__dd {
    margin: 0;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(48, 52, 58, .92);
}

/* desktop: center modal */
@media (min-width: 900px) {
    .wfModal__panel {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        width: min(720px, calc(100% - 28px));
        border-radius: 16px;
        border: 1px solid rgba(48, 52, 58, .14);
        max-height: 80vh;
        box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
    }
}