:root {
  --minami-pink: #ff5d7d;
  --minami-coral: #ef675b;
  --minami-navy: #0f2c51;
}

/* 追従ナビの接続線は白のまま残し、白背景でグレーに見える影だけを除去する。 */
.menu-fixed .flow-sidebar li.after::after {
  box-shadow: none;
}

/* House Building / POINT cards
   The former raster headings are rebuilt as accessible HTML text and CSS. */
.home .house-building .items .tl .point {
  box-sizing: border-box;
  flex: 0 0 18rem;
  width: 18rem;
  height: 18rem;
  padding: 1.5rem 1rem;
  overflow: hidden;
  background: var(--minami-pink);
  color: #fff;
  font-style: normal;
  text-align: center;
}

.home .house-building .items .tl .point--numbered::before {
  content: none;
  display: none;
}

.home .house-building .items .tl .point__number,
.home .house-building .items .tl .point__title,
.home .house-building .items .tl .point__english {
  display: block;
  position: relative;
  z-index: 1;
  padding: 0;
}

.home .house-building .items .tl .point__number,
.home .house-building .items .tl .point__english {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
}

.home .house-building .items .tl .point__number {
  font-size: 3.1rem;
  line-height: 1.15;
}

.home .house-building .items .tl .point--intro .point__number {
  font-size: 2.3rem;
}

.home .house-building .items .tl .point__title {
  margin-top: 0.35rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.home .house-building .items .tl .point__english {
  margin-top: 0.7rem;
  font-size: 1.4rem;
  line-height: 1.3;
}

.home .house-building .items .tl .point--intro .point__english {
  margin-top: 0.5rem;
}

@media (max-width: 750px) {
  .house-plan .tab-container {
    left: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .home .house-building .items .tl .point {
    flex: 0 0 12rem;
    width: 12rem;
    height: 12rem;
    margin-right: auto;
    margin-left: auto;
    padding: 1.2rem 0.5rem;
  }

  .home .house-building .items .tl .point--numbered::before {
    border-width: 1.8rem 1.8rem 0 0;
  }

  .home .house-building .items .tl .point__number { font-size: 2.4rem; }
  .home .house-building .items .tl .point--intro .point__number { font-size: 1.8rem; }
  .home .house-building .items .tl .point__title {
    margin-top: 0.3rem;
    font-size: 1.5rem;
    line-height: 1.6;
  }
  .home .house-building .items .tl .point__english {
    margin-top: 0.35rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* House Building / 住宅性能表示制度
   XDの750px SPアートボードを375px表示へ1/2で反映する。 */
@media (max-width: 750px) {
  .home .house-building .peace {
    padding-top: 4rem;
  }

  .home .house-building .peace > h3 {
    padding: 1.6rem 1rem 1.7rem;
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .home .house-building .peace > ul {
    margin: 0 -0.5rem;
  }

  .home .house-building .peace > ul > li {
    padding: 0.5rem;
  }

  .home .house-building .peace > ul > li.col3 .item {
    height: auto;
    min-height: 20rem;
    padding: 2rem 2.2rem;
    font-size: 1.2rem;
    line-height: 2;
  }

  .home .house-building .peace > ul > li.col3 .tl {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .home .house-building .peace > ul > li.col3 .item h4 {
    font-size: 2.1rem;
    line-height: 1.35;
  }

  .home .house-building .peace > ul > li.col3 .item .sm {
    font-size: 1.5rem;
  }

  .home .house-building .peace > ul > li.col9 > .item {
    display: block;
    min-height: 15rem;
    padding: 1.8rem 2.2rem;
  }

  .home .house-building .peace > ul > li.col9 > .item .tl {
    width: 100%;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-right: 0;
    border-bottom: 1px solid var(--minami-pink);
  }

  .home .house-building .peace > ul > li.col9 > .item .tl h4 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .home .house-building .peace > ul > li.col9 > .item .tl .no {
    margin-left: 0.8rem;
    font-size: 5rem;
  }

  .home .house-building .peace > ul > li.col9 > .item .tl .sm {
    font-size: 1.6rem;
  }

  .home .house-building .peace > ul > li.col9 > .item .txt {
    width: 100%;
    padding-left: 0;
    font-size: 1.15rem;
    line-height: 1.9;
  }

  .home .house-building .peace > ul > li.col9 > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding-top: 1rem;
  }

  .home .house-building .peace > ul > li.col9 > ul > li {
    width: 100%;
    padding: 0;
  }

  .home .house-building .peace > ul > li.col9 > ul > li .item {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 10.4rem;
    min-height: 0;
    padding: 0.8rem 0.6rem;
    align-items: center;
    justify-content: center;
  }

  .home .house-building .peace > ul > li.col9 > ul > li .item .tl {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .home .house-building .peace > ul > li.col9 > ul > li .item h4 {
    margin: 0 0 0.4rem;
    font-size: 1.45rem;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .home .house-building .peace > ul > li.col9 > ul > li .item p {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1.15;
  }

  .home .house-building .peace > ul > li.col9 > ul > li .item .no {
    margin: 0 0.7rem;
    padding: 0;
    font-size: 4.2rem;
    line-height: 0.9;
  }

  .home .house-building .peace > ul > li.col9 > ul > li .item p .sm {
    width: auto;
    max-width: 6rem;
    font-size: 1.15rem;
    line-height: 1.25;
  }
}

/* 768px以上はPC基準値を画面幅に連動させるリキッドレイアウト。
   1920pxで10px、768px付近で8pxとなり、rem指定の比率を維持する。 */
@media (min-width: 751px) {
  html {
    font-size: clamp(50%, calc(41.6667% + 0.173611vw), 62.5%);
  }
}

/* 750pxデザインを375px表示へ縮小する既存SP設計の基準値 */
@media (max-width: 750px) {
  html {
    font-size: 62.5%;
  }
}

/* XD実測値: 周辺環境内の英字見出し */
@media (min-width: 751px) {
  .home .location .item-shopping h3.title,
  .home .location .items h3.title {
    font-family: "Tangerine", cursive;
    font-size: 5.4rem;
    font-weight: 500;
    line-height: 1.2111;
  }
}

@media (max-width: 750px) {
  .home .location .item-shopping h3.title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1944;
  }

  .home .location .items h3.title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.2;
  }
}

/* XD実測値: 共通セクション見出し（PC 1920 / SP 750） */
@media (min-width: 751px) {
  .home .ttl .container {
    max-width: 1206px;
    min-width: 0;
    overflow: hidden;
  }

  .home .ttl p {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0;
    margin-right: 4.5rem;
    padding-bottom: 0.18em;
    font-family: "Tangerine", cursive;
    font-size: clamp(8rem, 5.25vw, 10rem);
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .home .ttl h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.4167;
  }

  .home .house-building .ttl p {
    margin-left: 0;
    margin-right: 4.5rem;
    padding-bottom: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 4.3rem;
    font-weight: 400;
    line-height: 1.35;
  }

  .home .house-building .ttl h2 {
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1;
  }

  .home .house-building .ttl .container {
    overflow: visible;
    align-items: center;
  }

  /* XD SP実測: Housing Plan は英字見出しと和文見出しを一段で配置 */
  .home .house-plan .ttl {
    margin-top: 0;
    padding: 2.3rem 1.5rem 3.2rem;
  }

  .home .house-plan .ttl .container {
    align-items: baseline;
    overflow: visible;
  }

  .home .house-plan .ttl p {
    flex: 0 1 auto;
    margin-right: 2.2rem;
    padding-bottom: .16em;
    font-size: 4rem;
    line-height: 1.15;
  }

  .home .house-plan .ttl h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    white-space: nowrap;
  }
}

@media (max-width: 750px) {
  .home .ttl .container {
    min-width: 0;
    overflow: hidden;
  }

  .home .ttl p {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0;
    margin-right: 1rem;
    padding-bottom: 0.18em;
    font-size: clamp(3.2rem, 10.6667vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .home .ttl h2 {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1.4667;
  }

  .home .house-building .ttl p {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.1;
  }

  .home .house-building .ttl .container {
    display: block;
    overflow: visible;
    padding: 0;
    text-align: center;
  }

  .home .house-building .ttl {
    padding: 1rem 1.5rem;
  }

  .home .house-building .ttl h2 {
    margin-top: 0.3rem;
    font-size: 1.3rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
  }
}

/* Facilities slider: match the supplied design/reference implementation */
.home .facilities-list .legacy-facility-list { display: none !important; }
.home .facilities-list .legacy-surrounding-slider { display: none !important; }

.home .facilities-list {
  padding-top: 9rem;
}

.home .facilities-list h2 {
  color: var(--minami-pink);
}

.home .facilities-list .slider {
  padding-top: 5.2rem;
}

.home .facilities-list .slider ul {
  padding-bottom: 7.2rem;
}

.home .facilities-list .slider .img {
  padding-top: 66.6667%;
  overflow: hidden;
}

.home .facilities-list .slider .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .facilities-list .slider ul li h4 {
  display: flex;
  box-sizing: border-box;
  height: 7.4rem;
  padding: 1rem 0.4rem 0.8rem;
  justify-content: center;
  align-items: center;
  color: var(--minami-pink);
  font-size: 1.9rem;
  line-height: 1.4;
}

.home .facilities-list .slider .txt {
  font-size: 1.4rem;
  line-height: 1.45;
}

.home .facilities-list .slider .slick-prev,
.home .facilities-list .slider .slick-next {
  background: var(--minami-pink);
}

@media (hover: hover) {
  .home .facilities-list .slider .slick-prev:hover,
  .home .facilities-list .slider .slick-next:hover {
    background: var(--minami-pink);
    opacity: .7;
  }
}

@media (max-width: 750px) {
  .home .facilities-list {
    padding-top: 4.5rem;
  }

  .home .facilities-list h2 {
    padding: 0;
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .home .facilities-list .slider {
    padding-top: 2.2rem;
  }

  .home .facilities-list .slider ul {
    padding-bottom: 3.8rem;
  }

  .home .facilities-list .slider .slick-list {
    margin: 0;
    padding: 0 !important;
  }

  .home .facilities-list .slider ul li {
    box-sizing: border-box;
    width: calc(53.333vw + 1.5rem);
    padding: 0 0.75rem;
  }

  .home .facilities-list .slider ul li h4 {
    height: 3.8rem;
    padding: 0.55rem 0.1rem 0.2rem;
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .home .facilities-list .slider .txt {
    font-size: 1rem;
    line-height: 1.4;
  }

  .home .facilities-list .slider .slick-prev,
  .home .facilities-list .slider .slick-next {
    top: 6.7rem;
    width: 2.4rem;
    height: 2.4rem;
    margin-top: 0;
    transform: translateY(-50%);
  }

  .home .facilities-list .slider .slick-prev {
    left: calc(50% - 12rem);
  }

  .home .facilities-list .slider .slick-next {
    right: calc(50% - 12rem);
  }

  .home .facilities-list .slider .slick-prev::before,
  .home .facilities-list .slider .slick-next::before {
    top: 50%;
    left: 50%;
    width: 0.75rem;
    height: 0.75rem;
    margin-top: -0.45rem;
    border-width: 0.2rem 0.2rem 0 0;
  }

  .home .facilities-list .slider .slick-prev::before {
    margin-left: -0.25rem;
  }

  .home .facilities-list .slider .slick-next::before {
    margin-left: -0.55rem;
  }
}

/* House Building / point 02 heading */
.home .house-building .items ul.fm1 > li.col3 > h4 {
  min-height: 7rem;
  padding-right: 8.6rem;
}

.home .house-building .items ul.fm1 > li.col3 > h4 .no02 {
  top: 50%;
  right: 0.4rem;
  left: auto;
  width: 7rem;
  height: auto;
  margin-top: 0 !important;
  transform: translateY(-50%);
  opacity: .9;
}

@media (max-width: 1024px) and (min-width: 751px) {
  .home .house-building .items ul.fm1 > li.col3 > h4 {
    min-height: 5.8rem;
    padding-right: 6rem;
  }

  .home .house-building .items ul.fm1 > li.col3 > h4 .no02 {
    width: 4.8rem;
  }
}

@media (max-width: 750px) {
  .home .house-building .items ul.fm1 > li.col3 > h4 {
    min-height: 0;
    padding-left: 8.2rem;
    padding-right: 0;
  }

  .home .house-building .items ul.fm1 > li.col3 > h4 .no02 {
    top: 50%;
    left: 0;
    right: auto;
    width: 7rem;
  }
}

/* Fixed page-top button */
.side-bar > a.pagetop {
  position: relative;
  background: #ff5b7c;
}

.side-bar > a.pagetop img {
  display: none;
}

.side-bar > a.pagetop::before {
  content: "";
  position: absolute;
  top: 56%;
  left: 50%;
  width: 2.6rem;
  height: 2.6rem;
  border-top: 0.6rem solid #fff;
  border-left: 0.6rem solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (hover: hover) {
  .side-bar > a.pagetop:hover {
    background: #ff5b7c;
    opacity: .7;
  }
}

header .minami-logo {
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  font-family: "Noto Serif JP", serif;
  font-size: 2.8rem;
  white-space: nowrap;
}

header .minami-logo b {
  font-size: 1.7rem;
}

.home .mv .txt,
.home .mv .mv-img {
  display: none !important;
}

/* MV直下の告知帯は南春日丘Ⅱのキーカラーに統一 */
.home .mv .txt-lg {
  background-color: var(--minami-pink);
}

.home .mv .img-box .img img,
.home .concept .img-banner img,
.home .access img,
.home .land-plan img {
  display: block;
  width: 100%;
  height: auto;
}

/* カーナビ案内：アイコン分の領域を独立させて文字との重なりを防ぐ */
.home .access .btn-box a span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
}

.home .access .btn-box a span::before {
  position: static;
  flex: 0 0 4rem;
  margin: 0 1.8rem 0 0;
}

/* GoogleマップはPDFの比率で可変表示 */
.home .access .google-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
}

.facilities-list > .info-list,
.facilities-list > .item-list {
  display: none !important;
}

/* 周辺施設スライダーは高槻西町と同じ既存構造を使用 */
.minami-facilities {
  display: none !important;
}

.minami-facilities {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 6.5rem;
}

.minami-facilities figure {
  margin: 0 0.9rem;
  box-sizing: border-box;
}

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

.minami-facilities figcaption {
  padding-top: 1.2rem;
  font-size: 1.3rem;
}

.minami-facilities b {
  display: block;
  color: var(--minami-pink);
  font-size: 1.5rem;
}

.minami-facilities .slick-list {
  overflow: hidden;
}

.minami-facilities .slick-prev,
.minami-facilities .slick-next {
  position: absolute;
  z-index: 3;
  top: 42%;
  width: 4.2rem;
  height: 4.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--minami-pink);
  font-size: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.minami-facilities .slick-prev { left: 0; }
.minami-facilities .slick-next { right: 0; }

.minami-facilities .slick-prev::before,
.minami-facilities .slick-next::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  width: 1.3rem;
  height: 1.3rem;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.minami-facilities .slick-prev::before { left: 1.6rem; transform: rotate(-135deg); }
.minami-facilities .slick-next::before { right: 1.6rem; transform: rotate(45deg); }

/* Medical / Education の写真サイズを統一 */
.home .location .items .item ul li > .img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.home .location .items .item ul li > .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home .location .inner .txt h3 {
  line-height: 1.25;
}

.minami-facility-details {
  width: 100%;
  max-width: 74rem;
  margin: 7rem auto 0;
  padding-bottom: 6rem;
}
.minami-facility-details summary { display: flex; width: 54rem; min-height: 7.6rem; margin: 0 auto; padding: 0 3rem; border-radius: 0; align-items: center; justify-content: center; color: #fff; background: var(--minami-pink); text-align: center; font-size: 3rem; font-weight: 400; line-height: 1.3; cursor: pointer; list-style: none; }
.minami-facility-details summary::-webkit-details-marker { display: none; }
.minami-facility-details summary span {
  display: inline-block;
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  margin-left: 7rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.minami-facility-details summary span::before,
.minami-facility-details summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.2rem;
  height: 0.35rem;
  background: var(--minami-pink);
  transform: translate(-50%, -50%);
}
.minami-facility-details summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.minami-facility-details[open] summary span::after { display: none; }
.minami-facility-columns {
  display: block;
  margin-top: 5.5rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.1rem;
  line-height: 1.4583;
}
.minami-facility-columns dl { margin: 0 0 3.5rem; }
.minami-facility-columns dt {
  margin: 0 0 0.4rem;
  padding: 0;
  color: #000;
  background: transparent;
  font-weight: 700;
}
.minami-facility-columns dd {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  line-height: inherit;
}
.minami-facility-columns dd b { font-weight: 400; }
.minami-facility-columns dd span { flex: none; }

.house-plan-slider-thumb > li {
  width: 33.3333% !important;
}

.house-plan-slider-thumb,
.house-plan .track {
  display: none !important;
}

.house-plan .tab-container {
  width: 100%;
  max-width: 120.6rem;
  margin-right: auto;
  margin-left: auto;
}

.minami-plan-tabs {
  display: flex;
  width: 75%;
  gap: 2.8rem;
  margin-bottom: 3rem;
}

.minami-plan-tabs button {
  flex: 1;
  border: 0;
  background: #fdebe6;
  color: var(--minami-pink);
  padding: 1.3rem 1.8rem;
  font-size: 2.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .25s ease, color .25s ease, background-color .25s ease;
}

.minami-plan-tabs button.active {
  color: #fff;
  background: var(--minami-pink);
}

.minami-plan-slider {
  position: relative;
}

.minami-plan-panel {
  background: #fff;
}

.minami-plan-slider .slick-prev,
.minami-plan-slider .slick-next {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 4.6rem;
  height: 4.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--minami-pink);
  font-size: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity .25s ease;
}

.minami-plan-slider .slick-prev { left: -2.3rem; }
.minami-plan-slider .slick-next { right: -2.3rem; }

.minami-plan-slider .slick-prev::before,
.minami-plan-slider .slick-next::before {
  content: "";
  position: absolute;
  top: 71%;
  left: 63%;
  width: 1.4rem;
  height: 1.4rem;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.minami-plan-slider .slick-prev::before { transform: translate(-38%, -50%) rotate(-135deg); }
.minami-plan-slider .slick-next::before { transform: translate(-17%, -50%) rotate(45deg); }

@media (hover: hover) {
  .minami-plan-tabs button:hover { opacity: .72; }

  .minami-plan-slider .slick-prev:hover,
  .minami-plan-slider .slick-next:hover {
    background: var(--minami-pink);
    opacity: .72;
  }
}

.minami-plan-head {
  display: grid;
  grid-template-columns: 17.3rem minmax(0, 1fr) 22rem;
  gap: 3.1rem;
  align-items: center;
  min-height: 22rem;
  padding: 2.4rem 3rem;
  color: #fff;
  background: var(--minami-pink);
}

.minami-plan-head > b { font: 500 4.7rem/1 "Noto Serif JP", serif; white-space: nowrap; }
.minami-plan-head > b strong { font-size: 9.4rem; font-weight: 500; }
.minami-plan-head h3 { margin: 0 0 0.8rem; font: 500 4.7rem/1.433 "Noto Serif JP", serif; white-space: nowrap; }
.minami-plan-head p { margin: 1.2rem 0 0; font: 500 2.4rem/1.467 "Noto Serif JP", serif; white-space: nowrap; }
.minami-plan-head dl { display: grid; grid-template-columns: auto 1fr; gap: 0 0.7rem; margin: 0 0 0 1.9rem; font: 500 1.9rem/2 "Noto Serif JP", serif; white-space: nowrap; }
.minami-plan-head dt,.minami-plan-head dd { margin: 0; }
.minami-tags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.minami-tags span { display: grid; min-height: 3.5rem; padding: 0.4rem 0.3rem; place-items: center; color: var(--minami-pink); background: #fff; text-align: center; font: 500 1.4rem/1.45 "Noto Serif JP", serif; white-space: nowrap; font-size: 1.35rem;}
.minami-plan-placeholder { height: 62rem; display: grid; place-items: center; background: #aaa; font-size: 3.5rem; }
.minami-plan-floor {
  display: grid;
  height: 62rem;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.minami-plan-floor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.2);
  transform-origin: center;
}

.minami-land-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.3rem;
  width: 100%;
  max-width: none;
  margin: 3.8rem auto 7rem;
  text-align: center;
}

.minami-land-points p {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 492 / 280;
  margin: 0;
  padding: 2.2rem 1.6rem;
  border: 1px solid var(--minami-pink);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #222;
}

.minami-land-points p::before,
.minami-land-points p::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.minami-land-points p::before {
  top: 0.8rem;
  left: 0.8rem;
  border-width: 2.7rem 2.7rem 0 0;
  border-color: #ffc3cf transparent transparent transparent;
}

.minami-land-points p::after {
  right: 0.8rem;
  bottom: 0.8rem;
  border-width: 0 0 2.7rem 2.7rem;
  border-color: transparent transparent #ffc3cf transparent;
}

.minami-land-points span,
.minami-land-points small {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 2.8rem;
  line-height: 1.5;
}

.minami-land-points p:nth-child(n + 2) span {
  color: var(--minami-pink);
}

.minami-land-points strong {
  display: block;
  margin: 0;
  color: var(--minami-pink);
  font: 700 3.3rem/1.55 "Noto Serif JP", serif;
  white-space: nowrap;
}

.minami-plan-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 4rem; margin-top: 5.5rem; font-family: "Noto Serif JP", serif; }
.minami-plan-features article { margin: 0; }
.minami-plan-features img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.minami-plan-features h3 { margin: 1.5rem 0 1rem; color: var(--minami-pink); font-size: 2rem; font-weight: 500; line-height: 1.4; }
.minami-plan-features p { margin: 0; font-size: 1.6rem; font-weight: 400; line-height: 1.75; }
@media (max-width: 860px) {
  .minami-plan-features h3 { font-size: 1.6rem; }
  .minami-plan-features p { font-size: 1.4rem; }
}
.minami-plan-gallery { margin: 5.5rem 0 7rem; }
.minami-gallery-main,
.minami-gallery-thumbs { position: relative; }
.minami-gallery-main { background: #777; }
.minami-gallery-main .slick-slide { aspect-ratio: 1.62; }
.minami-gallery-main .slick-slide > div,
.minami-gallery-main .slick-slide > div > div { height: 100%; }
.minami-gallery-main .slick-slide > div > div { display: grid !important; place-items: center; color: #a62a87; background: #aaa; font-size: 1.8rem; }
.minami-gallery-thumbs { margin: 3rem -1rem 0; }
.minami-gallery-thumbs .slick-slide { margin: 0 1rem; }
.minami-gallery-thumbs button { display: block; width: 100%; aspect-ratio: 1.45; padding: 0; border: 0; background: #aaa; cursor: pointer; }
.minami-gallery-main .slick-prev,
.minami-gallery-main .slick-next,
.minami-gallery-thumbs .slick-prev,
.minami-gallery-thumbs .slick-next { position: absolute; z-index: 4; top: 50%; width: 4.2rem; height: 4.2rem; padding: 0; border: 0; border-radius: 50%; background: var(--minami-pink); font-size: 0; transform: translateY(-50%); cursor: pointer; }
.minami-gallery-main .slick-prev,
.minami-gallery-thumbs .slick-prev { left: -2.2rem; }
.minami-gallery-main .slick-next,
.minami-gallery-thumbs .slick-next { right: -2.2rem; }
.minami-gallery-main .slick-prev::before,
.minami-gallery-main .slick-next::before,
.minami-gallery-thumbs .slick-prev::before,
.minami-gallery-thumbs .slick-next::before { content: ""; position: absolute; top: 50%; left: 50%; width: 1.3rem; height: 1.3rem; border-top: 3px solid #fff; border-right: 3px solid #fff; }
.minami-gallery-main .slick-prev::before,
.minami-gallery-thumbs .slick-prev::before { transform: translate(35%, 17%) rotate(-135deg); }
.minami-gallery-main .slick-next::before,
.minami-gallery-thumbs .slick-next::before { transform: translate(22%, 23%) rotate(45deg); }

@media (hover: hover) {
  .minami-gallery-main .slick-prev:hover,
  .minami-gallery-main .slick-next:hover,
  .minami-gallery-thumbs .slick-prev:hover,
  .minami-gallery-thumbs .slick-next:hover {
    background: var(--minami-pink) !important;
    opacity: .72;
  }
}

/* 概要3表：ピンク見出しは無罫線、データ行の黒い横罫線は残す */
.outline table {
  border: 0;
}

.outline table thead tr th {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-right: 1px solid #ff5d7d;
  border-left: 1px solid #ff5d7d;
}

.outline table tbody th,
.outline table tbody td {
  border-top: 1px solid #040000;
  border-right: 1px solid #040000;
  border-bottom: 1px solid #040000;
  border-left: 1px solid #040000;
}
/*
.outline table tbody tr:first-child > th,
.outline table tbody tr:first-child > td {
  border-top: 0;
}

.outline table tbody tr > :first-child {
  border-left: 0 !important;
}

.outline table tbody tr > :last-child {
  border-right: 0 !important;
}
*/
/* フッターCTAは南春日丘Ⅱのデザインカラーへ統一 */
footer .btn-box ul li a.btn,
footer .btn-box ul li:first-child a.btn,
footer .btn-box ul li:last-child a.btn,
footer .btn-box ul li.pagetop {
  background: var(--minami-pink);
}

footer .btn-box ul li:first-child a.btn {
  background: #FFA7C5;
}

footer .btn-box ul li:last-child a.btn {
  background: #FF9FAC;
}

.home .access-way h2 {
  padding-top: 9.5rem;
  line-height: 1.3;
}

.access-way-title-main {
  display: flex;
  width: min(79%, 151rem);
  margin: 0 auto;
  justify-content: center;
  align-items: baseline;
  padding-bottom: 2.4rem;
  border-bottom: 2px solid var(--minami-pink);
  color: #000;
  font: 400 4.8rem "Noto Serif JP", serif;
}

.access-way-title-main strong {
  color: var(--minami-pink);
  font-size: 6rem;
  font-weight: 500;
}

.access-way h2 small {
  display: block;
  margin-top: 2.8rem;
  font: 400 3.2rem "Noto Serif JP", serif;
}

/* 高槻西町専用の駅別所要時間画像は南春日丘Ⅱでは使用しない */
.access-way .img01 {
  display: none !important;
}

.minami-access-detail {
  width: min(100%, 148rem);
  margin: 5.2rem auto 0;
  font-family: "Noto Serif JP", serif;
}

.minami-stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-bottom: 2.8rem;
  border-bottom: 2px dotted #999;
}

.minami-stations article,
.minami-destinations article {
  margin: 0;
  padding: 0;
}

.minami-access-detail p,
.minami-access-detail h3,
.minami-access-detail h4 {
  margin: 0;
}

.minami-stations .line-name {
  font-size: 2.1rem;
  line-height: 1.35;
}

.minami-stations h3 {
  margin-top: 0.8rem;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.25;
}

.station-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  margin-top: 3.4rem;
  align-items: end;
}

.station-times.single {
  grid-template-columns: 1fr;
}

.station-times p {
  font-size: 2.5rem;
  line-height: 1.08;
  white-space: nowrap;
}

.station-times span {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 1.9rem;
  line-height: 1.2;
}

.station-times strong,
.station-times em,
.minami-destinations strong {
  color: var(--minami-pink);
  font-style: normal;
  font-weight: 400;
}

.station-times strong {
  font-size: 5.8rem;
}

.station-times em {
  font-size: 3.5rem;
}

.minami-destinations {
  padding-top: 2.8rem;
}

.minami-destinations > h3 {
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1.4;
}

.minami-destinations > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
}

.minami-destinations article > p {
  font-size: 1.8rem;
  line-height: 1.35;
}

.minami-destinations h4 {
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.minami-destinations h4 small {
  font-size: 2.1rem;
}

.minami-destinations h4 strong {
  font-size: 5.7rem;
}

.minami-destinations article > small {
  display: block;
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
}

@media screen and (max-width: 750px) {
  header .minami-logo {
    font-size: 1.5rem;
    gap: 0.5rem;
  }

  .home .access .btn-box a span {
    padding-left: 0;
  }

  .home .access .btn-box a span::before {
    width: 2rem;
    height: 1.7rem;
    flex-basis: 2rem;
    margin: 0 0.9rem 0 0;
  }

  .home .access .google-map iframe {
    aspect-ratio: 2 / 1;
  }

  header .minami-logo b {
    font-size: 1rem;
  }

  .home .mv .img-box,
  .home .mv .img-box .img {
    height: auto !important;
  }

  .home .mv .img-box .img {
    position: relative !important;
    margin-bottom: -0.4rem;
  }

  .home .mv .img-box .img img {
    height: 29.4rem;
    object-fit: cover;
    object-position: top;
  }

  .home .mv .txt-lg {
    position: relative;
    z-index: 1;
    margin-top: 0;
  }

  .home .location .inner .txt h3 {
    line-height: 1.35;
  }

  .minami-facilities {
    padding: 2.8rem 2rem 4rem;
  }

  .minami-facilities figure { margin: 0 0.5rem; }
  .minami-facilities .slick-prev,
  .minami-facilities .slick-next { width: 2.1rem; height: 2.1rem; }
  .minami-facilities .slick-prev::before,
  .minami-facilities .slick-next::before { top: 0.6rem; width: 0.7rem; height: 0.7rem; border-width: 2px 2px 0 0; }
  .minami-facilities .slick-prev::before { left: 0.8rem; }
  .minami-facilities .slick-next::before { right: 0.8rem; }

  .minami-facilities figcaption {
    font-size: 1rem;
  }

  .minami-facilities b {
    font-size: 1.1rem;
  }

  .minami-facility-details {
    width: 100%;
    max-width: 37rem;
    margin: 3.5rem auto 0;
    padding: 0 2rem 3.5rem;
  }

  .minami-facility-details summary {
    width: 27rem;
    min-height: 3.8rem;
    padding: 0 1.5rem;
    border-radius: 0;
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .minami-facility-details summary span {
    position: relative;
    width: 1.8rem;
    height: 1.8rem;
    margin-left: 3.5rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    transform: none;
  }

  .minami-facility-details summary span::before,
  .minami-facility-details summary span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.1rem;
    height: 0.2rem;
    background: var(--minami-pink);
    transform: translate(-50%, -50%);
  }

  .minami-facility-details summary span::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .minami-facility-details[open] summary span {
    transform: none;
  }

  .minami-facility-details[open] summary span::after {
    display: none;
  }

  .minami-facility-columns {
    margin-top: 2.75rem;
    font-size: 1.05rem;
    line-height: 1.45;
  }
  .minami-facility-columns dl { margin-bottom: 1.5rem; }
  .minami-facility-columns dt {
    margin-bottom: 0.35rem;
    padding: 0;
    font-size: inherit;
  }
  .minami-facility-columns dd {
    gap: 1.5rem;
    padding: 0;
    font-size: inherit;
  }
  .minami-facility-columns dd b { min-width: 0; }
  .minami-facility-columns dd span {
    flex: 0 0 7.5rem;
    text-align: left;
  }

  .home .access-way h2 {
    padding-top: 4.8rem;
  }

  .access-way-title-main {
    display: block;
    width: calc(100% - 3rem);
    margin: 0 1.5rem;
    padding-bottom: 1.25rem;
    font-size: 2.5rem;
    line-height: 1.35;
    text-align: left;
  }

  .access-way-title-main strong {
    display: block;
    font-size: 3.1rem;
    line-height: 1.25;
  }

  .access-way h2 small {
    margin: 2.7rem 1.5rem 0;
    font-size: 1.6rem;
    line-height: 1.65;
    text-align: left;
  }

  .minami-access-detail {
    margin-top: 3.5rem;
  }

  .minami-stations {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 2.4rem;
  }

  .minami-stations .line-name { font-size: 1.2rem; }
  .minami-stations h3 { font-size: 2.3rem; }
  .station-times { gap: 1.8rem; margin-top: 1.6rem; }
  .station-times p { font-size: 1.5rem; }
  .station-times span { font-size: 1.1rem; }
  .station-times strong { font-size: 3.4rem; }
  .station-times em { font-size: 2.1rem; }
  .minami-destinations { padding-top: 1.8rem; }
  .minami-destinations > h3 { font-size: 1.7rem; }
  .minami-destinations > div { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1.8rem; }
  .minami-destinations article > p { font-size: 1.1rem; }
  .minami-destinations h4 { font-size: 2.2rem; }
  .minami-destinations h4 small { font-size: 1.3rem; }
  .minami-destinations h4 strong { font-size: 3.4rem; }
  .minami-destinations article > small { font-size: 0.8rem; }

  .drawer-menu ul li a span {
    width: 15rem;
  }

  .drawer-menu ul li a span:nth-child(2) {
    width: calc(100% - 15rem);
  }

  .minami-plan-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    column-gap: 2.4rem;
    row-gap: 1rem;
    margin-bottom: 3rem;
  }
  .minami-plan-tabs button {
    width: 100%;
    min-height: 4rem;
    padding: .7rem 1rem;
    font-size: 1.6rem;
  }
  .minami-plan-panel {
    box-shadow: none;
  }
  .minami-plan-slider .slick-prev,
  .minami-plan-slider .slick-next {
    top: 42.5rem;
    width: 3rem;
    height: 3rem;
  }
  .minami-plan-slider .slick-prev { left: -1.5rem; }
  .minami-plan-slider .slick-next { right: -1.5rem; }
  .minami-plan-slider .slick-prev::before,
  .minami-plan-slider .slick-next::before {
    top: 50%;
    left: 50%;
    width: 0.9rem;
    height: 0.9rem;
    border-width: 2px 2px 0 0;
  }
  .minami-plan-slider .slick-prev::before {
    transform: translate(7%, 5%) rotate(-135deg);
  }
  .minami-plan-slider .slick-next::before {
    transform: translate(12%, 2%) rotate(45deg);
  }
  .minami-plan-head {
    grid-template-columns: 9rem minmax(0, 1fr);
    grid-template-areas:
      "number heading"
      "stats stats"
      "tags tags"
      "description description";
    gap: 0.8rem 1rem;
    min-height: 22rem;
    padding: 2.2rem 2.7rem 1.8rem;
    align-content: center;
  }
  .minami-plan-head > b {
    grid-area: number;
    align-self: center;
    font-size: 2.5rem;
  }
  .minami-plan-head > b strong { font-size: 5rem; }
  .minami-plan-head > div { display: contents; }
  .minami-plan-head h3 {
    grid-area: heading;
    align-self: center;
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.2;
  }
  .minami-plan-head h3 span { display: none; }
  .minami-plan-head p {
    grid-area: description;
    margin: 0.7rem 0 0;
    font-size: 1.2rem;
    line-height: 1.46;
  }
  .minami-plan-head dl {
    grid-area: stats;
    grid-template-columns: auto auto auto auto;
    justify-content: start;
    gap: 0 0.4rem;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
  }
  .minami-plan-head dl dt::after { content: "/"; }
  .minami-tags {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 0.8rem;
  }
  .minami-plan-head .minami-tags { grid-area: tags; }
  .minami-tags span {
    min-height: 2.1rem;
    padding: 0.15rem 0.2rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .minami-plan-placeholder {
    height: 33rem;
    margin-top: 4rem;
    font-size: 2rem;
  }
  .minami-plan-floor {
    height: 33rem;
    margin-top: 4rem;
  }
  .minami-plan-floor img {
    transform: scale(1.12);
  }
  .minami-land-points {
    left: auto;
    grid-template-columns: 1fr;
    gap: 1.7rem;
    width: 24.6rem;
    max-width: 100%;
    margin: 2rem auto 3.5rem;
    transform: none;
  }
  .minami-land-points p { padding: 1.4rem 1rem; border-width: 1px; }
  .minami-land-points p::before { top: 0.4rem; left: 0.4rem; border-width: 1.7rem 1.7rem 0 0; }
  .minami-land-points p::after { right: 0.4rem; bottom: 0.4rem; border-width: 0 0 1.7rem 1.7rem; }
  .minami-land-points span,.minami-land-points small { font-size: 1.8rem; line-height: 1.5; }
  .minami-land-points strong { font-size: 2.1rem; line-height: 1.55; }
  .minami-plan-features {
    grid-template-columns: 1fr;
    gap: 3.3rem;
    margin-top: 2.8rem;
  }

  .minami-plan-features article {
    min-width: 0;
  }

  .minami-plan-features h3 {
    margin: 0.9rem 0 0.7rem;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
  }

  .minami-plan-features p {
    font-size: 1.1rem;
    line-height: 1.8;
  }
  .minami-plan-gallery { margin: 2.8rem 0 3.5rem; }
  .minami-gallery-main .slick-slide > div > div { font-size: 0.9rem; }
  .minami-gallery-thumbs { margin: 1.5rem -0.5rem 0; }
  .minami-gallery-thumbs .slick-slide { margin: 0 0.5rem; }
  .minami-gallery-main .slick-prev,
  .minami-gallery-main .slick-next,
  .minami-gallery-thumbs .slick-prev,
  .minami-gallery-thumbs .slick-next { width: 2.1rem; height: 2.1rem; }
  .minami-gallery-main .slick-prev,
  .minami-gallery-thumbs .slick-prev { left: -1.1rem; }
  .minami-gallery-main .slick-next,
  .minami-gallery-thumbs .slick-next { right: -1.1rem; }
  .minami-gallery-main .slick-prev::before,
  .minami-gallery-main .slick-next::before,
  .minami-gallery-thumbs .slick-prev::before,
  .minami-gallery-thumbs .slick-next::before { top: 50%; left: 50%; right: auto; width: 0.7rem; height: 0.7rem; border-width: 2px 2px 0 0; }
}
