/* ==========================================================
 * 迷える羊のぐっすり案内所｜トップページ v2.4.2
 * CSSレイアウト＋イラスト素材版
 * 背景画像：FV / 「何に迷っていますか？」のみ
 * ========================================================== */

:root {
  --mh-paper: #fbf8f2;
  --mh-paper-2: #fffdf9;
  --mh-cream: #fff6df;
  --mh-lavender: #eef0fb;
  --mh-lavender-2: #e7eafb;
  --mh-blue: #eaf2fb;
  --mh-ink: #202943;
  --mh-ink-soft: #3b4665;
  --mh-muted: #697086;
  --mh-navy: #223a6d;
  --mh-navy-deep: #16284f;
  --mh-gold: #e9c66f;
  --mh-gold-soft: #f7e5b0;
  --mh-line: rgba(30, 43, 76, .12);
  --mh-shadow: 0 18px 48px rgba(26, 38, 76, .10);
  --mh-shell: 1320px;
  --mh-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --mh-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

html { scroll-behavior: smooth; }
body.mayohitsu-front-body { margin: 0 !important; background: var(--mh-paper); color: var(--mh-ink); }
body.mayohitsu-front-body #wpadminbar { z-index: 10020; }
.mayohitsu-front-body *, .mayohitsu-front-body *::before, .mayohitsu-front-body *::after { box-sizing: border-box; }
.mayohitsu-front-body img { display: block; max-width: 100%; height: auto; }
.mayohitsu-front-body a { text-decoration: none; }
.mayohitsu-skip-link { position: fixed; left: 12px; top: -70px; z-index: 10030; padding: 10px 14px; border-radius: 10px; background: #fff; color: #111; }
.mayohitsu-skip-link:focus { top: 12px; }
.mayohitsu-home { width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden; background: var(--mh-paper); color: var(--mh-ink); font-family: var(--mh-sans); }
.mayohitsu-shell { width: min(calc(100% - 48px), var(--mh-shell)); margin-inline: auto; }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Header */
.mayohitsu-front-header { position: sticky; top: 0; z-index: 1000; width: 100%; border-bottom: 1px solid var(--mh-line); background: rgba(255,252,247,.92); backdrop-filter: blur(12px); font-family: var(--mh-sans); }
.mayohitsu-front-header__inner { width: min(calc(100% - 48px), var(--mh-shell)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.mayohitsu-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--mh-ink) !important; }
.mayohitsu-brand__mark, .mayohitsu-brand__mark img { width: 58px; height: 58px; }
.mayohitsu-brand__mark img { object-fit: contain; }
.mayohitsu-brand__copy { display: grid; gap: 2px; }
.mayohitsu-brand__copy strong { font-family: var(--mh-serif); font-size: 24px; line-height: 1.15; letter-spacing: .04em; white-space: nowrap; }
.mayohitsu-brand__copy small { font-size: 11px; color: #73798c; letter-spacing: .07em; white-space: nowrap; }
.mayohitsu-front-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.2vw, 22px); }
.mayohitsu-front-nav a { position: relative; color: #3c4662 !important; font-size: 14px; font-weight: 700; white-space: nowrap; }
.mayohitsu-front-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -9px; height: 2px; background: var(--mh-gold); transition: left .2s ease, right .2s ease; }
.mayohitsu-front-nav a:hover::after, .mayohitsu-front-nav a:focus-visible::after { left: 0; right: 0; }
.mayohitsu-front-header__actions { display: flex; align-items: center; gap: 8px; }
.mayohitsu-icon-button, .mayohitsu-menu-button { appearance: none !important; flex: 0 0 46px; width: 46px !important; height: 46px !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--mh-line) !important; border-radius: 50% !important; background: #fff !important; color: var(--mh-ink) !important; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mayohitsu-icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mayohitsu-menu-button { display: none; position: relative; }
.mayohitsu-menu-button span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; background: currentColor; transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
.mayohitsu-menu-button span:nth-child(1) { transform: translate(-50%, -50%) translateY(-6px); }
.mayohitsu-menu-button span:nth-child(2) { transform: translate(-50%, -50%); }
.mayohitsu-menu-button span:nth-child(3) { transform: translate(-50%, -50%) translateY(6px); }
.mayohitsu-menu-button.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mayohitsu-menu-button.is-open span:nth-child(2) { opacity: 0; }
.mayohitsu-menu-button.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }
.mayohitsu-search-panel { position: absolute; right: max(24px, calc((100vw - var(--mh-shell))/2)); top: 76px; width: min(420px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--mh-line); border-radius: 18px; background: #fff; box-shadow: var(--mh-shadow); }
.mayohitsu-search-form label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.mayohitsu-search-form > div { display: flex; gap: 8px; }
.mayohitsu-search-form input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid #d7dbe5; border-radius: 11px; font: inherit; }
.mayohitsu-search-form button { border: 0; border-radius: 11px; padding: 0 18px; background: var(--mh-navy); color: #fff; font-weight: 700; cursor: pointer; }

/* Common */
.mayohitsu-section { position: relative; padding: clamp(66px, 7vw, 104px) 0; border-top: 1px solid rgba(30,43,76,.07); }
.mayohitsu-section-heading { max-width: 780px; }
.mayohitsu-section-heading--center { margin-inline: auto; text-align: center; }
.mayohitsu-section-heading h2, .mayohitsu-heading h2, .mayohitsu-about h2 { margin: 0; color: var(--mh-ink); font-family: var(--mh-serif); font-size: clamp(34px, 3vw, 48px); line-height: 1.25; letter-spacing: .04em; font-weight: 700; }
.mayohitsu-section-heading p, .mayohitsu-heading p { margin: 12px 0 0; color: var(--mh-muted); font-size: 15px; line-height: 1.85; }
.mayohitsu-heading--center { text-align: center; }
.mayohitsu-kicker { margin: 0 0 8px !important; color: #7080a4 !important; font-size: 11px !important; line-height: 1.4 !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mayohitsu-section__glow { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }

/* Hero */
.mayohitsu-hero { position: relative; color: #fff; isolation: isolate; background: linear-gradient(90deg, rgba(16,29,61,.84) 0%, rgba(16,29,61,.62) 38%, rgba(16,29,61,.13) 68%, rgba(16,29,61,0) 100%), var(--mh-hero-bg) center center / cover no-repeat; }
.mayohitsu-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,38,.05), rgba(8,16,38,.18)); }
.mayohitsu-hero__inner { min-height: clamp(620px, 53vw, 820px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); align-items: center; gap: clamp(24px, 4vw, 70px); padding: 42px 0 46px; }
.mayohitsu-hero__copy { position: relative; z-index: 4; min-width: 0; }
.mayohitsu-eyebrow { margin: 0 0 18px; color: #f7df9d; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.mayohitsu-hero__title { margin: 0; font-family: var(--mh-serif); font-weight: 600; font-size: clamp(40px, 4.35vw, 68px); line-height: 1.34; letter-spacing: .045em; text-shadow: 0 5px 24px rgba(6,14,36,.28); }
.mayohitsu-hero__title span { display: block; white-space: nowrap; }
.mayohitsu-hero__lead { margin: 24px 0 0; color: rgba(255,255,255,.94); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.95; letter-spacing: .04em; }
.mayohitsu-hero__lead span { display: block; }
.mayohitsu-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mayohitsu-home a.mayohitsu-button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1 !important; box-shadow: 0 12px 28px rgba(6,14,36,.18); transition: transform .2s ease, box-shadow .2s ease; }
.mayohitsu-home a.mayohitsu-button:hover, .mayohitsu-home a.mayohitsu-button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(6,14,36,.24); }
.mayohitsu-home a.mayohitsu-button--light { background: rgba(255,255,255,.96) !important; color: #20325a !important; border: 1px solid rgba(255,255,255,.96) !important; }
.mayohitsu-home a.mayohitsu-button--gold { background: linear-gradient(180deg, #f7df98, #efc665) !important; color: #263250 !important; border: 1px solid #f7dfa0 !important; }
.mayohitsu-hero__visual { position: relative; align-self: end; justify-self: end; width: min(100%, 560px); }
.mayohitsu-hero__character-wrap { position: relative; animation: mh-float 6s ease-in-out infinite; filter: drop-shadow(0 28px 42px rgba(7,14,36,.24)); }
.mayohitsu-hero__character-wrap::after { content: ""; position: absolute; z-index: -1; left: 8%; bottom: 13%; width: 35%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,216,116,.58), rgba(255,200,77,.18) 48%, transparent 72%); filter: blur(9px); animation: mh-lantern 4.2s ease-in-out infinite; }
.mayohitsu-hero__handwriting { position: absolute; left: -18%; top: 36%; margin: 0; color: #fff0c7; font-family: var(--mh-serif); font-size: clamp(17px, 1.55vw, 25px); line-height: 1.6; letter-spacing: .14em; transform: rotate(-6deg); text-shadow: 0 2px 10px rgba(9,19,42,.25); }
.mayohitsu-hero__moon-glow { position: absolute; z-index: 1; left: 53%; top: 3%; width: 19vw; max-width: 330px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,244,190,.28), rgba(255,244,190,.07) 42%, transparent 70%); filter: blur(5px); animation: mh-moon 5.5s ease-in-out infinite; pointer-events: none; }
.mayohitsu-hero__twinkle { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .72; background-image: radial-gradient(circle at 8% 18%, #fff 0 1px, transparent 2px), radial-gradient(circle at 22% 8%, #ffe9a3 0 1.5px, transparent 2.5px), radial-gradient(circle at 36% 29%, #fff 0 1px, transparent 2px), radial-gradient(circle at 49% 16%, #ffe6a6 0 1.5px, transparent 2.5px), radial-gradient(circle at 58% 9%, #fff 0 1px, transparent 2px), radial-gradient(circle at 67% 26%, #ffe6a6 0 1.5px, transparent 2.5px), radial-gradient(circle at 81% 15%, #fff 0 1px, transparent 2px), radial-gradient(circle at 90% 8%, #ffe9a3 0 1.5px, transparent 2.5px), radial-gradient(circle at 77% 35%, #fff 0 1px, transparent 2px), radial-gradient(circle at 18% 31%, #fff 0 1px, transparent 2px); animation: mh-twinkle 4.5s ease-in-out infinite; }
.mayohitsu-hero__shooting { position: absolute; z-index: 2; width: 160px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,253,235,.9), rgba(255,255,255,0)); box-shadow: 0 0 16px rgba(255,250,205,.7); opacity: 0; pointer-events: none; }
.mayohitsu-hero__shooting--one { top: 14%; left: 58%; animation: mh-shoot 17s linear infinite; }
.mayohitsu-hero__shooting--two { top: 22%; left: 69%; animation: mh-shoot 21s linear infinite 6s; }
.mayohitsu-opening-gap { height: clamp(28px, 4vw, 58px); background: var(--mh-paper); }

/* What are you lost about? — keep image-background approach */
.mayohitsu-start { padding: clamp(34px, 4.5vw, 64px) 0; background: linear-gradient(rgba(245,246,255,.08), rgba(245,246,255,.08)), var(--mh-worries-bg) center / cover no-repeat; border-top: 1px solid rgba(46,61,100,.08); border-bottom: 1px solid rgba(46,61,100,.10); }
.mayohitsu-start__inner { position: relative; }
.mayohitsu-start-row { position: relative; margin-top: 24px; padding-right: clamp(130px, 13vw, 185px); }
.mayohitsu-start-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.mayohitsu-start-card { display: grid; gap: 11px; justify-items: center; text-align: center; color: var(--mh-ink) !important; }
.mayohitsu-start-card__image { width: clamp(104px, 9vw, 142px); transition: transform .2s ease; }
.mayohitsu-start-card__image img { width: 100%; border-radius: 50%; box-shadow: 0 10px 24px rgba(40,52,92,.10); }
.mayohitsu-start-card:hover .mayohitsu-start-card__image { transform: translateY(-3px); }
.mayohitsu-start-card__label { display: grid; gap: 2px; color: #29324d; font-size: clamp(13px, 1.15vw, 15px); line-height: 1.5; font-weight: 700; }
.mayohitsu-start-guide { position: absolute; right: 0; bottom: -14px; width: clamp(128px, 12vw, 170px); }

/* Filter — CSS only background */
.mayohitsu-filter { background: linear-gradient(180deg, #eef0fb 0%, #f8f6f2 100%); }
.mayohitsu-filter::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 8% 17%, rgba(237,201,111,.7) 0 1.5px, transparent 2.5px), radial-gradient(circle at 86% 13%, rgba(255,255,255,.95) 0 1.5px, transparent 2.5px), radial-gradient(circle at 74% 75%, rgba(237,201,111,.5) 0 1px, transparent 2px); opacity: .7; }
.mayohitsu-section__glow--one { width: 280px; height: 280px; right: -90px; top: 50px; background: radial-gradient(circle, rgba(255,225,143,.32), transparent 68%); }
.mayohitsu-section__glow--two { width: 340px; height: 340px; left: -120px; bottom: -80px; background: radial-gradient(circle, rgba(182,196,244,.35), transparent 68%); }
.mayohitsu-filter__intro { position: relative; z-index: 1; display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 24px; width: min(100%, 1180px); margin: 0 auto 28px; }
.mayohitsu-filter__guide img { width: 116px; margin: 0 auto; filter: drop-shadow(0 10px 20px rgba(31,43,77,.12)); }
.mayohitsu-filter-card { position: relative; z-index: 1; width: min(100%, 1260px); margin: 0 auto; padding: clamp(26px, 3.5vw, 46px); border: 1px solid rgba(31,43,77,.09); border-radius: 30px; background: rgba(255,255,255,.88); box-shadow: var(--mh-shadow); }
.mayohitsu-filter-form { display: grid; gap: 18px; }
.mayohitsu-filter-group { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px dashed rgba(45,61,100,.13); }
.mayohitsu-filter-group:last-child { padding-bottom: 0; border-bottom: 0; }
.mayohitsu-filter-group__label { margin: 4px 0 0; padding: 9px 12px; border-radius: 999px; background: #e8ebf9; color: #2e3e6b; text-align: center; font-size: 14px; line-height: 1.2; font-weight: 800; }
.mayohitsu-filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mayohitsu-filter-chip { position: relative; }
.mayohitsu-filter-chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.mayohitsu-filter-chip span { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(31,43,77,.11); border-radius: 999px; background: #fff; color: #2e3a5b; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.mayohitsu-filter-chip span:hover { transform: translateY(-1px); box-shadow: 0 7px 14px rgba(31,43,77,.08); }
.mayohitsu-filter-chip input:checked + span { border-color: #334f8b; background: #334f8b; color: #fff; box-shadow: 0 8px 18px rgba(51,79,139,.20); }
.mayohitsu-filter__action { display: grid; gap: 14px; justify-items: center; margin-top: 26px; }
.mayohitsu-filter__selection { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; color: #4a5675; }
.mayohitsu-filter__selection p { margin: 0; }
.mayohitsu-filter-reset { appearance: none; border: 0; background: transparent; color: #44557c; font-weight: 700; text-decoration: underline; cursor: pointer; }
.mayohitsu-filter-submit { appearance: none; min-width: min(100%, 420px); min-height: 58px; padding: 0 30px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f2d47f, #e4b956); color: #243154; font-size: 18px; font-weight: 800; box-shadow: 0 14px 28px rgba(222,180,79,.24); cursor: pointer; }
.mayohitsu-filter-results { margin-top: 26px; padding: 20px; border-radius: 22px; background: #f8f9fd; }
.mayohitsu-filter-results__status { margin: 0 0 14px; color: var(--mh-muted); font-size: 14px; }
.mayohitsu-filter-results__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }

/* Product — CSS only */
.mayohitsu-products { background: #fffaf0; }
.mayohitsu-products::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 15%, rgba(245,213,137,.18), transparent 18%), radial-gradient(circle at 88% 78%, rgba(181,202,235,.18), transparent 20%); }
.mayohitsu-products .mayohitsu-shell { position: relative; z-index: 1; }
.mayohitsu-product-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.mayohitsu-product-card { min-height: 152px; padding: 22px; border: 1px solid rgba(42,55,90,.09); border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 12px 28px rgba(37,48,82,.07); color: var(--mh-ink) !important; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.mayohitsu-product-card.is-featured { grid-column: span 2; min-height: 190px; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,239,220,.9)); }
.mayohitsu-product-card:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(37,48,82,.11); }
.mayohitsu-product-card strong { font-family: var(--mh-serif); font-size: clamp(21px, 1.8vw, 28px); line-height: 1.35; }
.mayohitsu-product-card > span:last-child { align-self: flex-start; color: #53617f; font-size: 13px; font-weight: 700; }
.mayohitsu-product-card__ornament { position: relative; width: 58px; height: 40px; }
.mayohitsu-product-card__ornament i { position: absolute; display: block; border-radius: 50%; }
.mayohitsu-product-card__ornament i:nth-child(1) { width: 34px; height: 34px; left: 0; top: 0; background: linear-gradient(145deg, #d8e0f4, #bcc9e7); }
.mayohitsu-product-card__ornament i:nth-child(1)::after { content: ""; position: absolute; width: 28px; height: 28px; left: -4px; top: -5px; border-radius: 50%; background: rgba(255,255,255,.9); }
.mayohitsu-product-card__ornament i:nth-child(2), .mayohitsu-product-card__ornament i:nth-child(3) { width: 5px; height: 5px; background: #e8c66f; }
.mayohitsu-product-card__ornament i:nth-child(2) { left: 42px; top: 6px; }
.mayohitsu-product-card__ornament i:nth-child(3) { left: 49px; top: 23px; }

/* Concerns — CSS background + ordinary illustration image */
.mayohitsu-concerns { background: linear-gradient(180deg, #edf0fb 0%, #e8edf8 100%); }
.mayohitsu-concerns__grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.mayohitsu-concern-clouds { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.mayohitsu-concern-cloud { position: relative; min-height: 62px; padding: 18px 22px; border: 1px solid rgba(42,55,90,.08); border-radius: 30px 30px 30px 12px; background: rgba(255,255,255,.91); box-shadow: 0 9px 22px rgba(38,49,82,.07); color: #2d3858 !important; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 800; line-height: 1.45; transition: transform .2s ease, box-shadow .2s ease; }
.mayohitsu-concern-cloud::after { content: ""; position: absolute; left: 18px; bottom: -8px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.91); }
.mayohitsu-concern-cloud.is-large { min-height: 78px; grid-column: span 1; font-size: 16px; background: #fffaf0; }
.mayohitsu-concern-cloud:hover { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(38,49,82,.11); }
.mayohitsu-illustration-card { overflow: hidden; border: 1px solid rgba(35,49,82,.10); border-radius: 30px; background: #fff; box-shadow: var(--mh-shadow); }
.mayohitsu-illustration-card img { width: 100%; height: auto; object-fit: contain; }

/* Priorities — CSS only */
.mayohitsu-priorities { background: #fffdf8; }
.mayohitsu-priority-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.mayohitsu-priority-panel { padding: 26px; border: 1px solid rgba(42,55,90,.09); border-radius: 26px; background: #fff; box-shadow: 0 12px 30px rgba(37,48,82,.06); }
.mayohitsu-priority-panel--1 { background: linear-gradient(145deg, #fffaf0, #fff); }
.mayohitsu-priority-panel--2 { background: linear-gradient(145deg, #f2f5fd, #fff); }
.mayohitsu-priority-panel--3 { background: linear-gradient(145deg, #f4f8f3, #fff); }
.mayohitsu-priority-panel--4 { background: linear-gradient(145deg, #f8f2f8, #fff); }
.mayohitsu-priority-panel__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.mayohitsu-priority-panel__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(145deg, #2e477e, #637cb4); box-shadow: inset 0 0 0 6px rgba(255,255,255,.16); }
.mayohitsu-priority-panel__icon::after { content: "✓"; display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 22px; font-weight: 800; }
.mayohitsu-priority-panel h3 { margin: 0; color: var(--mh-ink); font-family: var(--mh-serif); font-size: 24px; }
.mayohitsu-priority-panel__head p { margin: 4px 0 0; color: var(--mh-muted); font-size: 13px; }
.mayohitsu-priority-links { display: flex; flex-wrap: wrap; gap: 9px; }
.mayohitsu-priority-links a { min-height: 40px; padding: 0 14px; border: 1px solid rgba(42,55,90,.10); border-radius: 999px; background: rgba(255,255,255,.88); color: #33405f !important; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; }

/* Living — CSS only */
.mayohitsu-living { background: linear-gradient(180deg, #f3f0ea 0%, #f9f6f0 100%); }
.mayohitsu-living .mayohitsu-section-heading { margin-bottom: 32px; }
.mayohitsu-window-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.mayohitsu-window-card { min-height: 170px; padding: 20px; border: 1px solid rgba(54,59,70,.09); border-radius: 24px 24px 14px 14px; background: rgba(255,255,255,.78); color: #30394f !important; display: grid; align-content: space-between; gap: 18px; box-shadow: 0 10px 26px rgba(61,59,53,.06); transition: transform .2s ease, box-shadow .2s ease; }
.mayohitsu-window-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(61,59,53,.10); }
.mayohitsu-window-card__window { position: relative; width: 74px; height: 64px; border: 6px solid #5b6683; border-radius: 36px 36px 6px 6px; overflow: hidden; background: linear-gradient(180deg, #647ab0, #263a6a 72%, #f2d387 73%, #f2d387 100%); }
.mayohitsu-window-card__window::before, .mayohitsu-window-card__window::after { content: ""; position: absolute; background: rgba(255,255,255,.72); }
.mayohitsu-window-card__window::before { width: 4px; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); }
.mayohitsu-window-card__window::after { height: 4px; left: 0; right: 0; top: 48%; }
.mayohitsu-window-card__window i:first-child { position: absolute; width: 14px; height: 14px; right: 10px; top: 10px; border-radius: 50%; background: #f6dda0; box-shadow: 0 0 12px rgba(246,221,160,.7); }
.mayohitsu-window-card strong { font-family: var(--mh-serif); font-size: 20px; line-height: 1.4; }

/* Sleep style — CSS background + ordinary illustration image */
.mayohitsu-sleep-style { background: linear-gradient(180deg, #263e73 0%, #1d315f 100%); color: #fff; }
.mayohitsu-sleep-style::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 2px), radial-gradient(circle at 84% 14%, #f5dd99 0 1.5px, transparent 2.5px), radial-gradient(circle at 74% 82%, #fff 0 1px, transparent 2px), radial-gradient(circle at 23% 73%, #f5dd99 0 1.5px, transparent 2.5px); opacity: .5; }
.mayohitsu-sleep-style__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.mayohitsu-sleep-style .mayohitsu-section-heading h2 { color: #fff; }
.mayohitsu-sleep-style .mayohitsu-section-heading p { color: rgba(255,255,255,.78); }
.mayohitsu-sleep-style .mayohitsu-kicker { color: #f0d588 !important; }
.mayohitsu-sleep-style__illustration { border-color: rgba(255,255,255,.18); box-shadow: 0 20px 46px rgba(4,11,28,.28); }
.mayohitsu-sleep-links { display: grid; gap: 12px; margin-top: 28px; }
.mayohitsu-sleep-links a { min-height: 64px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: rgba(255,255,255,.10); color: #fff !important; display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: 12px; backdrop-filter: blur(5px); transition: background .2s ease, transform .2s ease; }
.mayohitsu-sleep-links a:hover { background: rgba(255,255,255,.16); transform: translateX(3px); }
.mayohitsu-sleep-links a > span { width: 34px; height: 34px; border-radius: 50%; background: rgba(244,216,135,.18); color: #f4d887; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.mayohitsu-sleep-links a strong { font-size: 16px; }
.mayohitsu-sleep-links a b { font-size: 20px; font-weight: 400; }

/* Latest articles — CSS only */
.mayohitsu-articles { background: linear-gradient(180deg, #eef0fb 0%, #f7f7fb 100%); }
.mayohitsu-articles__stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 8% 17%, #e2bd5f 0 1.3px, transparent 2.3px), radial-gradient(circle at 82% 12%, #fff 0 1.5px, transparent 2.5px), radial-gradient(circle at 91% 68%, #d7b150 0 1px, transparent 2px), radial-gradient(circle at 21% 82%, #fff 0 1.4px, transparent 2.4px); opacity: .65; }
.mayohitsu-articles .mayohitsu-shell { position: relative; z-index: 1; }
.mayohitsu-articles__board { margin-top: 30px; padding: clamp(20px, 3vw, 34px); border: 1px solid rgba(31,43,77,.09); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: var(--mh-shadow); }
.mayohitsu-articles__top { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.mayohitsu-more-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(31,43,77,.11); border-radius: 999px; background: #fff; color: #2d3a5c !important; font-size: 13px; font-weight: 800; }
.mayohitsu-article-tabs__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.mayohitsu-article-tab { appearance: none; min-height: 42px; padding: 0 18px; border: 1px solid rgba(31,43,77,.10); border-radius: 999px; background: #fff; color: #34405f; font-size: 14px; font-weight: 800; cursor: pointer; }
.mayohitsu-article-tab.is-active { border-color: #2b4479; background: #2b4479; color: #fff; }
.mayohitsu-article-panel[hidden] { display: none; }
.mayohitsu-article-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.mayohitsu-article-card { overflow: hidden; border: 1px solid rgba(30,43,76,.08); border-radius: 20px; background: #fff; box-shadow: 0 10px 25px rgba(31,43,77,.07); }
.mayohitsu-article-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1fa; }
.mayohitsu-article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mayohitsu-article-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; color: #8994ae; font-size: 34px; }
.mayohitsu-article-card__body { padding: 15px 16px 18px; }
.mayohitsu-article-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mayohitsu-article-card__category, .mayohitsu-article-card__type { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mayohitsu-article-card__category { background: #eaf0ff; color: #38508e; }
.mayohitsu-article-card__type { background: #f7edd0; color: #745821; }
.mayohitsu-article-card__title { margin: 0; font-size: 16px; line-height: 1.65; }
.mayohitsu-article-card__title a { color: var(--mh-ink) !important; }
.mayohitsu-article-card__date { display: block; margin-top: 11px; color: var(--mh-muted); font-size: 12px; }

/* About — CSS only */
.mayohitsu-about { overflow: hidden; background: linear-gradient(180deg, #203767 0%, #14274d 100%); color: #fff; border-top: 0; }
.mayohitsu-about__stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 10% 20%, #fff 0 1px, transparent 2px), radial-gradient(circle at 25% 9%, #f4d887 0 1.5px, transparent 2.5px), radial-gradient(circle at 56% 14%, #fff 0 1px, transparent 2px), radial-gradient(circle at 78% 25%, #f4d887 0 1.3px, transparent 2.3px), radial-gradient(circle at 89% 8%, #fff 0 1px, transparent 2px); opacity: .62; }
.mayohitsu-about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(210px,280px) minmax(0,650px) minmax(190px,1fr); gap: clamp(24px,4vw,54px); align-items: center; }
.mayohitsu-about__character { max-width: 250px; justify-self: center; }
.mayohitsu-about__copy .mayohitsu-kicker { color: #efd58b !important; }
.mayohitsu-about__copy h2 { color: #fff; font-size: clamp(30px,2.5vw,40px); white-space: nowrap; }
.mayohitsu-about__copy p { margin: 14px 0 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.95; }
.mayohitsu-about__link { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; margin-top: 22px; padding: 0 22px; border-radius: 999px; background: rgba(255,255,255,.92); color: #23345d !important; font-size: 14px; font-weight: 800; }
.mayohitsu-about__quote { margin: 0; justify-self: end; color: #f0d78e; font-family: var(--mh-serif); font-size: clamp(24px, 2.1vw, 34px); line-height: 1.8; letter-spacing: .10em; text-align: center; }

/* Footer */
.mayohitsu-front-footer { background: #10213f; color: #fff; }
.mayohitsu-front-footer__inner { width: min(calc(100% - 48px), var(--mh-shell)); min-height: 116px; margin: 0 auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mayohitsu-footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; }
.mayohitsu-footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.mayohitsu-footer-brand strong { display: block; font-family: var(--mh-serif); font-size: 22px; letter-spacing: .04em; }
.mayohitsu-footer-brand small { display: block; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .06em; }
.mayohitsu-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.mayohitsu-footer-links a { color: rgba(255,255,255,.90) !important; font-size: 14px; font-weight: 700; }
.mayohitsu-copyright { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; }

@keyframes mh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mh-lantern { 0%,100% { transform: scale(1); opacity: .84; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes mh-moon { 0%,100% { transform: scale(1); opacity: .80; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes mh-twinkle { 0%,100% { opacity: .48; } 50% { opacity: .86; } }
@keyframes mh-shoot { 0%,70%,100% { opacity: 0; transform: translate(0,0) rotate(-18deg); } 72% { opacity: .92; } 82% { opacity: .92; transform: translate(180px,88px) rotate(-18deg); } 84% { opacity: 0; transform: translate(210px,104px) rotate(-18deg); } }
@keyframes mh-emphasize { 0%,100% { transform: none; } 40% { transform: translateX(4px); } }
.mayohitsu-filter-group.is-emphasized { animation: mh-emphasize 1.1s ease; }

/* Responsive: core layout stays in normal flow */
@media (max-width: 1220px) {
  .mayohitsu-front-nav { display: none; }
  .mayohitsu-menu-button { display: flex; }
  .mayohitsu-front-nav.is-open { display: grid; position: absolute; left: 24px; right: 24px; top: 86px; padding: 18px; border: 1px solid var(--mh-line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--mh-shadow); gap: 12px; }
  .mayohitsu-front-nav.is-open a { font-size: 15px; }
  .mayohitsu-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mayohitsu-product-card.is-featured { grid-column: span 1; }
  .mayohitsu-window-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mayohitsu-article-grid, .mayohitsu-filter-results__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mayohitsu-about__grid { grid-template-columns: 220px minmax(0,1fr); }
  .mayohitsu-about__quote { grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 980px) {
  .mayohitsu-shell, .mayohitsu-front-header__inner, .mayohitsu-front-footer__inner { width: min(calc(100% - 32px), var(--mh-shell)); }
  .mayohitsu-brand__copy strong { font-size: 21px; }
  .mayohitsu-hero__inner { grid-template-columns: minmax(0,1fr) minmax(260px,.58fr); gap: 18px; min-height: 620px; }
  .mayohitsu-hero__title { font-size: clamp(34px, 4.5vw, 46px); }
  .mayohitsu-hero__handwriting { display: none; }
  .mayohitsu-start-row { padding-right: 0; }
  .mayohitsu-start-grid { grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 760px; margin-inline: auto; }
  .mayohitsu-start-guide { position: relative; width: 150px; margin: 18px auto -20px; }
  .mayohitsu-filter__intro { grid-template-columns: 96px minmax(0,1fr); }
  .mayohitsu-filter__guide img { width: 92px; }
  .mayohitsu-filter-group { grid-template-columns: 1fr; gap: 10px; }
  .mayohitsu-filter-group__label { justify-self: start; margin-top: 0; }
  .mayohitsu-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mayohitsu-concerns__grid, .mayohitsu-sleep-style__grid { grid-template-columns: 1fr; }
  .mayohitsu-concerns__illustration { width: min(100%, 680px); margin: 0 auto; }
  .mayohitsu-priority-grid { grid-template-columns: 1fr; }
  .mayohitsu-window-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mayohitsu-sleep-style__illustration { width: min(100%, 720px); margin: 0 auto; }
  .mayohitsu-about__grid { grid-template-columns: 1fr; text-align: center; }
  .mayohitsu-about__copy h2 { white-space: normal; }
  .mayohitsu-about__link { margin-inline: auto; }
}

@media (max-width: 680px) {
  .mayohitsu-front-header__inner { min-height: 78px; gap: 12px; }
  .mayohitsu-brand__mark, .mayohitsu-brand__mark img { width: 44px; height: 44px; }
  .mayohitsu-brand__copy strong { font-size: 16px; }
  .mayohitsu-brand__copy small { font-size: 9px; }
  .mayohitsu-icon-button, .mayohitsu-menu-button { flex-basis: 42px; width: 42px !important; height: 42px !important; }
  .mayohitsu-front-nav.is-open { top: 80px; }
  .mayohitsu-section { padding: 54px 0; }
  .mayohitsu-section-heading h2, .mayohitsu-heading h2 { font-size: 29px; }
  .mayohitsu-section-heading p, .mayohitsu-heading p { font-size: 14px; }
  .mayohitsu-hero { background-position: 60% center; }
  .mayohitsu-hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 28px 0 18px; }
  .mayohitsu-hero__copy { max-width: 100%; }
  .mayohitsu-hero__title { font-size: clamp(22px, 7.2vw, 34px); line-height: 1.46; letter-spacing: .02em; }
  .mayohitsu-hero__title span { white-space: nowrap; }
  .mayohitsu-hero__lead { font-size: 14px; line-height: 1.8; }
  .mayohitsu-home a.mayohitsu-button { min-height: 46px; padding-inline: 16px; font-size: 13px; }
  .mayohitsu-hero__visual { width: min(74%, 300px); justify-self: end; margin-top: -16px; }
  .mayohitsu-opening-gap { height: 28px; }
  .mayohitsu-start { padding: 34px 0; background-position: center; }
  .mayohitsu-start-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 10px; }
  .mayohitsu-start-card__image { width: 106px; }
  .mayohitsu-start-card__label { font-size: 13px; }
  .mayohitsu-filter__intro { grid-template-columns: 1fr; text-align: center; }
  .mayohitsu-filter__guide img { width: 96px; }
  .mayohitsu-filter__intro .mayohitsu-section-heading { margin-inline: auto; }
  .mayohitsu-filter-card { padding: 22px 16px; border-radius: 22px; }
  .mayohitsu-filter-chips { gap: 8px; }
  .mayohitsu-filter-chip span { min-height: 38px; padding: 0 13px; font-size: 13px; }
  .mayohitsu-filter-submit { min-height: 52px; font-size: 16px; }
  .mayohitsu-filter-results { padding: 14px; }
  .mayohitsu-filter-results__grid, .mayohitsu-article-grid { grid-template-columns: 1fr; }
  .mayohitsu-product-grid { grid-template-columns: 1fr; }
  .mayohitsu-product-card, .mayohitsu-product-card.is-featured { min-height: 138px; }
  .mayohitsu-concern-clouds { grid-template-columns: 1fr; }
  .mayohitsu-concern-cloud.is-large { min-height: 68px; }
  .mayohitsu-priority-panel { padding: 20px 16px; }
  .mayohitsu-window-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mayohitsu-window-card { min-height: 142px; padding: 16px; }
  .mayohitsu-window-card__window { width: 62px; height: 54px; }
  .mayohitsu-window-card strong { font-size: 16px; }
  .mayohitsu-sleep-links a { min-height: 58px; }
  .mayohitsu-articles__board { padding: 16px 13px; border-radius: 22px; }
  .mayohitsu-articles__top { justify-content: flex-start; }
  .mayohitsu-about__copy h2 { font-size: 28px; }
  .mayohitsu-about__quote { font-size: 23px; }
  .mayohitsu-front-footer__inner { justify-content: center; text-align: center; }
  .mayohitsu-footer-links { justify-content: center; gap: 12px 16px; }
}

@media (max-width: 420px) {
  .mayohitsu-brand__copy small { display: none; }
  .mayohitsu-brand__copy strong { font-size: 15px; }
  .mayohitsu-start-grid { gap: 14px 6px; }
  .mayohitsu-start-card__image { width: 92px; }
  .mayohitsu-window-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mayohitsu-hero__character-wrap, .mayohitsu-hero__character-wrap::after, .mayohitsu-hero__moon-glow, .mayohitsu-hero__twinkle, .mayohitsu-hero__shooting { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

body.admin-bar .mayohitsu-front-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .mayohitsu-front-header { top: 46px; } }

/* ==========================================================
 * v2.4.2 finishing adjustments
 * ========================================================== */

/* Header navigation: site-oriented dropdowns instead of in-page anchor menu */
.mayohitsu-front-nav { gap: clamp(16px, 1.5vw, 28px); }
.mayohitsu-front-nav > a,
.mayohitsu-nav-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #3c4662 !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.mayohitsu-nav-dropdown > summary::-webkit-details-marker { display: none; }
.mayohitsu-nav-dropdown > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.mayohitsu-nav-dropdown[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.mayohitsu-nav-dropdown { position: relative; }
.mayohitsu-mega-menu {
  position: absolute;
  z-index: 1005;
  top: calc(100% + 10px);
  left: 50%;
  width: min(920px, calc(100vw - 48px));
  padding: 24px;
  border: 1px solid var(--mh-line);
  border-radius: 22px;
  background: rgba(255,253,249,.98);
  box-shadow: 0 22px 56px rgba(24,35,68,.18);
  transform: translateX(-50%);
}
.mayohitsu-nav-dropdown--conditions .mayohitsu-mega-menu { width: min(1080px, calc(100vw - 48px)); }
.mayohitsu-mega-menu__title { margin: 0 0 16px; color: #5d6988; font-size: 12px; font-weight: 800; letter-spacing: .10em; }
.mayohitsu-mega-menu__category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 18px; }
.mayohitsu-mega-menu__category-grid a,
.mayohitsu-mega-menu__links a {
  position: static !important;
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: #33405f !important;
  font-size: 13px;
  line-height: 1.45;
}
.mayohitsu-mega-menu__category-grid a:hover,
.mayohitsu-mega-menu__links a:hover { background: #f0f2fb; }
.mayohitsu-mega-menu__category-grid a::after,
.mayohitsu-mega-menu__links a::after { display: none !important; }
.mayohitsu-mega-menu--conditions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; max-height: min(68vh, 560px); overflow: auto; }
.mayohitsu-mega-menu__column > strong { display: block; margin-bottom: 10px; color: #22365f; font-family: var(--mh-serif); font-size: 16px; }
.mayohitsu-mega-menu__links { display: grid; gap: 3px; }

/* Hero: keep handwritten copy entirely inside visual column */
.mayohitsu-hero__handwriting {
  left: auto;
  right: 2%;
  top: auto;
  bottom: 11%;
  text-align: right;
  font-size: clamp(15px, 1.35vw, 22px);
  transform: rotate(-5deg);
}

/* Make the transition from start panel to filter unmistakable */
.mayohitsu-start + .mayohitsu-filter {
  margin-top: clamp(14px, 1.5vw, 22px);
  border-top: 1px solid rgba(30,43,76,.10);
}
.mayohitsu-start + .mayohitsu-filter::after {
  content: "";
  position: absolute;
  top: calc(clamp(14px, 1.5vw, 22px) * -0.52);
  left: 50%;
  width: min(380px, 36vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(68,83,126,.28), transparent);
  transform: translateX(-50%);
}

/* Product cards: actual illustration icons rather than abstract ornament */
.mayohitsu-product-card { min-height: 178px; }
.mayohitsu-product-card.is-featured { min-height: 218px; }
.mayohitsu-product-card__visual {
  width: 94px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #f1f4fc, #fff8e8);
  color: #52658e;
}
.mayohitsu-product-card.is-featured .mayohitsu-product-card__visual { width: 118px; height: 84px; }
.mayohitsu-product-card__visual svg { width: 82%; height: 82%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Decorative Mayohitsu guide: never participates in core layout */
.mayohitsu-products .mayohitsu-shell,
.mayohitsu-priorities .mayohitsu-shell,
.mayohitsu-living .mayohitsu-shell,
.mayohitsu-articles .mayohitsu-shell { position: relative; z-index: 1; }
.mayohitsu-side-guide {
  position: absolute;
  z-index: 2;
  top: 18px;
  width: 164px;
  pointer-events: none;
}
.mayohitsu-side-guide--right { right: -24px; }
.mayohitsu-side-guide--left { left: -24px; }
.mayohitsu-side-guide img {
  width: 112px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(35,47,78,.12));
}
.mayohitsu-side-guide span {
  position: absolute;
  top: 4px;
  min-width: 190px;
  max-width: 220px;
  padding: 13px 15px;
  border: 1px solid rgba(44,58,94,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 26px rgba(35,47,78,.10);
  color: #3f4d6d;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}
.mayohitsu-side-guide--right span { right: 126px; }
.mayohitsu-side-guide--left span { left: 126px; }
.mayohitsu-side-guide--living { top: 2px; }
.mayohitsu-side-guide--articles { top: 4px; }

/* Concerns: square/portrait visual that remains fully visible */
.mayohitsu-concerns__grid { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); }
.mayohitsu-concerns__illustration { width: min(100%, 520px); justify-self: end; border-radius: 34px; background: #fffdf8; }
.mayohitsu-concerns__illustration img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }

/* Latest articles: no large enclosing board */
.mayohitsu-articles__content { margin-top: 30px; }
.mayohitsu-articles__top { margin-bottom: 18px; }
.mayohitsu-articles__board { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.mayohitsu-article-tabs { position: relative; }

/* About CTA intentionally removed in v2.4.2 */
.mayohitsu-about__link { display: none !important; }

@media (max-width: 1220px) {
  .mayohitsu-mega-menu,
  .mayohitsu-nav-dropdown--conditions .mayohitsu-mega-menu {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 8px;
    padding: 14px;
    transform: none;
    box-shadow: none;
    background: #f8f9fd;
  }
  .mayohitsu-front-nav.is-open details { width: 100%; }
  .mayohitsu-front-nav.is-open .mayohitsu-mega-menu--conditions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mayohitsu-front-nav.is-open .mayohitsu-mega-menu__category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mayohitsu-side-guide { display: none; }
}

@media (max-width: 980px) {
  .mayohitsu-concerns__illustration { width: min(100%, 560px); justify-self: center; }
}

@media (max-width: 680px) {
  .mayohitsu-start + .mayohitsu-filter { margin-top: 16px; }
  .mayohitsu-start + .mayohitsu-filter::after { width: 54vw; top: -8px; }
  .mayohitsu-product-card, .mayohitsu-product-card.is-featured { min-height: 160px; }
  .mayohitsu-product-card__visual,
  .mayohitsu-product-card.is-featured .mayohitsu-product-card__visual { width: 88px; height: 66px; }
  .mayohitsu-front-nav.is-open .mayohitsu-mega-menu--conditions,
  .mayohitsu-front-nav.is-open .mayohitsu-mega-menu__category-grid { grid-template-columns: 1fr; }
}
