@charset "UTF-8";

:root {
  --color-ink: #171717;
  --color-muted: #55504a;
  --color-paper: #fffefa;
  --color-canvas: #f2f0e9;
  --color-line: #ded8cb;
  --color-coral: #f47b63;
  --color-yellow: #ffd400;
  --color-yellow-soft: #fff4a8;
  --color-blue: #55b8dc;
  --color-teal: #72c9bd;
  --shadow-soft: 0 10px 30px rgb(24 24 24 / 10%);
  --content-width: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background: var(--color-canvas);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
select,
input {
  font: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

:focus-visible {
  outline: 3px solid #1479c9;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 検索・詳細で共用するレイアウトと特徴タグ */
.search-page-frame {
  width: min(100%, var(--content-width));
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--color-paper);
  box-shadow: 0 0 36px rgb(31 29 23 / 10%);
}

.inner-page .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 12px 42px;
  background: #fff;
}

.inner-page .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-ink);
  font-family: Impact, "Arial Black", "Yu Gothic", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.48rem);
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.inner-page .site-brand img {
  width: 47px;
  flex: 0 0 auto;
}

.inner-page .language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--color-ink);
  font-weight: 700;
}

.inner-page .language-switcher svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.9;
}

.inner-page .language-switcher > select {
  max-width: 150px;
  padding: 9px 31px 9px 13px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid #cfcac0;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 800;
}

.translate-engine {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 20px;
  padding: 0;
  list-style: none;
}

.feature-tags li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 3px 10px 3px 4px;
  background: #fff9d9;
  border: 1px solid #f0df83;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.feature-tags img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  border-radius: 50%;
}

.inner-page .site-footer {
  display: grid;
  min-height: 122px;
  place-items: center;
  padding: 19px 92px;
  color: #fff;
  background: var(--color-ink);
  font-size: 1rem;
  line-height: 1.45;
}

.inner-page .site-footer a {
  color: var(--color-yellow);
  font-size: 1.08rem;
  font-weight: 800;
}

.inner-page .site-footer small {
  font-size: 0.95rem;
}

.inner-page .site-footer p {
  margin: 0 0 8px;
  text-align: center;
}

.search-back-to-top {
  position: fixed;
  right: max(20px, calc((100vw - var(--content-width)) / 2 + 20px));
  bottom: 20px;
  z-index: 50;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: var(--color-ink);
  background: #fff;
  border: 3px solid var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgb(0 0 0 / 22%);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

@media (max-width: 680px) {
.inner-page .site-header {
    gap: 7px;
    min-height: 72px;
    padding: 10px 24px;
  }

.inner-page .site-brand {
    gap: 7px;
    font-size: clamp(0.85rem, 3.65vw, 1.02rem);
  }

.inner-page .site-brand img {
    width: 38px;
  }

.inner-page .language-switcher {
    max-width: 118px;
    gap: 5px;
  }

.inner-page .language-switcher svg {
    width: 21px;
  }

.inner-page .language-switcher > select {
    width: 80px;
    padding: 7px 4px 7px 8px;
    font-size: 13px;
  }

.feature-tags {
    margin-bottom: 17px;
  }

.inner-page .site-footer {
    min-height: 104px;
    padding: 17px 78px;
    font-size: 0.94rem;
  }

.search-back-to-top {
    right: 13px;
    bottom: 13px;
    width: 60px;
    height: 60px;
    border-width: 2px;
    font-size: 2rem;
  }
}

@media (max-width: 390px) {
.inner-page .site-brand span {
    font-size: 0.82rem;
  }

.inner-page .language-switcher {
    max-width: 108px;
  }

.inner-page .language-switcher > select {
    width: 100px;
  }

.feature-tags li {
    font-size: 0.74rem;
  }
}
