@font-face {
  font-family: "Noto Sans JP";
  src: url("fonts/noto-sans-jp.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
body.joggo-home {
  margin: 0;
  background: #fff;
  color: #252525;
  font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
}
.joggo-home *, .joggo-home *::before, .joggo-home *::after {
  box-sizing: border-box;
}
.joggo-skip {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  padding: 10px 14px;
  background: #fff;
  color: #252525;
  transform: translateY(-180%);
}
.joggo-skip:focus { transform: none; }
.joggo-viewport { container-type: inline-size; width: 100%; }
.joggo-viewport--mobile { display: none; }
@media (max-width: 900px) {
  .joggo-viewport--mobile {
    display: block;
    max-width: 540px;
    margin-inline: auto;
  }
  .joggo-viewport--desktop { display: none; }
}
.joggo-board {
  --u: calc(100cqw / var(--base));
  position: relative;
  height: calc(var(--board-height) * var(--u));
  overflow: clip;
  background: #fff;
}
.joggo-layer {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  margin: 0;
  padding: 0;
  color: inherit;
}
.joggo-board header { z-index: 1; }
.joggo-board a {
  text-decoration: none;
}
.joggo-board button {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  text-align: start;
}
.joggo-board a[href], .joggo-board button { cursor: pointer; }
.joggo-board :is(a[href], button, [tabindex="0"]):focus-visible,
.joggo-dialog :is(a[href], button):focus-visible {
  outline: 2px solid #465d1c;
  outline-offset: 2px;
}
.joggo-board a[aria-disabled="true"] { cursor: default; }
.joggo-clip { overflow: clip; }
.joggo-picture { display: block; overflow: hidden; }
.joggo-picture img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.joggo-picture--fit img { object-fit: contain; }
.joggo-text {
  display: flex;
  align-items: center;
  font-size: calc(var(--size) * var(--u));
  line-height: 1;
  letter-spacing: calc(var(--spacing) * var(--u));
  white-space: pre;
}
.joggo-text > span {
  display: block;
  transform-origin: left center;
}
.joggo-carousel {
  overflow: auto hidden;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.joggo-carousel::-webkit-scrollbar { display: none; }
.joggo-carousel__track {
  position: relative;
  width: calc(var(--track) * var(--u));
  height: 100%;
}
.joggo-dialog {
  inset: 0 0 0 auto;
  max-height: none;
  height: 100%;
  width: min(100%, 424px);
  max-width: 100%;
  margin: 0;
  padding: 24px;
  border: 0;
  color: #252525;
  background: #fff;
  font: 16px/1.5 "Noto Sans JP", "Hiragino Sans", sans-serif;
}
.joggo-dialog::backdrop { background: rgb(27 27 27 / 48%); }
.joggo-dialog__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}
.joggo-dialog__heading h2 { margin: 0; font-size: 22px; }
.joggo-dialog__heading button {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: inherit;
  background: #fff;
  font-size: 25px;
  cursor: pointer;
}
.joggo-dialog nav a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #ececec;
  color: inherit;
  text-decoration: none;
}
.joggo-dialog nav a[aria-disabled="true"] { color: #777; }
body:has(.joggo-dialog[open]) { overflow: hidden; }
.joggo-lightbox {
  width: fit-content;
  max-width: calc(100% - 28px);
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  background: #fff;
  color: #252525;
}
.joggo-lightbox::backdrop { background: rgb(0 0 0 / 69%); }
.joggo-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 28px);
  min-width: min(280px, 70vw);
  object-fit: contain;
}
.joggo-lightbox form { position: absolute; top: 10px; right: 10px; }
.joggo-lightbox button {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: inherit;
  background: #fff;
  font-size: 25px;
  cursor: pointer;
}
body:has(.joggo-lightbox[open]) { overflow: hidden; }
.joggo-design [hidden] { display: none !important; }
.joggo-board { height: calc((var(--board-height) + var(--board-grow, 0)) * var(--u)); }
.joggo-layer {
  --x-shift: 0;
  --shift: 0;
  --grow: 0;
  left: calc((var(--x) + var(--x-shift, 0)) * var(--u));
  top: calc((var(--y) + var(--shift, 0)) * var(--u));
  height: calc((var(--h) + var(--grow, 0)) * var(--u));
}
.joggo-board header.joggo-layer { z-index: auto; }
.joggo-board > header.joggo-layer { z-index: 2; }
.joggo-accordion { overflow: clip; }
.joggo-accordion[data-open="false"] > .joggo-accordion-body { visibility: hidden; }
.joggo-accordion-trigger {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  width: 100%;
  height: calc(var(--summary) * var(--u));
}
.joggo-board button[aria-pressed="true"] {
  outline: 2px solid #252525;
  outline-offset: 2px;
}
.joggo-dialog nav button {
  display: block;
  text-align: left;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #ececec;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.joggo-gallery-filter, .joggo-contact-review {
  width: min(100% - 28px, 490px);
  border: 1px solid #ddd;
  background: #fff;
  padding: 25px;
  color: #252525;
  font: 16px/1.5 "Noto Sans JP", sans-serif;
}
.joggo-gallery-filter::backdrop, .joggo-contact-review::backdrop { background: rgb(0 0 0 / 50%); }
.joggo-gallery-filter form > div, .joggo-contact-review > div { margin-top: 15px; }
.joggo-gallery-filter button, .joggo-contact-review button { font: inherit; }
.joggo-contact-review dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 12px; }
.joggo-contact-review dt { font-weight: 700; }
.joggo-contact-status {
  padding: 13px;
  text-align: center;
  background: #f1f5e8;
}
.joggo-input, .joggo-faq-search {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #252525;
  font: 400 calc(16 * var(--u))/1.5 "Noto Sans JP", "Hiragino Sans", sans-serif;
  padding: calc(10 * var(--u)) calc(16 * var(--u));
}
.joggo-input:focus-visible, .joggo-faq-search:focus-visible {
  outline: 2px solid #465d1c;
  outline-offset: 2px;
}
textarea.joggo-input { resize: none; }
.joggo-select .joggo-input { appearance: none; padding-right: calc(36 * var(--u)); }
.joggo-select .joggo-picture { pointer-events: none; }
.joggo-check {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  top: calc(var(--y-check) * var(--u));
  margin: 0;
  padding: 0;
}
.joggo-trap { position: absolute; left: -10000px; }
.joggo-search-placeholder { z-index: 2; }
.joggo-search-placeholder > span { visibility: hidden; }
.joggo-faq-search {
  height: calc(39 * var(--u));
  top: calc(-11 * var(--u));
  padding: 0;
  font-size: calc(15 * var(--u));
}
.joggo-faq-results {
  position: absolute;
  top: calc(30 * var(--u));
  width: max(100%, calc(310 * var(--u)));
  max-height: min(40vh, 340px);
  overflow: auto;
  border: 1px solid #ddd;
  background: #fff;
  z-index: 4;
}
.joggo-faq-results button {
  display: block;
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 8px;
  white-space: normal;
}
.joggo-empty { font-size: calc(16 * var(--u)); }

.joggo-story-content {
  height: 100%;
  padding: calc(72 * var(--u)) calc(24 * var(--u)) calc(55 * var(--u));
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(34 * var(--u));
}
.joggo-story-intro h1 {
  margin: 0;
  font-size: calc(56 * var(--u));
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.joggo-story-intro > p {
  margin: calc(17 * var(--u)) 0 calc(22 * var(--u));
  font-size: calc(22 * var(--u));
}
.joggo-story-intro a {
  display: inline-flex;
  gap: calc(12 * var(--u));
  align-items: baseline;
  padding: calc(8 * var(--u)) 0;
  border-bottom: 1px solid currentColor;
  font-size: calc(14 * var(--u));
}
.joggo-story-chapters {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-evenly;
}
.joggo-story-chapter {
  padding: calc(16 * var(--u)) 0;
  font-size: calc(20 * var(--u));
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.joggo-story-chapter + .joggo-story-chapter {
  border-top: 1px solid #e8e8e8;
}
.joggo-story-chapter p { margin: 0 0 .5em; }
.joggo-story-chapter p:last-child { margin-bottom: 0; }
.joggo-story-chapter span { display: block; }
.joggo-letter-rail {
  scroll-snap-type: x mandatory;
}
.joggo-letter-rail [data-letter] {
  scroll-snap-align: center;
}
.joggo-letter-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(88dvh, 770px);
  padding: 0;
  border: 0;
  background: #fff;
  color: #252525;
  font: 16px/1.85 "Noto Sans JP", sans-serif;
}
.joggo-letter-dialog::backdrop { background: rgb(0 0 0 / 52%); }
.joggo-letter-dialog form { position: sticky; z-index: 1; top: 10px; margin: 10px 10px -54px auto; width: 44px; }
.joggo-letter-dialog button {
  width: 44px;
  height: 44px;
  font-size: 24px;
  color: inherit;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
}
.joggo-letter-dialog img { width: 100%; max-height: 48vh; display: block; object-fit: cover; }
.joggo-letter-dialog article { padding: 24px clamp(20px, 4vw, 46px) 40px; }
.joggo-letter-dialog h2 { margin: 0; font-size: 22px; }
body:has(.joggo-letter-dialog[open]) { overflow: hidden; }
.joggo-viewport--mobile .joggo-story-content { padding-top: calc(45 * var(--u)); padding-bottom: calc(38 * var(--u)); }
.joggo-viewport--mobile .joggo-story-intro h1 { font-size: calc(36 * var(--u)); }
.joggo-viewport--mobile .joggo-story-intro > p,
.joggo-viewport--mobile .joggo-story-chapter { font-size: calc(17 * var(--u)); }

.joggo-letter-preview {
  position: absolute;
  top: 11.5%;
  left: 15%;
  width: 70%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #252525;
  font-size: calc(15 * var(--u));
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
}
.joggo-letter-caption {
  position: absolute;
  bottom: calc(7 * var(--u));
  inset-inline: 0;
  color: #252525;
  font-size: calc(14 * var(--u));
  font-weight: 700;
  text-align: center;
}
.joggo-viewport--mobile .joggo-letter-preview {
  top: 9%;
  font-size: calc(11.5 * var(--u));
  line-height: 1.52;
}
.joggo-campaign-rows {
  display: grid;
  align-content: center;
  gap: calc(84 * var(--u));
  padding: 0 calc(128 * var(--u));
}
.joggo-campaign-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: calc(48 * var(--u));
}
.joggo-campaign-row:nth-child(2) {
  grid-template-columns: 1fr 2fr;
}
.joggo-campaign-row:nth-child(2) > div { order: -1; }
.joggo-campaign-row img {
  width: 100%;
  height: calc(400 * var(--u));
  object-fit: cover;
}
.joggo-campaign-row h2, .joggo-campaign-heading h2 {
  margin: 0 0 calc(24 * var(--u));
  font-size: calc(28 * var(--u));
  line-height: 1.45;
}
.joggo-campaign-row p, .joggo-campaign-heading p {
  margin: 0 0 calc(8 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: 1.65;
}
.joggo-campaign-heading {
  position: absolute;
  inset: calc(124 * var(--u)) calc(56 * var(--u)) auto;
  z-index: 1;
  text-align: center;
}
