:root {
  --yellow: #fff226;
  --cyan: #00d8cc;
  --green: #9ccd41;
  --mint: #73d5d3;
  --ink: #111;
  --paper: #f6f6f1;
  --line: #111;
  --content: 1400px;
  --radius: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 68px;
  background: #fff;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(var(--content), calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
}

.site-logo img {
  width: 220px;
}

.header-sns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button,
.solid-link,
.news-band a,
.footer-search button {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.header-sns img {
  width: 142px;
  height: auto;
}

.menu-button {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 76px;
  height: 36px;
  padding: 0;
  border: 2px dotted var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.menu-button img {
  display: none;
}

.menu-button::before {
  content: "";
  width: 22px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 6px / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 12px / 100% 2px no-repeat;
}

.drawer-close img {
  width: 16px;
}

.drawer {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 18px;
  background: var(--yellow);
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 42px;
  font-weight: 800;
  text-align: center;
}

.drawer[hidden] {
  display: none;
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 100px 0 34px;
  background: var(--mint);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 518px;
  gap: 14px;
  width: min(var(--content), calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
}

.hero-main {
  min-width: 0;
}

.hero-photo {
  position: relative;
  overflow: visible;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  background: #cddcd0;
  height: 705px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -14px;
  bottom: -76px;
  width: 299px;
  height: 211px;
  background: url("../img/top/mv_kado.png") right bottom / contain no-repeat;
  pointer-events: none;
}

.hero-pin {
  position: absolute;
  top: 64px;
  right: -4px;
  min-width: 156px;
  margin: 0;
  padding: 14px 20px;
  border: 3px solid var(--ink);
  border-right-color: var(--mint);
  border-radius: 999px 0 0 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.hero-number {
  position: absolute;
  left: 26px;
  bottom: 225px;
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
}

.hero-number span {
  margin-right: 8px;
  font-size: 28px;
}

.hero-tags {
  position: absolute;
  z-index: 2;
  left: -4px;
  bottom: 30px;
  display: grid;
  gap: 9px;
  width: min(350px, calc(100% - 48px));
}

.hero-tags span {
  width: fit-content;
  min-width: 235px;
  padding: 8px 26px 9px;
  border: 3px solid var(--ink);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mint);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.hero-tags span:nth-child(2) {
  min-width: 330px;
}

.hero-tags span:nth-child(3) {
  min-width: 285px;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 132px;
  bottom: 18px;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.hero-count {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 12px;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
}

.hero-dots button {
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  padding: 0;
}

.hero-dots .is-active {
  background: var(--ink);
}

.pickup-label {
  position: relative;
  z-index: 4;
  width: 116px;
  margin: 0;
  padding: 9px 18px 11px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(34px);
}

.hero-side {
  position: relative;
  align-self: start;
  display: grid;
  grid-template-columns: 282px 1fr;
  grid-template-areas:
    "heading entry"
    "list list";
  min-height: 650px;
  padding-top: 0;
}

.hero-side::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 650px;
  background: url("../img/common/back.webp") top right / 100% 100% no-repeat;
  pointer-events: none;
}

.entry-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 162px;
  min-height: 44px;
  padding: 6px 16px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.entry-pill strong {
  margin-left: 6px;
  font-size: 34px;
  line-height: .8;
}

.side-card {
  display: contents;
}

.side-heading-block {
  position: relative;
  z-index: 2;
  grid-area: heading;
  min-height: 145px;
  padding: 26px 18px 0;
  background: transparent;
}

.entry-block {
  position: relative;
  z-index: 3;
  grid-area: entry;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  height: 128px;
  padding-top: 0;
  background: transparent;
}

.side-list,
.mini-property,
.recommend-tags {
  position: relative;
  z-index: 2;
}

.side-list {
  grid-area: list;
  margin-top: -62px;
  padding: 42px 18px 0;
}

.side-heading-block h1,
.side-heading-block p {
  margin: 0;
}

.side-heading-block h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.side-heading-block p {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.mini-property {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  margin-bottom: 30px;
  padding: 10px 12px 12px 9px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}

.mini-property img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.mini-property p,
.mini-property h2,
.mini-property span {
  margin: 0;
}

.mini-property p,
.mini-property span {
  font-size: 14px;
  line-height: 1.2;
}

.mini-property h2 {
  margin: 2px 0 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.mini-pin {
  position: absolute;
  top: -20px;
  right: 16px;
  min-width: 130px;
  padding: 6px 12px;
  border: 2px dotted var(--ink);
  border-radius: var(--radius);
  background: var(--mint);
  text-align: center;
}

.recommend-tags {
  margin: 96px 0 0;
  padding: 16px 18px 18px;
  border: 2px dotted var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  font-size: 14px;
}

.recommend-tags p {
  margin: 0 0 8px;
  font-weight: 900;
}

.recommend-tags a {
  display: inline-block;
  margin-right: 12px;
  line-height: 1.8;
}

.area-tab {
  position: fixed;
  z-index: 3;
  right: 0;
  top: 176px;
  writing-mode: vertical-rl;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 22px 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.area-panel {
  position: absolute;
  z-index: 25;
  top: 126px;
  right: 0;
  width: min(520px, calc(100vw - 36px));
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .18);
}

.area-panel[hidden] {
  display: none;
}

.area-note {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.8;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.area-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 9px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.area-list span {
  width: 34px;
  aspect-ratio: 1;
  border: 1px dotted var(--ink);
  background: var(--area);
}

.pickup-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  padding: 14px 24px 22px;
  background: #fff;
  border-bottom: 3px solid var(--ink);
}

.pickup-strip article {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 10px;
  min-width: 240px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 7px;
}

.pickup-strip img {
  width: 106px;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 10px;
}

.pickup-strip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.pickup-strip span,
.badge {
  display: inline-block;
  background: var(--cyan);
  padding: 2px 7px;
  border-radius: var(--radius);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  line-height: 1;
}

.news-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 18px 28px;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}

.news-band h2,
.news-band p {
  margin: 0;
}

.news-band h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.news-band p {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-band a {
  padding: 8px 14px;
}

.special {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  width: 100%;
  min-height: 520px;
  margin: 0;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}

.special-visual {
  grid-row: 1 / span 2;
  overflow: hidden;
}

.special-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-text {
  align-self: end;
  padding: 42px 36px 20px;
}

.special-text h2 {
  margin: 0 0 18px;
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 88px;
  font-weight: 800;
  line-height: .88;
}

.special-text p:last-child {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.special-card {
  align-self: start;
  margin: 0 36px 36px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.special-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.special-card p {
  margin: 0;
  padding: 14px;
  font-size: 14px;
}

.feature-list,
.properties {
  width: 100%;
  margin: 0;
  padding: 54px 28px;
  background: #fff;
}

.feature-list {
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading p,
.section-heading h2 {
  margin: 0;
}

.section-heading p {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
}

.section-heading h2 {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 42px;
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.feature-grid article {
  min-height: 126px;
  padding: 16px;
  border-right: 2px solid var(--ink);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-grid span {
  display: block;
  margin-bottom: 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  font-size: 15px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.property-card {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
}

.property-card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 13px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.property-card img {
  width: 100%;
  aspect-ratio: 1 / 1.28;
  object-fit: cover;
}

.property-card .badge {
  margin: 10px 10px 4px;
}

.property-card h3 {
  min-height: 3.9em;
  margin: 0;
  padding: 0 10px 14px;
  font-size: 15px;
  line-height: 1.3;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 28px;
  background: var(--yellow);
  border-top: 3px solid var(--ink);
}

.footer-logo img {
  width: 150px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "Barlow Condensed", sans-serif;
}

.footer-search {
  display: grid;
  grid-template-columns: auto minmax(130px, 210px) auto;
  align-items: center;
  gap: 8px;
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
}

.footer-search input {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: #fff;
}

.footer-search button {
  padding: 9px 14px;
}

.page-top {
  position: fixed;
  z-index: 15;
  right: 18px;
  bottom: 18px;
  width: 46px;
}

@media (max-width: 1100px) {
  .header-inner,
  .hero-inner {
    width: min(var(--content), calc(100% - 28px));
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-side {
    width: min(620px, 100%);
    margin-left: auto;
  }

  .area-tab {
    right: 0;
  }

  .mini-property {
    grid-template-columns: 116px 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 54px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 54px;
    width: calc(100% - 20px);
  }

  .site-logo img {
    width: 128px;
  }

  .header-sns {
    display: none;
  }

  .menu-button {
    position: fixed;
    top: 9px;
    right: auto;
    left: 300px;
    z-index: 60;
    transform: none;
    width: 62px;
    height: 30px;
  }

  @media (max-width: 360px) {
    .menu-button {
      left: 248px;
    }
  }

  .hero {
    padding: 68px 0 0;
    background: var(--mint);
  }

  .hero-inner {
    display: block;
    width: calc(100% - 16px);
  }

  .hero-photo {
    height: auto;
  }

  .hero-photo::after {
    display: none;
  }

  .hero-photo img {
    aspect-ratio: 1 / 1.24;
  }

  .hero-pin {
    top: 28px;
    min-width: 132px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero-number {
    bottom: 130px;
    left: 14px;
    font-size: 48px;
  }

  .hero-number span {
    font-size: 22px;
  }

  .hero-tags {
    left: 12px;
    bottom: 20px;
    gap: 7px;
    width: calc(100% - 24px);
  }

  .hero-tags span {
    min-width: 0;
    padding: 7px 14px;
    font-size: 16px;
  }

  .hero-tags span:nth-child(2),
  .hero-tags span:nth-child(3) {
    min-width: 0;
  }

  .hero-scroll,
  .hero-count {
    display: none;
  }

  .hero-side {
    width: 100%;
    margin: 16px 0 0;
  }

  .mini-property {
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 8px;
  }

  .mini-pin {
    position: static;
    display: inline-block;
    min-width: 0;
    margin-bottom: 5px;
    padding: 4px 8px;
  }

  .area-tab {
    right: 0;
    top: 450px;
    padding: 12px 7px;
    font-size: 13px;
  }

  .area-panel {
    top: 0;
    right: 0;
    width: 100%;
    padding: 16px;
  }

  .area-note {
    font-size: 15px;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .pickup-strip {
    grid-template-columns: repeat(4, 238px);
    width: 100%;
    padding: 10px 8px 16px;
  }

  .news-band {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    width: 100%;
    padding: 14px 10px;
  }

  .news-band h2 {
    grid-column: 1 / -1;
    font-size: 28px;
  }

  .news-band p {
    font-size: 13px;
  }

  .special {
    display: block;
    width: 100%;
    min-height: 0;
  }

  .special-visual img {
    aspect-ratio: 1.45;
  }

  .special-text {
    padding: 18px 10px;
  }

  .special-text h2 {
    font-size: 48px;
  }

  .special-text p:last-child {
    font-size: 20px;
  }

  .special-card {
    margin: 0 10px 18px;
  }

  .feature-list,
  .properties {
    width: 100%;
    padding: 32px 10px;
  }

  .section-heading {
    display: block;
  }

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

  .feature-grid article {
    min-height: 116px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
  }

  .feature-grid article:nth-child(2n) {
    border-right: 0;
  }

  .feature-grid article:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .property-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .property-card {
    border-width: 2px;
  }

  .property-card h3 {
    font-size: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 24px 10px;
  }

  .footer-search {
    grid-template-columns: 1fr auto;
  }

  .footer-search label {
    grid-column: 1 / -1;
  }

  .page-top {
    right: 10px;
    bottom: 10px;
    width: 38px;
  }
}
