@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");
* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  background-color: #1a1a1a;
  color: rgba(255, 255, 255, 0.8666666667);
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.card {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-color: #1a1a1a;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

#btn {
  position: absolute;
  top: 690px;
  left: 16px;
  z-index: 99;
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.8666666667);
  padding-left: 16px;
}

.content-place {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}

.content-place {
  font-weight: 500;
}

.content-title-1,
.content-title-2 {
  font-weight: 600;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
}

.content-start {
  width: 30px;
  height: 5px;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, 0.8666666667);
}

.details {
  z-index: 22;
  position: absolute;
  top: 240px;
  left: 60px;
}
.details .place-box {
  height: 46px;
  overflow: hidden;
}
.details .place-box .text {
  padding-top: 16px;
  font-size: 20px;
}
.details .place-box .text:before {
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}
.details .title-1,
.details .title-2 {
  font-weight: 600;
  font-size: 72px;
  font-family: "Oswald", sans-serif;
}
.details .title-box-1,
.details .title-box-2 {
  margin-top: 2px;
  height: 100px;
  overflow: hidden;
}
.details > .desc {
  margin-top: 16px;
  width: 500px;
}
.details > .cta {
  width: 500px;
  margin-top: 24px;
  display: flex;
  align-items: center;
}
.details > .cta > .bookmark {
  border: none;
  background-color: #ecad29;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  color: white;
  display: grid;
  place-items: center;
}
.details > .cta > .bookmark svg {
  width: 20px;
  height: 20px;
}
.details > .cta > .discover {
  border: 1px solid #ffffff;
  background-color: transparent;
  height: 36px;
  border-radius: 99px;
  color: #ffffff;
  padding: 4px 24px;
  font-size: 12px;
  margin-left: 16px;
  text-transform: uppercase;
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  font-weight: 500;
}
nav svg {
  width: 20px;
  height: 20px;
}
nav .svg-container {
  width: 20px;
  height: 20px;
}
nav .nav-phone {
  color: inherit;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
}
nav > div {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 14px;
}
nav > div:first-child {
  gap: 10px;
}
nav > div:last-child {
  gap: 24px;
}
nav > div:last-child > .active {
  position: relative;
}
nav > div:last-child > .active:after {
  bottom: -8px;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  height: 3px;
  border-radius: 99px;
  background-color: #ecad29;
}

.indicator {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 60;
  background-color: #ecad29;
}

.pagination {
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-flex;
  align-items: center;
}
.pagination > .arrow {
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3333333333);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.pagination > .arrow:nth-child(2) {
  margin-left: 20px;
}
.pagination > .arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: rgba(255, 255, 255, 0.6);
}
.pagination .progress-sub-container {
  margin-left: 24px;
  z-index: 60;
  width: 500px;
  height: 50px;
  display: flex;
  align-items: center;
}
.pagination .progress-sub-container .progress-sub-background {
  width: 500px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
}
.pagination .progress-sub-container .progress-sub-background .progress-sub-foreground {
  height: 3px;
  background-color: #ecad29;
}
.pagination .slide-numbers {
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 60;
  position: relative;
}
.pagination .slide-numbers .item {
  width: 50px;
  height: 50px;
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: bold;
}

.cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
}

@media (max-width: 820px) {
  nav {
    padding: 16px 20px;
  }
  nav > div:last-child {
    gap: 0;
  }
  nav > div:last-child > div:not(.svg-container) {
    display: none;
  }
  .details {
    top: 96px;
    left: 24px;
    right: 24px;
    max-width: calc(100vw - 48px);
  }
  .details .place-box {
    height: 36px;
  }
  .details .place-box .text {
    padding-top: 12px;
    font-size: 15px;
  }
  .details .place-box .text::before {
    width: 28px;
    height: 3px;
  }
  .details .title-1,
  .details .title-2 {
    font-size: 44px;
    line-height: 0.95;
  }
  .details .title-box-1,
  .details .title-box-2 {
    height: 48px;
  }
  .details > .desc {
    width: calc(100vw - 48px);
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.62;
  }
  .details > .cta {
    width: calc(100vw - 48px);
    margin-top: 18px;
  }
  .details > .cta > .bookmark {
    width: 34px;
    height: 34px;
  }
  .details > .cta > .discover {
    height: 34px;
    padding: 4px 16px;
    font-size: 12px;
  }
  .card-content {
    display: none;
  }
  .pagination > .arrow {
    width: 42px;
    height: 42px;
  }
  .pagination > .arrow:nth-child(2) {
    margin-left: 12px;
  }
  .pagination .progress-sub-container {
    margin-left: 14px;
    width: 150px;
  }
  .pagination .progress-sub-container .progress-sub-background {
    width: 150px;
  }
  .pagination .slide-numbers,
  .pagination .slide-numbers .item {
    width: 38px;
    height: 42px;
  }
  .pagination .slide-numbers .item {
    font-size: 24px;
  }
}
/* i18n: fixed language switcher (fragment has no header bar) */
.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 30px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  backdrop-filter: blur(4px);
}

.lang-select option {
  color: #111;
  background-color: #fff;
}

/* i18n line-break: JP wraps naturally with kinsoku; proper nouns stay latin */
html[lang=ja] {
  line-break: strict;
  word-break: normal;
}

html[lang=ja] .desc {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* card image fallback: external codepen photos are hotlink-blocked (403), so give
   cards a solid fill and cover-sizing for any that do load */
.card {
  background-color: #24262b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
