:root {
  --charcoal: #3f444b;
  --deep: #555c65;
  --light: #f2f4f6;
  --line: #d9dde1;
  --serif: "Cardo", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --header-h: 55px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #2e3339;
  font-family: var(--sans);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

.lp {
  width: min(760px, 100%);
  margin: 0 auto;
  background: #fff;
  padding-top: var(--header-h);
}

.container {
  width: 100%;
  margin: 0;
}

.content {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  width: 100dvw;
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  backdrop-filter: blur(8px);
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  height: var(--header-h);
  overflow-x: clip;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: left;
  height: var(--header-h);
  padding: 0 16px;
}

.logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.hero {
  padding: 8px 0 0;
}

.hero-typography {
  margin: 0;
  color: var(--color-grey-light-grey, #dcdcdc);
  font-family: var(--font-family-Serif-, Cardo);
  font-size: 45px;
  letter-spacing: 3.84px;
  padding: 5px 0 5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  aspect-ratio: 700 / 864;
  object-fit: cover;
}

.hero-links {
  background: #fff;
  padding: 20px 0 24px;
}

.hero-catch {
  margin: 0 0 16px;
  color: #4d4d4d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.hero-anchor-list {
  display: grid;
  gap: 10px;
}

.hero-anchor-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  background: #67717c;
  color: var(--color-text-white, #fff);
  text-decoration: none;
  font-family: var(--font-family-, "Zen Kaku Gothic New");
  font-size: var(--font-size-xlarge, 28px);
  font-style: normal;
  font-weight: 500;
  line-height: var(--font-line-height-r, 40px);
  letter-spacing: 0.06em;
}

.property {
  padding: 40px 0 40px;
  background: #f5f3f0;
  border-bottom: 1px solid var(--line);
}

#furue,
#rakurakuen,
#yahata {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.property-head-row {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.property-head-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.property-inner {
  padding-top: 2px;
}

.property-subhead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.access-bar {
  width: 10px;
  height: 40px;
  background: #363636;
  flex-shrink: 0;
}

.property h2 {
  margin: 0;
  font-family: var(--serif);
  color: #555d67;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.property-price {
  margin: -4px 0 8px auto;
  background: #fff;
  color: #7a8089;
  border: 1px solid #a6acb4;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  white-space: nowrap;
}

.property-address {
    margin: -4px 0 8px;
    font-size: 17px;
    color: #636a73;
    padding: 10px 0;
    letter-spacing: 0.02em;
    font-weight: bold;
}

.property-track-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.walk-time {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.walk-time img {
  width: 16px;
  opacity: 0.66;
}

.walk-time span {
  color: #363636;
  font-family: "Cardo", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.walk-time em {
  font-style: normal;
  font-size: 25px;
  font-weight: 700;
  margin-right: 1px;
}

.property-note {
  margin: 24px 0 25px;
  color: #636a73;
  font-size: 12px;
  line-height: 1.7;
}

.access-band {
  background: #fff;
  padding: 6px 10px;
  flex: 1;
  color: #363636;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.carousel {
  position: relative;
  padding: 0px 0 20px;
}

.carousel-clip {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  touch-action: pan-y;
  user-select: none;
}

.carousel-slide {
  margin: 0;
  flex: 0 0 100%;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

.carousel-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7ccd2;
  border: 0;
  padding: 0;
}

.carousel-dots button.active {
  background: #6a717a;
}

.carousel-arrow {
  display: none;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 22px;
  min-width: 140px;
  background: #363636;
  color: #fff;
  text-decoration: none;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
}

.lineup-icon {
  width: 20px;
  height: 20px;
}

#irest {
  background: #fefdf7;
  padding: 35px 0 40px;
}

.rest-wrap h2 {
  margin: 0;
  color: var(--color-text-dark, #363636);
  font-family: var(--font-family-SanSerif-, Montserrat), sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.irest-title {
  font-size: 72px;
}

.rest-sub {
  margin: 0 0 16px;
  font-family: "Zen Kaku Gothic New", var(--sans);
  color: #363636;
}

.rest-lead {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.rest-lead p {
  margin: 0;
}

.rest-lead img {
  width: 120px;
  justify-self: end;
}

.rest-home-btn {
  background: #606972;
}

.irest-divider {
  height: 1px;
  width: 100%;
  background: #dcdcdc;
  margin: 24px 0;
}

.values-heading {
  font-size: 28px;
  margin-bottom: 10px;
}

.values-copy {
  margin: 0 0 18px;
  color: #363636;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 14px;
  line-height: 1.8;
}

.rest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.rest-card {
  background: #f9f8f0;
  padding: 25px 16px;
  width: 100%;
  margin: 0;
}

.rest-icon {
  height: 28px;
  margin-bottom: 10px;
}

.rest-media {
  width: 70%;
  margin: 0 auto 10px;
}

.rest-card img {
  width: auto;
  max-width: 70%;
  height: auto;
  margin: 0;
}

.rest-card span {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  display: block;
  text-align: left;
}

.rest-card h3 {
  margin: 6px 0 4px;
  font-family: "Zen Kaku Gothic New", var(--sans);
}

.rest-card p {
  margin: 0 0 10px;
  font-size: 15px;
  color: #363636;
}

.rest-card ul {
  margin: 0;
  padding-left: 16px;
  color: #363636;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  width: 100%;
}

.rest-text {
  margin: 0;
  color: #363636;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

.rest-card span,
.rest-card h3,
.rest-card p,
.rest-card ul {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.rest-card .rest-text {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon {
  margin-bottom: 0;
}

.rest-foot {
  margin: 0;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 120px 0;
  background: #222;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  font-family: "Zen Kaku Gothic New", var(--sans);
  font-size: 28px;
  font-weight: 900;
  line-height: 56px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner img {
  width: 80px;
  max-width: 60%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
  }

  .hero {
    padding-top: 14px;
  }

  .property {
    padding: 26px 0 32px;
    position: relative;
    background: transparent;
    z-index: 0;
  }

  .property::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f5f3f0;
    z-index: -1;
  }

  #irest {
    position: relative;
    background: transparent;
    z-index: 0;
  }

  #irest::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #fefdf7;
    z-index: -1;
  }

  .hero-links {
    padding: 26px 0 30px;
  }

  .hero-catch {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .hero-anchor-list {
    gap: 13px;
  }

  .hero-anchor-btn {
    min-height: 55px;
    font-size: 24px;
  }

  .property h2 {
    font-size: 48px;
  }

  .access-bar {
    height: 56px;
  }

  .property-address {
    font-size: 25px;
  }

  .property-price {
    font-size: 17px;
  }

  .property-track-row {
    margin-bottom: 14px;
  }

  .walk-time span {
    font-size: 35px;
  }

  .walk-time em {
    font-size: 35px;
  }

  .access-band {
    font-size: 18px;
  }

  .property-note {
    font-size: 14px;
  }

  .detail-btn {
    font-size: 14px;
    min-width: 180px;
    padding: 10px 30px;
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .carousel-arrow-prev {
    left: 10px;
  }

  .carousel-arrow-next {
    right: 10px;
  }

}

@media (max-width: 767px) {
  .hero-catch {
    font-size: 14px;
  }

  .hero-anchor-btn {
    font-size: 18px;
    min-height: 45px;
  }

  .property-subhead {
    gap: 8px;
  }

  .property-price {
    font-size: 14px;
  }

  .access-band {
    white-space: normal;
    font-size: 15px;
    text-align: center;
  }

  .irest-title {
    font-size: 42px;
    margin-bottom: 10px;
  }

}

@media (max-width: 720px) {
  .rest-lead {
    grid-template-columns: 1fr;
  }

  .rest-lead img {
    order: 1;
    justify-self: start;
  }

  .rest-lead p {
    order: 2;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.7;
  }

  .rest-grid {
    grid-template-columns: 1fr;
  }
}
