body.items-page .card-photo-status {
  margin: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 2px 8px rgba(11, 30, 48, .16);
}
body.items-page .status-overlay-form {
  position: absolute;
  right: 0;
  top: 2.2rem;
  z-index: 40;
  background: #fff;
  border: 1px solid #b1c4d4;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(14,36,55,.13);
  padding: 1rem 1.2rem;
  min-width: 180px;
}
* { box-sizing: border-box; }

:root {
  --font-main: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
}

/* iOSでフォームフォーカス時の自動ズームを防ぐ（16px未満だとズームされる） */
input, select, textarea {
  font-size: max(16px, 1em) !important;
}

.site-header {
  position: fixed;
  top: .75rem;
  left: 1rem;
  right: 1rem;
  z-index: 1000;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(14, 33, 49, .42);
  backdrop-filter: blur(12px);
  box-shadow: 0 7px 9px rgba(9, 24, 37, 0.12)
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 1.05rem;
  color: #f5fbff;
  text-decoration: none;
  margin-left: 14px;
}

.brand-logo {
  width: 1.16rem;
  height: 1.16rem;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .98;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.insta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  font-size: 0;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(221, 42, 123, .3);
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
  order: 3;
}

.insta-link::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' ry='5'/%3E%3Cpath d='M16.5 7.5h.01'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  color: #ecf7ff;
  cursor: pointer;
  overflow: hidden;
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 24, 36, .16);
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ecf7ff;
  transform-origin: center;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, top .32s cubic-bezier(.22, 1, .36, 1), background .28s ease;
}

.menu-toggle-lines span:nth-child(1) {
  top: 0;
}

.menu-toggle-lines span:nth-child(2) {
  top: 6px;
}

.menu-toggle-lines span:nth-child(3) {
  top: 12px;
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 12px 24px rgba(8, 24, 36, .2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav {
  position: absolute;
  top: calc(100% + .55rem);
  right: .3rem;
  left: .3rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(12, 30, 45, .9);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(.96);
  transform-origin: top center;
  transition: opacity .28s ease, transform .34s cubic-bezier(.22, 1, .36, 1), visibility .28s ease;
  box-shadow: 0 22px 36px rgba(7, 20, 32, .24);
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav a {
  text-decoration: none;
  color: #ecf7ff;
  font-weight: 700;
  font-size: .83rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  white-space: nowrap;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .28s cubic-bezier(.22, 1, .36, 1), background .22s ease;
  margin: 4px 0;
}

.nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.nav.is-open a:nth-child(1) { transition-delay: .04s; }
.nav.is-open a:nth-child(2) { transition-delay: .08s; }
.nav.is-open a:nth-child(3) { transition-delay: .12s; }
.nav.is-open a:nth-child(4) { transition-delay: .16s; }
.nav.is-open a:nth-child(5) { transition-delay: .20s; }
.nav.is-open a:nth-child(6) { transition-delay: .24s; }
.nav.is-open a:nth-child(7) { transition-delay: .28s; }
.nav.is-open a:nth-child(8) { transition-delay: .32s; }

.nav a.active {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(255, 255, 255, .95);
  color: #12263a;
}

/* ---- ピン留めナビ (デスクトップ常時表示リンク) ---- */

.nav-pinned {
  display: flex;
  gap: .35rem;
  align-items: center;
}

.nav-pinned a {
  text-decoration: none;
  color: #ecf7ff;
  font-weight: 700;
  font-size: .83rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  white-space: nowrap;
  transition: background .2s;
}

.nav-pinned a.active {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(255, 255, 255, .95);
  color: #12263a;
}

.nav-pinned a:hover:not(.active) {
  background: rgba(255, 255, 255, .22);
}

.nav-auth-pinned {
  display: flex;
  align-items: center;
  order: 2;
}

.header-tools .menu-toggle {
  order: 4;
}

@media (max-width: 940px) {
  .site-header {
    top: .5rem;
    left: .5rem;
    right: .5rem;
    width: calc(100% - 1rem);
    padding: .62rem .75rem;
  }

  .header-tools .nav-auth-pinned {
    order: 1;
  }

  .nav-pinned {
    display: none;
  }
}

@media (min-width: 941px) {
  .nav-mob-dup {
    display: none;
  }
}

/* ---- ログイン状態インジケーター (ハンバーガー外・常時表示) ---- */

.nav-login-indicator {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(236, 247, 255, .9);
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: .25rem .6rem .25rem .4rem;
  max-width: 120px;
  min-width: 0;
  flex-shrink: 1;
}
.nav-login-indicator-icon {
  flex-shrink: 0;
  width: .85rem;
  height: .85rem;
  opacity: .8;
}
.nav-login-indicator-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ---- Auth area (常時表示・ヘッダー内) ---- */

.nav-login-btn {
  font-size: .86rem;
  font-weight: 700;
  color: #ecf7ff;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  padding: .4rem .85rem;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .2s;
}
.nav-login-btn:hover { background: rgba(255, 255, 255, .28); }

.nav-logout-form { margin: 0; }

.nav-logout-btn {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(236, 247, 255, .85);
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: .35rem .75rem;
  cursor: pointer;
}
.nav-logout-btn:hover { background: rgba(255, 255, 255, .1); }

/* ---- ログインモーダル ---- */

.nav-auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 38, .55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}
.nav-auth-backdrop[hidden] { display: none; }

.nav-auth-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(8, 24, 38, .22);
  width: 100%;
  max-width: 400px;
  padding: 1.6rem 1.8rem 1.8rem;
}

.nav-auth-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}

.nav-auth-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f2030;
  margin: 0;
}

.nav-auth-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b8499;
  padding: .3rem;
  border-radius: 6px;
}
.nav-auth-close-btn:hover { background: #f0f4f8; }

.nav-auth-copy {
  font-size: .9rem;
  color: #405365;
  line-height: 1.7;
  margin: 0 0 .8rem;
}

.nav-auth-status {
  min-height: 1.4rem;
  font-size: .88rem;
  color: #405365;
  margin: 0 0 .6rem;
}

.nav-auth-form {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.nav-auth-form label {
  font-size: .88rem;
  font-weight: 700;
  color: #1a2e3a;
}

.nav-auth-form input[type="email"] {
  padding: .55rem .75rem;
  border: 1px solid #b8ccd8;
  border-radius: 8px;
  font-size: 16px;
  color: #1a2e3a;
  outline: none;
}
.nav-auth-form input[type="email"]:focus { border-color: #11a36e; box-shadow: 0 0 0 2px rgba(17, 163, 110, .18); }

.nav-auth-submit {
  background: linear-gradient(135deg, #16cc84 0%, #0d8a5d 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: .4rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(17, 163, 110, .32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  width: 100%;
}
.nav-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(17, 163, 110, .42);
  filter: brightness(1.05);
}
.nav-auth-submit:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(17, 163, 110, .28); }
.nav-auth-submit:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }

/* OTP 6ボックス */
.otp-boxes {
  display: flex;
  gap: .4rem;
  align-self: stretch;
  margin: .5rem 0 .6rem;
}
.otp-box {
  flex: 1 1 0;
  min-width: 0;
  max-width: 52px;
  height: 52px;
  text-align: center;
  font-size: 1.4rem !important;
  font-weight: 700;
  border: 2px solid #b8ccd8;
  border-radius: 10px;
  color: #0f2030;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  padding: 0;
  box-sizing: border-box;
}
.otp-box:focus {
  border-color: #11a36e;
  box-shadow: 0 0 0 3px rgba(17, 163, 110, .2);
}
.otp-box.otp-box--filled {
  border-color: #11a36e;
  background: #f0fdf8;
}
.otp-box:disabled { background: #f4f7fa; opacity: .7; }

.otp-link-row {
  display: flex;
  justify-content: space-between;
  margin-top: .8rem;
}

.nav-auth-link-btn {
  background: none;
  border: none;
  color: #11a36e;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  padding: .2rem .1rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}
.nav-auth-link-btn:hover { color: #0d8a5d; }

.register-terms-row { display: flex; align-items: flex-start; gap: .6rem; margin: .4rem 0 .2rem; }
.register-terms-row input[type="checkbox"] { margin-top: .22rem; width: 1.1rem; height: 1.1rem; accent-color: #11a36e; flex-shrink: 0; }
.register-terms-row label { font-size: .9rem; color: #1a2e3a; font-weight: 400; line-height: 1.55; }
.register-terms-row a { color: #11a36e; text-decoration: underline; }

/* Home page */
body.home-page {
  color: #132232;
  background:
    radial-gradient(circle at 8% 2%, #ddf8f1 0, transparent 28%),
    radial-gradient(circle at 95% 1%, #ffe9c9 0, transparent 32%),
    radial-gradient(circle at 60% 100%, #e5f1ff 0, transparent 38%),
    #f5f7fb;
  min-height: 100vh;
}

body.home-page .wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
}

body.home-page .hero {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 55px rgba(8, 31, 52, .18);
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(8, 44, 56, .82) 0%, rgba(8, 44, 56, .3) 44%, rgba(8, 44, 56, .75) 100%),
    url('../../img/kodomohukuimage.png') center / cover no-repeat;
  animation: fadein .75s ease;
}

body.home-page .hero::before {
  content: '';
  position: absolute;
  inset: auto -70px -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 40% 60% 53% 47% / 47% 40% 60% 53%;
  background: rgba(255, 178, 71, .22);
  filter: blur(1px);
  z-index: 0;
}

body.home-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 34, .06) 0%, rgba(11, 24, 34, .58) 60%, rgba(11, 24, 34, .82) 100%);
  z-index: 0;
}

body.home-page .hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  margin: 80px auto 10px;
  padding: 2.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
}

body.home-page .copy h1 {
  margin: 0;
  color: #fff;
  line-height: 1.35;
  font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: .04em;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(6, 18, 28, .35);
}

body.home-page .hero-icon {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
}

body.home-page .copy p {
  width: 100%;
  margin: .95rem 0 0;
  color: #eaf9ff;
  line-height: 1.95;
  font-weight: 500;
  text-shadow: 0 6px 22px rgba(5, 17, 27, .35);
}

body.home-page .cta-panel {
  width: min(560px, 100%);
  padding: 1rem;
}

body.home-page .cta-panel p {
    margin: 0 0 .85rem;
    color: #575757;
    line-height: 1.7;
    font-size: 13px;
    text-align: center;
}

body.home-page .cta-bubble {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.4rem;
  padding: .6rem 1.3rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0d8f6a;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  line-height: 1.5;
  box-shadow: 0 4px 18px rgba(7, 60, 40, .18);
}

body.home-page .cta-bubble::before {
  content: '✔';
  margin-right: .4em;
  font-size: .8em;
  opacity: .8;
}

body.home-page .cta-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid #ffffff;
}

body.home-page .cta-link {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: .95rem 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  background: linear-gradient(90deg, #0f8677 0%, #17b39f 55%, #ffb247 100%);
  box-shadow: 0 12px 30px rgba(10, 120, 118, .38);
  transition: transform .18s ease, filter .2s ease;
}

body.home-page .cta-link:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.03);
}

body.home-page .features-section {
  position: relative;
  margin: 1.35rem 0 1.2rem;
  padding: 1.5rem 1.1rem 1.4rem;
  border-radius: 28px;
  border: 1px solid #d8e4f0;
  background:
    radial-gradient(circle at 8% 0, rgba(255, 182, 75, .26), transparent 34%),
    radial-gradient(circle at 96% 100%, rgba(17, 163, 110, .2), transparent 38%),
    linear-gradient(130deg, #fbfdff 0%, #f4f8fc 56%, #eef5fa 100%);
  box-shadow: 0 18px 46px rgba(14, 36, 58, .09);
  overflow: hidden;
  isolation: isolate;
}

body.home-page .features-section::before,
body.home-page .features-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

body.home-page .features-section::before {
  width: 170px;
  height: 170px;
  right: -52px;
  top: -56px;
  background: rgba(22, 154, 145, .12);
  border-radius: 38% 62% 57% 43% / 44% 38% 62% 56%;
}

body.home-page .features-section::after {
  width: 156px;
  height: 156px;
  left: -52px;
  bottom: -68px;
  background: rgba(255, 178, 71, .12);
  border-radius: 64% 36% 42% 58% / 52% 57% 43% 48%;
}

body.home-page .features-heading,
body.home-page .features-grid {
  position: relative;
  z-index: 1;
}

body.home-page .features-heading {
  text-align: center;
  margin-bottom: 1.2rem;
}

body.home-page .features-kicker {
  margin: 0;
  color: #0f8776;
  font-size: .74rem;
  letter-spacing: .2em;
  font-weight: 900;
}

body.home-page .features-heading h2 {
  margin: .35rem 0 .5rem;
  color: #17324a;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  letter-spacing: .04em;
}

body.home-page .features-heading > p {
  margin: 0 auto;
  max-width: 50ch;
  color: #3f566b;
  line-height: 1.8;
  font-size: .95rem;
}

body.home-page .features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

body.home-page .feature-card {
  border-radius: 18px;
  border: 1px solid #d6e1ec;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(14, 34, 53, .07);
  padding: 1.25rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .55rem;
}

body.home-page .feature-illust {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, #edfbf4, #d4f5e8);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

body.home-page .feature-card h3 {
  margin: 0;
  color: #17324a;
  font-size: .98rem;
  font-weight: 800;
}

body.home-page .feature-card p {
  margin: 0;
  color: #496075;
  line-height: 1.72;
  font-size: .87rem;
}

body.home-page .intro-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

body.home-page .intro-card {
  border-radius: 18px;
  border: 1px solid #d7e1ec;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 33, 49, .08);
  padding: 1rem;
  animation: rise .65s ease;
}

body.home-page .intro-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

body.home-page .intro-card p {
  margin: .5rem 0 0;
  color: #495b6c;
  line-height: 1.75;
  font-size: .92rem;
}

/* Clothes and activity common */
body.items-page,
body.activity-page,
body.post-page,
body.request-page {
  color: #12212f;
  background:
    radial-gradient(circle at 10% 5%, #dff8f2 0, transparent 35%),
    radial-gradient(circle at 90% 0%, #ffe9c5 0, transparent 30%),
    #f6f7fb;
  padding-top: 92px;
}

body.items-page,
body.post-page,
body.request-page {
  padding-top: 0;
}

body.items-page .wrap,
body.activity-page .wrap {
  width: min(1120px, calc(100% - 2rem));
  padding: 0 0 4rem;
}

body.items-page .wrap {
  margin: 0 auto;
}

body.activity-page .wrap {
  margin: 0 auto;
}

body.items-page .hero,
body.activity-page .hero {
  padding: 2.5rem;
  border-radius: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 38, 59, 0.1);
  animation: rise .7s ease;
}

body.items-page .hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: .08em;
  font-weight: 900;
}

body.items-page .hero p,
body.activity-page .hero p {
  max-width: 55ch;
  line-height: 1.9;
  color: #ecfffe;
}

/* Clothes page */
body.items-page .hero {
  background:
    linear-gradient(135deg, rgba(8, 74, 77, 0.94) 0%, rgba(11, 106, 120, 0.9) 46%, rgba(25, 173, 171, 0.88) 100%),
    url('../../img/kodomohukuimage2.png') center / cover no-repeat;
}

body.items-page .hero::before {
  content: '';
  position: absolute;
  inset: auto auto -115px -40px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}

body.items-page .hero::after {
  content: '';
  position: absolute;
  inset: -55px -50px auto auto;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, .1);
  border-radius: 36% 64% 58% 42% / 45% 44% 56% 55%;
}

body.items-page .hero-layout {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

body.items-page .hero-copy {
  position: relative;
  z-index: 2;
}

body.items-page .hero p {
  max-width: 52ch;
  margin: .7rem 0 0;
}

body.items-page .hero-media {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: .7rem;
}

body.items-page .hero-shot {
  min-height: 132px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 38, 52, .28);
  border: 2px solid rgba(255, 255, 255, .45);
}

body.items-page .hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.items-page .hero-shot.tall {
  grid-row: span 2;
  min-height: 280px;
}

body.items-page .grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.2rem;
  margin-top: 0;
  align-items: start;
}

@media (min-width: 921px) {
  body.items-page {
    overflow-x: hidden;
  }

  body.items-page .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  body.items-page .panel {
    display: contents;
  }

  body.items-page .list-filters {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: sticky;
    top: 0;
    z-index: 140;
  }

  body.items-page .list-wrap {
    grid-column: 1;
    grid-row: 2;
  }
}

body.items-page .auth-gate {
  margin-top: 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.items-page .auth-gate .panel-head {
  text-align: center;
}

body.items-page .auth-gate-body {
  padding: 1rem 1.2rem 1.2rem;
  text-align: center;
}

body.items-page .auth-copy {
  margin: 0 auto .8rem;
  max-width: 34rem;
  color: #405365;
  line-height: 1.75;
}

body.items-page .insta-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .56rem 1rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(221, 42, 123, .25);
}

body.items-page .phrase-form {
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

body.items-page .auth-method {
  margin-bottom: .2rem;
}

body.items-page .auth-method-title {
  font-size: .95rem;
  font-weight: 700;
  color: #11a36e;
  margin: 0 auto .5rem;
}

body.items-page .auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem auto;
  max-width: 440px;
  color: #8fa2b3;
  font-size: .85rem;
}
body.items-page .auth-divider::before,
body.items-page .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d8e0ea;
}

body.items-page .auth-status-msg {
  min-height: 1.4rem;
  margin: 0 auto .6rem;
  max-width: 440px;
  font-size: .88rem;
  color: #405365;
  text-align: left;
}


body.items-page .panel {

}

@media (min-width: 921px) {
  body.items-page .panel {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  body.items-page .list-wrap {
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(111, 179, 160, .14) 0%, rgba(111, 179, 160, 0) 55%),
      radial-gradient(130% 95% at 100% 100%, rgba(85, 143, 185, .13) 0%, rgba(85, 143, 185, 0) 58%),
      linear-gradient(165deg, #f4f9f7 0%, #edf4f8 55%, #e8eef5 100%);
    border-radius: 22px;
    border: 1px solid rgba(177, 196, 212, .56);
    box-shadow: 0 12px 28px rgba(14, 36, 55, .08), inset 0 1px 0 rgba(255, 255, 255, .65);
  }
}

body.items-page .form-panel {
  display: none;
  background: #ffffff;
  border: 1px solid #d4e0ea;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(11, 30, 46, .08);
}
body.items-page .form-panel.is-mobile-open .form-panel-scroll {
  overflow: auto;
  height: 100%;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: inherit;
}
body.items-page .form-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #11a36e;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 10px 28px rgba(17, 163, 110, .28);
}
body.items-page .form-panel.is-mobile-open .form-accordion > summary {
  position: sticky;
  top: 0;
  z-index: 3;
}

body.items-page .form-accordion summary::-webkit-details-marker {
  display: none;
}

body.items-page .form-accordion summary::after {
  content: '＋';
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

body.items-page .form-accordion[open] summary::after {
  content: '−';
}

body.items-page .form-accordion > form {
  margin-top: .2rem;
}

body.items-page .form-accordion[open] > form {
  border-top: 0;
}
body.items-page .create-item-form {
  padding: .95rem 1rem 1.2rem;
}

body.items-page .form-panel-head {
  display: flex;
  align-items: stretch;
  background: #11a36e;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 10px 28px rgba(17, 163, 110, .28);
  position: sticky;
  top: 0;
  z-index: 3;
}

body.items-page .form-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
}

body.items-page .form-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: .9rem .5rem;
  font-weight: 700;
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}

body.items-page .form-tab[aria-selected="true"] {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

body.items-page .form-tab:hover:not([aria-selected="true"]) {
  color: rgba(255, 255, 255, .88);
}

body.items-page #tabpanel-request.form-tabpanel {
  padding: .9em;
}

body.items-page .form-tabpanel[hidden] {
  display: none;
}

body.items-page .mobile-form-fab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1950;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #11a36e, #1ac9a8, #0f8f7a, #17b39f, #11a36e);
  background-size: 300% 300%;
  animation: fab-gradient-shift 6s ease infinite;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: .9rem 1.4rem;
  box-shadow: 0 14px 32px rgba(17, 163, 110, .42);
  cursor: pointer;
  letter-spacing: .03em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body.items-page .mobile-form-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 38px rgba(17, 163, 110, .5);
  filter: brightness(1.05);
}
body.items-page .mobile-form-fab:active {
  transform: translateY(0) scale(.98);
}
body.items-page .fab-icon {
  width: 1.12rem;
  height: 1.12rem;
  flex-shrink: 0;
}
body.items-page .mobile-help-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.32rem;
  height: 2.32rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #17324a, #21506b 50%, #29637d);
  color: #ffffff;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(23,50,74,.28);
  transition: box-shadow .18s ease, transform .12s ease, filter .18s ease;
  flex-shrink: 0;
  margin-right: .45rem;
}
body.items-page .mobile-help-fab:hover {
  box-shadow: 0 4px 11px rgba(23,50,74,.4);
  filter: brightness(1.08);
}
body.items-page .mobile-help-fab:active {
  transform: scale(.97);
}
body.items-page .mobile-help-fab:focus-visible {
  outline: 2px solid rgba(23,50,74,.35);
  outline-offset: 2px;
}
body.items-page .mobile-form-close-wrap {
  display: block;
  position: absolute;
  top: .62rem;
  right: .62rem;
  z-index: 2;
  padding: 0;
}
body.items-page .mobile-form-close {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: fixed;
  top: 1.2rem;
  right: 1rem;
  z-index: 1962;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: #11a36e;
  color: #ffffff;
  border-radius: 50%;
  padding: 0;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(17, 163, 110, .4);
  pointer-events: auto;
}
body.items-page .mobile-form-close:hover {
  opacity: .88;
}
body.items-page .mobile-form-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1955;
  background: rgba(7, 20, 32, .62);
  backdrop-filter: blur(2px);
}
body.items-page .mobile-form-backdrop[hidden] {
  display: none;
}

body.items-page.no-scroll {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
body.items-page .panel-head {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #d8e0ea;
  font-weight: 700;
}
body.items-page form { padding: 0.5rem 0 0.5rem; }
body.items-page label {
  display: block;
  margin-top: .8rem;
  margin-bottom: .8rem;
  font-weight: 600;
  font-size: .93rem;
}
body.items-page input,
body.items-page select,
body.items-page textarea {
  width: 100%;
  border: 1px solid #c8d3df;
  background: #fbfcff;
  border-radius: 12px;
  padding: .65rem .75rem;
  font: inherit;
}
body.items-page textarea { min-height: 88px; resize: vertical; }
body.items-page .photo-upload-group {
  display: grid;
  gap: .55rem;
}
body.items-page .photo-upload-item label {
  margin-top: 0;
  margin-bottom: .28rem;
  font-size: .82rem;
  color: #4f667b;
}
body.items-page .form-help {
  margin: .35rem 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: #5d7286;
}
body.items-page .terms-agree-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: #2e4456;
  cursor: pointer;
}
body.items-page .terms-agree-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: #0f8f7a;
  cursor: pointer;
}
body.items-page .terms-agree-label a {
  color: #0f8f7a;
  text-decoration: underline;
}
body.items-page .tag-options {
  margin-top: .15rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
body.items-page .tag-option-item {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
body.items-page .tag-option-item input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
body.items-page .tag-option-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  width: auto;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid #cfdbea;
  background: #f4f8fd;
  color: #35536a;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  padding: .33rem .56rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .14s ease, box-shadow .18s ease;
}
body.items-page .tag-option-item span::before {
  content: '';
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: #8ea6bb;
  box-shadow: 0 0 0 2px rgba(142, 166, 187, .2);
  transition: background .18s ease, box-shadow .18s ease;
}
body.items-page .tag-option-item:hover span {
  border-color: #9bb6ce;
  background: #edf5fe;
}
body.items-page .tag-option-item input[type="checkbox"]:checked + span {
  border-color: #0f8f7a;
  background: linear-gradient(120deg, #10a57d 0%, #0f8f7a 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 149, 119, .24);
}
body.items-page .tag-option-item input[type="checkbox"]:checked + span::before {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .28);
}
body.items-page .tag-option-item input[type="checkbox"]:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(31, 140, 184, .26);
}
body.items-page .tag-option-item:active span {
  transform: translateY(1px);
}
body.items-page .tag-option-item input[type="checkbox"]:disabled + span {
  opacity: .55;
  cursor: not-allowed;
}
body.items-page .tag-option-item input[type="checkbox"] {
  margin: 0;
  padding: 0;
}
body.items-page .btn {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f8f7a 0%, #11b6a6 100%);
  color: #fff;
  font-weight: 700;
  padding: .78rem 1rem;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
}
body.items-page .form-panel form .btn {
  font-size: 1.03rem;
  font-weight: 800;
  padding: .92rem 1.15rem;
}
body.items-page .submit-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
}
body.items-page .submit-create-spinner {
  width: .92rem;
  height: .92rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #ffffff;
  display: none;
}
body.items-page .submit-create.is-loading {
  opacity: .88;
  cursor: wait;
  filter: saturate(.86);
}
body.items-page .submit-create.is-loading .submit-create-spinner {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
body.items-page .submit-create.is-loading .submit-create-label {
  letter-spacing: .02em;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
body.items-page .btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
body.items-page .alert {
  border-radius: 14px;
  margin: 1rem 0;
  padding: .75rem .9rem;
  font-size: .93rem;
}
body.items-page .alert.success { background: #e7faf3; color: #136549; border: 1px solid #b0eacb; }
body.items-page .alert.error { background: #ffeef3; color: #8f1e3a; border: 1px solid #f6bfd0; }
body.items-page .list-filters {
  padding: .72rem max(.9rem, env(safe-area-inset-left)) .72rem max(.9rem, env(safe-area-inset-right));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-bottom: 1px solid rgba(102, 155, 128, .58);
  position: sticky;
  top: 0;
  z-index: 140;
  width: 100vw;
  background: linear-gradient(132deg, rgba(39, 118, 92, .78) 0%, rgba(50, 144, 108, .8) 42%, rgba(136, 156, 74, .72) 72%, rgba(58, 113, 152, .68) 100%);
  box-shadow: 0 10px 24px rgba(7, 26, 44, .2);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
}
body.items-page .list-filters-inner {
  width: 100%;
}
body.items-page .filter-accordion {
  border: 1px solid #d8e3ef;
  border-radius: 14px;
  background: #f8fbff;
  margin-bottom: .3rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(21, 58, 90, .08);
}
body.items-page .filter-accordion:not([open]) {
  border: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
body.items-page .filter-accordion[open] {
  margin: 1.14rem .2rem .36rem;
}
body.items-page .filter-accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: .68rem .8rem;
  font-size: .84rem;
  font-weight: 700;
  color: #2f4f67;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.items-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.items-page .filter-accordion .filter-grid {
  padding: .52rem .72rem .68rem;
}
body.items-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .62rem;
}
body.items-page .filter-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .85rem;
}
body.items-page .filter-item {
  min-width: 0;
}
body.items-page .filter-item-favorite,
body.items-page .filter-item-owner {
  display: flex;
  align-items: flex-end;
}
body.items-page .favorite-filter-control {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .1rem;
  margin-bottom: .05rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: .84rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(8, 31, 54, .3);
  cursor: pointer;
}
body.items-page .list-filters label.favorite-filter-control {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 0;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(8, 31, 54, .3);
}
body.items-page .favorite-filter-control input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
body.items-page .favorite-filter-indicator {
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
  width: 2.15rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid #b7c7d8;
  background: #e9eff6;
  transition: background .2s ease, border-color .2s ease;
}
body.items-page .favorite-filter-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: .12rem;
  width: .9rem;
  height: .9rem;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c2cfdd;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
body.items-page .favorite-filter-control input:checked + .favorite-filter-indicator {
  border-color: #d49d22;
  background: #ffd06d;
}
body.items-page .favorite-filter-control input:checked + .favorite-filter-indicator::before {
  transform: translate(.88rem, -50%);
}
body.items-page .favorite-filter-control input:focus-visible + .favorite-filter-indicator {
  outline: 2px solid rgba(37, 96, 145, .35);
  outline-offset: 2px;
}
body.items-page .favorite-filter-label {
  line-height: 1.2;
  color: #ffffff;
}
body.items-page .search-box {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.items-page .search-row {
  display: flex;
  align-items: center;
  gap: .6rem;
}
body.items-page .search-input-wrap {
  position: relative;
  flex: 1 1 auto;
}
body.items-page .home-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
    flex-shrink: 0;
  width: 2.32rem;
  height: 2.32rem;
  border-radius: 999px;
  background: #ffffff;
  color: #2a5f84;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(19, 57, 86, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}



body.items-page .home-icon-link:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.items-page .home-icon-link:active {
  transform: scale(.97);
}
body.items-page .home-icon-link:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.items-page .home-icon-link-svg {
  width: .98rem;
  height: .98rem;
}
body.items-page .filter-icon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.32rem;
  height: 2.32rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #2a5f84;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(19, 57, 86, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
body.items-page .filter-icon-toggle:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.items-page .filter-icon-toggle[aria-expanded="true"] {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.items-page .filter-icon-toggle.is-filter-active {
  background: #1f587f;
  color: #ffffff;
}
body.items-page .filter-icon-toggle:active {
  transform: scale(.97);
}
body.items-page .filter-icon-toggle-svg {
  width: .98rem;
  height: .98rem;
}
body.items-page .filter-icon-toggle:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.items-page .mypage-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.32rem;
  height: 2.32rem;
  border-radius: 999px;
  background: #ffffff;
  color: #2a5f84;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(19, 57, 86, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
body.items-page .mypage-icon-link:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.items-page .mypage-icon-link:active {
  transform: scale(.97);
}
body.items-page .mypage-icon-link:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.items-page button.mypage-icon-link {
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
body.items-page .mypage-icon-link.is-logged-in {
  color: #fff;
  background: #11a36e;
  border: 1.5px solid rgba(17, 163, 110, .6);
  box-shadow: 0 3px 10px rgba(17, 163, 110, .4);
  overflow: hidden;
}
body.items-page .mypage-icon-link.is-logged-in:hover {
  background: #0d8f5f;
  box-shadow: 0 4px 14px rgba(17, 163, 110, .55);
}
body.items-page .mypage-icon-link.is-logged-in:focus-visible {
  outline-color: rgba(17, 163, 110, .55);
}
body.items-page .mypage-icon-link-svg {
  width: .98rem;
  height: .98rem;
}
body.items-page .mypage-icon-link-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.items-page .mypage-icon-link-initial {
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
}
body.items-page .account-menu {
  position: relative;
  flex-shrink: 0;
}
body.items-page .account-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 10rem;
  padding: .45rem .35rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(12,30,45,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(7,20,32,.22);
  z-index: 200;
  animation: accountDropIn .22s cubic-bezier(.22,1,.36,1);
}
@keyframes accountDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
body.items-page .account-dropdown-user {
  padding: .42rem .72rem .38rem;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}
body.items-page .account-dropdown-nick {
  font-weight: 700;
  color: rgba(255,255,255,.85);
}
body.items-page .account-dropdown-item {
  display: flex;
  align-items: center;
  gap: .42rem;
  width: 100%;
  padding: .52rem .72rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: #ecf7ff;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  box-sizing: border-box;
}
body.items-page .account-dropdown-item:hover {
  background: rgba(255,255,255,.09);
}
body.items-page .account-dropdown-logout {
  color: #f87171;
}
body.items-page .account-dropdown-logout-form {
  margin: 0;
}
/* ハンバーガーナビメニュー */
.items-nav-home-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}
.items-nav-home-link:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
}
.items-nav-home-link svg {
  flex-shrink: 0;
}
.items-nav-menu {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.items-nav-toggle {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 2.32rem;
  height: 2.32rem;
  border-radius: 999px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 3px 9px rgba(19,57,86,.12);
  transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.items-nav-toggle:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19,57,86,.15);
}
.items-nav-toggle:active {
  transform: scale(.97);
}
.items-nav-toggle:focus-visible {
  outline: 2px solid rgba(44,106,149,.35);
  outline-offset: 2px;
}
.items-nav-toggle-bar {
  display: block;
  width: .95rem;
  height: 1.5px;
  background: #2a5f84;
  border-radius: 2px;
}
.items-nav-dropdown {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: rgba(10, 25, 40, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,.13);
  /* box-shadow: -8px 0 40px rgba(5,16,28,.4); */
  z-index: 2001;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.items-nav-dropdown-item {
  display: block;
  padding: .52rem .72rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: #ecf7ff;
  text-decoration: none;
  transition: background .15s;
}
.items-nav-dropdown-item:hover {
  background: rgba(255,255,255,.09);
}
.items-nav-dropdown-item.is-current {
  color: #5fddb4;
}
/* ドロワー: 開いた状態 */
.items-nav-dropdown.is-open {
  transform: translateX(0);
}
/* ドロワー: バックドロップ */
.items-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.items-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
/* ドロワー内部レイアウト */
.items-nav-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 2rem;
}
.items-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  gap: .5rem;
}
.items-nav-drawer-title {
  font-size: .95rem;
  font-weight: 700;
  color: rgba(236,247,255,.9);
}
.items-nav-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(236,247,255,.8);
  cursor: pointer;
  transition: background .18s;
}
.items-nav-drawer-close:hover {
  background: rgba(255,255,255,.16);
}
/* ログインバッジ（ハンバーガーボタン上の緑ドット） */
.items-nav-login-badge {
  position: absolute;
  top: .18rem;
  right: .18rem;
  width: 8px;
  height: 8px;
  background: #11a36e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
}
/* ログイン済みトグル（強調） */
.items-nav-toggle.is-logged-in {
  background: #ffffff;
  box-shadow: 0 3px 9px rgba(17,163,110,.22), 0 0 0 2px rgba(17,163,110,.35);
}
/* ユーザーカード */
.items-nav-user-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 1;
  min-width: 0;
}
.items-nav-user-avatar {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #11a36e;
  border: 2px solid rgba(17,163,110,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.items-nav-user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.items-nav-user-avatar-initial {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.items-nav-user-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.items-nav-user-name {
  font-size: .88rem;
  font-weight: 700;
  color: rgba(236,247,255,.92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.items-nav-user-email {
  font-size: .7rem;
  color: rgba(236,247,255,.48);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* ログアウトボタン色 */
.items-nav-logout-form { margin: 0; }
.items-nav-logout-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: #f87171;
}
/* ナビアイテム（ドロワー内） */
.items-nav-dropdown .items-nav-dropdown-item {
  padding: 1rem 1rem;
  border-radius: 0;
  margin: 0;
  font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* サイトリンクグループ */
.items-nav-site-links {
  padding-top: .25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: .25rem;
}
.items-nav-dropdown .items-nav-site-link {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(236,247,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.04);
  letter-spacing: .01em;
}
.items-nav-dropdown .items-nav-site-link:hover {
  color: rgba(236,247,255,.85);
  background: rgba(255,255,255,.05);
}
/* 共通ページヘッダーバー（liked / post / requests / messages） */
.items-page-shared-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .72rem max(.9rem, env(safe-area-inset-right)) .72rem max(.9rem, env(safe-area-inset-left));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-bottom: 1px solid rgba(102, 155, 128, .58);
  position: sticky;
  top: 0;
  z-index: 140;
  width: 100vw;
  background: linear-gradient(132deg, rgba(39, 118, 92, .78) 0%, rgba(50, 144, 108, .8) 42%, rgba(136, 156, 74, .72) 72%, rgba(58, 113, 152, .68) 100%);
  box-shadow: 0 10px 24px rgba(7, 26, 44, .2);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
}
body.items-page .search-icon {
  position: absolute;
  left: .72rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #597287;
  pointer-events: none;
}
body.items-page .search-row input[type="search"] {
  width: 100%;
  height: 2.32rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  padding: 0 .74rem 0 1.98rem;
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(167, 191, 210, .55);
  transition: box-shadow .18s ease, background-color .18s ease;
}
body.items-page .search-row input[type="search"]:focus-visible {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(73, 132, 178, .52), 0 0 0 3px rgba(64, 130, 184, .14);
  outline: none;
}
body.items-page .list-filters label {
  display: block;
  margin-top: 0;
  margin-bottom: .32rem;
  font-size: .82rem;
  color: #476177;
}
body.items-page .list-filters select {
  background: #f7faff;
  width: 100%;
}
body.items-page .filter-actions {
  margin-top: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
}
body.items-page .filter-accordion .filter-actions {
  margin: .2rem .75rem .72rem;
  justify-content: flex-end;
}
body.items-page .filter-actions-bottom {
  margin-top: 0;
  justify-content: center;
}
body.items-page .filter-actions-bottom .filter-reset,
body.items-page .filter-actions-bottom .filter-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  line-height: 1;
  white-space: nowrap;
}
body.items-page .filter-close-btn {
  border: 0;
  border-radius: 999px;
  background: #2b5f85;
  color: #ffffff;
  padding: .45rem 1.05rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
body.items-page .filter-close-btn:hover {
  background: #244f6f;
}
body.items-page .filter-close-btn:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.items-page .filter-submit {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6aa5 0%, #268ec9 100%);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  min-width: 10.5rem;
  padding: .72rem 1.45rem;
  box-shadow: 0 8px 18px rgba(31, 106, 165, .26);
  cursor: pointer;
}
body.items-page .filter-reset {
  text-decoration: none;
  border: 1px solid #c3d0de;
  border-radius: 999px;
  color: #30485d;
  background: #f4f8fc;
  padding: .45rem 1.05rem;
  font-size: .84rem;
  font-weight: 700;
}
@media (max-width: 540px) {
  body.items-page .search-row {
    width: 100%;
  }
}
body.items-page .list-wrap { 
  margin-top: 0;
    padding: .8rem; 
}
body.items-page .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: .72rem;
}
body.items-page .card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #d6dfe9;
  background: #fff;
  animation: rise .55s ease;
}

body.items-page .card.status-closed {
  background: #f9fbfd;
  border-color: #dbe2eb;
}
body.items-page .card.status-closed .thumb {
  filter: saturate(.82);
}
body.items-page .card.is-favorite-hidden {
  display: none;
}
body.items-page .card-photo-slider {
  position: relative;
  overflow: hidden;
  background: #eef2f8;
  touch-action: pan-y;
}
body.items-page .card-photo-area {
  position: relative;
  overflow: hidden;
  background: #eef2f8;
  border-radius: 20px 20px 0 0;
}
body.items-page .card-thumb-link {
  display: block;
}
body.items-page .card-thumb-link .thumb {
  transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .18s ease;
}
body.items-page .card-photo-overlay-top {
  position: absolute;
  top: .55rem;
  left: .88rem;
  z-index: 3;
}
body.items-page .card-photo-status {
  margin: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 2px 8px rgba(11, 30, 48, .16);
}
body.items-page span.card-photo-status {
  display: inline-block;
  padding: .2rem .56rem;
  line-height: 1.2;
  pointer-events: none;
}
body.items-page .card-photo-overlay-bottom {
  position: absolute;
  left: 50%;
  bottom: .55rem;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
body.items-page .card-photo-overlay-actions {
  position: absolute;
  bottom: .45rem;
  right: .45rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .18rem;
}
body.items-page .card-photo-overlay-actions .like-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .22rem;
  height: 2rem;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(14, 28, 42, .52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #e8eef5;
  line-height: 1;
  padding: 0 .55rem;
  border: none;
  cursor: pointer;
}
body.items-page .card-photo-overlay-actions .like-toggle:hover {
  background: rgba(14, 28, 42, .75);
  color: #ff9090;
}
body.items-page .card-photo-overlay-actions .like-toggle.is-active {
  color: #ff6b6b;
}
body.items-page .card-photo-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(14, 28, 42, .72);
  color: #ffffff;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}
body.items-page .card-photo-track {
  position: relative;
  display: flex;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}
body.items-page .card-photo-slider .card-photo-slide {
  display: block;
  flex: 0 0 100%;
}
body.items-page .card-photo-slider .card-photo-slide.is-active {
  display: block;
}
body.items-page .card-photo-slider.is-dragging .card-photo-track {
  transition: none;
}
body.items-page .thumb {
  aspect-ratio: 1 / 1;
  background: #eef2f8;
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .18s ease;
}

body.items-page .card-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: rgba(16, 26, 36, .62);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background .18s ease;
  z-index: 2;
}
body.items-page .card-photo-nav[hidden] {
  display: none !important;
}
@media (hover: hover) {
  body.items-page .card:hover .card-photo-nav {
    opacity: 1;
    pointer-events: auto;
  }
}
body.items-page .card-photo-slider:focus-within .card-photo-nav {
  opacity: 1;
  pointer-events: auto;
}
body.items-page .card-photo-nav:hover {
  background: rgba(16, 26, 36, .82);
}
body.items-page .card-photo-nav.is-prev {
  left: .45rem;
}
body.items-page .card-photo-nav.is-next {
  right: .45rem;
}
body.items-page .card-photo-dots {
  display: none;
}
body.items-page .card-photo-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #c8d4df;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, width .18s ease;
}
body.items-page .card-photo-dot.is-active {
  width: 1rem;
  background: #1c4f6b;
}
body.items-page .card-photo-dot:hover {
  transform: scale(1.08);
}
body.items-page .card-body { padding: .6rem .72rem .68rem; }
body.items-page .card-item-name {
  margin: 0 0 .32rem;
  font-size: .86rem;
  font-weight: 700;
  color: #1b3448;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.01em;
}
body.items-page .card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .45rem;
}
body.items-page .card-title-main {
  min-width: 0;
}
body.items-page .card-kebab {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-start;
}
body.items-page .card-kebab-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: .02rem .04rem .02rem .18rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #45657f;
  cursor: pointer;
  transform: translateY(-1px);
  transition: color .18s ease, transform .12s ease;
}
body.items-page .card-kebab-toggle::-webkit-details-marker {
  display: none;
}
body.items-page .card-kebab-toggle:hover {
  color: #203f58;
}
body.items-page .card-kebab-toggle:active {
  transform: translateY(-1px) scale(.97);
}
body.items-page .card-kebab-toggle:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.items-page .card-kebab-icon {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
}
body.items-page .card-kebab-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .3rem);
  z-index: 30;
  width: min(270px, 84vw);
  border: 1px solid #ccdae8;
  border-radius: 12px;
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(17, 45, 68, .15);
  padding: .62rem;
}
body.items-page .copy-item-url-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  width: 100%;
  padding: .62rem .8rem;
  margin-bottom: .52rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #3a5aa1 0%, #1d49c3 100%);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
}
body.items-page .copy-item-url-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .45);
  transform: translateY(-1px);
}
body.items-page .copy-item-url-btn:active {
  filter: brightness(.95);
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(37, 99, 235, .3);
}
body.items-page .copy-item-url-btn:disabled {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 2px 8px rgba(22, 163, 74, .35);
  transform: none;
  filter: none;
  cursor: default;
}
body.items-page .copy-item-url-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
body.items-page .card-kebab-menu .status-form {
  margin: 0;
}
body.items-page .card-kebab-menu .danger-btn {
  width: 100%;
  margin-top: .52rem;
}
body.items-page .name { margin: 0; font-size: .92rem; font-weight: 700; }
body.items-page .status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  margin-top: .34rem;
  padding: .2rem .56rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}
body.items-page .status-pill.status-open {
  color: #126a52;
  background: #e4f7ef;
  border-color: #b9e9d7;
}
body.items-page .status-pill.status-negotiating {
  color: #985f0b;
  background: #fff2dc;
  border-color: #f0d8a7;
}
body.items-page .status-pill.status-closed {
  color: #556a7d;
  background: #edf2f7;
  border-color: #d3dde7;
}
body.items-page .meta {
  margin-top: .35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
body.items-page .meta.meta-key {
  margin-top: .3rem;
  gap: .22rem;
}
body.items-page .meta.meta-key .tag {
  background: #edf6ff;
  border: 1px solid #d4e5f6;
  color: #215777;
}
body.items-page .meta.meta-key .tag-price {
  background: linear-gradient(135deg, #e8f8f2 0%, #dcf4ec 100%);
  border-color: #b5e2cf;
  color: #0f6644;
  font-weight: 700;
}
body.items-page .meta.meta-key .tag-area {
  background: #f5f0ff;
  border-color: #dcd0f5;
  color: #4a3580;
}
body.items-page .meta.meta-detail {
  margin: 0 0 .58rem;
}
body.items-page .meta-detail-collapsible {
  display: none;
  margin: 0;
}
body.items-page .card.is-note-expanded .meta-detail-collapsible {
  display: flex;
  margin: .3rem 0 .54rem;
  gap: .4rem .28rem;
}
body.items-page .tag {
  font-size: .76rem;
  color: #1b4f6d;
  background: #e9f4ff;
  border-radius: 999px;
  padding: .2rem .55rem;
}
body.items-page .note {
  margin: .55rem 0 .8rem;
  color: #435466;
  line-height: 1.6;
  font-size: .93rem;
  min-height: 0;
}
body.items-page .note-wrap {
  margin: .55rem 0 .8rem;
}
body.items-page .note-wrap .note {
  margin: 0;
}
body.items-page .note-wrap + .card-more,
body.items-page .note + .card-more {
  margin-top: -.48rem;
}
body.items-page .note.note-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.items-page .note-ellipsis {
  display: inline-block;
  margin-top: .18rem;
  color: #6a8094;
  font-size: .86rem;
  font-weight: 700;
}
body.items-page .card.is-note-expanded .note.note-clamp {
  display: block;
  overflow: visible;
}
body.items-page .card.is-note-expanded .note-ellipsis {
  display: none;
}

body.items-page .listing-meta {
  margin: 0 0 .7rem;
}

body.items-page .listing-meta p {
  margin: 0;
  font-size: .72rem;
  color: #8aa3b5;
  line-height: 1.5;
  word-break: break-all;
}
body.items-page .listing-meta a {
  color: #6e9db8;
  text-decoration: underline;
  text-underline-offset: .12em;
}
body.items-page .card-more {
  margin: .08rem 0 .42rem;
}
body.items-page .card-more-toggle {
  list-style: none;
  cursor: pointer;
  user-select: none;
  border: 0;
  background: transparent;
  color: #196eb1;
  font-size: .83rem;
  font-weight: 700;
  padding: .55rem 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-underline-offset: .12em;
  transition: color .18s ease;
}
body.items-page .card-more-toggle::-webkit-details-marker {
  display: none;
}
body.items-page .card-more-toggle::after {
  content: ' ▼';
  display: inline-block;
  font-size: .72rem;
  margin-left: .2em;
  text-decoration: none;
}
body.items-page .card-more[open] .card-more-toggle::after {
  content: '';
}
body.items-page .card-more[open] .card-more-toggle {
  display: none;
}
body.items-page .card-more-toggle:hover {
  color: #0f5a97;
}
body.items-page .card-more-toggle:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.items-page .card-more-body {
  margin-top: .38rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
}
body.items-page .card-more[open] .card-more-body {
  animation: card-more-fade .2s ease;
}
@keyframes card-more-fade {
  from {
    opacity: .55;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.items-page .card-more-body .listing-meta {
  margin: 0;
}
body.items-page .card-more-collapse {
  display: none;
  margin: .18rem 0 .52rem;
  padding: .55rem 0;
  border: 0;
  background: transparent;
  color: #196eb1;
  font-size: .83rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
body.items-page .card-more-collapse::after {
  content: ' ▲';
  display: inline-block;
  font-size: .72rem;
  margin-left: .2em;
  text-decoration: none;
}
body.items-page .card-more-collapse:hover {
  color: #0f5a97;
}
body.items-page .card-more-collapse:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.items-page .card.is-note-expanded .card-more-collapse {
  display: flex;
}
body.items-page .status-form {
  margin: 0 0 .62rem;
}
body.items-page .status-form label {
  display: block;
  margin: 0 0 .3rem;
  font-size: .77rem;
  color: #476177;
}
body.items-page .status-form-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}
body.items-page .status-form-row select {
  flex: 1;
  min-width: 0;
  border: 1px solid #c8d5e2;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #f7faff;
  height: 2.18rem;
  padding: 0 .58rem;
  box-sizing: border-box;
  font: inherit;
  font-size: .82rem;
  line-height: 1.2;
}
body.items-page .status-form-row .status-update-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 2.18rem;
  font-size: .79rem;
  line-height: 1.2;
  padding: 0 .78rem;
  box-sizing: border-box;
  border: 1px solid #c8d5e2;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #eef4fb;
  margin-left: -1px;
}
body.items-page .status-form-row .status-update-btn:hover {
  background: #e3edf8;
}
body.items-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-top: .38rem;
}
body.items-page .actions .dm-copy {
  flex-basis: 100%;
}
body.items-page .actions .dm-agree-note {
  flex-basis: 100%;
  margin: .16rem 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4a6378;
  text-align: center;
}
body.items-page .actions .dm-agree-note a {
  color: #156a8a;
  text-decoration: underline;
  text-underline-offset: .12em;
}
body.items-page .actions .dm-closed-note {
  flex-basis: 100%;
  margin: .1rem 0 0;
  font-size: .8rem;
  line-height: 1.58;
  color: #5b6f81;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #f4f7fb;
  padding: .48rem .6rem;
}
body.items-page .actions .dm-direct {
  flex-basis: 100%;
}
body.items-page .dm-copy {
  background: #eef4fb;
  border-color: #c8d7e7;
  color: #203447;
}
body.items-page .dm-copy:hover {
  background: #e4edf7;
}
body.items-page .link-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(90deg, #f9a94c 0%, #e0467c 50%, #9f4fb0 100%);
  color: #fff;
  border-radius: 999px;
  padding: .78rem .8rem;
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 600;
  border: none;
}
body.items-page .ghost-btn {
  border: 1px solid #bdcbdb;
  background: #f6f9fd;
  color: #243646;
  border-radius: 999px;
  padding: .78rem .8rem;
  font-size: .88rem;
  line-height: 1.25;
  cursor: pointer;
  font-weight: 600;
}
body.items-page .favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: #94a8ba;
  cursor: pointer;
  padding: 0;
  transition: transform .15s ease, color .2s ease;
}
body.items-page .favorite-toggle:hover {
  color: #6f8497;
  transform: scale(1.06);
}
body.items-page .favorite-star {
  color: currentColor;
  font-size: 1.22rem;
  line-height: 1;
}
body.items-page .favorite-toggle.is-active {
  color: #d49d22;
}
body.items-page .favorite-toggle.is-active .favorite-star {
  color: currentColor;
}


body.items-page .like-toggle {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a8ba;
  padding: .18rem .32rem;
  border-radius: .35rem;
  transition: color .15s, background .15s;
  line-height: 1;
  white-space: nowrap;
}
body.items-page .like-toggle:hover {
  color: #e05555;
  background: #fff0f0;
}
body.items-page .like-toggle.is-active {
  color: #e05555;
}
body.items-page .like-heart {
  font-size: 1.1rem;
  line-height: 1;
}
body.items-page .like-count {
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

body.items-page .danger-btn {
  border: 1px solid #cf3f62;
  background: linear-gradient(90deg, #d3496d, #c72f57);
  color: #fff;
  border-radius: 999px;
  padding: .53rem .8rem;
  font-size: .82rem;
  cursor: pointer;
  font-weight: 700;
}

body.items-page .dm-feedback {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2200;
  margin: 0;
  max-width: min(92vw, 440px);
  border-radius: 12px;
  background: rgba(18, 33, 47, .95);
  color: #fff;
  padding: .72rem .86rem;
  font-size: .83rem;
  line-height: 1.45;
  box-shadow: 0 14px 28px rgba(4, 16, 28, .24);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

body.items-page .dm-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.items-page .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 18, 28, .58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.items-page .modal-backdrop[hidden] {
  display: none !important;
}

body.items-page .modal-card {
  width: min(400px, 100%);
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #ccdae8;
  box-shadow: 0 10px 28px rgba(17, 45, 68, .18);
  padding: .9rem;
  text-align: center;
}

body.items-page .modal-card h2 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-weight: 700;
  color: #243646;
}

body.items-page .modal-card p {
  margin: 0 0 .75rem;
  font-size: .85rem;
  color: #476177;
  line-height: 1.6;
}

body.items-page .modal-actions {
  margin-top: .75rem;
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
}
body.items-page .modal-actions-col {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: .52rem;
}
body.items-page .modal-actions-col .modal-actions {
  margin-top: .1rem;
}
body.items-page .dm-guide-actions {
  margin-bottom: .6rem;
}
body.items-page .dm-guide-open {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
body.items-page .dm-guide-skip-row {
  margin-bottom: .5rem;
}
body.items-page .dm-guide-skip-label {
  display: flex;
  align-items: center;
  gap: .42rem;
  font-size: .82rem;
  color: #476177;
  cursor: pointer;
  user-select: none;
}
body.items-page .dm-guide-skip-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
body.items-page .status-modal-select {
  width: 100%;
  height: 2.18rem;
  padding: 0 .58rem;
  border: 1px solid #c8d5e2;
  border-radius: 10px;
  font: inherit;
  font-size: .82rem;
  background: #f7faff;
  cursor: pointer;
  color: #243646;
  box-sizing: border-box;
}
body.items-page #status-modal .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.18rem;
  font: inherit;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 .78rem;
  box-sizing: border-box;
}
body.items-page .status-update-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.18rem;
  font: inherit;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 .78rem;
  border: 1px solid #c8d5e2;
  border-radius: 999px;
  background: #eef4fb;
  color: #243646;
  cursor: pointer;
  transition: background .15s ease;
}
body.items-page .status-update-modal-btn:hover {
  background: #e3edf8;
}
body.items-page .empty {
  border: 1px dashed #b8c6d6;
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  color: #5d6e80;
  background: #f9fbff;
}
body.items-page .pager {
  margin-top: .95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .42rem;
}
body.items-page .pager-link,
body.items-page .pager-number {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 .62rem;
  border-radius: 999px;
  border: 1px solid #c8d6e4;
  background: #ffffff;
  color: #25465f;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.items-page .pager-number.is-active {
  border-color: #1e78af;
  background: linear-gradient(90deg, #1f6aa5, #268ec9);
  color: #fff;
}
body.items-page .pager-link.is-disabled {
  opacity: .45;
  pointer-events: none;
}
body.items-page .pager-gap {
  color: #7c8ea0;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 0 .1rem;
}

/* Activity page */
body.activity-page .hero {
  background:
    linear-gradient(120deg, rgba(13, 109, 101, 0.92) 0%, rgba(16, 151, 160, 0.86) 48%, rgba(25, 185, 191, 0.84) 100%),
    url('../../img/kodomohukuimage.png') center / cover no-repeat;
}

body.activity-page .hero::before {
  content: '';
  position: absolute;
  inset: -50% -20% auto auto;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}

body.activity-page .hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .04em;
  font-weight: 900;
}

body.activity-page .hero p { margin: .9rem 0 .9rem; }

body.activity-page .hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  position: relative;
  z-index: 1;
}

body.activity-page .hero-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .45);
  box-shadow: 0 10px 26px rgba(9, 35, 54, .25);
}

body.activity-page .grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.activity-page .card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #d8e0ea;
  box-shadow: 0 12px 30px rgba(15, 35, 54, 0.06);
  padding: 1.2rem;
  animation: rise .6s ease;
  position: relative;
  overflow: hidden;
}

body.activity-page .card::after {
  content: '';
  position: absolute;
  inset: auto -25px -25px auto;
  width: 90px;
  height: 90px;
  background: linear-gradient(140deg, rgba(17, 182, 166, .16), rgba(255, 175, 63, .16));
  border-radius: 50%;
}

body.activity-page .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(120deg, #0f8f7a, #11b6a6);
  color: #fff;
  font-weight: 800;
  margin-bottom: .7rem;
}

body.activity-page .card h2 {
  margin: 0;
  font-size: 1.12rem;
}

body.activity-page .card p {
  margin: .6rem 0 0;
  color: #435466;
  line-height: 1.8;
}

body.activity-page .vision {
  margin-top: 1rem;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid #d8e4e9;
  background: linear-gradient(90deg, #f7fffd 0%, #f6fbff 100%);
  color: #26404f;
  line-height: 1.8;
}

body.activity-page .vision-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: center;
}

body.activity-page .vision-layout img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 185px;
  box-shadow: 0 12px 28px rgba(15, 35, 54, .14);
}

body.activity-page .cta {
  margin: 1.2rem auto 0;
  display: block;
  width: fit-content;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #3a8f57;
  background: linear-gradient(120deg, #2f8a4b 0%, #4fa869 55%, #74bf88 100%);
  color: #fff;
  font-weight: 700;
  padding: .72rem 1.2rem;
  box-shadow: 0 10px 24px rgba(47, 138, 75, .28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.activity-page .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(47, 138, 75, .34);
  filter: brightness(1.03);
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fab-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 920px) {
  body.items-page {
    background: #f6f7fb;
  }

  body.items-page .wrap {
    width: 100%;
    margin: 0;
    padding: 0 0 4rem;
  }

  body.items-page .hero-layout {
    grid-template-columns: 1fr;
  }

  body.items-page .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  body.items-page .hero-shot.tall {
    grid-row: auto;
    min-height: 170px;
  }

  body.items-page .grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  body.items-page .form-panel {
    position: fixed;
    top: 84px;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1960;
    overflow: hidden;
  }

  body.items-page .form-panel.is-mobile-open {
    display: block;
  }

  body.items-page .form-panel.is-mobile-open .mobile-form-close {
    display: flex;
  }

  body.items-page .mobile-form-backdrop {
    display: none !important;
  }

  body.items-page .create-item-form {
    padding: .9rem .88rem 1.1rem;
  }

  body.items-page .form-accordion > summary {
    pointer-events: none;
    cursor: default;
  }

  body.items-page .form-accordion > summary::after {
    content: none;
  }

  body.items-page .form-accordion[open] > summary::after {
    content: none;
  }

  body.items-page .form-accordion[open] > form {
    margin-top: 0;
  }

  body.items-page .mobile-form-close-wrap {
    display: block;
    position: absolute;
    top: .62rem;
    right: .62rem;
    z-index: 2;
    padding: 0;
  }

  body.items-page .mobile-form-close {
    font-size: 1.7rem;
  }

  body.items-page .form-panel form .btn {
    font-size: 1.08rem;
    padding: 1.02rem 1.2rem;
  }

  body.items-page .form-accordion:not([open]) {
    border-bottom: 0;
  }

  body.items-page .filter-grid {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  body.items-page .filter-item-category {
    margin-top: .6rem;
  }

  body.items-page .filter-accordion .filter-grid {
    padding: .7rem .7rem .65rem;
  }

  body.items-page .filter-accordion .filter-actions {
    margin: .16rem .7rem .62rem;
  }

  body.items-page .card-photo-nav {
    opacity: 1;
    pointer-events: auto;
    width: 1.85rem;
    height: 1.85rem;
  }

  body.items-page .list-filters {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    top: 0;
  }

  body.items-page .list-filters-inner {
    display: flex;
    flex-direction: column;
  }

  body.items-page .search-box {
    order: 1;
  }

  body.items-page .filter-toggle-row {
    order: 2;
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    gap: .34rem .62rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: .12rem .2rem .18rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.items-page .filter-accordion {
    order: 3;
  }

  body.items-page .filter-item {
    display: grid;
    grid-template-columns: 6.8em minmax(0, 1fr);
    align-items: center;
    /* gap: .45rem; */
  }

  body.items-page .filter-item.filter-item-favorite,
  body.items-page .filter-item.filter-item-owner {
    display: inline-flex;
    align-items: center;
  }

  body.items-page .filter-item.filter-item-favorite .favorite-filter-control,
  body.items-page .filter-item.filter-item-owner .favorite-filter-control {
    display: inline-flex;
    margin-left: 0;
    padding: .18rem .14rem;
    gap: .34rem;
  }

  body.items-page .filter-item.filter-item-favorite .favorite-filter-label,
  body.items-page .filter-item.filter-item-owner .favorite-filter-label {
    white-space: nowrap;
    font-size: .75rem;
  }

  body.items-page .list-filters label {
    margin: 0;
    font-size: .8rem;
  }

  body.items-page .list-wrap {
    margin-top: 0;
    padding-bottom: 1.2rem;
  }

  body.items-page .tag-options {
    gap: .26rem;
  }

  body.items-page .list-filters select {
    padding: .52rem .65rem;
  }

  body.items-page .filter-actions {
    flex-wrap: wrap;
    margin-top: .55rem;
  }

  body.items-page .pager {
    gap: .35rem;
  }

  body.items-page .pager-link,
  body.items-page .pager-number {
    min-width: 2rem;
    height: 2rem;
    font-size: .8rem;
  }

  body.items-page .hero,
  body.activity-page .hero { padding: 2rem 1.2rem; }

  body.activity-page .hero-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 130px 108px;
  }

  body.activity-page .hero-gallery img {
    height: 100%;
  }

  body.activity-page .hero-gallery img:nth-child(1) {
    grid-column: 1 / -1;
  }

  body.activity-page .hero-gallery img:nth-child(2) {
    transform: none;
  }

  body.activity-page .hero-gallery img:nth-child(3) {
    grid-column: auto;
  }

  body.activity-page .vision-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 921px) {
  body.items-page .mobile-form-close {
    display: none;
  }

  body.items-page .form-panel.is-mobile-open {
    display: block;
    position: fixed;
    top: 90px;
    left: 50%;
    right: auto;
    bottom: 1.2rem;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 2.4rem));
  }

  body.items-page .form-panel.is-mobile-open .mobile-form-close {
    display: flex;
  }

  body.items-page .create-item-form {
    padding: 1rem 1.1rem 1.25rem;
  }

}

@media (max-width: 430px) {
  body.items-page .filter-toggle-row {
    justify-content: flex-start;
  }

  body.items-page .list-wrap {
    margin-top: 0;
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 940px) {
  body.home-page .hero {
    min-height: calc(100vh - 132px);
  }

  body.home-page .hero-content {
    padding: 1.3rem;
  }

  body.home-page .copy h1 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }


  body.home-page .features-section {
    padding: 1.15rem .9rem 1rem;
    margin: 1rem 0;
    border-radius: 22px;
  }

  body.home-page .features-heading h2 {
    font-size: clamp(1.4rem, 8.4vw, 1.85rem);
  }

  body.home-page .features-heading > p {
    font-size: .9rem;
  }

  body.home-page .feature-card {
    padding: .9rem .8rem .85rem;
  }

  body.home-page .feature-illust {
    width: 68px;
    height: 68px;
  }
  body.home-page .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* Terms / Privacy page */
body.terms-page,
body.privacy-page {
  color: #12212f;
  background:
    radial-gradient(circle at 10% 5%, #dff8f2 0, transparent 35%),
    radial-gradient(circle at 90% 0%, #ffe9c5 0, transparent 30%),
    #f6f7fb;
  padding-top: 92px;
}

body.terms-page .wrap,
body.privacy-page .wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.terms-main {
  flex: 1;
}

.terms-hero {
  padding: 2.2rem 2rem;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 74, 77, 0.94) 0%, rgba(11, 106, 120, 0.9) 46%, rgba(25, 173, 171, 0.88) 100%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .18), transparent 45%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 38, 59, 0.1);
  animation: rise .7s ease;
}

.terms-kicker {
  margin: 0 0 .45rem;
  color: #d9f8f0;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 800;
}

.terms-hero h1 {
  margin: 0 0 .6rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: .06em;
}

.terms-hero p {
  margin: 0;
  color: #ecfffe;
  line-height: 1.8;
  max-width: 54ch;
}

.terms-body {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.terms-section {
  border-radius: 22px;
  border: 1px solid #d7e3ef;
  box-shadow: 0 16px 34px rgba(14, 34, 53, .08);
  padding: 1.15rem 1.05rem 1.05rem;
  background: #ffffff;
}

.terms-section.terms-section-want {
  background: linear-gradient(155deg, rgba(16, 151, 120, .12) 0%, rgba(255, 255, 255, .96) 52%);
}

.terms-section.terms-section-give {
  background: linear-gradient(155deg, rgba(255, 178, 71, .16) 0%, rgba(255, 255, 255, .96) 54%);
}

.terms-section h2 {
  margin: 0 0 .7rem;
  font-size: 1.18rem;
  font-weight: 900;
  color: #17324a;
}

.terms-lead {
  margin: 0 0 .8rem;
  color: #4b6478;
  line-height: 1.75;
  font-size: .91rem;
}

.terms-mini-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .48rem;
  margin: 0 0 .9rem;
}

.terms-mini-map-item {
  padding: .62rem .68rem;
  border-radius: 14px;
  border: 1px solid #d8e3ee;
  background: rgba(255, 255, 255, .76);
  display: grid;
  gap: .12rem;
}

.terms-mini-map-item strong {
  color: #17324a;
  font-size: .9rem;
}

.terms-mini-map-label {
  color: #66839a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.terms-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .48rem;
}

.terms-flow li {
  margin: 0;
}

.terms-step-title {
  display: block;
  margin: 0;
  color: #17324a;
  font-size: .92rem;
}

.terms-step-accordion {
  border: 1px solid #d3e4e8;
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
  overflow: hidden;
}

.terms-step-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .72rem;
  padding: .78rem .88rem;
  transition: background .18s ease, border-color .18s ease;
}

.terms-step-summary::-webkit-details-marker {
  display: none;
}

.terms-step-summary:hover {
  background: rgba(243, 249, 255, .88);
}

.terms-step-summary::after {
  content: '▾';
  margin-left: auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5fd;
  color: #4d6980;
  font-size: .8rem;
  flex: 0 0 auto;
  transition: transform .18s ease, background .18s ease;
}

.terms-step-accordion[open] .terms-step-summary::after {
  transform: rotate(180deg);
  background: #e4eef9;
}

.terms-step-number {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
  flex: 0 0 auto;
}

.terms-section-give .terms-step-number {
  background: linear-gradient(135deg, #e28a1f 0%, #f0b44f 100%);
}

.terms-step-summary-text {
  min-width: 0;
  display: grid;
  gap: .16rem;
}

.terms-step-summary-note {
  color: #688397;
  font-size: .78rem;
  line-height: 1.5;
}

.terms-step-body {
  padding: 0 .88rem .88rem;
  border-top: 1px solid #e1e9f2;
  background: rgba(252, 254, 255, .92);
}

.terms-step-accordion[open] .terms-step-summary {
  background: rgba(248, 251, 255, .95);
}

.terms-step-detail,
.terms-step-tools,
.terms-step-tip {
  margin: 0;
}

.terms-step-detail {
  color: #406073;
  margin-top: .76rem;
}

.terms-step-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  gap: .42rem;
  margin-top: .44rem;
}

.terms-step-panel {
  padding: .46rem .52rem;
  border-radius: 10px;
  border: 1px solid #d7e4ef;
  background: #f7fbff;
}

.terms-step-panel-tip {
  border-color: #d6ebe3;
  background: #eff8f4;
}

.terms-step-label {
  margin: 0 0 .34rem;
  color: #5e7a8f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.terms-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
}

.terms-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .16rem .5rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9e5f0;
  color: #425f75;
  font-size: .77rem;
  line-height: 1.35;
}

.terms-step-tip-text {
  margin: 0;
  color: #2f6657;
  font-size: .82rem;
  line-height: 1.6;
}

.terms-note {
  margin: 0;
  color: #3d566b;
  line-height: 1.72;
  font-size: .9rem;
}

.terms-note-box {
  margin-top: .82rem;
  padding: .72rem .8rem;
  border-radius: 14px;
  border: 1px solid #d8e3ee;
  background: rgba(255, 255, 255, .7);
}

.terms-note-title {
  margin: 0 0 .3rem;
  color: #17324a;
  font-size: .86rem;
  font-weight: 800;
}

.terms-updated {
  margin-top: 2rem;
  font-size: .85rem;
  color: #7a95ab;
  text-align: right;
}

/* =====================
   使い方ページ (howto)
   ===================== */
.howto-main {
  flex: 1;
  /* スマホ基準: 最大幅を狭めて中央寄せ */
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.howto-tabs {
  display: flex;
  gap: .5rem;
  margin: 1.4rem 0 1.1rem;
  background: #edf2f8;
  border-radius: 16px;
  padding: .38rem;
}

.howto-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .68rem 1rem;
  border: none;
  border-radius: 11px;
  background: transparent;
  font: inherit;
  font-size: .94rem;
  font-weight: 700;
  color: #607a91;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.howto-tab.is-active {
  background: #fff;
  color: #17324a;
  box-shadow: 0 2px 10px rgba(14, 34, 53, .10);
}

.howto-tab--want.is-active { color: #0e7d65; }
.howto-tab--give.is-active { color: #b86f12; }

.howto-panel[hidden] { display: none; }

.howto-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

/* Step card */
.howto-step {
  border-radius: 18px;
  border: 1px solid #d7e3ef;
  background: #fff;
  box-shadow: 0 4px 14px rgba(14, 34, 53, .06);
  padding: 1.15rem 1.2rem 1.2rem;
}

.howto-step-hd {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .9rem;
}

.howto-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  margin-top: .1rem;
}

.howto-step--want .howto-step-num {
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
}

.howto-step--give .howto-step-num {
  background: linear-gradient(135deg, #e28a1f 0%, #f0b44f 100%);
}

.howto-step-hd h2 {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: #17324a;
  line-height: 1.45;
}

/* Tap hint */
.howto-tap-hint {
  margin: .7rem 0 .55rem;
  font-size: .82rem;
  color: #4a6275;
  line-height: 1.6;
}

/* Tips */
.howto-tips {
  margin: 0;
  padding: 0 0 0 1rem;
  list-style: disc;
  display: grid;
  gap: .22rem;
}

.howto-tips li {
  font-size: .8rem;
  color: #6d8799;
  line-height: 1.55;
}

/* ----------------------
   パルスアニメーション
   ---------------------- */
@keyframes mock-pulse-want {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 151, 120, .55); }
  60%       { box-shadow: 0 0 0 6px rgba(16, 151, 120, 0); }
}

@keyframes mock-pulse-give {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 138, 31, .55); }
  60%       { box-shadow: 0 0 0 6px rgba(226, 138, 31, 0); }
}

.howto-step--want .mock-highlighted {
  border-color: #109778 !important;
  animation: mock-pulse-want 1.8s ease infinite;
}

.howto-step--give .mock-highlighted {
  border-color: #e28a1f !important;
  animation: mock-pulse-give 1.8s ease infinite;
}

/* ----------------------
   モック UI 共通
   ---------------------- */
.mock-screen {
  background: #f2f6fb;
  border: 1.5px solid #ccd8e8;
  border-radius: 16px;
  padding: .75rem;
  display: grid;
  gap: .45rem;
}

/* 検索バー */
.mock-searchbar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #c8d6e4;
  border-radius: 8px;
  padding: .45rem .65rem;
}

.mock-search-placeholder {
  font-size: .75rem;
  color: #9fb5c7;
}

/* フィルターチップ列 */
.mock-chips-row {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1.5px solid #c4d4e4;
  background: #fff;
  font-size: .73rem;
  color: #4a6275;
  font-weight: 600;
  position: relative;
  transition: border-color .15s;
}

/* カードスタブ（一覧プレビュー用） */
.mock-card-stub {
  height: 34px;
  background: #fff;
  border: 1px solid #d4e0eb;
  border-radius: 8px;
}

/* カード */
.mock-card {
  background: #fff;
  border: 1px solid #d4e0eb;
  border-radius: 12px;
  overflow: hidden;
}

.mock-card-img {
  height: 80px;
  background: linear-gradient(135deg, #c8d8e8 0%, #d8e8f4 100%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: .45rem;
}

.mock-card-img-lg {
  height: 110px;
}

/* ステータスバッジ */
.mock-badge {
  display: inline-flex;
  align-items: center;
  padding: .18rem .52rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1.5px solid transparent;
}

.mock-badge-open {
  background: rgba(16, 151, 120, .18);
  color: #0d6b55;
  border-color: rgba(16, 151, 120, .3);
}

.mock-badge-negotiating {
  background: rgba(226, 138, 31, .18);
  color: #a06010;
  border-color: rgba(226, 138, 31, .3);
}

.mock-badge-done {
  background: rgba(100, 116, 139, .18);
  color: #475569;
  border-color: rgba(100, 116, 139, .3);
}

/* FAB画面モック */
.mock-screen--fab {
  position: relative;
}

.mock-card-list-bg {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem 0;
}

.mock-card-mini {
  height: 3.2rem;
  border-radius: .5rem;
  background: #e8eef5;
}

.mock-fab {
  position: absolute;
  bottom: .8rem;
  right: .8rem;
  background: linear-gradient(135deg, #11a36e, #0d6b55);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(17, 163, 110, .45);
  white-space: nowrap;
}

/* ボトムナビモック */
.mock-screen--bnav {
  padding-bottom: 0;
  overflow: hidden;
}

.mock-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-top: 1.5px solid #e0e8f0;
  margin: .4rem -.75rem 0;
  padding: .45rem 0 .5rem;
}

.mock-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  flex: 1;
  color: #96afc2;
}

.mock-bnav-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.mock-bnav-label {
  font-size: .58rem;
  font-weight: 600;
}

.mock-bnav-item--post {
  color: #11a36e;
}

.mock-bnav-item--post .mock-bnav-icon {
  font-size: 1.3rem;
}

/* カード画像内オーバーレイ（♡☆） */
.mock-overlay-actions {
  display: flex;
  gap: .22rem;
  position: absolute;
  bottom: .4rem;
  right: .4rem;
}

.mock-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.6rem;
  padding: 0 .38rem;
  border-radius: 999px;
  background: rgba(14, 28, 42, .52);
  color: #e8eef5;
  font-size: .72rem;
  border: 1.5px solid transparent;
}

/* カードボディ */
.mock-card-body-mini {
  padding: .5rem .6rem .6rem;
  display: grid;
  gap: .32rem;
}

.mock-item-name {
  font-size: .8rem;
  font-weight: 700;
  color: #243646;
}

.mock-tags-row {
  display: flex;
  gap: .28rem;
  flex-wrap: wrap;
}

.mock-tag {
  display: inline-flex;
  padding: .12rem .42rem;
  border-radius: 6px;
  background: #eef3fa;
  color: #5a7491;
  font-size: .68rem;
  font-weight: 600;
}

/* もっと見るボタン */
.mock-more-btn {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: #196eb1;
  padding: .2rem .48rem;
  align-self: start;
  cursor: default;
}

/* 掲載詳細（listing-meta風） */
.mock-detail-block {
  display: grid;
  gap: .3rem;
  padding: .5rem .6rem;
  background: #fff;
  border: 1px solid #d4e0eb;
  border-radius: 10px;
}

.mock-detail-line {
  height: 9px;
  border-radius: 4px;
  background: #dce8f2;
}

.mock-line-short {
  width: 65%;
}

/* アクションボタン */
.mock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .52rem .8rem;
  border-radius: 999px;
  border: 1.5px solid #c4d4e4;
  background: #f5f9ff;
  font-size: .78rem;
  font-weight: 700;
  color: #3a5570;
  cursor: default;
}

.mock-btn-insta {
  background: linear-gradient(90deg, #f9a94c 0%, #e0467c 50%, #9f4fb0 100%);
  border-color: transparent;
  color: #fff;
}

.mock-btn-submit {
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
  border-color: transparent;
  color: #fff;
}

/* フォームモック */
.mock-form {
  display: grid;
  gap: .38rem;
}

.mock-form-field {
  padding: .42rem .6rem;
  background: #fff;
  border: 1px solid #c8d6e4;
  border-radius: 8px;
  font-size: .75rem;
  color: #7a96ab;
}

.mock-form-photo {
  background: #edf2f8;
  color: #5a7896;
  font-weight: 700;
  text-align: center;
}

/* 写真アップロードモック */
.mock-photo-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.mock-photo-label {
  font-size: .65rem;
  color: #4f667b;
  font-weight: 600;
  margin-bottom: .1rem;
}

.mock-photo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  background: #f4f8fc;
  border: 1px solid #d0dce8;
  border-radius: .38rem;
  padding: .35rem .55rem;
}

.mock-photo-slot-label {
  font-size: .65rem;
  color: #4f667b;
  font-weight: 500;
}

.mock-photo-item--optional .mock-photo-slot-label {
  color: #7a96ab;
}

.mock-photo-file-btn {
  font-size: .6rem;
  color: #fff;
  background: #8aabb8;
  border-radius: .28rem;
  padding: .18rem .45rem;
  white-space: nowrap;
}

.mock-form-field-label {
  font-size: .68rem;
  font-weight: 800;
  color: #5a7896;
  padding: .28rem 0 0;
  background: transparent;
  border: none;
}

.mock-textarea {
  padding: .52rem .6rem;
  background: #fff;
  border: 1.5px solid #c8d6e4;
  border-radius: 8px;
  font-size: .74rem;
  color: #9ab0c3;
  min-height: 52px;
  line-height: 1.5;
}

/* タイトル行（ケバブ） */
.mock-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-kebab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1.5px solid #c4d4e4;
  background: #f0f5fb;
  font-size: .9rem;
  color: #4a6275;
  cursor: default;
}

/* ドロップダウン */
.mock-dropdown {
  border: 1px solid #d4e0eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.mock-dropdown-item {
  padding: .48rem .7rem;
  font-size: .76rem;
  color: #3a5570;
  border-bottom: 1px solid #edf2f8;
}

.mock-dropdown-item:last-child {
  border-bottom: none;
}

.mock-dropdown-danger {
  color: #c0334e;
  font-weight: 700;
}

/* DMバブル（あげたい人 Step 3） */
.mock-dm-from {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.mock-dm-avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8d8e8, #a8c0d8);
  flex-shrink: 0;
}

.mock-dm-bubble {
  background: #fff;
  border: 1px solid #d0dcea;
  border-radius: 0 12px 12px 12px;
  padding: .52rem .7rem;
  font-size: .75rem;
  color: #3a5570;
  line-height: 1.6;
  flex: 1;
}

.mock-dm-bubble strong {
  color: #0e7d65;
}

.mock-dm-hint {
  font-size: .7rem;
  color: #7fa0b8;
  text-align: center;
  padding: .2rem 0;
}

/* 返信バブル（右側・出品者側） */
.mock-dm-reply {
  display: flex;
  flex-direction: row-reverse;
  gap: .5rem;
  align-items: flex-start;
  margin-top: .55rem;
}
.mock-dm-reply .mock-dm-bubble {
  border-radius: 12px 0 12px 12px;
  background: #e8f5ef;
  border-color: #b9e9d7;
  color: #155a3a;
}

/* 問い合わせ・確定ボタン（青） */
.mock-btn-inquiry {
  background: #0e4c8e;
  color: #fff;
  border-color: #0e4c8e;
}
.howto-step--want .mock-btn-inquiry.mock-highlighted,
.howto-step--give .mock-btn-inquiry.mock-highlighted {
  box-shadow: 0 0 0 3px rgba(14, 76, 142, .38);
}

/* 受け渡し完了ボタン（緑） */
.mock-btn-complete {
  background: #11a36e;
  color: #fff;
  border-color: #11a36e;
}
.howto-step--give .mock-btn-complete.mock-highlighted {
  box-shadow: 0 0 0 3px rgba(17, 163, 110, .38);
}

/* ありがとうボタン（オレンジ） */
.mock-btn-thanks {
  background: #e07b10;
  color: #fff;
  border-color: #e07b10;
}
.mock-btn-thanks.mock-highlighted {
  box-shadow: 0 0 0 3px rgba(224, 123, 16, .38);
}

/* スレッドフッター区切り */
.mock-thread-footer {
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid #e5ecf4;
}

/* フォーム横並び行 */
.mock-form-row {
  display: flex;
  gap: .4rem;
}
.mock-form-row .mock-form-field {
  flex: 1;
}

/* ----------------------
   フィルターパネル モック
   ---------------------- */
.mock-screen--filter {
  padding: 0;
  gap: 0;
  background: transparent;
  border-color: #b8ccd8;
  /* overflow: hidden を外してbox-shadowアニメーションがクリップされないようにする */
}

/* トップバー */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: .32rem;
  background: linear-gradient(135deg, #084a4d 0%, #0b6a78 55%, #19adab 100%);
  padding: .55rem .6rem;
  border-radius: 14px 14px 0 0;
}

.mock-tb-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .78rem;
  flex-shrink: 0;
  border: 1.5px solid transparent;
}

.mock-tb-btn--filter {
  /* フィルターパネルが開いている状態（is-filter-active相当） */
  background: #1f587f;
  color: #ffffff;
}

/* howto内でのフィルターSVGサイズ（body.items-pageスコープ外のため個別指定） */
body.terms-page .mock-tb-btn--filter .filter-icon-toggle-svg {
  width: .9rem;
  height: .9rem;
}

/* 検索ボックス（トップバー内） */
.mock-tb-search {
  flex: 1;
  background: rgba(255, 255, 255, .88);
  border-radius: 999px;
  padding: .32rem .65rem;
  font-size: .72rem;
  color: #9ab0c3;
}

/* トグルスイッチ行 */
.mock-toggle-row {
  display: flex;
  gap: .6rem;
  padding: .42rem .65rem;
  background: rgba(8, 74, 77, .72);
}

.mock-toggle-item {
  display: flex;
  align-items: center;
  gap: .28rem;
  font-size: .68rem;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
}

.mock-toggle-sw {
  width: 1.55rem;
  height: .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .35);
  flex-shrink: 0;
}

/* フィルターパネル（白カード） */
.mock-filter-card {
  background: #fff;
  padding: .6rem .7rem .65rem;
  display: grid;
  gap: .3rem;
  border-top: 1px solid #e2ecf5;
  border-radius: 0 0 14px 14px;
}

.mock-fl-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 1.85rem;
}

.mock-fl-label {
  font-size: .7rem;
  color: #4a6275;
  font-weight: 700;
  width: 4.8rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.mock-fl-sel {
  flex: 1;
  padding: .3rem .5rem;
  border: 1px solid #c8d6e4;
  border-radius: 7px;
  background: #f8fbff;
  font-size: .71rem;
  color: #3a5570;
}

.mock-fl-footer {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  padding-top: .25rem;
}

.mock-fl-btn-clear {
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid #c4d3e2;
  background: #f4f8fd;
  font-size: .73rem;
  color: #4a6275;
  cursor: default;
}

.mock-fl-btn-close {
  padding: .35rem .85rem;
  border-radius: 999px;
  border: none;
  background: #1a6eb3;
  color: #fff;
  font-size: .73rem;
  font-weight: 700;
  cursor: default;
}

/* Site footer */
.site-footer {
  padding: 3.8rem 0 3.2rem;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.site-footer .brand {
  color: #1f3f52;
  margin-left: 0;
}

.site-footer .brand-logo {
  filter: none;
  opacity: 1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .9rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: .84rem;
  color: #4a6678;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #0f8677;
}

.footer-nav a[aria-current="page"] {
  color: #0f8677;
}

.copyright {
  margin: 0;
  font-size: .78rem;
  color: #9ab0be;
}

@media (max-width: 640px) {
  .terms-body {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .terms-hero {
    padding: 1.8rem 1.2rem;
  }

  .terms-section {
    border-radius: 18px;
    padding: .95rem .84rem .9rem;
  }

  .terms-flow li {
    font-size: .85rem;
  }

  .terms-mini-map {
    grid-template-columns: 1fr;
  }

  .terms-step-panels {
    grid-template-columns: 1fr;
  }

  .terms-step-title {
    font-size: .89rem;
  }

  .terms-step-summary {
    padding: .72rem .76rem;
    gap: .58rem;
  }

  .terms-step-body {
    padding: 0 .76rem .76rem;
  }

  .terms-step-summary-note {
    font-size: .76rem;
  }

  .terms-step-label,
  .terms-step-tip-text,
  .terms-chip {
    font-size: .8rem;
  }
}

/* ===========================
   UI ガイドツアー
   =========================== */
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  pointer-events: all;
}

.tour-spotlight {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.68);
  transition:
    top .32s cubic-bezier(.4,0,.2,1),
    left .32s cubic-bezier(.4,0,.2,1),
    width .32s cubic-bezier(.4,0,.2,1),
    height .32s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.tour-tooltip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.3rem 1rem;
  width: min(320px, calc(100vw - 32px));
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  z-index: 1;
  transition:
    top .32s cubic-bezier(.4,0,.2,1),
    left .32s cubic-bezier(.4,0,.2,1);
}

.tour-spotlight.no-transition,
.tour-tooltip.no-transition {
  transition: none !important;
}

.tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.tour-step-counter {
  font-size: .74rem;
  font-weight: 700;
  color: #11a36e;
  letter-spacing: .06em;
}

.tour-close-btn {
  background: none;
  border: none;
  padding: .2rem;
  cursor: pointer;
  color: #8a9cb0;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-close-btn:hover {
  color: #4a6880;
}

.tour-step-title {
  margin: 0 0 .42rem;
  font-size: .96rem;
  font-weight: 700;
  color: #0e2131;
  line-height: 1.3;
}

.tour-step-text {
  margin: 0 0 .9rem;
  font-size: .84rem;
  color: #3a5068;
  line-height: 1.65;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
}

.tour-skip-btn {
  background: none;
  border: none;
  padding: .4rem .2rem;
  cursor: pointer;
  color: #8a9cb0;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tour-next-btn {
  border: none;
  padding: .52rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  font-family: var(--font-main);
  background: #11a36e;
  color: #fff;
  transition: background .15s, transform .12s;
}

.tour-next-btn:hover {
  background: #0d8d5f;
  transform: translateY(-1px);
}

.tour-next-btn:active {
  transform: translateY(0);
}

/* ===== リクエスト一覧ボタン ===== */

body.items-page .wishlist-view-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 100px;
  color: #ffffff;
  font-size: .75rem;
  line-height: 1.2;
  padding: .18rem .7rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

body.items-page .wishlist-view-btn:hover {
  background: rgba(255, 255, 255, .12);
}

/* ===== おねだり機能 ===== */

body.items-page .wishlist-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 1.1rem;
  bottom: calc(1.1rem + 3.4rem + 0.7rem);
  z-index: 1950;
  width: 3.4rem;
  height: 3.4rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1a3348;
  padding: 0;
  box-shadow: 0 4px 16px rgba(17, 45, 68, .22);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.items-page .wishlist-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(17, 45, 68, .3);
}

body.items-page .wishlist-fab:active {
  transform: translateY(0) scale(.98);
}

body.items-page .wishlist-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2400;
  background: rgba(6, 18, 28, .4);
}

body.items-page #wishlist-delete-modal {
  z-index: 2600;
}

body.items-page .wishlist-backdrop[hidden] {
  display: none !important;
}

body.items-page .wishlist-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2500;
  background: #f8fbff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(17, 45, 68, .18);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
}

body.items-page .wishlist-panel[hidden] {
  display: none !important;
}

body.items-page .wishlist-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem .75rem;
  border-bottom: 1px solid #dce9f4;
  flex-shrink: 0;
}

body.items-page .wishlist-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1a3348;
}

body.items-page .wishlist-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #5a7a96;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}

body.items-page .wishlist-close-btn:hover {
  background: #e8f0f8;
}

body.items-page .wishlist-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: .5rem .8rem;
}

body.items-page .wishlist-empty {
  text-align: center;
  color: #7a96ab;
  font-size: .88rem;
  padding: 1.5rem 0;
  margin: 0;
}

body.items-page .wishlist-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .5rem;
  border-bottom: 1px solid #e8f0f8;
}

body.items-page .wishlist-item:last-child {
  border-bottom: none;
}

body.items-page .wishlist-item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

body.items-page .wishlist-item-name {
  font-size: .92rem;
  font-weight: 700;
  color: #1a3348;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.items-page .wishlist-item-instagram {
  font-size: .78rem;
  color: #9b59b6;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.items-page .wishlist-item-instagram:hover {
  text-decoration: underline;
}

body.items-page .wishlist-item-comment {
  font-size: .78rem;
  color: #4a6478;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.items-page .wishlist-delete-btn {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid #dce9f4;
  background: #f0f5fb;
  color: #7a96ab;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}

body.items-page .wishlist-delete-btn:hover {
  background: #fde8ef;
  color: #c0395e;
  border-color: #f4b8cb;
}

body.items-page .wishlist-panel-footer {
  flex-shrink: 0;
  border-top: 1px solid #dce9f4;
  padding: .7rem .8rem;
}

body.items-page .wishlist-add-toggle-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: 1.5px dashed #b0cbdf;
  background: transparent;
  color: #476177;
  border-radius: 8px;
  padding: .65rem;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

body.items-page .wishlist-add-toggle-btn:hover {
  background: #edf4fb;
  border-color: #80b0cc;
}

body.items-page .wishlist-add-form {
  margin-top: .6rem;
}

body.items-page .wishlist-add-form[hidden] {
  display: none !important;
}

body.items-page .wishlist-form-field {
  margin-bottom: .6rem;
}

body.items-page .wishlist-form-field label {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 700;
  color: #2d4d63;
  margin-bottom: .28rem;
}

body.items-page .required-mark {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: #e05a8a;
  border-radius: 3px;
  padding: .05em .32em;
}

body.items-page .optional-mark {
  font-size: .72rem;
  font-weight: 600;
  color: #7a96ab;
}

body.items-page .wishlist-form-field input[type="text"] {
  display: block;
  width: 100%;
  border: 1px solid #b0c8d8;
  border-radius: 7px;
  padding: .62rem .7rem;
  font-size: .9rem;
  font-family: var(--font-main);
  color: #1a3348;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

body.items-page .wishlist-form-field input[type="text"]:focus {
  border-color: #e05a8a;
}

body.items-page .wishlist-form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #b0c8d8;
  border-radius: 7px;
  padding: .62rem .7rem;
  font-size: .9rem;
  font-family: var(--font-main);
  color: #1a3348;
  background: #fff;
  outline: none;
  transition: border-color .15s;
  resize: vertical;
}

body.items-page .wishlist-form-field textarea:focus {
  border-color: #e05a8a;
}

body.items-page .wishlist-form-field select {
  display: block;
  width: 100%;
  border: 1px solid #b0c8d8;
  border-radius: 7px;
  padding: .62rem .7rem;
  font-size: .93rem;
  background: #fff;
  outline: none;
  transition: border-color .15s;
  appearance: auto;
}

body.items-page .wishlist-form-field select:focus {
  border-color: #e05a8a;
}

body.items-page .wishlist-field-error {
  margin: .2rem 0 0;
  font-size: .78rem;
  color: #c0395e;
}

body.items-page .wishlist-field-error[hidden] {
  display: none !important;
}

body.items-page .wishlist-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  margin-top: .5rem;
}

body.items-page .primary-btn {
  border: 0;
  border-radius: 999px;
  background: #e05a8a;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .65rem 1.2rem;
  cursor: pointer;
  transition: background .15s, transform .12s;
}

body.items-page .primary-btn:hover {
  background: #c94b7a;
  transform: translateY(-1px);
}

body.items-page .primary-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* ===== リクエスト一覧 モーダル ===== */

body.items-page .wishlist-view-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(6, 18, 28, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.items-page .wishlist-view-backdrop[hidden] {
  display: none !important;
}

body.items-page .wishlist-view-modal {
  background: #f8fbff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(17, 45, 68, .24);
  width: min(560px, 100%);
  max-height: min(82vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.items-page .wishlist-view-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem .75rem;
  border-bottom: 1px solid #dce9f4;
  flex-shrink: 0;
}

body.items-page .wishlist-view-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: .9rem;
}

body.items-page .wishlist-view-cards {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

body.items-page .wishlist-view-card {
  background: #fff;
  border: 1px solid #dce9f4;
  border-radius: 12px;
  padding: .85rem 1rem;
  box-shadow: 0 1px 4px rgba(17, 45, 68, .06);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

body.items-page .wishlist-view-card-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .22rem;
}

body.items-page .wishlist-view-card-name {
  font-size: .97rem;
  font-weight: 800;
  color: #1a3348;
  margin: 0;
}

body.items-page .wishlist-view-card-instagram {
  font-size: .83rem;
  color: #9b59b6;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

body.items-page .wishlist-view-card-instagram:hover {
  text-decoration: underline;
}

body.items-page .wishlist-view-card-comment {
  font-size: .83rem;
  color: #4a6478;
  margin: .1rem 0 0;
  line-height: 1.55;
  white-space: pre-wrap;
}

body.items-page .wishlist-view-card-category {
  font-size: .78rem;
  color: #fff;
  background: #2a7a4a;
  display: inline-block;
  padding: .1em .5em;
  border-radius: 3px;
  margin: .15rem 0 0;
  font-weight: 500;
}

body.items-page .wishlist-view-card-area {
  font-size: .82rem;
  color: #5a7a92;
  margin: .1rem 0 0;
}

body.items-page .wishlist-view-card-price {
  font-size: .83rem;
  color: #2a7a4a;
  margin: .1rem 0 0;
  font-weight: 500;
}

body.items-page .wishlist-view-card-date {
  font-size: .76rem;
  color: #8a9baa;
  margin: .25rem 0 0;
}

/* tabpanel-request の入力フォーム余白調整 */
body.items-page .form-tabpanel > .wishlist-add-form {
  padding: .5rem 0;
}

/* ---- マイページボタン (nav) ---- */

.nav-mypage-btn {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: #11a36e;
  border: 1px solid rgba(17, 163, 110, .55);
  border-radius: 999px;
  padding: .35rem .8rem .35rem .65rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(17, 163, 110, .38);
  transition: background .18s, box-shadow .18s;
}
.nav-mypage-btn:hover {
  background: #0d8f5f;
  box-shadow: 0 3px 14px rgba(17, 163, 110, .5);
}
.nav-mypage-btn-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  opacity: .92;
}

@media (max-width: 940px) {
  .nav-mypage-btn {
    padding: .35rem .65rem;
    font-size: .78rem;
  }
}

/* ---- プロフィールフォーム (nav modal) ---- */

.nav-profile-modal { max-height: 90vh; overflow-y: auto; }

.nav-profile-form input[type="text"],
.nav-profile-form select,
.nav-profile-form textarea {
  padding: .55rem .75rem;
  border: 1px solid #b8ccd8;
  border-radius: 8px;
  font-size: .95rem;
  color: #1a2e3a;
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.nav-profile-form input[type="text"]:focus,
.nav-profile-form select:focus,
.nav-profile-form textarea:focus { border-color: #11a36e; box-shadow: 0 0 0 2px rgba(17, 163, 110, .18); }
.nav-profile-form textarea { resize: vertical; }

.nav-profile-label { display: block; font-size: .88rem; font-weight: 600; color: #1a2e3a; margin-bottom: .3rem; }

.nav-profile-hint { font-size: .78rem; color: #6b8499; margin: .15rem 0 .6rem; line-height: 1.4; }
.nav-profile-bio-hint { color: #11a36e; font-weight: 500; }

/* アバター行 */
.nav-profile-avatar-row { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.nav-profile-avatar-preview {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8f0f8;
  display: flex; align-items: center; justify-content: center;
}
.nav-profile-avatar-empty { color: #8aa3b8; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.nav-profile-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-profile-avatar-right { display: flex; flex-direction: column; gap: .3rem; }
.nav-profile-avatar-btn {
  display: inline-block;
  padding: .35rem .8rem;
  background: #f0f6fa;
  border: 1px solid #b8ccd8;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: #1a2e3a;
  cursor: pointer;
  font-family: inherit;
}
.nav-profile-avatar-btn:hover { background: #e0eaf2; }

/* 利用規約チェック */
.nav-profile-terms-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .5rem 0 .5rem;
}
.nav-profile-terms-row input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #11a36e;
  flex-shrink: 0;
}
.nav-profile-terms-row label { font-size: .86rem; color: #1a2e3a; line-height: 1.5; }
.nav-profile-terms-row a { color: #11a36e; text-decoration: underline; }

.required-mark {
  font-size: .75rem;
  font-weight: 700;
  color: #e05050;
  margin-left: .25rem;
}

/* ---- アラート（共通） ---- */

.alert {
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.alert.success { background: #e7faf3; color: #136549; border: 1px solid #b0eacb; }
.alert.error   { background: #ffeef3; color: #8f1e3a; border: 1px solid #f6bfd0; }

/* ---- マイページ ---- */

body.mypage-page {
  background: #f5f8fa;
  color: #132232;
}

.mypage-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  background: rgba(14, 33, 49, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  min-height: 52px;
}

.mypage-header-back {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #e8f4ff;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  padding: .35rem .55rem;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .15s;
}
.mypage-header-back:hover { background: rgba(255,255,255,.12); }

.mypage-header-title {
  flex: 1;
  margin: 0;
  color: #e8f4ff;
  font-size: .92rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-main {
  padding-top: 0;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.mypage-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.4rem 1.2rem 0;
}

.mypage-title {
  display: none;
}

.mypage-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(14,36,55,.06), 0 0 0 1px rgba(14,36,55,.04);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.2rem;
}

.mypage-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mypage-section-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1f2d;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.mypage-section-head h2::before {
  content: '';
  display: block;
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: #11a36e;
  flex-shrink: 0;
}

.mypage-count {
  font-size: .85rem;
  font-weight: 400;
  color: #6b8499;
  margin-left: .35rem;
}

.mypage-toggle-btn {
  font-size: .82rem;
  font-weight: 700;
  color: #11a36e;
  background: none;
  border: 1px solid #11a36e;
  border-radius: 999px;
  padding: .3rem .75rem;
  cursor: pointer;
}
.mypage-toggle-btn:hover { background: #f0fbf7; }

.mypage-profile-dl {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: .3rem .8rem;
  font-size: .9rem;
  margin: 0;
}
.mypage-profile-dl dt {
  font-weight: 700;
  color: #5a7080;
}
.mypage-profile-dl dd {
  margin: 0;
  color: #1a2e3a;
}

.mypage-edit-body {
  border-top: 1px solid #e8f0f5;
  padding-top: 1.1rem;
  margin-top: 1rem;
}

.mypage-form {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.mypage-form label {
  font-size: .88rem;
  font-weight: 700;
  color: #1a2e3a;
}

.mypage-form input,
.mypage-form select,
.mypage-form textarea {
  padding: .55rem .75rem;
  border: 1px solid #b8ccd8;
  border-radius: 8px;
  font-size: .93rem;
  color: #1a2e3a;
  font-family: inherit;
  outline: none;
}
.mypage-form input:focus,
.mypage-form select:focus,
.mypage-form textarea:focus { border-color: #11a36e; box-shadow: 0 0 0 2px rgba(17, 163, 110, .18); }

.mypage-form-actions {
  display: flex;
  gap: .6rem;
  margin-top: .4rem;
}

.mypage-form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.4rem;
  border: none;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease, filter .18s ease;
  text-decoration: none;
}
.mypage-form-actions .btn:hover { transform: translateY(-1px); filter: brightness(1.04); }

.mypage-form-actions .btn-primary {
  background: linear-gradient(90deg, #0f8f7a 0%, #11b6a6 100%);
  color: #fff;
}

.mypage-form-actions .btn-secondary {
  background: #e8eef3;
  color: #3a5a72;
}

.mypage-empty {
  font-size: .9rem;
  color: #7a8f9f;
  text-align: center;
  padding: 1rem 0;
}

.mypage-section-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .95rem;
  color: var(--color-primary, #11a36e);
  text-decoration: none;
  padding: .5rem 0;
}
.mypage-section-link:hover {
  text-decoration: underline;
}

.mypage-items-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.mypage-item-card {
  border: 1px solid #e0ecf5;
  border-radius: 10px;
  overflow: hidden;
}

.mypage-item-info {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 1rem;
}

.mypage-item-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.mypage-item-meta {
  flex: 1;
  min-width: 0;
}

.mypage-item-link {
  text-decoration: none;
  display: block;
}
.mypage-item-link:hover .mypage-item-name {
  color: #11a36e;
  text-decoration: underline;
}

.mypage-item-name {
  font-size: .95rem;
  font-weight: 700;
  color: #0d1f2d;
  margin: 0 0 .2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-item-status {
  font-size: .78rem;
  font-weight: 700;
  margin: 0 0 .2rem;
}
.mypage-item-status.status-open        { color: #11a36e; }
.mypage-item-status.status-negotiating { color: #d97706; }
.mypage-item-status.status-closed      { color: #9ca3af; }

.mypage-item-detail {
  font-size: .8rem;
  color: #6b8499;
  margin: 0;
}

.mypage-item-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex-shrink: 0;
}

.mypage-btn-edit {
  font-size: .78rem;
  font-weight: 700;
  color: #11a36e;
  border: 1px solid #11a36e;
  border-radius: 999px;
  padding: .28rem .7rem;
  text-decoration: none;
  text-align: center;
}
.mypage-btn-edit:hover { background: #f0fbf7; }

.mypage-btn-delete {
  font-size: .78rem;
  font-weight: 700;
  color: #e05050;
  background: none;
  border: 1px solid #e05050;
  border-radius: 999px;
  padding: .28rem .7rem;
  cursor: pointer;
}
.mypage-btn-delete:hover { background: #fff5f5; }

.mypage-delete-form { margin: 0; }

/* ---- アカウントセクション ---- */

.mypage-account-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .5rem 0;
}

.mypage-account-email {
  font-size: .88rem;
  color: #4a6375;
  margin: 0;
}

.mypage-logout-form { margin: 0; }

.mypage-logout-btn {
  font-size: .84rem;
  font-weight: 700;
  color: #c0392b;
  background: none;
  border: 1px solid #e05050;
  border-radius: 999px;
  padding: .38rem .9rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mypage-logout-btn:hover {
  background: #fff5f5;
}

.mypage-item-card .mypage-edit-body {
  border-top: 1px solid #e0ecf5;
  padding: 1rem;
  background: #f9fbfc;
}

/* ---- プロフィール未登録促進バナー ---- */

.profile-incomplete-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  background: #fffbea;
  border: 1px solid #f7d96e;
  border-radius: 10px;
  padding: .75rem 1rem;
  margin: 0 0 .8rem;
}

.profile-incomplete-notice-body {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  flex: 1;
}

.profile-incomplete-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: #c89a0a;
  margin-top: .12rem;
}

.profile-incomplete-notice-body p {
  margin: 0;
  font-size: .86rem;
  color: #5a4200;
  line-height: 1.6;
}

.profile-complete-btn {
  font-size: .82rem;
  font-weight: 700;
  color: #11a36e;
  background: #fff;
  border: 1.5px solid #11a36e;
  border-radius: 999px;
  padding: .35rem .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .17s, color .17s;
}
.profile-complete-btn:hover {
  background: #11a36e;
  color: #fff;
}

/* ---- アバター ---- */

.mypage-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mypage-avatar-wrap {
  flex-shrink: 0;
}

.mypage-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0ecf5;
  display: block;
}

.mypage-avatar-empty {
  background: #eef4f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9bb5c8;
}

.mypage-avatar-empty svg {
  width: 40px;
  height: 40px;
}

/* ---- 自己紹介 ---- */

.mypage-profile-bio-wrap {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #eaf1f7;
}

.mypage-profile-bio {
  margin: 0;
  font-size: .88rem;
  color: #2c4457;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* ---- アバター アップロードUI ---- */

.mypage-avatar-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .2rem;
}

.mypage-avatar-preview-wrap {
  flex-shrink: 0;
}

.mypage-avatar-upload-right {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.mypage-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.mypage-avatar-btn {
  display: inline-block;
  font-size: .84rem;
  font-weight: 700;
  color: #2b5f85;
  background: #f0f7fc;
  border: 1.5px solid #b1c9de;
  border-radius: 999px;
  padding: .38rem 1rem;
  cursor: pointer;
  transition: background .17s, border-color .17s;
}
.mypage-avatar-btn:hover {
  background: #e1eef8;
  border-color: #8fb5d4;
}

.mypage-form-hint {
  margin: 0;
  font-size: .78rem;
  color: #7a98b0;
  line-height: 1.5;
}

/* ---- 任意ラベル ---- */

.optional-mark {
  font-size: .75rem;
  font-weight: 700;
  color: #7a98b0;
  margin-left: .25rem;
  white-space: nowrap;
}

/* ---- 通知設定トグル ---- */

.notify-section-desc {
  margin-bottom: .9rem;
}

.notify-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8f0f7;
  border-radius: 12px;
  overflow: hidden;
}

.notify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.1rem;
  cursor: pointer;
  border-bottom: 1px solid #eef3f8;
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.notify-row:last-child {
  border-bottom: none;
}
.notify-row:hover {
  background: #f7fbf9;
}

.notify-row-info {
  flex: 1;
  min-width: 0;
}

.notify-row-title {
  display: block;
  font-size: .93rem;
  font-weight: 600;
  color: #0d1f2d;
  line-height: 1.4;
}

.notify-row-desc {
  display: block;
  font-size: .78rem;
  color: #7a98b0;
  margin-top: .18rem;
  line-height: 1.4;
}

.notify-toggle {
  position: relative;
  flex-shrink: 0;
  display: inline-block;
}

.notify-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.notify-toggle-slider {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d1dce6;
  cursor: pointer;
  transition: background .22s;
  position: relative;
}
.notify-toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.22);
  transition: transform .22s;
}
.notify-toggle-input:checked + .notify-toggle-slider {
  background: #11a36e;
}
.notify-toggle-input:checked + .notify-toggle-slider::after {
  transform: translateX(20px);
}
.notify-toggle-input:focus-visible + .notify-toggle-slider {
  outline: 2px solid #11a36e;
  outline-offset: 2px;
}

.notify-save-actions {
  margin-top: 1rem;
}

/* ボトムナビゲーション */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1900;
  display: flex;
  background: #fff;
  border-top: 1px solid #dce8f0;
  padding-bottom: env(safe-area-inset-bottom, 20px);
  box-shadow: 0 -2px 12px rgba(11, 30, 48, .07);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px 7px;
  border: none;
  background: none;
  color: #8fa5b8;
  font-size: 10px;
  font-family: var(--font-main);
  font-weight: 500;
  cursor: pointer;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.bottom-nav-item.is-active {
  color: #11a36e;
}

.bottom-nav-item:active {
  color: #0d8a5c;
  transform: scale(.93);
}

.card.is-liked-hidden {
  display: none;
}

body.items-page .wrap {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

body.items-page .mobile-form-fab {
  bottom: calc(1.1rem + 68px + env(safe-area-inset-bottom, 20px));
}

body.no-scroll .bottom-nav {
  display: none;
}

a.bottom-nav-item {
  text-decoration: none;
}

.bnav-icon-wrap {
  position: relative;
  display: inline-flex;
}

.bnav-msg-dot {
  position: absolute;
  top: -1px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: #e53935;
  border-radius: 50%;
  border: 1.5px solid #fff;
  pointer-events: none;
}

body.post-page .wrap,
body.request-page .wrap,
body.liked-page .wrap,
body.messages-page .wrap {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
}

body.mypage-page .wrap {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* いいねページ */
.liked-page-title,
.messages-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d1e2e;
  margin: 1.6rem 0 .3rem;
  letter-spacing: -.02em;
}

.liked-page-desc,
.messages-page-desc {
  font-size: .88rem;
  color: #6b8096;
  margin: 0 0 1.4rem;
  line-height: 1.6;
}

.liked-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.liked-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11,30,48,.07);
}

.liked-card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
}

.liked-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: #eaf4f0;
}

.liked-card-body {
  padding: .6rem .75rem .75rem;
}

.liked-card-name {
  font-size: .85rem;
  font-weight: 600;
  color: #12212f;
  margin: 0 0 .2rem;
}

.liked-card-price {
  font-size: .8rem;
  color: #11a36e;
  margin: 0;
  font-weight: 600;
}

/* メッセージページ */
.messages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11,30,48,.07);
}

.messages-thread {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid #eef3f7;
  cursor: pointer;
}

.messages-thread:last-child {
  border-bottom: none;
}

.messages-thread-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d4f5e8;
  flex-shrink: 0;
}

.messages-thread-body {
  flex: 1;
  min-width: 0;
}

.messages-thread-name {
  font-size: .88rem;
  font-weight: 700;
  color: #12212f;
  margin: 0 0 .2rem;
}

.messages-thread-preview {
  font-size: .82rem;
  color: #6b8096;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messages-thread-time {
  font-size: .78rem;
  color: #8fa5b8;
  flex-shrink: 0;
}

body.request-page .mobile-form-fab {
  bottom: calc(1.1rem + 68px + env(safe-area-inset-bottom, 20px));
}

/* 出品ページ */
.post-page-title,
.request-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d1e2e;
  margin: 1.6rem 0 .3rem;
  letter-spacing: -.02em;
}

.post-page-desc,
.request-page-desc {
  font-size: .88rem;
  color: #6b8096;
  margin: 0 0 1.4rem;
  line-height: 1.6;
}

.login-required-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 1rem 0;
  box-shadow: 0 4px 20px rgba(11,30,48,.08);
}

.login-required-msg {
  font-size: 1rem;
  color: #444;
  margin: 0 0 1.5rem;
}

/* フォーム全体 */
.post-form {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.post-form .form-section {
  background: #fff;
  border-radius: 16px;
  padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: 0 2px 12px rgba(11,30,48,.06), 0 1px 3px rgba(11,30,48,.03);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.post-form .form-section-title {
  font-size: .7rem;
  font-weight: 700;
  color: #11a36e;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .05rem;
}

.post-form .form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #b8e8d0 0%, transparent 100%);
}

.post-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.post-form .form-field {
  display: flex;
  flex-direction: column;
  gap: .26rem;
}

/* ラベル */
.post-form .form-field > label,
.post-form .form-section > label:not(.tag-option-item) {
  font-size: .8rem;
  font-weight: 600;
  color: #3d5268;
  letter-spacing: .01em;
}

/* テキスト入力・セレクト・テキストエリア */
.post-form input:not([type="checkbox"]):not([type="file"]),
.post-form select,
.post-form textarea {
  width: 100%;
  padding: .62rem .82rem;
  border: 1.5px solid #dde8f0;
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-main);
  background: #f7fafc;
  box-sizing: border-box;
  color: #1a2d3d;
  transition: border-color .18s, box-shadow .18s, background .18s;
  -webkit-appearance: none;
  appearance: none;
}

.post-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236b8096' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .82rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.post-form input:not([type="checkbox"]):not([type="file"]):focus,
.post-form select:focus,
.post-form textarea:focus {
  outline: none;
  border-color: #11a36e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(17, 163, 110, .12);
}

.post-form textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

/* タグ */
.post-form .tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.post-form .tag-option-item {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.post-form .tag-option-item input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.post-form .tag-option-item span {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 500;
  color: #4a6274;
  border: 1.5px solid #cddde8;
  border-radius: 20px;
  background: #f5f9fc;
  padding: .26rem .58rem;
  transition: background .17s, border-color .17s, color .17s, transform .13s, box-shadow .17s;
  line-height: 1.35;
}

.post-form .tag-option-item:hover span {
  border-color: #9bbfd8;
  background: #edf6fe;
}

.post-form .tag-option-item input[type="checkbox"]:checked + span {
  border-color: #0f8f7a;
  background: linear-gradient(120deg, #10a57d 0%, #0f8f7a 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 149, 119, .22);
}

.post-form .tag-option-item:active span {
  transform: translateY(1px);
}

.post-form .tag-option-item input[type="checkbox"]:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(17, 163, 110, .24);
}

/* 写真アップロード */
.post-form .photo-upload-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

.post-form .photo-upload-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.post-form .photo-upload-item > label {
  font-size: .75rem;
  font-weight: 600;
  color: #3d5268;
}

.post-form .photo-upload-area {
  position: relative;
  border: 1.5px dashed #c5d9e8;
  border-radius: 10px;
  background: #f7fbfd;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}

.post-form .photo-upload-area:hover {
  border-color: #11a36e;
  background: #f0faf5;
}

.post-form .photo-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.post-form .photo-upload-icon {
  width: 26px;
  height: 26px;
  color: #9bbfd8;
  pointer-events: none;
  transition: color .18s;
}

.post-form .photo-upload-area:hover .photo-upload-icon {
  color: #11a36e;
}

.post-form .photo-upload-label {
  font-size: .7rem;
  color: #8fa5b8;
  pointer-events: none;
  text-align: center;
  line-height: 1.35;
  transition: color .18s;
}

.post-form .photo-upload-area:hover .photo-upload-label {
  color: #11a36e;
}

.post-form .photo-upload-area.has-preview .photo-upload-icon,
.post-form .photo-upload-area.has-preview .photo-upload-label {
  display: none;
}

.post-form .photo-upload-area .photo-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
}

.post-form .photo-upload-area .photo-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  border: none;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
}

.post-form .photo-upload-area.has-preview {
  border-color: #11a36e;
  background: #f0faf5;
}

.post-form .form-help {
  font-size: .76rem;
  color: #8fa5b8;
  margin: .05rem 0 0;
  line-height: 1.5;
}

/* 利用規約 */
.post-form .terms-agree-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .85rem;
  color: #4a6274;
  cursor: pointer;
  padding: .7rem .9rem;
  background: #f5f9fc;
  border-radius: 12px;
  border: 1.5px solid #dde8f0;
  transition: border-color .18s, background .18s;
}

.post-form .terms-agree-label:hover {
  border-color: #11a36e;
  background: #f0faf5;
}

.post-form .terms-agree-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #11a36e;
  cursor: pointer;
}

.post-form .terms-agree-label a {
  color: #11a36e;
  text-decoration: underline;
}

/* 掲載ボタン */
.post-form .submit-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  background: linear-gradient(135deg, #12b87c 0%, #0e9865 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(17, 163, 110, .28);
  transition: opacity .18s, transform .14s, box-shadow .18s;
  letter-spacing: .04em;
}

.post-form .submit-create:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(17, 163, 110, .35);
}

.post-form .submit-create:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(17, 163, 110, .2);
}

.post-form .submit-create-spinner {
  width: .88rem;
  height: .88rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  display: none;
}

.post-form .submit-create.is-loading {
  opacity: .82;
  cursor: wait;
}

.post-form .submit-create.is-loading .submit-create-spinner {
  display: inline-block;
  animation: spin .8s linear infinite;
}

@media (max-width: 440px) {
  .post-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* リクエストページ */
.request-empty {
  text-align: center;
  color: #8fa5b8;
  padding: 3rem 1rem;
  font-size: .95rem;
}

.request-cards {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.request-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(11,30,48,.06);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.request-card-content {
  flex: 1;
  min-width: 0;
}

.request-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: #12212f;
  margin: 0 0 .3rem;
  word-break: break-word;
}

.request-card-instagram {
  display: inline-block;
  font-size: .85rem;
  color: #11a36e;
  text-decoration: none;
  margin-bottom: .25rem;
}

.request-card-instagram:hover {
  text-decoration: underline;
}

.request-card-category {
  font-size: .78rem;
  color: #fff;
  background: #2a7a4a;
  display: inline-block;
  padding: .1em .5em;
  border-radius: 3px;
  margin: .15rem 0 0;
  font-weight: 500;
}

.request-card-area {
  font-size: .83rem;
  color: #5a7a92;
  margin: .15rem 0 0;
}

.request-card-price,
.request-card-comment,
.request-card-date {
  font-size: .85rem;
  color: #6b8096;
  margin: .2rem 0 0;
}

.request-delete-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid #dce8f0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa5b8;
  font-size: 1rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  line-height: 1;
  padding: 0;
}

.request-delete-btn:hover {
  color: #c0392b;
  border-color: #c0392b;
}

.request-card-actions {
  margin-top: .55rem;
}

.request-inquiry-btn {
  display: inline-flex;
  align-items: center;
  padding: .28rem .85rem;
  background: #0e4c8e;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s, opacity .15s;
  line-height: 1.4;
}
.request-inquiry-btn:hover { background: #0c3f7a; }
.request-inquiry-btn:disabled { opacity: .55; cursor: not-allowed; }
.request-inquiry-btn.is-exists { background: #1a7a56; }

.request-add-card {
  max-width: 480px;
  width: calc(100% - 2rem);
}

@media (max-width: 600px) {
  body.post-page .auth-user-bar,
  body.request-page .auth-user-bar {
    font-size: .85rem;
  }
}

/* ===== 詳細ページリンク (items-page カード内) ===== */
body.items-page a.name.item-detail-link {
  display: block;
  margin: 0;
  font-size: 1.03rem;
  font-weight: 700;
  color: #12212f;
  text-decoration: none;
  line-height: 1.4;
}
body.items-page a.name.item-detail-link:hover {
  color: #11a36e;
  text-decoration: underline;
}

body.items-page .card-detail-link {
  display: block;
  text-align: center;
  margin: .55rem 0 .25rem;
  font-size: .82rem;
  font-weight: 700;
  color: #11a36e;
  text-decoration: none;
  border: 1px solid #b9e9d7;
  border-radius: 999px;
  padding: .38rem .8rem;
  background: #f0fdf8;
  transition: background .15s, border-color .15s;
}
body.items-page .card-detail-link:hover {
  background: #d4f5eb;
  border-color: #88d9c0;
}

/* iOS Safari の入力時自動ズーム防止 (font-size < 16px でズームが発生するため) */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* ===== Item Panel (SPA overlay) ===== */
.item-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 800;
  background: #eef3f8;
  transform: translateX(100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  will-change: transform;
}

/* ===== Thread Panel (SPA overlay) ===== */
.thread-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 800;
  background: #eef3f8;
  transform: translateX(100%);
  overflow: hidden;
  will-change: transform;
  display: flex;
  flex-direction: column;
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* ---- my-items 編集フォーム ---- */

.my-items-edit-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.my-items-edit-row {
  display: flex;
  gap: .6rem;
}

.my-items-edit-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
  min-width: 0;
}

.my-items-edit-field--full {
  flex-basis: 100%;
}

.my-items-edit-field label {
  font-size: .78rem;
  font-weight: 700;
  color: #4a6070;
}

.my-items-edit-field input[type="text"],
.my-items-edit-field select,
.my-items-edit-field textarea {
  font-size: .88rem;
  font-family: inherit;
  border: 1px solid #c8dce8;
  border-radius: 6px;
  padding: .45rem .6rem;
  background: #fff;
  color: #0d1f2d;
  width: 100%;
  box-sizing: border-box;
  appearance: auto;
}

.my-items-edit-field textarea {
  resize: vertical;
  min-height: 4rem;
}

.my-items-edit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  padding: .4rem 0;
}

.my-items-edit-tag-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  cursor: pointer;
  user-select: none;
}

.my-items-edit-tag-item input[type="checkbox"] {
  accent-color: #11a36e;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.my-items-edit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
  padding-top: .4rem;
}

.my-items-edit-btns {
  display: flex;
  gap: .5rem;
  margin-left: auto;
}

.my-items-edit-msg {
  font-size: .8rem;
  color: #6b8499;
}
.my-items-edit-msg--ok  { color: #11a36e; font-weight: 700; }
.my-items-edit-msg--err { color: #e05050; font-weight: 700; }

.my-items-edit-cancel {
  font-size: .82rem;
  font-weight: 700;
  color: #6b8499;
  background: none;
  border: 1px solid #c8dce8;
  border-radius: 999px;
  padding: .35rem .9rem;
  cursor: pointer;
}
.my-items-edit-cancel:hover { background: #f0f4f8; }

.my-items-edit-save {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: #11a36e;
  border: none;
  border-radius: 999px;
  padding: .35rem .9rem;
  cursor: pointer;
}
.my-items-edit-save:hover   { background: #0d8a5c; }
.my-items-edit-save:disabled { background: #9ca3af; cursor: default; }

/* ---- my-requests ---- */

.myr-view-all-link {
  font-size: .8rem;
  font-weight: 600;
  color: #11a36e;
  text-decoration: none;
  border: 1px solid #11a36e;
  border-radius: 999px;
  padding: .22rem .7rem;
  transition: background .15s;
}
.myr-view-all-link:hover { background: #f0fbf7; }

.myr-link { color: #11a36e; text-decoration: underline; }

.myr-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.myr-card {
  border: 1px solid #e2edf5;
  border-radius: 12px;
  background: #fafcfe;
  padding: .9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  transition: box-shadow .18s;
}
.myr-card:hover { box-shadow: 0 2px 10px rgba(14,36,55,.08); }

.myr-card-body { flex: 1; min-width: 0; }

.myr-card-name {
  font-size: .97rem;
  font-weight: 700;
  color: #0d1e2e;
  margin: 0 0 .45rem;
  line-height: 1.4;
}

.myr-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .4rem;
}

.myr-badge {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .15em .55em;
  line-height: 1.5;
}

.myr-badge-category {
  background: #e8f5f0;
  color: #0e7a56;
  border: 1px solid #c2e8d8;
}

.myr-badge-area {
  background: #eef3fa;
  color: #355a84;
  border: 1px solid #ccddf0;
}

.myr-badge-price {
  background: #fff5ea;
  color: #a05a10;
  border: 1px solid #f0d8b0;
}

.myr-card-comment {
  font-size: .83rem;
  color: #4a6070;
  margin: 0 0 .3rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.myr-card-date {
  font-size: .75rem;
  color: #9ab0bf;
  margin: 0;
}

.myr-card-actions {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex-shrink: 0;
}

.myr-edit-btn,
.myr-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-size: .75rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  padding: .35rem .65rem;
  cursor: pointer;
  border: 1px solid;
  transition: background .15s, box-shadow .15s;
  white-space: nowrap;
}

.myr-edit-btn {
  color: #1a6a9a;
  background: #eef6fc;
  border-color: #b8d8ee;
}
.myr-edit-btn:hover { background: #dceefa; box-shadow: 0 2px 6px rgba(26,106,154,.15); }

.myr-delete-btn {
  color: #b03050;
  background: #fff0f3;
  border-color: #f0c0cc;
}
.myr-delete-btn:hover { background: #ffe0e8; box-shadow: 0 2px 6px rgba(176,48,80,.15); }

/* 編集・削除モーダル共通 */
.myr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8,22,35,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.myr-modal-backdrop[hidden] { display: none !important; }

.myr-modal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(8,22,35,.22);
  width: min(440px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  padding: 1.5rem 1.6rem 1.6rem;
}

.myr-modal-card-sm {
  width: min(340px, 100%);
  max-height: unset;
  overflow-y: visible;
}

.myr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.myr-modal-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1e2e;
  margin: 0;
}
.myr-modal-close {
  width: 28px; height: 28px;
  border: none; background: none;
  color: #6b8499;
  cursor: pointer;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background .14s;
  flex-shrink: 0;
}
.myr-modal-close:hover { background: #f0f4f8; color: #1a2e3a; }

.myr-form { display: flex; flex-direction: column; gap: .6rem; }

.myr-form-status {
  font-size: .83rem;
  color: #b03050;
  margin: 0 0 .5rem;
  background: #fff0f3;
  border: 1px solid #f0c0cc;
  border-radius: 6px;
  padding: .4rem .7rem;
}
.myr-form-status[hidden] { display: none !important; }

.myr-form-field { display: flex; flex-direction: column; gap: .2rem; }
.myr-form-field label {
  font-size: .84rem;
  font-weight: 700;
  color: #1a2e3a;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.myr-form-field input,
.myr-form-field select,
.myr-form-field textarea {
  padding: .52rem .72rem;
  border: 1px solid #b8ccd8;
  border-radius: 8px;
  font-size: .9rem;
  color: #1a2e3a;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.myr-form-field input:focus,
.myr-form-field select:focus,
.myr-form-field textarea:focus {
  border-color: #11a36e;
  box-shadow: 0 0 0 2px rgba(17,163,110,.18);
}
.myr-form-field textarea { resize: vertical; }

.myr-field-error {
  font-size: .78rem;
  color: #c0395e;
  margin: 0;
}
.myr-field-error[hidden] { display: none !important; }

.myr-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .4rem;
}

.myr-confirm-title {
  font-size: .97rem;
  font-weight: 700;
  color: #0d1e2e;
  margin: 0 0 .6rem;
}
.myr-confirm-body {
  font-size: .85rem;
  color: #3a5060;
  margin: 0 0 1rem;
  line-height: 1.55;
}
.myr-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

.myr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .55rem 1.2rem;
  cursor: pointer;
  border: 1px solid;
  transition: background .15s, box-shadow .15s, transform .12s;
}
.myr-btn:hover { transform: translateY(-1px); }
.myr-btn:disabled { opacity: .6; cursor: default; transform: none; }

.myr-btn-cancel {
  color: #3a5a72;
  background: #edf2f7;
  border-color: #d0dce8;
}
.myr-btn-cancel:hover { background: #dde6f0; }

.myr-btn-save {
  color: #fff;
  background: linear-gradient(90deg, #0d9a74 0%, #11c4a4 100%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(17,163,110,.3);
}
.myr-btn-save:hover { box-shadow: 0 4px 12px rgba(17,163,110,.45); }

.myr-btn-danger {
  color: #fff;
  background: linear-gradient(90deg, #c83058 0%, #e0456a 100%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(200,48,88,.3);
}
.myr-btn-danger:hover { box-shadow: 0 4px 12px rgba(200,48,88,.45); }

@media (max-width: 420px) {
  .myr-card { flex-direction: column; }
  .myr-card-actions { flex-direction: row; }
}

/* --- Draft toast --- */
.draft-toast {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1a1a1a;
  color: #fff;
  font-size: .85rem;
  padding: .55rem 1.1rem;
  border-radius: 2rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 9999;
}
.draft-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   JUNKANコーデページ
   ===================================================== */
.coords-page .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 6rem;
}

.coords-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.coords-header {
  text-align: center;
  padding: 1.5rem 0 .5rem;
}

.coords-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0e2131;
  margin: 0 0 .4rem;
}

.coords-lead {
  font-size: .9rem;
  color: #5a7a90;
  margin: 0;
}

/* ---- 投稿ボタン・フォーム ---- */
.coord-post-form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coord-post-open-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #11a36e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .6rem 1.3rem;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}
.coord-post-open-btn:hover { background: #0d8a5c; }

.coord-post-form-panel {
  background: #f4f8fb;
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  width: 100%;
  box-sizing: border-box;
}

.coord-post-form-panel[hidden] {
  display: none !important;
}

.coord-post-status {
  font-size: .85rem;
  color: #5a7a90;
  min-height: 1em;
}

.coord-post-form {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.coord-photo-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  border: 2px dashed #b1c4d4;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  cursor: pointer;
  color: #5a7a90;
  font-size: .9rem;
  position: relative;
}
.coord-photo-pick input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  font-size: 16px !important;
}
.coord-photo-pick:hover { border-color: #11a36e; color: #11a36e; }

.coord-photo-preview {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
}

.coord-post-form textarea {
  border: 1px solid #b1c4d4;
  border-radius: 8px;
  padding: .6rem .8rem;
  resize: vertical;
  font-family: inherit;
  background: #fff;
}

.coord-post-form-actions {
  display: flex;
  gap: .6rem;
  justify-content: flex-end;
}

.coord-post-cancel-btn {
  background: none;
  border: 1px solid #b1c4d4;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .9rem;
  cursor: pointer;
  color: #5a7a90;
}
.coord-post-cancel-btn:hover { background: #eaf0f5; }

.coord-post-submit-btn {
  background: #11a36e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .45rem 1.3rem;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.coord-post-submit-btn:hover { background: #0d8a5c; }
.coord-post-submit-btn:disabled { opacity: .6; cursor: default; }

/* ---- ログイン促しノート ---- */
.coord-login-note {
  font-size: .9rem;
  color: #5a7a90;
  margin: 0;
}
.coord-login-link {
  background: none;
  border: none;
  color: #11a36e;
  font-size: .9rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* ---- 空メッセージ ---- */
.coord-empty {
  text-align: center;
  color: #5a7a90;
  padding: 2rem 0;
  font-size: .95rem;
}

/* ---- グリッド ---- */
.coord-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.coord-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(14,36,55,.08);
  display: flex;
  flex-direction: column;
}

.coord-card-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8f0f6;
}

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

.coord-card-delete-btn {
  position: absolute;
  top: .4rem;
  right: .4rem;
  background: rgba(14,36,55,.55);
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: .3rem .35rem;
  cursor: pointer;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coord-card-delete-btn:hover { background: #c0392b; }

.coord-card-body {
  padding: .6rem .7rem .7rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
}

.coord-card-user {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.coord-card-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.coord-card-avatar--empty {
  background: #d0e0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a9cb0;
}

.coord-card-nickname {
  font-size: .78rem;
  font-weight: 700;
  color: #2a4a60;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coord-card-comment {
  font-size: .8rem;
  color: #3a5a70;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.coord-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 4px;
}
.coord-card-date {
  font-size: .72rem;
  color: #8aa3b8;
}
.coord-card-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color .15s;
  line-height: 1;
  flex-shrink: 0;
}
.coord-card-like-btn svg {
  fill: none;
  transition: fill .15s;
  flex-shrink: 0;
}
.coord-card-like-btn:hover {
  color: #e05577;
}
.coord-card-like-btn.is-liked {
  color: #e05577;
}
.coord-card-like-btn.is-liked svg {
  fill: currentColor;
}
.coord-card-like-count {
  font-size: .72rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .coord-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
  }
}

/* ================================================================
   coord — received items form section
   ================================================================ */
.coord-items-section {
  margin-top: 14px;
}
.coord-items-label {
  font-size: .85rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px;
}
.coord-items-hint {
  font-weight: 400;
  color: #888;
  font-size: .78rem;
  margin-left: 4px;
}
.coord-items-loading,
.coord-items-empty,
.coord-items-error {
  font-size: .82rem;
  color: #888;
  padding: 6px 0;
  margin: 0;
}
.coord-received-items-wrap {
  /* sizing handled by inner list */
}
.coord-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #dde8e3;
  border-radius: 8px;
}
.coord-item-check label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .12s;
}
.coord-item-check label:hover {
  background: #f4fbf7;
}
.coord-item-check + .coord-item-check {
  border-top: 1px solid #eef4f0;
}
.coord-item-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #11a36e;
  cursor: pointer;
}
.coord-item-check-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.coord-item-check-thumb--empty {
  display: block;
  background: #e4ede8;
}
.coord-item-check-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.coord-item-check-name {
  font-size: .84rem;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coord-item-check-category {
  font-size: .74rem;
  color: #888;
}

/* ================================================================
   coord — linked item tags on card
   ================================================================ */
.coord-item-tags {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.coord-item-tag {
  display: inline-flex;
  flex-direction: column;
  background: #f0faf5;
  border: 1px solid #b8dece;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: .7rem;
  line-height: 1.45;
  max-width: 100%;
}
.coord-item-tag-giver {
  color: #0e8a5c;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coord-item-tag-name {
  color: #3a5a4a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
