:root {
      --navy: #071a33;
      --navy-light: #0d294a;
      --blue: #0788c9;
      --cyan: #04b7d7;
      --sky: #dff7ff;
      --yellow: #ffd85a;
      --orange: #ff9e45;
      --green: #19a96b;
      --red: #f05a5a;
      --white: #ffffff;
      --text: #15233a;
      --subtext: #697386;
      --border: #e7edf3;
      --background: #f4f8fb;
      --shadow: 0 16px 45px rgba(20, 52, 82, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      padding-bottom: 92px;
      font-family:
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        "Meiryo",
        sans-serif;
      background: linear-gradient(
        180deg,
        var(--sky) 0%,
        #b5e3dd 28%,
        #b8cfe0 58%,
        #b2c7dc 82%,
        var(--background) 100%
      );
      color: var(--text);
    }

    button,
    input,
    a {
      font-family: inherit;
    }

    button {
      -webkit-tap-highlight-color: transparent;
    }

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

    .top-bar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(12, 54, 87, 0.08);
    }

    .top-bar-inner {
      width: min(100%, 920px);
      margin: 0 auto;
      padding: 13px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .brand-area {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .brand-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: linear-gradient(
        135deg,
        var(--blue),
        var(--cyan)
      );
      color: var(--white);
      font-size: 21px;
      box-shadow: 0 8px 20px rgba(4, 158, 199, 0.25);
    }

    .brand-name {
      margin: 0;
      font-size: 22px;
      font-weight: 900;
      letter-spacing: 0.08em;
      color: var(--navy);
    }

    .brand-caption {
      margin: 1px 0 0;
      color: var(--subtext);
      font-size: 10px;
      font-weight: 700;
    }

    .live-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: 999px;
      background: #fff1f1;
      color: #c73e3e;
      font-size: 12px;
      font-weight: 800;
    }

    .live-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--red);
      animation: pulse 1.8s infinite;
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(240, 90, 90, 0.45);
      }

      70% {
        box-shadow: 0 0 0 8px rgba(240, 90, 90, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(240, 90, 90, 0);
      }
    }

    .hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(
          circle at 85% 15%,
          rgba(255, 255, 255, 0.22),
          transparent 25%
        ),
        linear-gradient(
          145deg,
          #067bb8,
          #03b5cf 55%,
          #5bd4d0
        );
      color: var(--white);
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 230px;
      height: 230px;
      right: -80px;
      bottom: -100px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.13);
    }

    .hero::after {
      content: "";
      position: absolute;
      width: 120px;
      height: 120px;
      left: -55px;
      top: 35px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
    }

    .hero-wave {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 48px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C240,60 480,4 720,20 C960,36 1200,58 1440,28 L1440,60 L0,60 Z' fill='%23dff7ff'/%3E%3C/svg%3E");
      background-size: 100% 100%;
      background-repeat: no-repeat;
      z-index: 2;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      width: min(100%, 920px);
      margin: 0 auto;
      padding: 26px 18px 34px;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .hero-copy {
      flex: 1 1 auto;
      min-width: 0;
    }

    .hero-photo-wrapper {
      flex: 0 0 260px;
      max-width: 260px;
    }

    .hero-photo-button {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      border: none;
      padding: 0;
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.12);
      box-shadow: 0 12px 28px rgba(3, 77, 121, 0.22);
    }

    .hero-photo-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding: 8px 13px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.13);
      font-size: 12px;
      font-weight: 800;
    }

    .hero-kicker-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #fff2a6;
      animation: pulse 1.8s infinite;
    }

    .hero h1 {
      max-width: 620px;
      margin: 0;
      font-size: clamp(28px, 6vw, 42px);
      line-height: 1.3;
      letter-spacing: -0.02em;
    }

    .hero h1 span {
      color: #fff2a6;
    }

    .hero-description {
      max-width: 540px;
      margin: 16px 0 0;
      color: rgba(255, 255, 255, 0.92);
      font-size: 15px;
      line-height: 1.8;
      font-weight: 500;
    }

    .hero-description-emphasis {
      font-weight: 800;
      color: #fff2a6;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 11px;
      margin-top: 26px;
    }

    .hero-button {
      min-height: 52px;
      padding: 13px 20px;
      border: none;
      border-radius: 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 15px;
      font-weight: 900;
      cursor: pointer;
      transition:
        transform 0.2s,
        box-shadow 0.2s;
    }

    .hero-button:hover {
      transform: translateY(-2px);
    }

    .primary-button {
      background: var(--white);
      color: #0579b2;
      box-shadow: 0 12px 28px rgba(3, 77, 121, 0.22);
    }

    .secondary-button {
      border: 1px solid rgba(255, 255, 255, 0.4);
      background: rgba(255, 255, 255, 0.12);
      color: var(--white);
    }

    .hero-mini-info {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
    }

    .mini-info {
      min-width: 130px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(4, 64, 105, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .mini-info-label {
      display: block;
      font-size: 10px;
      opacity: 0.78;
      font-weight: 700;
    }

    .mini-info-value {
      display: block;
      margin-top: 4px;
      font-size: 14px;
      font-weight: 900;
    }

    main {
      width: min(100%, 920px);
      margin: 0 auto;
      padding: 24px 18px 40px;
    }

    .location-card {
      margin-top: -22px;
      position: relative;
      z-index: 5;
      padding: 18px;
      border-radius: 22px;
      background: var(--white);
      box-shadow: var(--shadow);
      border: 1px solid rgba(23, 74, 110, 0.08);
    }

    .location-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .location-heading {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .location-icon {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      background: #e6f8fd;
      font-size: 22px;
    }

    .location-heading h2 {
      margin: 0;
      font-size: 17px;
    }

    #locationMessage {
      margin: 4px 0 0;
      color: var(--subtext);
      font-size: 12px;
      line-height: 1.6;
      white-space: pre-line;
    }

    .location-permission-guide {
      margin-top: 10px;
      padding: 12px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: var(--sky);
    }

    .location-permission-guide-block {
      margin-bottom: 10px;
    }

    .location-permission-guide-block:last-of-type {
      margin-bottom: 0;
    }

    .location-permission-guide-title {
      margin: 0 0 3px;
      font-size: 12px;
      font-weight: 900;
      color: var(--navy);
    }

    .location-permission-guide-block p:not(.location-permission-guide-title) {
      margin: 0;
      font-size: 12px;
      color: var(--text);
      line-height: 1.6;
    }

    .location-permission-guide-footer {
      margin: 10px 0 0;
      padding-top: 10px;
      border-top: 1px solid rgba(23, 74, 110, 0.12);
      font-size: 12px;
      font-weight: 700;
      color: var(--navy);
    }

    .location-permission-device-toggle,
    .location-permission-os-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      margin-top: 8px;
      padding: 9px 11px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--white);
      font-size: 13px;
      font-weight: 900;
      color: var(--navy);
      cursor: pointer;
      text-align: left;
    }

    .location-permission-os-toggle {
      background: #eef6f9;
      font-size: 12px;
      font-weight: 700;
    }

    .location-permission-toggle-icon {
      font-size: 10px;
      color: var(--blue);
    }

    .location-permission-device-panel {
      padding: 4px 0 2px 10px;
    }

    .location-permission-os-panel {
      padding: 8px 0 2px 10px;
    }

    .location-permission-method-title {
      margin: 10px 0 6px;
      font-size: 12px;
      font-weight: 900;
      color: var(--navy);
      line-height: 1.5;
    }

    .location-permission-steps {
      display: flex;
      flex-direction: column;
    }

    .location-permission-step {
      position: relative;
      padding: 5px 0;
      font-size: 12px;
      color: var(--text);
      line-height: 1.6;
    }

    .location-permission-step:not(:last-child)::after {
      content: "↓";
      display: block;
      color: var(--blue);
      font-size: 11px;
      line-height: 1.4;
    }

    .location-permission-note {
      margin: 6px 0 0;
      font-size: 11px;
      color: var(--subtext);
      line-height: 1.6;
    }

    .location-button {
      flex-shrink: 0;
      min-height: 43px;
      padding: 10px 15px;
      border: none;
      border-radius: 13px;
      background: linear-gradient(
        135deg,
        var(--blue),
        var(--cyan)
      );
      color: var(--white);
      font-size: 13px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(5, 144, 194, 0.22);
    }

    .location-button:disabled {
      opacity: 0.65;
      cursor: wait;
    }

    #currentMapLink {
      display: none;
      margin-top: 13px;
      padding: 11px 14px;
      border-radius: 12px;
      background: #edf5ff;
      color: #2465af;
      font-size: 12px;
      font-weight: 800;
      text-align: center;
    }

    .weather-card {
      margin-top: 13px;
      padding: 12px 14px;
      border-radius: 14px;
      background: var(--sky);
      border: 1px solid rgba(7, 136, 201, 0.12);
      overflow-wrap: break-word;
    }

    .weather-location-label {
      display: inline-block;
      margin-bottom: 4px;
      color: var(--blue);
      font-size: 11px;
      font-weight: 800;
    }

    .weather-summary {
      margin: 0;
      color: var(--text);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.4;
    }

    .weather-feels-like {
      margin: 2px 0 0;
      color: var(--subtext);
      font-size: 11px;
    }

    .weather-details {
      margin: 6px 0 0;
      color: var(--text);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.5;
    }

    .weather-advice {
      margin: 6px 0 0;
      color: var(--blue);
      font-size: 12px;
      font-weight: 700;
    }

    .weather-credit {
      display: inline-block;
      margin-top: 8px;
      color: var(--subtext);
      font-size: 10px;
      text-decoration: none;
    }

    .flash-banner {
      position: relative;
      overflow: hidden;
      margin-top: 18px;
      padding: 18px;
      border-radius: 22px;
      background:
        linear-gradient(
          135deg,
          #ff7a54,
          #ffad45
        );
      color: var(--white);
      box-shadow: 0 14px 35px rgba(232, 108, 45, 0.22);
    }

    .flash-banner::after {
      content: "⚡";
      position: absolute;
      right: 18px;
      bottom: -12px;
      font-size: 88px;
      opacity: 0.14;
      transform: rotate(-12deg);
    }

    .flash-label {
      display: inline-block;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
      font-size: 11px;
      font-weight: 900;
    }

    .flash-banner h2 {
      margin: 11px 0 0;
      font-size: 22px;
      line-height: 1.45;
    }

    .flash-banner p {
      margin: 8px 0 0;
      font-size: 13px;
      line-height: 1.7;
      opacity: 0.92;
    }

    .flash-banner-detail-button {
      position: relative;
      z-index: 2;
      margin-top: 13px;
      min-height: 40px;
      padding: 9px 16px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.16);
      color: var(--white);
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }

    .section {
      margin-top: 34px;
    }

    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 15px;
    }

    .section-title-area h2 {
      margin: 0;
      font-size: 24px;
      color: var(--navy);
    }

    .section-title-area p {
      margin: 6px 0 0;
      color: var(--subtext);
      font-size: 12px;
      line-height: 1.6;
    }

    .section-link {
      flex-shrink: 0;
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
    }

    .category-scroll {
      display: flex;
      gap: 9px;
      overflow-x: auto;
      padding: 2px 1px 10px;
      scrollbar-width: none;
    }

    .category-scroll::-webkit-scrollbar {
      display: none;
    }

    .category-button {
      flex-shrink: 0;
      min-height: 41px;
      padding: 9px 15px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: var(--white);
      color: #516072;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
    }

    .category-button.active {
      border-color: transparent;
      background: var(--navy);
      color: var(--white);
      box-shadow: 0 8px 18px rgba(7, 26, 51, 0.16);
    }

    .category-button:hover {
      transform: translateY(-1px);
    }

    #shopsList {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .shop-card {
      overflow: hidden;
      border-radius: 23px;
      background: var(--white);
      border: 1px solid rgba(18, 65, 101, 0.08);
      box-shadow: 0 12px 34px rgba(25, 63, 95, 0.09);
      transition:
        transform 0.22s,
        box-shadow 0.22s;
    }

    .shop-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(25, 63, 95, 0.14);
    }

    .shop-visual {
      position: relative;
      height: 190px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .shop-visual::before,
    .shop-visual::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.18);
    }

    .shop-visual::before {
      width: 150px;
      height: 150px;
      right: -50px;
      top: -55px;
    }

    .shop-visual::after {
      width: 85px;
      height: 85px;
      left: -30px;
      bottom: -35px;
    }

    .visual-food {
      background:
        linear-gradient(
          135deg,
          #ffd876,
          #ff9c5a
        );
    }

    .visual-cafe {
      background:
        linear-gradient(
          135deg,
          #8fe1dd,
          #4bbfcf
        );
    }

    .visual-bar {
      background:
        linear-gradient(
          135deg,
          #7884dd,
          #4c5bb1
        );
    }

    .visual-event {
      background:
        linear-gradient(
          135deg,
          #ff9db8,
          #ee668d
        );
    }

    .visual-shopping {
      background:
        linear-gradient(
          135deg,
          #ffcf7a,
          #f2a340
        );
    }

    .visual-sightseeing {
      background:
        linear-gradient(
          135deg,
          #7fd8b0,
          #2fa87a
        );
    }

    .visual-beauty {
      background:
        linear-gradient(
          135deg,
          #e6a9e0,
          #c65cb0
        );
    }

    .visual-stay {
      background:
        linear-gradient(
          135deg,
          #9db8e8,
          #5b7fc9
        );
    }

    .visual-official {
      background:
        linear-gradient(
          135deg,
          #ffb199,
          #ff6f61
        );
    }

    .shop-emoji {
      position: relative;
      z-index: 2;
      font-size: 78px;
      filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.12));
    }

    .shop-badges {
      position: absolute;
      z-index: 3;
      top: 13px;
      left: 13px;
      right: 13px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }

    .event-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.94);
      color: #d14a3e;
      font-size: 11px;
      font-weight: 900;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .favorite-button {
      width: 37px;
      height: 37px;
      display: grid;
      place-items: center;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.94);
      color: #9ca7b6;
      font-size: 18px;
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .favorite-button.active {
      color: #ef5470;
    }

    .shop-body {
      padding: 18px;
    }

    .shop-category {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: var(--blue);
      font-size: 11px;
      font-weight: 900;
    }

    .open-status {
      color: var(--green);
    }

    .admin-post-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 9px;
      border-radius: 999px;
      background: linear-gradient(135deg, #ff8fab, #ff5f8f);
      color: #ffffff;
      font-size: 10px;
      font-weight: 900;
      white-space: nowrap;
    }

    /* Ver1.8 Phase2 STEP5-D｜一般利用者投稿を店舗公式・運営公式と誤認させない
       ための最小ラベル。既存.admin-post-badgeとは配色を分け、警戒感を
       与えない中立トーンにする(STEP5-C仕様の「通常投稿は信用できないと
       感じさせない」方針)。 */
    .user-post-badge-row {
      margin-top: 4px;
    }

    .user-post-badge {
      display: inline-flex;
      align-items: center;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(7, 136, 201, 0.08);
      color: var(--subtext);
      font-size: 10px;
      font-weight: 700;
      white-space: nowrap;
    }

    .shop-name {
      margin: 7px 0 0;
      font-size: 20px;
      line-height: 1.4;
      color: var(--navy);
    }

    .shop-description {
      margin: 9px 0 0;
      min-height: 45px;
      color: var(--subtext);
      font-size: 13px;
      line-height: 1.7;
    }

    .shop-info-row {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 14px;
    }

    .info-chip {
      padding: 7px 9px;
      border-radius: 9px;
      background: #f0f6f9;
      color: #446071;
      font-size: 11px;
      font-weight: 800;
    }

    .time-limit {
      margin-top: 13px;
      padding: 11px 12px;
      border-left: 4px solid var(--orange);
      border-radius: 9px;
      background: #fff7ed;
      color: #8b5525;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.6;
    }

    .shop-actions {
      display: grid;
      grid-template-columns: 1.25fr 1fr;
      gap: 9px;
      margin-top: 15px;
    }

    .shop-button {
      min-height: 45px;
      border: none;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }

    .detail-button {
      background: linear-gradient(
        135deg,
        var(--blue),
        var(--cyan)
      );
      color: var(--white);
      box-shadow: 0 8px 18px rgba(5, 144, 194, 0.18);
    }

    .map-button {
      background: #edf4ff;
      color: #2f68ad;
    }

    .source-link-button {
      background: #fff0f4;
      color: #d1477e;
    }

    .shop-card.admin-post-card {
      border-top: 3px solid #ff5f8f;
    }

    .sample-notice {
      margin-top: 22px;
      padding: 15px;
      border-radius: 15px;
      background: #eaf4f8;
      color: #587080;
      font-size: 11px;
      line-height: 1.7;
      text-align: center;
    }

    .bottom-navigation {
      position: fixed;
      z-index: 80;
      left: 50%;
      bottom: 14px;
      transform: translateX(-50%);
      width: min(calc(100% - 24px), 540px);
      padding: 9px 12px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 4px;
      border: 1px solid rgba(14, 52, 80, 0.09);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(18px);
      box-shadow: 0 15px 45px rgba(10, 38, 63, 0.2);
    }

    .nav-button {
      border: none;
      background: transparent;
      color: #8a98a9;
      padding: 6px 4px;
      display: grid;
      place-items: center;
      gap: 3px;
      font-size: 10px;
      font-weight: 800;
      cursor: pointer;
    }

    .nav-icon {
      font-size: 20px;
    }

    .nav-button.active {
      color: var(--blue);
    }

    .modal-overlay {
      position: fixed;
      z-index: 100;
      inset: 0;
      display: none;
      align-items: flex-end;
      justify-content: center;
      padding: 18px;
      background: rgba(3, 20, 37, 0.62);
      backdrop-filter: blur(5px);
    }

    .modal-overlay.visible {
      display: flex;
    }

    .modal-card {
      width: min(100%, 560px);
      max-height: 88vh;
      overflow-y: auto;
      border-radius: 26px 26px 18px 18px;
      background: var(--white);
      box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.25s ease;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(35px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .modal-visual {
      height: 175px;
      display: grid;
      place-items: center;
      border-radius: 26px 26px 0 0;
      font-size: 78px;
    }

    .modal-content {
      padding: 22px;
    }

    .modal-close {
      float: right;
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 50%;
      background: #edf2f5;
      font-size: 17px;
      cursor: pointer;
    }

    .modal-category {
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
    }

    .modal-title {
      margin: 8px 0 0;
      padding-right: 45px;
      font-size: 25px;
      color: var(--navy);
    }

    .modal-message {
      margin: 16px 0 0;
      padding: 15px;
      border-radius: 13px;
      background: #f2f8fb;
      color: #425b6b;
      font-size: 14px;
      line-height: 1.8;
    }

    .modal-map-button {
      margin-top: 18px;
      min-height: 50px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(
        135deg,
        var(--blue),
        var(--cyan)
      );
      color: var(--white);
      font-size: 14px;
      font-weight: 900;
    }

    /* Ver1.8 Phase2 STEP5-D｜一般投稿の通報導線。目立たせすぎない小さな
       リンクとして配置し、既存モーダルデザインを壊さない。 */
    .modal-report-section {
      margin-top: 14px;
      text-align: center;
    }

    .modal-report-toggle {
      background: none;
      border: none;
      color: var(--subtext);
      font-size: 11px;
      text-decoration: underline;
      cursor: pointer;
      padding: 4px;
    }

    .modal-report-reasons {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: center;
    }

    .modal-report-reason-button {
      background: var(--background);
      border: 1px solid var(--border);
      border-radius: 999px;
      color: var(--text);
      font-size: 11px;
      padding: 6px 10px;
      cursor: pointer;
    }

    /* Ver1.8 Phase2 STEP5-D(不具合修正)｜送信中は押せないことを
       見た目でも分かるようにする(クリック直後の無反応に見える問題対策)。 */
    .modal-report-reason-button:disabled {
      opacity: 0.5;
      cursor: default;
    }

    .modal-report-status {
      margin-top: 8px;
      font-size: 11px;
      color: var(--subtext);
      min-height: 14px;
    }

    footer {
      padding: 35px 18px 35px;
      color: #8897a6;
      text-align: center;
      font-size: 11px;
    }

    .footer-links {
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .footer-links a {
      color: #8897a6;
      font-size: 11px;
      text-decoration: underline;
    }

    @media (max-width: 700px) {
      .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
      }

      .hero-photo-wrapper {
        flex: none;
        max-width: none;
        width: 100%;
      }

      .hero-photo-button {
        aspect-ratio: 16 / 6;
      }

      #shopsList {
        display: flex;
        grid-template-columns: unset;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
      }

      .shop-card {
        flex: 0 0 30%;
        min-width: 116px;
        scroll-snap-align: start;
        cursor: pointer;
      }

      .shop-visual {
        height: 92px;
      }

      .shop-emoji {
        font-size: 40px;
      }

      .shop-badges {
        top: 8px;
        left: 8px;
        right: 8px;
      }

      .event-badge {
        padding: 4px 7px;
        font-size: 9px;
      }

      .favorite-button {
        width: 28px;
        height: 28px;
        font-size: 14px;
      }

      .shop-body {
        padding: 10px;
      }

      .shop-category {
        font-size: 9px;
      }

      .shop-name {
        margin: 5px 0 0;
        font-size: 13px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .shop-description,
      .time-limit,
      .shop-actions {
        display: none;
      }

      .shop-info-row {
        gap: 5px;
        margin-top: 8px;
      }

      .shop-info-row .info-chip {
        display: none;
      }

      .shop-info-row .info-chip-distance {
        display: inline-block;
        padding: 4px 7px;
        font-size: 10px;
      }
    }

    /* 見つける全件表示モード(#shopsSection.shops-show-all)専用。
       スマホの圧縮3枚横スクロール(上のブロック)を解除し、
       既存PC版に近い1列のリッチカードへ切り替える。
       新しいカードHTMLは作らず、既存要素の表示をCSSだけで戻す。 */
    @media (max-width: 700px) {
      #shopsSection.shops-show-all #shopsList {
        display: block;
      }

      #shopsSection.shops-show-all .shop-card {
        flex: none;
        min-width: 0;
        width: 100%;
        margin-bottom: 18px;
        scroll-snap-align: none;
      }

      #shopsSection.shops-show-all .shop-card:last-child {
        margin-bottom: 0;
      }

      #shopsSection.shops-show-all .shop-visual {
        height: 178px;
      }

      #shopsSection.shops-show-all .shop-emoji {
        font-size: 78px;
      }

      #shopsSection.shops-show-all .shop-badges {
        top: 13px;
        left: 13px;
        right: 13px;
      }

      #shopsSection.shops-show-all .event-badge {
        padding: 7px 10px;
        font-size: 11px;
      }

      #shopsSection.shops-show-all .favorite-button {
        width: 37px;
        height: 37px;
        font-size: 18px;
      }

      #shopsSection.shops-show-all .shop-body {
        padding: 18px;
      }

      #shopsSection.shops-show-all .shop-category {
        font-size: 11px;
      }

      #shopsSection.shops-show-all .shop-name {
        margin: 7px 0 0;
        font-size: 20px;
        line-height: 1.4;
        display: block;
        overflow: visible;
      }

      #shopsSection.shops-show-all .shop-description,
      #shopsSection.shops-show-all .time-limit {
        display: block;
      }

      #shopsSection.shops-show-all .shop-actions {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        gap: 9px;
      }

      #shopsSection.shops-show-all .shop-info-row {
        gap: 7px;
        margin-top: 14px;
      }

      #shopsSection.shops-show-all .shop-info-row .info-chip {
        display: inline-block;
        padding: 7px 9px;
        font-size: 11px;
      }
    }

    @media (max-width: 520px) {
      .top-bar-inner {
        padding: 11px 14px;
      }

      .brand-icon {
        width: 38px;
        height: 38px;
      }

      .brand-name {
        font-size: 19px;
      }

      .live-chip {
        padding: 7px 10px;
        font-size: 10px;
      }

      .hero-inner {
        padding: 22px 16px 30px;
      }

      .hero-wave {
        height: 26px;
      }

      main {
        padding-left: 14px;
        padding-right: 14px;
      }

      .location-card {
        margin-top: -26px;
      }

      .location-card-top {
        align-items: flex-start;
        flex-direction: column;
      }

      .location-button {
        width: 100%;
      }

      .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
      }

      .hero-button {
        width: 100%;
      }

      .hero-mini-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .mini-info {
        min-width: 0;
      }

      .shop-actions {
        grid-template-columns: 1fr 1fr;
      }

      .map-section {
        padding: 14px;
      }

      #google-map {
        height: 200px;
      }
    }
/* Googleマップ */
.map-section {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 74, 110, 0.08);
}

.map-section h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

#google-map {
  width: 100%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
#favoriteList {
  display: none;
  margin-top: 16px;
}