/* ==========================================================================
   TOP page – overrides & layout (Figma TOP_PC / TOP_SP)
   ========================================================================== */

/* --- Reset existing front-page styles --- */
#keyvisual.front-page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100svh;
  height: 100dvh;
  /* background: #fff; */
}
#keyvisual.front-page .container,
#keyvisual.front-page .content,
#keyvisual.front-page .kv_cut,
#keyvisual.front-page .special_bannerarea {
  display: none;
}
#wrapper.front-page {
  position: relative;
  top: auto;
  overflow: visible;
  overflow-x: hidden;
}
#wrapper.front-page #contents {
  min-width: 0;
  overflow: visible;
}
#wrapper.front-page .wrap {
  padding: 0;
}
.pointer_none {
  pointer-events: none;
}
/* --- Variables（keyvisual は .top-main の外にあるため両方に定義） --- */
#keyvisual.front-page,
.top-main {
  --top-green: #299b29;
  --top-green-dark: #006934;
  --top-teal: #054a4d;
  --top-orange: #e98c57;
  --top-orange-dark: #a2410a;
  --top-gold-start: #c99c0b;
  --top-gold-end: #3a2e06;
  --top-inner: 1200px;
  --top-gap: 80px;
}
.top-main {
  color: #000;
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
}
@import url('https://googleapis.com');
.top-main .en {
  font-family: "Cinzel", serif;
}
.top-mytown__example-title.en {
  font-family: "Rage Italic", cursive;
}
.top-main .green { color: var(--top-green); }
.top-main .black { color: #000; }

.top-inner {
  max-width: var(--top-inner);
  margin: 0 auto;
  padding: 0 30px;
}

.top-section {
  padding: var(--top-gap) 0;
}
.top-section-title {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

/* --- Keyvisual --- */
.top-keyvisual {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
  background: #fff;
  overflow: hidden;
  /* background-image: url(../../img/top/kv-bg.png); */
  /* background-size: auto min(100%, calc(100dvh - 200px)); */
  /* background-position: left center; */
  background-repeat: no-repeat;
}
.top-keyvisual__inner {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 40px);
  width: 100%;
  /* max-width: min(1400px, 100%); */
  margin: 0 auto;
  padding: clamp(12px, 2vh, 28px) clamp(16px, 3vw, 30px);
  min-height: 0;
  box-sizing: border-box;
  /* background-image: url(../../img/top/kv-bg.png);
  background-size: auto min(100%, calc(100dvh - 200px));
  background-position: left center;
  background-repeat: no-repeat; */
}
.top-keyvisual__visual {
  position: relative;
  flex: 0 1 48%;
  max-width: 48%;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
.top-keyvisual__map {
  display: none;
}
.top-keyvisual__badge {
  position: absolute;
  right: 0;
  bottom: clamp(0px, 23vh, 260px);
  width: clamp(120px, 16vw, 200px);
  pointer-events: auto;
}
.top-keyvisual__badge > img {
  width: 100%;
  height: auto;
}
.top-keyvisual__badge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(0,0,0,0.51);
  pointer-events: none;
}
.top-keyvisual__badge-phase1 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.top-keyvisual__badge-phase2 {
  font-size: 18px;
  line-height: 1.3;
}
.top-keyvisual__badge-phase2 .num {
  font-size: 28px;
}
.top-keyvisual__content {
  flex: 0 1 52%;
  max-width: 52%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8px, 1.5vh, 20px) 0;
}
.top-keyvisual__sublogo {
  width: 100%;
  margin: 0;
}
.top-keyvisual__sublogo img {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin: 0 auto 6px;
  display: block;
}
.top-keyvisual__logo {
  font-family: "Inter", sans-serif;
  font-size: clamp(48px, 10vmin, 120px);
  font-weight: 400;
  color: var(--top-teal);
  line-height: 1;
  margin: 0 0 clamp(8px, 1.5vh, 20px);
  letter-spacing: 0.02em;
  width: 100%;
  text-align: center;
  max-width: 400px;
}
.top-keyvisual__catch,
.top-keyvisual__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}
.top-keyvisual__catch p,
.top-keyvisual__info p {
  width: 100%;
  text-align: center;
}
.top-keyvisual__project {
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 600;
  color: var(--top-green-dark);
  margin-bottom: 4px;
}
.top-keyvisual__tagline {
  font-size: clamp(18px, 3.5vw, 32px);
  font-weight: 600;
  color: var(--top-teal);
  line-height: 1.4;
  margin: 4px 0;
}
.top-keyvisual__banner {
  display: inline-block;
  background: linear-gradient(-83deg, var(--top-gold-start) 31%, var(--top-gold-end) 100%);
  color: #fff;
  font-size: clamp(14px, 2.2vw, 26px);
  font-weight: 500;
  padding: clamp(4px, 0.8vh, 10px) clamp(16px, 3vw, 40px);
  margin-bottom: 0;
  white-space: nowrap;
}
.top-keyvisual__area {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 600;
  color: var(--top-teal);
  margin: clamp(6px, 1vh, 10px) 0;
}
.top-keyvisual__lots {
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--top-teal);
  margin: 0;
}
.top-keyvisual__line {
  border: none;
  border-top: 1px solid var(--top-teal);
  width: 80%;
  max-width: 400px;
  margin: 0 auto 12px;
}
.top-keyvisual__price {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 600;
  color: var(--top-teal);
  margin: 0;
}
.top-keyvisual__hibiscus {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(64px, 10vw, 120px);
  height: auto;
  margin: 0;
  pointer-events: none;
}
.top-keyvisual__gallery {
  flex-shrink: 0;
  overflow: hidden;
  width: 100%;
  margin-bottom: 100px;
}
.top-keyvisual__gallery-track {
  display: flex;
  width: max-content;
  animation: top-kv-gallery-scroll var(--gallery-duration, 40s) linear infinite;
  will-change: transform;
}
.top-keyvisual__gallery-set {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.top-keyvisual__gallery-set--measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  left: 0;
  top: 0;
}
.top-keyvisual__gallery-item {
  flex: 0 0 230px;
  width: 230px;
}
.top-keyvisual__gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 275 / 183;
  object-fit: cover;
  display: block;
}
@keyframes top-kv-gallery-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-1 * var(--gallery-shift, 0px)), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .top-keyvisual__gallery-track {
    animation: none;
  }
}
.movie_wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.movie_container,
.movie_wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.kv_img_wrapper {
  position: relative;
  z-index: 1;
  width: min(658px, 86vw);
  max-height: min(677px, calc(100dvh - 220px));
  margin: auto;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}
.kv_img {
  position: relative;
  width: 100%;
  height: 100%;
}
.kv_img picture,
.kv_img picture > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(677px, calc(100dvh - 220px));
  object-fit: contain;
}
.top_kv_icon {
  position: absolute;
  top: 8%;
  left: -18%;
  width: clamp(96px, 18vw, 240px);
  pointer-events: none;
}
.top_kv_icon picture,
.top_kv_icon img {
  display: block;
  width: 100%;
  height: auto;
}


/* --- Concept --- */
.top-concept__intro {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 70px;
}
.top-concept__intro-img {
  flex: 0 0 45%;
}
.top-concept__intro-img img {
  width: 100%;
  height: auto;
  display: block;
}
.top-concept__intro-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  position: relative;
}
.top-concept__lead {
  font-size: 22px;
  font-weight: 600;
  color: var(--top-teal);
  line-height: 1.8;
  margin-bottom: 24px;
}
.titlebox {
  position: relative;
  z-index: 10;
}
.titlebox .top-concept__waku-label {
  text-align: center;
  top: -16%;
}
.titlebox.concept03 {
  transform: translate(-36%, 6%);
}
.top-concept__overview {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 80px;
}
.top-concept__overview-text {
  flex: 0 0 30%;
  position: relative;
}
.top-concept__overview-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--top-teal);
  margin-bottom: 16px;
}
.top-concept__overview-text p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 30px;
}
.top-concept__circles {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  column-gap: 20px;
  row-gap: 0;
  justify-content: right;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  /* width: fit-content; */
  transform: translate(20%, -30%);

}
.top-concept__circles li {
  width: 130px;
  height: 130px;
  border: 1px solid var(--top-green);
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--top-green-dark);
  line-height: 1.4;
}
.top-concept__circles li:first-child {
  grid-column: 1 / -1;
  justify-self: center;
}
.top-concept__overview-text .top-Illustration_img {
  width: 200px;
  position: absolute;
  bottom: -90%;
  left: 0;
}
.top-concept__overview-img {
  flex: 1;
  transform: scale(1.1);
  transform-origin: right;
}
.top-concept__overview-img img {
  width: 100%;
  height: auto;
  display: block;
}
.top-concept__block {
  margin-bottom: 80px;
}
.top-concept__block-visual {
  position: relative;
  margin-bottom: 40px;
  min-height: 280px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}
.top-concept__block-photo {
  width: 100%;
  max-width: 570px;
  height: auto;
  display: block;
  /* margin-left: auto; */
}
.top-concept__block--reverse .top-concept__block-photo {
  margin-left: 0;
  /* margin-right: auto; */
}
.top-concept__waku {
  /* position: absolute; */
  /* left: 0; */
  /* top: 50%; */
  /* transform: translateY(-50%); */
  /* border: 1px solid var(--top-green); */
  /* background: rgba(255, 255, 255, 0.92); */
  padding: 30px 40px;
  min-width: 280px;
  text-align: center;
  background: url(../img/dot.png) repeat #eee;
  transform: translate(-5%, 9%);
  position: relative;
}
.top-concept__waku:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: -15px;
  top: -15px;
  z-index: 3;
  border: 1px solid #299B29;
}
.top-concept__waku--left {
  left: 30px;
}
.top-concept__block--reverse .top-concept__waku {
  left: auto;
  right: 0;
}
.top-concept__waku-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--top-teal);
  margin-bottom: 12px;
  position: absolute;
  top: -28%;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateX(-7%);
}
.top-concept__waku-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
}
.top-concept__waku p {
  text-align: center;
}
.top-concept__block-visual .top-Illustration_img {
  position: absolute;
  width: 200px;
  right: 9%;
  top: 12%;
}
.top-concept__waku.top-concept__waku--left .top-Illustration_img {
  top: -60%;
  right: -52%;
}
.top-concept__block-visual .titlebox.concept05 .top-Illustration_img {
  z-index: -1;
  top: -30%;
  right: -27%;
}
.top-concept__cols {
  display: grid;
  gap: 30px 40px;
}
.top-concept__cols--3 { grid-template-columns: repeat(3, 1fr); }
.top-concept__cols--2 { grid-template-columns: repeat(2, 1fr); }
.top-concept__cols dt {
  font-size: 20px;
  font-weight: 500;
  color: var(--top-green);
  margin-bottom: 12px;
  line-height: 1.5;
}
.top-concept__cols dd {
  font-size: 15px;
  line-height: 2;
  margin: 0;
}
.top-concept__intro-text .top-Illustration_img {
  width: 200px;
  position: absolute;
  top: -40%;
  right: 0;
}
/* --- Notes --- */
.top-notes {
  font-size: 11px;
  line-height: 1.6;
  margin: 40px 0;
}
.top-notes p { 
  margin: 0;
  font-size: 11px;
}
/* --- Next button --- */
.top-btn-next-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 50px 0 20px;
}
.top-btn-next {
  display: block;
  position: relative;
  width: 400px;
  max-width: 100%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  padding: 18px 50px 10px 20px;
  text-decoration: none;
  color: inherit;
  border-bottom: 8px solid var(--top-orange);
}
.top-btn-next--wide { width: 445px; }
.top-btn-next__label {
  display: block;
  font-size: 14px;
  color: var(--top-orange);
  margin-bottom: 8px;
}
.top-btn-next__label::after {
  content: " »";
}
.top-btn-next__text {
  display: block;
  font-size: 17px;
  font-weight: 400;
  color: var(--top-orange-dark);
  text-align: center;
}
.top-btn-next__arrow {
  position: absolute;
  right: 16px;
  bottom: 5%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid var(--top-orange);
  border-radius: 50%;
}
.top-btn-next__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--top-orange);
  border-right: 2px solid var(--top-orange);
  transform: translate(-50%, -50%) rotate(45deg);
}
.top-btn-next__arrow::before {
  content: '';
  background: var(--top-orange);
  width: 10px;
  height: 2px;
  display: block;
  position: absolute;
  top: 43%;
  right: 25%;
}
/* --- Mytown --- */
.top-mytown {
  padding: 0;
}
.top-mytown__hero {
  background-image: none;
  /* background: url(../../img/top/mytown-bg.jpg) center top / cover no-repeat; */
  /* padding: 80px 0; */
}
.top-mytown .hero_img {
  background-image: url(../../img/top/mytown-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: max(150px, 15vw) 0;
}
.top-mytown__hero-inner {
  display: flex;
  /* gap: 40px; */
  align-items: center;
}
.top-mytown__map {
  flex: 1;
  transform: scale(1.5) translateY(-10%);
}
.top-mytown__map img {
  width: 100%;
  height: auto;
  display: block;
}
.top-mytown__hero-text {
  /* flex: 1; */
  width: 50%;
  text-align: center;
  z-index: 2;
}
.top-mytown__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 16px;
}
.top-mytown__hero-text .top-mytown__title {
  padding-top: 100px;
}
.top-mytown__title .green { color: var(--top-green); }
.top-mytown__subtitle {
  font-size: 26px;
  font-weight: 600;
  color: var(--top-teal);
  margin-bottom: 20px;
}
.top-mytown__hero-text .top-mytown__title,
.top-mytown__hero-text .top-mytown__subtitle,
.top-mytown__hero-text .top-mytown__desc,
.top-mytown__hero-text .top-mytown__banner {
  text-align: center;
}

.top-mytown__desc {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 24px;
}
.top-mytown__banner {
  /* display: inline-block; */
  background: linear-gradient(-83deg, var(--top-gold-start) 31%, var(--top-gold-end) 100%);
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  padding: 12px 30px;
}
.top-mytown__example {
  padding: 80px 30px 0;
}
.top-mytown__example-title {
  text-align: center;
  font-size: 36px;
  color: var(--top-orange);
  margin-bottom: -40%;
  position: relative;
  background: #FFF;
  width: fit-content;
  margin: 0 auto -2.3%;
  padding: 0 0.5em;
}
/* .top-mytown__example-title::before,
.top-mytown__example-title::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 1px;
  background: var(--top-orange);
  vertical-align: middle;
  margin: 0 20px;
} */
.top-btn-next-wrap.center {
  justify-content: center;
}
.top-mytown__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border: 1px solid var(--top-orange);
  padding: 40px 30px;
  margin-bottom: 40px;
}
.top-mytown__card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  background: #fff;
}
.top-mytown__card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 346 / 258;
  object-fit: cover;
  display: block;
}
.top-mytown__card-price {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 57%;
  background: rgba(116, 91, 11, 0.74);
  color: #fff;
  padding: 8px 12px;
  text-align: center;
}
.top-mytown__card-plan {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}
.top-mytown__card-yen {
  font-size: 14px;
  font-weight: 600;
}
.top-mytown__card-yen span {
  font-size: 18px;
}

/* --- Design --- */
.top-design__header {
  text-align: center;
  margin-bottom: 60px;
}
.top-design .top-section-title {
  position: relative;
  width: fit-content;
  margin: auto;
}
.top-design .top-section-title .top-Illustration_img {
  position: absolute;
  width: 200px;
  bottom: 0;
  left: -80%;
}


.top-design__lead {
  font-size: 22px;
  font-weight: 600;
  color: var(--top-teal);
  line-height: 1.8;
  text-align: center;
}

/* Design anchor links */
.design_anchorlink_wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 40px;
  margin: 0 auto 80px;
  max-width: 1000px;
}
.design_anchorlink a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.design_anchorlink a:hover,
.design_anchorlink a:focus-visible {
  background-color: #f2f2f2;
}
.design_anchorlink_thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 4px;
}
.design_anchorlink_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.design_anchorlink_body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.design_anchorlink_text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--top-teal);
  font-family: "Noto Serif JP", serif;
}
.design_anchorlink_text_en {
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #000;
  text-transform: uppercase;
}
.design_anchorlink_arrow {
  /* flex: 0 0 44px; */
  width: 70px;
  height: 70px;
  margin-left: auto;
}
.design_anchorlink_arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.design_anchorlink a:hover .design_anchorlink_arrow img,
.design_anchorlink a:focus-visible .design_anchorlink_arrow img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.16));
  transform: translateY(2px);
}
.design_dots_wrapper {
  text-align: center;
  padding-bottom: 100px;
}

.top-design__style {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 250px;
  position: relative;
}
.top-design__style--reverse {
  grid-template-columns: 1fr 320px;
}
.top-design__style--reverse .top-design__style-text {
  order: 2;
}
.top-design__style--reverse .top-design__style-photos {
  order: 1;
}
.top-design__style-catch {
  font-size: 18px;
  font-weight: 600;
  color: var(--top-teal);
  margin-bottom: 8px;
}
.top-design__style-name {
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.2;
}
.top-design__style-spec {
  font-size: 14px;
  font-weight: 600;
  color: var(--top-teal);
  margin-bottom: 20px;
}
.top-design__link {
  display: inline-block;
  font-size: 18px;
  color: var(--top-orange);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--top-orange);
}
.top-design__link::after {
  content: " »";
}
.top-design__link--img {
  padding-bottom: 0;
  border-bottom: none;
  line-height: 0;
}
.top-design__link--img::after {
  content: none;
}
.top-design__link--img img {
  display: block;
  width: 243px;
  max-width: 100%;
  height: auto;
}
.top-design__style-text {
  width: 38%;
  position: absolute;
  top: 0;
  left: 0;
  background: #FFF;
  padding-bottom: 30px;
  padding: 0 30px 30px;
}
#top-design__style__03 .top-design__style-text {
  right: 0;
  left: initial;
}
.top-design__style-photos {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.top-design__style .top-design__style-photos img {
  /* width: 50%; */
}
.top-design__style-photos .photo-main {
  /* grid-column: 1 / -1; */
  /* width: 100%; */
  /* height: auto; */
  /* object-fit: cover; */
  /* max-height: 400px; */
  transform: translate(4%, 71%) scale(1.1);
  transform-origin: bottom right;
  z-index: 2;
}
.top-design__style-photos .photo-sub2 {
  transform: translate(-1%, 72%) scale(0.7);
  transform-origin: top right;
  z-index: 2;
}
.top-design__style-photos .photo-sub3 {
  transform: translate(-10%, 1%) scale(0.9);
  transform-origin: top left;
  z-index: 0;
}
.top-design__style__02 .top-design__style-photos .photo-sub2 {
  transform: translate(4%, 72%) scale(0.7);
}
.top-design__style__02 .top-design__style-photos .photo-sub3 {
  transform: translate(5%, 1%) scale(0.8);
}
.top-design__style__03 .top-design__style-text {
  left: initial;
  right: 0;
}
.top-design__style__03 .top-design__style-photos .photo-main {
  transform: translate(-10%, 0%) scale(1.1);
  transform-origin: top left;
}
.top-design__style__03 .top-design__style-photos .photo-sub1 {
  transform: translate(-24%, 70%) scale(1.1);
  transform-origin: top left;
}
.top-design__style__03 .top-design__style-photos .photo-sub2 {
  transform: translate(-75%, 11%) scale(0.9);
  transform-origin: top right;
}
.top-design__style-text .top-Illustration_img.top-Illustration_img.Illustration_09 {
  top: 10%;
  width: 150px;
  right: 0%;
}
.top-design__style-text .top-Illustration_img {
  width: 220px;
  position: absolute;
  right: -12%;
  top: 26%;
  z-index: 0;
}
.top-design__style-text .top-Illustration_img.top-Illustration_img__04 {
  top: -10%;
  right: 6%;
  width: 200px;
}
.top-design__style__04 .top-design__style-photos .photo-sub3 {
  transform: translate(68%, 1%) scale(0.4);
}
.top-design__style__04 .top-design__style-photos .photo-sub2 {
  transform: translate(67%, 1%) scale(0.7);
}
.top-design__style__04 .top-design__style-photos .photo-main {
  transform: translate(-1%, 62%) scale(1.0);
  transform-origin: top right;
  z-index: 4;
}
article.top-design__style.top-design__style__04 {
  margin-bottom: 0;
}

.top-design__footer-text {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--top-teal);
  line-height: 1.8;
  margin-bottom: 30px;
  padding-top: 50px;
}
.top-design__other-styles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
#wrapper.front-page .top-design__style-note {
  position: absolute;
  bottom: -50px;
  right: 0;
  font-size: 12px;
  background-color: #FFF;
  padding: 5px;
}

/* --- Location --- */
.top-location {
  padding-top: 0;
}
.top-location__sky img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
.top-location__header {
  text-align: center;
  padding: 50px 0 30px;
}
.top-location__lead {
  font-size: 22px;
  font-weight: 600;
  color: var(--top-teal);
  line-height: 1.8;
  text-align: center;
}
.top-location__train {
  margin-bottom: 40px;
  width: 90%;
  margin: 0 auto 40px;
}
.top-location__train img {
  width: 100%;
  height: auto;
  display: block;
}
.top-location__access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-bottom: 60px;
}
.top-location__access img {
  width: 100%;
  height: auto;
  display: block;
}
.top-location__shopping-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 30px;
}
.top-location__shopping-title .bar {
  display: block;
  width: 10px;
  height: 30px;
  background: #53b59e;
}
.top-location__shopping-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.top-location__shop-img {
  position: relative;
  margin-bottom: 12px;
}
.top-location__shop-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 263;
  object-fit: cover;
  display: block;
}
.top-location__shop-name {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  margin: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  /* background: rgba(0, 0, 0, 0.3); */
}
.top-location__shop-name.dark {
  color: #000;
  background: transparent;
}
.top-location__shop-time {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}
.top-location__thanks {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--top-green-dark);
  line-height: 1.5;
  margin: 50px 0 40px;
}
.top-location__cta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  margin-top: 100px;
}
.top-location__cta-item {
  width: 460px;
  max-width: 100%;
  text-align: center;
}
.top-location__cta-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding: 0 30px;
}
.top-location__cta-label.orange { color: var(--top-orange); }
.top-location__cta-label.green { color: var(--top-green-dark); }
.top-location__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 80px;
  border-radius: 60px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 0 50px 0 30px;
}
.top-location__cta-btn--orange {
  background: linear-gradient(103deg, #e98c57 16%, #3a2e06 91%);
}
.top-location__cta-btn--green {
  background: linear-gradient(102deg, #89bb13 15%, #3a2e06 92%);
}
.top-location__cta-btn .large { font-size: 22px; }
.top-location__cta-btn .small { font-size: 18px; }
.top-location__cta-arrow {
  position: absolute;
  right: 24px;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.top-location__cta-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 5px;
  height: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.top-location__cta-arrow:before{
  content: '';
    background: #FFF;
    width: 10px;
    height: 2px;
    display: block;
    position: absolute;
    top: 43%;
    right: 25%;
}
.top-location__cta-label:before {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--top-orange);
  position: absolute;
  left: 0%;
  top: 0%;
  transform: rotate(-35deg);
}
.top-location__cta-label:after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--top-orange);
  position: absolute;
  right: 0%;
  top: 0%;
  transform: rotate(35deg);
}
.top-location__cta-label.green:before {
  background: var(--top-green-dark);
}
.top-location__cta-label.green:after {
  background: var(--top-green-dark);
}
.top-location__cta-btn:hover{
  color: #FFF;
}
/* --- More information --- */
.top-more {
  padding-top: 0;
}
.top-more__header-img img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  display: block;
}
.top-more .top-section-title {
  margin-top: 50px;
}
.top-more__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.top-more__card {
  display: flex;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.16);
  text-decoration: none;
  color: inherit;
  min-height: 100px;
  overflow: hidden;
}
.top-more__card-img {
  /* flex: 0 0 160px; */
  overflow: hidden;
  width: 120px;
}
.top-more__card-img img {
  width: 100%;
  height: auto;
  /* object-fit: cover; */
  display: block;
}
.top-more__card-body {
  flex: 1;
  padding: 12px 36px 12px 16px;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.top-more__card-body p {
  margin: 0;
  font-size: 1.3rem;
}
.top-more__card-cat {
  display: block;
  font-size: 13px;
  color: var(--top-orange);
  margin-bottom: 6px;
}
.top-more__card-cat::after {
  content: " »";
}
.top-more__card-arrow {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--top-orange);
  border-radius: 50%;
}
.top-more__card-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--top-orange);
  border-right: 2px solid var(--top-orange);
  transform: translate(-50%, -50%) rotate(45deg);
}
.top-more__instagram {
  padding-bottom: 60px;
}
.top-more__instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.top-more__instagram-item {
  background: #d8d8d8;
  aspect-ratio: 200 / 230;
}
.top-more__instagram-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.top-more__instagram-prev,
.top-more__instagram-next {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--top-green-dark);
  cursor: pointer;
  padding: 4px 12px;
}
.top-more__instagram-divider {
  width: 1px;
  height: 24px;
  background: var(--top-green-dark);
}
.sp{
  display: none;
}
.pc{
  display: block;
}
/* ==========================================================================
   Responsive
   ========================================================================== */
   @media screen and (max-width: 1600px) {
    .top-keyvisual {
      background-size: contain;
  }
  }

   @media screen and (max-width: 1366px) {
  .top-main { --top-gap: 70px; }
}

@media screen and (max-width: 1200px) {
  .top-concept__cols--3 { grid-template-columns: repeat(2, 1fr); }
  .top-design__style,
  .top-design__style--reverse {
    grid-template-columns: 280px 1fr;
  }
  .design_anchorlink_wrapper {
    gap: 12px 24px;
  }
  .design_anchorlink_text_en {
    font-size: 18px;
  }
}

@media screen and (max-width: 1024px) {
  .top-keyvisual {
    background-image: url(../../img/top/kv-bg_sp.jpg);
    background-size: 50%;
    background-position: top center;
}
  .top-keyvisual__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: min(90vw, 520px) auto;
    background-position: center top;
    padding: clamp(12px, 2vh, 24px) clamp(28px, 8vw, 48px);
  }
  .kv_img_wrapper {
    width: min(329px, 78vw);
    /* max-height: min(443px, calc(100dvh - 200px)); */
  }
  .kv_img > picture > img {
    /* max-height: min(443px, calc(100dvh - 200px)); */
  }
  .top_kv_icon {
    top: -15%;
    left: -2%;
    width: clamp(72px, 22vw, 133px);
  }
  .top-keyvisual__visual {
    flex: 0 0 auto;
    width: min(90vw, 520px);
    max-width: 100%;
    min-height: clamp(120px, 22vh, 220px);
    align-self: center;
    justify-content: center;
  }
  .top-keyvisual__badge {
    right: 25%;
    bottom: 0;
    transform: translateX(50%);
  }
  .top-keyvisual__content {
    flex: 0 1 auto;
    width: 100%;
    max-width: 600px;
    padding: clamp(8px, 2vh, 16px) 0;
  }
  .top-keyvisual__hibiscus {
    position: absolute;
    right: 0;
    top: 0;
    transform: none;
    width: clamp(56px, 14vw, 120px);
    margin: 8px auto 0;
}
.top-concept__intro-text {
  order: 1;
  margin: auto;
}
.top-concept__intro-img {
  order: 2;
}
  .top-keyvisual__banner {
    white-space: normal;
  }
  .top-concept__intro {
    flex-direction: column;
  }
  .top-concept__overview {
    flex-direction: column;
  }
  .top-concept__waku {
    position: relative;
    transform: none;
    margin: 20px auto;
    left: auto !important;
    right: auto !important;
    top: auto;
    padding: 30px 60px;
    min-width: initial;
    margin-left: 10px;
  }

  .top-mytown__hero-inner {
    flex-direction: column;
  }
  .top-mytown__cards {
    grid-template-columns: 1fr;
  }
  .top-design__style,
  .top-design__style--reverse {
    grid-template-columns: 1fr;
  }
  .top-design__style--reverse .top-design__style-text,
  .top-design__style--reverse .top-design__style-photos {
    order: unset;
  }
  .top-location__access {
    grid-template-columns: 1fr;
  }
  .top-location__shopping-cards {
    grid-template-columns: 1fr;
  }
  .top-more__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-more__instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .top-concept__circles {
    transform: translate(0%, 0%);
    justify-content: center;
}
.top-concept__overview-text .top-Illustration_img {
  bottom: initial;
  top: 30%;
  left: initial;
  right: -40%;
}
.top-concept__overview .top-concept__overview-img {
  margin-top: -100px;
}
.top-concept__block-visual {
  flex-direction: column;
}
.top-concept__block-photo {
  order: 2;
  margin-top: 0;
  max-width: initial;
}
.top-concept__block-visual .top-Illustration_img {
  width: 100px;
  right: 3%;
  top: -8%;
}
.top-concept__waku-title {
  font-size: 18px;
}
.top-concept__cols dt {
  font-size: 17px;
}
.top-concept__cols dd {
  font-size: 13px;
}
#wrapper.front-page p {
  font-size: 13px;
  line-height: 1.8;
}
#wrapper.front-page .top-concept__waku p {
  font-size: 18px;
}
#wrapper.front-page p br {
  display: none;
}
#wrapper.front-page p br.sp {
  display: block;
}
.top-mytown__hero-text {
  width: 100%;
}
.top-mytown__map {
  transform: scale(1.1) translateY(-20%);
}
#wrapper.front-page p.top-mytown__card-plan {
  font-size: 10px;
  margin: 0;
}
.top-mytown__card-price {
  width: fit-content;
}
#wrapper.front-page p.top-mytown__card-yen {
  margin: 0;
  text-align: center;
}
.top-design__style {
  flex-direction: column;
}
.top-design__style-text {
  width: 100%;
  position: relative;
}
.top-design__style .top-design__style-photos img {
  transform: unset;
}
.top-design__style .top-design__style-photos img {
  transform: unset;
  width: 100%;
}
.top-design__style .top-design__style-photos img.photo-sub1 {
  position: relative;
  width: 55%;
  margin-left: auto;
  margin-right: -3%;
  margin-top: -7%;
  z-index: 4;
  border: 3px solid #FFF;
  transform: unset;
}
.top-design__style .top-design__style-photos img.photo-sub2 {
    position: relative;
    width: 55%;
    margin-left: -3%;
    margin-right: auto;
    margin-top: -27%;
    z-index: 3;
    border: 3px solid #FFF;
}
.top-design__style__02 .top-design__style-photos .photo-sub2{
  transform: unset;
}
.top-design__style .top-design__style-photos img.photo-sub3 {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: -7%;
    z-index: 2;
    border: 3px solid #FFF;
}
.top-design__style {
  margin-bottom: 100px;
}
.top-design__style__03 .top-design__style-photos .photo-main {
  transform: unset;
}
.top-design__style__03 .top-design__style-photos .photo-sub2 {
  transform: unset;
  width: 100%;
}

.top-design__style__04 .top-design__style-photos .photo-main {
  transform: unset;
}
article.top-design__style.top-design__style__04 .photo-sub1 {
  width: 90%;
}

.top-design__style__04 .top-design__style-photos img.photo-sub2 {
  transform: unset;
  margin-top: 0;
  width: 70%;
}
.top-design__style__04 .top-design__style-photos img.photo-sub3 {
  transform: unset;
  width: 50%;
  margin-left: auto;
  margin-top: -30%;
  z-index: 5;
}
#wrapper.front-page p.top-location__thanks {
  font-size: 20px;
}
#wrapper.front-page #footer p br {
  display: block;
}
.top-concept__overview .top-concept__overview-img {
  transform: unset;
  margin: 0;
}
.top-concept__block-visual {
  align-items: flex-start;
}
.titlebox.concept03 {
  transform: unset;
}
.top-mytown__hero-text .top-mytown__title {
  padding-top: 0;
}
}

@media screen and (max-width: 769px) {
  .top-main { --top-gap: 50px; }
  .top-section-title { font-size: 28px; margin-bottom: 30px; }
  .top-keyvisual__inner { padding: 12px 16px; }
  .top-keyvisual__logo { font-size: clamp(44px, 12vw, 56px); }
  .top-keyvisual__gallery-item {
    flex: 0 0 clamp(160px, 42vw, 200px);
    width: clamp(160px, 42vw, 200px);
  }
  .design_anchorlink_wrapper {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 50px;
  }
  .design_anchorlink a {
    gap: 12px;
    padding: 10px 12px 10px 10px;
  }
  .design_anchorlink_thumb {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }
  .design_anchorlink_text {
    font-size: 12px;
  }
  .design_anchorlink_text_en {
    font-size: 16px;
  }
  .design_anchorlink_arrow {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
  .top-concept__cols--3,
  .top-concept__cols--2 {
    grid-template-columns: 1fr;
  }
  .top-concept__circles {
    grid-template-columns: repeat(2, 100px);
    column-gap: 16px;
    row-gap: 12px;
  }
  .top-concept__circles li {
    width: 100px;
    height: 100px;
    font-size: 13px;
  }
  .top-concept__lead { font-size: 18px; }
  .top-mytown__example { padding: 50px 16px; }
  .top-mytown__example-title { font-size: 28px; }
  .top-mytown__example-title::before,
  .top-mytown__example-title::after { width: 40px; margin: 0 10px; }
  .top-mytown__cards { padding: 20px 16px; }
  .top-design__style-name { font-size: 26px; }
  .top-design__style-photos .photo-main { max-height: 260px; }
  .top-location__cta-item { width: 100%; }
  .top-location__cta-btn { height: 64px; border-radius: 40px; }
  .top-location__cta-btn .large { font-size: 18px; }
  .top-location__cta-btn .small { font-size: 15px; }
  .top-more__cards { grid-template-columns: 1fr; }
  .top-more__instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .top-inner { padding: 0 16px; }
  .top-keyvisual {
    background-size: 100%;
}
.top-design__style-photos {
  display: block;
  width: 100%;
}
}

@media screen and (max-width: 640px) {
  .top-keyvisual__badge {
    width: clamp(100px, 28vw, 150px);
  }
  .top-concept__intro-text .top-Illustration_img {
    top: -40%;
    right: -20%;
}
#wrapper.front-page p.top-concept__lead {
  font-size: 20px;
}
.top-concept__block-visual .top-Illustration_img {
  width: 140px;
  right: -7%;
  top: -8%;
}
.titlebox.concept03 {
  width: 80%;
}
.top-concept__block-photo.concept-img05 {
  width: 80%;
}
.top-concept__block-visual .titlebox.concept05 .top-Illustration_img {
  right: -7%;
}
#wrapper.front-page .top-design__lead{
  font-size: 20px;
}
#wrapper.front-page p.top-mytown__banner {
  font-size: 20px;
}
.top-keyvisual__hibiscus {
  width: 30%;
}

.top-keyvisual {
  background-size: 110%;
  padding-top: 0;
}
.top-keyvisual__badge {
  width: 40%;
  right: 18%;
}
.top-keyvisual__logo {
  max-width: 240px;
}

}

@media screen and (max-width: 480px) {
  .top-btn-next { padding: 20px 40px 16px 16px; }
  .top-btn-next__text { font-size: 15px; }
  .top_kv_icon {
    top: -10%;
  }
}
