@charset "UTF-8";

.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%);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  margin: 0;
  padding: 12px 42px;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.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;
}

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

.site-brand span {
  display: block;
}

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

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

.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;
}

#main-content {
  width: min(100%, 820px);
  margin-inline: auto;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0 0 66px;
  padding: 0;
  overflow: visible;
  background: #fff;
}

.hero::before,
.hero::after {
  content: none;
}

.hero-copy {
  position: absolute;
}

.hero-copy::before,
.hero-copy::after {
  content: none;
}

.hero-caption {
  position: relative;
  grid-area: 1 / 1;
  align-self: start;
  left: 6%;
  z-index: 5;
  width: min(35%, 300px);
  max-width: calc(100% - 48px);
  margin: 53% 0 4%;
  padding: 0 0 10px;
  font-size: clamp(0.84rem, 2vw, 1rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.015em;
  overflow-wrap: break-word;
  line-break: strict;
  white-space: normal;
  box-shadow: none;
  animation: hero-caption-in 600ms 1.04s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-caption::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-yellow) 0 8px,
    transparent 8px 12px
  );
  content: "";
}

.hero-visual {
  position: relative;
  display: grid;
  order: 1;
  width: 100%;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.hero-artwork {
  position: relative;
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  aspect-ratio: 820 / 550;
}

.hero-layer {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  backface-visibility: hidden;
}

.hero-layer--background {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  animation: hero-background-in 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-layer--nara {
  top: 15.8%;
  left: 3.8%;
  z-index: 2;
  width: 41.59%;
  animation: hero-title-in 720ms 300ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.hero-layer--host {
  top: 36.4%;
  left: 6.3%;
  z-index: 2;
  width: 34.15%;
  animation: hero-title-in 720ms 460ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.hero-layer--picks {
  top: 56.2%;
  left: 4.4%;
  z-index: 2;
  width: 31.95%;
  animation: hero-title-in 720ms 620ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.hero-layer--illustration {
  top: 2.7%;
  right: 5.8%;
  z-index: 3;
  width: 50.85%;
  animation: hero-illustration-in 920ms 180ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

@keyframes hero-background-in {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
}

@keyframes hero-title-in {
  0% {
    opacity: 0;
    transform: translate3d(-15%, 12px, 0) rotate(-2deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes hero-illustration-in {
  0% {
    opacity: 0;
    transform: translate3d(10%, 8px, 0) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-caption-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.section-block {
  padding-inline: 42px;
}

.section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0 auto 30px;
  padding: 4px 48px;
  color: var(--color-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: "Arial Black", "Yu Gothic", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.58rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
}

.section-title::before,
.section-title::after {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 29px;
  content: "";
}

.section-title::before {
  left: 18px;
  background: var(--color-coral);
  transform: translateY(-50%) rotate(-43deg);
}

.section-title::after {
  right: 18px;
  background: var(--color-blue);
  transform: translateY(-50%) rotate(43deg);
}

.section-title span {
  position: relative;
  padding-inline: 3px;
  background: linear-gradient(transparent 67%, var(--color-yellow) 67% 92%, transparent 92%);
}

.section-title span::before,
.section-title span::after {
  content: none;
}

.reasons {
  padding-top: 0;
  padding-bottom: 66px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.reason-card {
  min-width: 0;
  padding: 10px 18px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.reason-card + .reason-card {
  border-left: 3px dotted #dedbd2;
}

.reason-card img {
  width: min(100%, 225px);
  aspect-ratio: 1;
  margin: 4px auto 3px;
  object-fit: contain;
}

.reason-card h3 {
  margin: 0 0 2px;
  font-size: clamp(0.93rem, 2vw, 1.14rem);
  line-height: 1.45;
}

.reason-card p {
  margin: 7px 0 0;
  color: var(--color-muted);
  font-size: clamp(0.86rem, 1.8vw, 1rem);
  font-weight: 600;
  line-height: 1.55;
}

.feature-search {
  position: relative;
  padding-top: 0px;
  padding-bottom: 64px;
  background: #fffef9;
}

.feature-search::before {
  content: none;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.filter-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.filter-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.filter-content {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  min-height: 122px;
  padding: 11px 20px 11px 11px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgb(29 28 23 / 5%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.filter-content::before {
  content: none;
}

.filter-content > img {
  position: relative;
  z-index: 1;
  width: 100px;
  max-height: 92px;
  object-fit: contain;
}

.filter-content > span {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  font-weight: 900;
  line-height: 1.45;
}

.filter-option:hover .filter-content {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgb(29 28 23 / 10%);
}

.filter-option input:focus-visible + .filter-content {
  outline: 3px solid #1479c9;
  outline-offset: 3px;
}

.filter-option input:checked + .filter-content {
  background: #fff9d8;
  border-color: #e6be00;
  box-shadow: 0 7px 18px rgb(196 153 0 / 18%);
}

.filter-option input:checked + .filter-content::after {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 25px;
  height: 25px;
  content: "";
  background: var(--color-coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  border-radius: 50%;
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 500px);
  min-height: 56px;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  margin: 36px auto 0;
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 9px 20px rgb(227 177 0 / 22%);
  cursor: pointer;
  font-family: "Arial Black", "Yu Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgb(227 177 0 / 28%);
}

.pickup {
  position: relative;
  padding-top: 52px;
  padding-bottom: 65px;
  background: #fff;
}

.pickup::after {
  content: none;
}



.shop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shop-card {
  min-width: 0;
  overflow: hidden;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgb(29 28 23 / 9%);
}

.shop-card a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.shop-card img {
  width: 100%;
  aspect-ratio: 1.64;
  object-fit: cover;
  transition: transform 220ms ease;
}

.shop-card a:hover img {
  transform: scale(1.025);
}

.shop-copy {
  display: block;
  padding: 13px 17px 17px;
}

.shop-name,
.shop-description {
  display: block;
}

.shop-name {
  padding-bottom: 7px;
  border-bottom: 3px dashed var(--color-yellow);
  font-size: clamp(1.02rem, 2.5vw, 1.3rem);
  font-weight: 900;
  line-height: 1.4;
}

.shop-description {
  margin-top: 7px;
  color: var(--color-muted);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 600;
  line-height: 1.5;
}

.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;
}

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

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

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

.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) {
  .site-header {
    gap: 7px;
    min-height: 72px;
    margin: 0;
    padding: 10px 24px;
    border-radius: 0;
    box-shadow: none;
  }

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

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

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

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

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

  .hero {
    display: flex;
    min-height: 0;
    margin: 0 0 56px;
    padding: 0;
  }

  .hero-copy {
    width: auto;
    padding: 0;
  }

  .hero-caption {
    width: 39%;
    max-width: calc(100% - 36px);
    left: 6%;
    margin: 53% 0 4%;
    font-size: clamp(0.78rem, 2.35vw, 0.9rem);
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.0;
  }

  .section-block {
    padding-inline: 18px;
  }

  .section-title {
    width: fit-content;
    max-width: calc(100% - 28px);
    min-height: 42px;
    margin-bottom: 26px;
    padding: 4px 45px;
    font-size: clamp(1.05rem, 4.8vw, 1.32rem);
    letter-spacing: 0;
  }

  .section-title::before,
  .section-title::after {
    width: 3px;
    min-width: 0;
    height: 25px;
  }

  .section-title::before {
    left: 17px;
    margin: 0;
  }

  .section-title::after {
    right: 17px;
    margin: 0;
  }

  .reasons {
    padding-bottom: 60px;
  }

  .reason-grid {
    gap: 0;
  }

  .reason-card {
    padding: 8px 8px 12px;
    border-radius: 0;
    box-shadow: none;
  }

  .reason-card img {
    margin-bottom: 5px;
  }

  .reason-card h3 {
    font-size: clamp(0.76rem, 3.35vw, 0.91rem);
    letter-spacing: 0;
  }

  .reason-card p {
    margin-top: 5px;
    font-size: clamp(0.74rem, 3.15vw, 0.86rem);
    line-height: 1.5;
  }

  .feature-search {
    padding-top: 0px;
    padding-bottom: 58px;
  }

  .filter-grid {
    gap: 11px 9px;
  }

  .filter-content {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 94px;
    padding: 7px 7px 7px 5px;
    border-radius: 12px;
  }

  .filter-content > img {
    width: 80px;
    max-height: 74px;
  }

  .filter-content > span {
    font-size: clamp(0.83rem, 3.65vw, 0.99rem);
    line-height: 1.4;
  }

  .filter-option input:checked + .filter-content::after {
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-size: 12px 12px;
  }



  .pickup {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .shop-grid {
    gap: 10px;
  }

  .shop-card {
    border-radius: 12px;
  }

  .shop-card img {
    aspect-ratio: 1.42;
  }

  .shop-copy {
    padding: 8px 8px 11px;
  }

  .shop-name {
    font-size: clamp(0.81rem, 3.35vw, 0.95rem);
  }

  .shop-description {
    font-size: clamp(0.74rem, 3.1vw, 0.86rem);
  }

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

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

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

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

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

  .hero {
    min-height: 0;
    padding: 0;
  }

  .hero-caption {
    width: 40%;
    max-width: calc(100% - 28px);
    left: 6%;
    margin: 53% 0 4%;
    padding-bottom: 8px;
    font-size: 0.75rem;
  }

  .filter-content {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .filter-content > img {
    width: 55px;
    max-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-layer,
  .hero-caption {
    animation: none;
  }
}

/* 見るべき場所：施設を追加できるカード一覧 */
.places .shop-name { margin: 0; }
.places .shop-description { margin: 0; }
@media (max-width: 600px) {
  .places-grid { grid-template-columns: minmax(0, 1fr); }
}