/* --- Reset CSS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { font-size: 62.5%; } /* 1rem = 10px */
body {
    -webkit-font-smoothing: antialiased;
        font-family: "dnp-shuei-mincho-pr6n", sans-serif;
    background-color: #fff;
    color: #231815;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
li { list-style: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.mb0{margin-bottom: 0!important;}
.mt0{margin-top: 0!important;}
.pc{display: block!important;}
.sp{display: none!important;}
@media screen and (max-width:767px) {
.pc{display: none!important;}
.sp{display: block!important;}
}
/* =========================================
   Grandia MV
========================================= */
.grandia-mv {
  position: relative;
  width: 100%;
  background: #efeeea;
  background-image: url(../img/intro_bg.jpg);
  background-size: 100%;
  overflow: hidden;
  color: #1f1f1f;
}
.grandia-mv__inner {
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: 12px 30px 0;
  box-sizing: border-box;
}

/* =========================================
   Header
========================================= */
.grandia-mv__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 28px 10px;
}
.grandia-mv__logo {
  flex: auto;
  padding-top: 6px;
  max-width: 500px;
  width: 100%;
}
.grandia-mv__logo img{
  width: 100%;
}
.grandia-mv__logo-en {
  margin: 0;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: 400;
}
.grandia-mv__logo-ja {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  color: #333;
}
.grandia-mv__header-right {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
}
.grandia-mv__nav {
  min-width: 0;
}
.grandia-mv__nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.grandia-mv__nav li{
    border-bottom: solid 1px #6d8188;
}
.grandia-mv__nav a {
  display: inline-block;
  position: relative;
  padding: 14px 0 5px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #6d8188;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-family: sans-serif;
}

.grandia-mv__pamphlet {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #6d8188;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-sizing: border-box;
  font-family: sans-serif;
}
.grandia-mv__pamphlet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6d8188;
}
/* PCではハンバーガーを隠す */
.grandia-mv__hamburger {
    display: none;
}

@media screen and (max-width: 1440px) {
    /* PC用ナビとパンフレットを隠す */
    .grandia-mv__nav,
    .grandia-mv__pamphlet {
        display: none;
    }

    /* ★ハンバーガーボタンのデザイン再現 */
    .grandia-mv__hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50px;  /* スタイルに合わせて調整 */
        height: 50px; /* スタイルに合わせて調整 */
        background-color: #000; /* 真っ黒背景 */
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 9999;
    }

    /* MENUの文字 */
    .grandia-mv__hamburger-text {
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
        letter-spacing: 0.1em;
        margin-bottom: 5px;
        font-family: sans-serif;
        transform: scale(0.8, 1);
    }

    /* 3本線エリア */
    .grandia-mv__hamburger-bars {
        width: 30px;
        height: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    /* 白い線 */
    .grandia-mv__hamburger-bars i {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s;
    }

    /* ★メニューが開いた時のバツ印アニメーション（必要なら） */
    .is-active .grandia-mv__hamburger-bars i:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .is-active .grandia-mv__hamburger-bars i:nth-child(2) {
        opacity: 0;
    }
    .is-active .grandia-mv__hamburger-bars i:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .grandia-mv__nav {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 999;
        display: none; /* JSで制御 */
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .grandia-mv__nav ul {
        flex-direction: column; /* 縦並びに */
        align-items: center;
        gap: 30px;
        padding: 0;
        margin: 0;
    }

    .grandia-mv__nav a {
        color: #fff;
        font-size: 2.2rem;
        text-decoration: none;
        border: none; /* PC用の下線を消す */
        letter-spacing: 0.1em;
    }
    .grandia-mv__pamphlet {
        display: none; /* 初期は隠す */
        position: fixed;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10001;
        background: #fff;
        color: #000;
        padding: 15px 30px;
        border-radius: 40px;
        width: 80%;
        justify-content: center;
    }
}
/* =========================================
   Body
========================================= */
.grandia-mv__body {
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: stretch;
}

/* =========================================
   Left Content
========================================= */
.grandia-mv__content {
  padding: 24px 40px 56px 13vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 51vw;
  max-width: 920px;
}
.grandia-mv__badge-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 18px 0 30px;
}
.grandia-mv__badge {
  border: 1px solid #777;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}
.grandia-mv__badge--large {
  min-width: 202px;
  height: 80px;
  font-size: 4rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 10px;
}
.grandia-mv__badge--small {
  min-width: 248px;
  height: 80px;
  margin-left: -1px;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  gap: 4px;
  padding: 10px;
}

.grandia-mv__badge--small strong {
  font-size: 4.3rem;
  line-height: 1;
  font-weight: 700;
}
.grandia-mv__badge--small span{
    font-size: 4rem;
    font-weight: 600;
}
.grandia-mv__catch {
  margin: 0 0 18px;
  font-size: clamp(72px, 7vw, 115px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-align: justify;
  width: 40vw;
}
.grandia-mv__lead {
    margin: 0 0 28px;
    font-size: 2.5rem;
    line-height: 2;
    letter-spacing: 0.06em;
    text-align: center;
    color: #272727;
    font-weight: 600;
}
@media screen and (max-width:1600px) {

  .grandia-mv__badge--large {
    font-size: 3rem;
  }
  .grandia-mv__badge--small {
    font-size: 2rem;
  }
  .grandia-mv__badge--small span {
    font-size: 3rem;
  }
  .grandia-mv__lead{
    font-size: 2rem;
  }
}
/* =========================================
   Circles
========================================= */
.grandia-mv__circles {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-left: 6px;
  justify-content: center;
}
.grandia-circle {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #f4de9d 0%, #d3b165 45%, #b68f47 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.45);
  color: #1d1d1d;
}
.grandia-circle__top {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.grandia-circle__main {
  position: absolute;
  inset: 0;
}
.grandia-circle__main--center .grandia-circle__num {
  left: 50%;
  transform: translateX(-50%);
}
.grandia-circle__side {
  position: absolute;
  left: 24px;
  top: 56px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 500;
}
.grandia-circle__sub {
  position: absolute;
  left: 20px;
  top: 56px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 500;
}

.grandia-circle__num {
  position: absolute;
  left: 52px;
  top: 38px;
  font-size: 78px;
  line-height: 1;
  font-weight: 400;
}
.grandia-circle__unit {
  position: absolute;
  right: 22px;
  bottom: 28px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

/* =========================================
   Visual
========================================= */
.grandia-mv__visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.grandia-mv__visual img {
  display: block;
  width: 100%;
  height:auto;
  object-fit: cover;
  object-position: center center;
}
.grandia-mv__visual-script {
  position: absolute;
  top: 18px;
  right: 58px;
  z-index: 2;
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(72px, 7vw, 122px);
  line-height: 1;
  color: rgba(177, 160, 148, 0.7);
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* =========================================
   Fixed Side Buttons
========================================= */
.grandia-side-fixed {
  position: fixed;
  right: 0;
  top: 160px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.grandia-side-fixed__btn {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 164px;
  padding: 16px 10px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-family: sans-serif;
}
.grandia-side-fixed__btn--dark {
  background: #e8d06f;
  color: #000;
}
.grandia-side-fixed__btn--gray {
  background: #7f9398;
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 1280px) {
  .grandia-mv__header {
    padding-left: 0;
    padding-right: 0;
  }
  .grandia-mv__content {
    padding-left: 80px;
    padding-right: 28px;
  }
  .grandia-mv__nav ul {
    gap: 18px;
  }
  .grandia-mv__nav a {
    font-size: 14px;
  }
}

@media screen and (max-width: 1024px) {
  .grandia-mv__inner {
    padding: 12px 20px 0;
  }
  .grandia-mv__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    padding: 7px 28px 10px;
    height: 50px;
    width: 90%;
  }
  .grandia-mv__logo{
    max-width: fit-content;
    width: 100%;
  }
  .grandia-mv__header-right {
    /* width: 100%; */
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99;
  }
  .grandia-mv__nav ul {
    flex-wrap: wrap;
  }
  .grandia-mv__body {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .grandia-mv__content {
    order: 2;
    padding: 30px 20px 50px;
  }
  .grandia-mv__visual {
    order: 1;
  }
  .grandia-mv__visual img {
    height: 62vw;
    min-height: 420px;
  }
  .grandia-mv__badge-row {
    justify-content: center;
  }
  .grandia-mv__catch {
    text-align: center;
  }
  .grandia-side-fixed {
    top: auto;
    bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .grandia-mv__inner {
    padding: 0px 16px 0;
  }
  .grandia-mv__logo-en {
    font-size: 22px;
  }
  .grandia-mv__logo-ja {
    font-size: 11px;
    text-align: left;
  }
  .grandia-mv__nav ul {
    gap: 12px 16px;
  }
  .grandia-mv__nav a {
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .grandia-mv__pamphlet {
    font-size: 13px;
    min-height: 38px;
    padding: 0 16px;
  }
  .grandia-mv__visual-script {
    top: 16px;
    right: 18px;
    font-size: 60px;
  }
  .grandia-mv__visual img {
    height: 100%;
    width: 100%;
    min-height: auto;
  }
  .grandia-mv__content {
    padding: 24px 10px 40px;
    width: 100%;
    overflow: hidden;
  }
  .grandia-mv__badge-row {
    align-items: center;
    gap: 0px;
    margin-bottom: 22px;
  }
  .grandia-mv__badge--large,
  .grandia-mv__badge--small {
    min-width: 0;
    height: 58px;
    margin-left: 0;
  }
  .grandia-mv__badge--large {
    font-size: 2.8rem;
    margin-right: -1px;
  }
  .grandia-mv__badge--small {
    font-size: 1rem;
  }
  .grandia-mv__badge--small strong {
    font-size: 3.8rem;
  }
  .grandia-mv__badge--small span{
    font-size: 2.8rem;
  }
  .grandia-mv__catch {
    font-size: 7rem;
    line-height: 1.28;
    text-align: left;
    width: max-content;
    margin: auto;
    margin-right: -9px;
    white-space: normal;
  }
  .grandia-mv__lead {
    font-size: 1.6rem;
    line-height: 1.9;
    text-align: center;
    margin-bottom: 24px;
  }
  .grandia-mv__circles {
    gap: 12px;
    /* overflow-x: auto; */
    padding-bottom: 8px;
    padding-left: 0;
    flex-wrap: nowrap;
    width: 90%;
    margin: auto;
  }
  .grandia-mv__circles img{
    width: auto;
    overflow: clip;
    height: 80px;
  }
  .grandia-circle {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
  }
  .grandia-circle__top {
    top: 16px;
    font-size: 14px;
  }
  .grandia-circle__side {
    left: 18px;
    top: 48px;
    font-size: 16px;
  }
  .grandia-circle__sub {
    left: 14px;
    top: 46px;
    font-size: 11px;
  }
  .grandia-circle__num {
    left: 42px;
    top: 34px;
    font-size: 62px;
  }
  .grandia-circle__unit {
    right: 16px;
    bottom: 24px;
    font-size: 18px;
  }
  .grandia-side-fixed {
    right: 8px;
    bottom: 10px;
    gap: 8px;
  }
  .grandia-side-fixed__btn {
    width: 38px;
    min-height: 118px;
    font-size: 12px;
    padding: 12px 8px;
  }
}

/* =========================================
   Facilities Banner
========================================= */
.grandia-facilities {
  position: relative;
  width: 100%;
  background-image: url(../img/intro_bg.jpg);
  background-size: 100%;
  z-index: 20;
}
.grandia-facilities__list {
  display: flex;
  width: 100%;
}
.grandia-facility-card {
  position: relative;
  width: 25%;
  height: 240px;
  overflow: hidden;
  box-sizing: border-box;
}
.grandia-facility-card:last-child {
  border-right: none;
}
.grandia-facility-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 全体を少し暗くする */
.grandia-facility-card__overlay {
  position: absolute;
  inset: 0;
  background:#121212ab;
  z-index: 1;
}
.grandia-facility-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 20px;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}
.grandia-facility-card__label {
  position: relative;
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.grandia-facility-card__time {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  font-weight: 600;
}
.grandia-facility-card__walk {
  font-size: 24px;
  line-height: 1;
  margin-right: 8px;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.grandia-facility-card__num {
  font-size: 92px;
  line-height: 0.9;
  font-weight: 400;
  color: #dcc276;
  margin-right: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  font-family: "dnp-shuei-mincho-pr6n", sans-serif;
}
.grandia-facility-card__unit {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
/* 下の注釈 */
.grandia-facilities__note {
  margin: 0;
  padding: 10px 28px 14px;
  text-align: right;
  font-size: 11px;
  line-height: 1.6;
  color: #231815;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 1024px) {
  .grandia-facility-card {
    height: 200px;
  }
  .grandia-facility-card__content {
    padding-top: 32px;
  }
  .grandia-facility-card__label {
    font-size: 18px;
  }
  .grandia-facility-card__walk,
  .grandia-facility-card__unit {
    font-size: 20px;
  }
  .grandia-facility-card__num {
    font-size: 72px;
  }
}

@media screen and (max-width: 767px) {
  .grandia-facilities__list {
    flex-wrap: wrap;
  }
  .grandia-facility-card {
    width: 50%;
    height: 170px;
  }
  .grandia-facility-card:nth-child(2n) {
    border-right: none;
  }
  .grandia-facility-card__content {
    padding: 22px 10px 12px;
  }
  .grandia-facility-card__label {
    font-size: 16px;
    letter-spacing: 0.04em;
  }
  .grandia-facility-card__label::before {
    left: -10px;
    top: 4px;
    width: 22px;
    height: 22px;
  }
  .grandia-facility-card__time {
    margin-top: 8px;
  }
  .grandia-facility-card__walk,
  .grandia-facility-card__unit {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .grandia-facility-card__num {
    font-size: 54px;
    margin-right: 4px;
  }
  .grandia-facilities__note {
    padding: 10px 16px 14px;
    text-align: left;
    font-size: 10px;
  }
}

/* --- Concept Section --- */
.grandia-concept{
  position:relative;
  padding:34px 0 120px;
  background-image: url(../img/intro_bg.jpg);
  background-size: 100%;
  overflow:visible;
  background-position-y: -1px;
}
.grandia-concept__bg-band{
    position: absolute;
    top: 10px;
    bottom: 300px;
    left: 50%;
    width: 400px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 1) 10%, rgba(228, 229, 230, 1) 50%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0.07) 100%);
    z-index: 1;
    pointer-events: none;
}
.grandia-concept__inner{
  position:relative;
  z-index:2;
  width:min(100%,1120px);
  margin:0 auto;
  padding:0 24px;
  box-sizing:border-box;
  overflow:visible;
}
.grandia-concept__top-btn{
  max-width:400px;
  width:100%;
  display:block;
    margin: 100px auto 50px;
}
.grandia-concept__top-btn img{
  display:block;
  width:100%;
  height:auto;
}
.grandia-concept__top-btn-icon{
  display:inline-block;
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid #fff;
  transform:rotate(180deg);
}
.grandia-concept__header{
  text-align:center;
  margin-bottom:34px;
}
.grandia-concept__header-jp{
  margin:0 0 2px;
  font-size:1.5rem;
  line-height:1.4;
  color:#6d8188;
  letter-spacing:0.14em;
  font-weight:700;
  font-family: sans-serif;
}
.grandia-concept__header-en{
  margin:0;
  font-size:4.5rem;
  line-height:1.1;
  color:#6d8188;
  letter-spacing:0.08em;
  font-family:"Times New Roman",serif;
}
.grandia-concept__header-copy{
  margin:22px 0 0;
  font-size:4.5rem;
  line-height:1.8;
  letter-spacing:0.18em;
  font-weight:400;
  color:#1e1e1e;
}
.grandia-concept__main-visual{
  position:relative;
  width:860px;
  max-width:100%;
  margin:0 auto 120px;
  overflow:hidden;
}
.grandia-concept__main-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit: contain;
}
.grandia-concept__movie-play{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 72px;
    transform: translate(-50%, -50%);
    border: none;
    background: unset;
    /* border-radius: 12px; */
    cursor: pointer;
    padding: 0;
    filter: drop-shadow(2px 4px 6px black);
}
.grandia-concept__movie-play-triangle{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-40%,-50%);
  width:0;
  height:0;
  border-top:11px solid transparent;
  border-bottom:11px solid transparent;
  border-left:16px solid #ffffff;
}
.grandia-concept__main-visual {
    position: relative;
    width: 100%;
    /* 動画の比率（16:9）に合わせて高さを自動計算 */
    aspect-ratio: 16 / 9; 
    background: #000; /* 動画読み込み中の背景色 */
}

/* 動画エリアを絶対配置で重ねる */
.grandia-concept__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grandia-concept__video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 黒帯が出ても全体を見せる（隙間なくならcover） */
}

/* ★再生が始まったら画像とボタンを消す設定 */
.is-playing .grandia-concept__cover-img,
.is-playing .grandia-concept__movie-play {
    display: none;
}
.grandia-concept__sections{
  display:flex;
  flex-direction:column;
  gap:100px;
}
.grandia-feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  column-gap:28px;
  position:relative;
  overflow:visible;
}
.grandia-feature--reverse .grandia-feature__media{
  order:2;
}
.grandia-feature--reverse .grandia-feature__content{
  order:1;
}
.grandia-feature__media{
  width:100%;
  position:relative;
  z-index:1;
}
.grandia-feature__media img{
  display:block;
  width:100%;
  height:auto;
}
.grandia-feature__media--small{
  max-width:430px;
  margin-left:auto;
}
.grandia-feature__content{
  position:relative;
  min-width:0;
  z-index:2;
}
.grandia-feature__content--left{
  justify-self:end;
  width:max-content;
  max-width:none;
  margin-left:-240px;
  padding-left:0;
  padding-right:12px;
  text-align:right;
}
.grandia-feature__content--right{
  width:max-content;
  max-width:none;
  margin-right:auto;
  padding-left:12px;
  padding-right:0;
  text-align:left;
}
.grandia-feature__script{
  /* position:absolute;
  font-family:"Times New Roman",serif;
  font-style:italic;
  font-size:64px;
  line-height:1;
  color:rgba(255,255,255,0.82);
  pointer-events:none;
  white-space:nowrap; */
}
.grandia-feature__script img{
  width: 100%;
  max-width: 320px;
}
.grandia-feature__content--right .grandia-feature__script{
    top: -40px;
    right: -180px;
    z-index: -1;
      display: block;
    position: relative;
}
.grandia-feature__content--left .grandia-feature__script{
    top: -42px;
    left: 0px;
    z-index: -1;
          display: block;
    position: relative;
}
.grandia-feature img{
  width: 100%;
}
.grandia-feature__kicker{
  margin:0 0 2px;
  font-size:18px;
  line-height:1.8;
  letter-spacing:0.1em;
  color:#231815;
}
.grandia-feature__subhead{
  margin:0 0 -10px;
  font-size:14px;
  line-height:1.8;
  letter-spacing:0.08em;
  color:#1f1f1f;
  font-weight:700;
  white-space:nowrap;
}
.grandia-feature__subhead strong{
  font-size:26px;
  line-height:1;
  font-weight:400;
  font-family: "dnp-shuei-mincho-pr6n", sans-serif;
}
.grandia-feature__title{
  margin:0 0 12px;
  font-size:2.5rem;
  line-height:1.55;
  letter-spacing:0.08em;
  color:#1a1a1a;
  font-weight:400;
  white-space:nowrap;
}
.grandia-feature__title strong{
  font-size:5rem;
  line-height:1;
  font-weight:400;
  font-family: "dnp-shuei-mincho-pr6n", sans-serif;
}
.grandia-feature__title--lead{
  font-size:2.5rem;
  line-height:1.7;
}
.grandia-feature__desc{
  margin:0;
  font-size:1.5rem;
  line-height:2.15;
  letter-spacing:0.06em;
  color:#231815;
  white-space:nowrap;
}
.grandia-feature__btn{
    width: 100% !important;
    max-width: 350px !important;
    /* height: 24px; */
    margin-top: 16px;
    display: block !important;
}
.grandia-feature__btn-icon{
  display:inline-block;
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid #fff;
}
.grandia-concept__note{
  margin:18px 0 0;
  font-size:9px;
  line-height:1.8;
  color:#231815;
  letter-spacing:0.03em;
}
.grandia-feature--position .grandia-feature__media{
  max-width:490px;
}
.grandia-feature--position .grandia-feature__content{
  padding-top:8px;
}
.grandia-feature--location{
  margin-top:0;
}
.grandia-feature--location .grandia-feature__media{
  max-width:500px;
  margin-left:auto;
}
.grandia-feature--location .grandia-feature__content{
  margin-left:-300px;
}
.grandia-feature--equipment .grandia-feature__media{
  max-width:490px;
}
.grandia-feature--equipment .grandia-feature__content{
  width:max-content;
  max-width:none;
}
.grandia-feature--security .grandia-feature__media{
  max-width:500px;
  margin-left:auto;
}
.grandia-feature--security .grandia-feature__content{
  margin-left:-220px;
  padding-right:22px;
}
.grandia-feature--security .grandia-feature__title{
  font-size:2.5rem;
  line-height:1.8;
}
.grandia-feature--owner .grandia-feature__media{
  max-width:500px;
}
.grandia-feature--owner .grandia-feature__content{
  width:max-content;
  max-width:none;
  padding-left:22px;
}
.grandia-feature--owner .grandia-feature__title{
  font-size:2.5rem;
  line-height:1.8;
}
.grandia-feature__content--left .grandia-feature__kicker,
.grandia-feature__content--left .grandia-feature__title,
.grandia-feature__content--left .grandia-feature__desc,
.grandia-feature__content--left .grandia-feature__btn{
  display:block;
  width:max-content;
  max-width:none;
  margin-left:auto;
}
.grandia-feature__content--left .grandia-feature__btn{
  display:inline-flex;
}
.mb0{
  margin-bottom:0;
}
@media screen and (max-width:1024px){
  .grandia-concept{
    padding:28px 0 40px;
    overflow:hidden;
  }
  .grandia-concept__bg-band{
    width:150px;
  }
  .grandia-concept__header-copy{
    font-size:24px;
  }
  .grandia-feature{
    grid-template-columns:1fr;
    row-gap:24px;
  }
  .grandia-feature--reverse .grandia-feature__media,
  .grandia-feature--reverse .grandia-feature__content{
    order:initial;
  }
  .grandia-feature__media,
  .grandia-feature--position .grandia-feature__media,
  .grandia-feature--location .grandia-feature__media,
  .grandia-feature--equipment .grandia-feature__media,
  .grandia-feature--owner .grandia-feature__media,
  .grandia-feature__media--small{
    max-width:100%;
    margin-left:0;
  }
  .grandia-feature__content,
  .grandia-feature--location .grandia-feature__content,
  .grandia-feature--equipment .grandia-feature__content,
  .grandia-feature--security .grandia-feature__content,
  .grandia-feature--owner .grandia-feature__content{
    width:auto;
    max-width:100%;
    margin-left:0;
    margin-right:0;
    padding:0;
    text-align:left;
    justify-self:stretch;
  }
  .grandia-feature__script{
    font-size:54px;
  }
  .grandia-feature__content--right .grandia-feature__script,
  .grandia-feature__content--left .grandia-feature__script{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    display:block;
    margin-bottom:10px;
  }
  .grandia-feature__title,
  .grandia-feature__desc,
  .grandia-feature__subhead{
    white-space:normal;
  }
  .grandia-feature__content--left .grandia-feature__kicker,
  .grandia-feature__content--left .grandia-feature__title,
  .grandia-feature__content--left .grandia-feature__desc,
  .grandia-feature__content--left .grandia-feature__btn{
    width:auto;
    max-width:100%;
    margin-left:0;
  }
  .grandia-concept__sections{
    gap:80px;
  }
  .grandia-feature__media img{
    margin-left: -16px;
    width: 85%;
  }
  .grandia-feature--reverse img{
    margin-left: auto;
    margin-right: -16px;
  }
}
@media screen and (max-width:767px){
  .grandia-concept__inner{
    padding:0 16px;
  }
  .grandia-concept__bg-band{
    top:90px;
    width:250px;
    opacity: 0.7;
  }
  .grandia-concept__top-btn{
    width:100%;
    margin: 50px auto;
  }
  .grandia-concept__header{
    margin-bottom:26px;
  }
  .grandia-concept__header-jp{
    font-size:1.5rem;
  }
  .grandia-concept__header-en{
    font-size:4rem;
  }
  .grandia-concept__header-copy{
    margin-top:16px;
    font-size:2.3rem;
    line-height:1.8;
    letter-spacing:0.08em;
  }
  .grandia-concept__main-visual{
    margin-bottom:100px;
  }
  .grandia-concept__movie-play{
    width:58px;
    height:42px;
  }
  .grandia-feature__script{
        position: absolute;
        width: 210px;
        right: -50px;
        top: -40px;
  }
  .grandia-feature__kicker{
    font-size:15px;
  }
  .grandia-feature__subhead{
    font-size:13px;
  }
  .grandia-feature__subhead strong{
    font-size:20px;
  }
  .grandia-feature__title{
    font-size:24px;
    line-height:1.6;
    font-weight: 600;
  }
  .grandia-feature__title strong{
    font-size:40px;
  }
  .grandia-feature__title--lead,
  .grandia-feature--security .grandia-feature__title,
  .grandia-feature--owner .grandia-feature__title{
    font-size:22px;
  }
  .grandia-feature__desc{
    font-size:11px;
    line-height:2;
  }
  .grandia-feature__btn{
    max-width: 250px !important;
  }
  .grandia-feature__btn img{
      margin: auto;
  }
  .grandia-concept__note{
    font-size:8px;
  }
  .grandia-feature__content--left{
    width: 85%!important;
    margin-left: auto!important;
  }
  .grandia-feature--reverse .grandia-feature__script{
        position: absolute;
        width: 210px;
        left: -50px;
        top: -40px;
  }
}

.grandia-outline{
    padding:120px 0;
    background: linear-gradient(90deg,rgba(144, 148, 138, 1) 0%, rgba(148, 158, 162, 1) 100%);

}
.grandia-outline__inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 75px;
    background: #fff;
}
.grandia-outline__header{
    text-align:center;margin-bottom:80px;
}
.grandia-outline__jp{
    margin: 0 0 2px;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #6d8188;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-family: sans-serif;
}
.grandia-outline__en{
    font-size:4.5rem;letter-spacing:0.15em;color:#7c8b93;font-family:"Times New Roman",serif;margin-bottom:30px;
}
.grandia-outline__lead{
    font-size:2.2rem;line-height:2;margin-bottom:25px;
}
.grandia-outline__desc{
    font-size:1.4rem;line-height:2.4;color:#555;
}
.grandia-outline__desc b{
    font-size: 3rem;
}
.outline-block{margin-top:80px;}
.outline-block__title{
    text-align:center;color:#fff;font-size:1.6rem;letter-spacing:0.1em;padding:12px 0;margin-bottom:20px;font-family:"Times New Roman",serif;
}
.outline-block__title span{
    font-size:1.2rem;margin-left:10px;
}

.outline-block--gold .outline-block__title{background:#aa8546;}
.outline-block--dark .outline-block__title{background:#201513;}
.outline-block--gray .outline-block__title{background:#8b8375;}

.outline-block__images{
    display:flex;gap:15px;
}
.outline-block__images img{
    width:25%;height:220px;object-fit:cover;
}

.outline-block__note{
    font-size:1.1rem;color:#666;margin-top:10px;
}
.grandia-outline-copy{
  text-align:center;
  margin:0 auto 44px;
}
.grandia-outline-copy__line{
  margin:0;
  color:#74848f;
  font-size:3.5rem;
  line-height:1.45;
  letter-spacing:0.04em;
  font-weight:700;
}
.grandia-outline-copy__cross{
  position:relative;
  width:58px;
  height:58px;
  margin:2px auto 2px;
}
.grandia-outline-copy__cross::before,
.grandia-outline-copy__cross::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:2px;
  height:58px;
  background:#74848f;
  transform-origin:center;
}
.grandia-outline-copy__cross::before{
  transform:translate(-50%,-50%) rotate(45deg);
}
.grandia-outline-copy__cross::after{
  transform:translate(-50%,-50%) rotate(-45deg);
}
.outline-block__images{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:14px;
}
.outline-block__image{
  width:100%;
}
.outline-block__image img{
  display:block;
  width:100%;
  height:stretch;
  object-fit:cover;
}
@media screen and (max-width:767px){
  .grandia-outline{
    padding: 30px 0;
  }
  .grandia-outline__inner{
    padding: 60px 16px;
  }
  .grandia-outline-copy{
    margin-bottom:28px;
  }
  .grandia-outline-copy__line{
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .grandia-outline-copy__cross{
    width:33px;
    height:33px;
    margin:10px auto 12px;
  }
  .grandia-outline-copy__cross::before,
  .grandia-outline-copy__cross::after{
    height:33px;
  }
  .outline-block__images{flex-wrap:wrap;}
  .outline-block__images img{width:100%;}
  .grandia-outline__desc b {
    font-size: 1.8rem;
    display: block;
  }
  .outline-block__images {
      grid-template-columns: repeat(3, 1fr); 
      gap: 10px;
  }
  .outline-block__image--lg {
      grid-column: 1 / 4;
  }
  .outline-block__image--sm img {
      aspect-ratio: 3 / 4;
  }
  .outline-block__title{
    margin-bottom: 0;
  }
}
/*空室情報*/
.grandia-vacancy{
  padding:30px 0 70px;
  background:#fff;
}
.grandia-vacancy__inner{
  margin:0 auto;
  padding:0 20px;
  width: 100%;
}
.grandia-vacancy__title{
  margin:0 0 50px;
  padding-bottom:15px;
  text-align:center;
  color:#6d8188;
  font-size:3rem;
  line-height:1.2;
  letter-spacing:0.1em;
  font-weight:700;
  border-bottom:1px solid #6d8188;
  font-family: sans-serif;
}
.grandia-vacancy__table-wrap{
  overflow-x:auto;
  cursor: grab;
}
.vacancy-table{
  width:100%;
  min-width:1180px;
  border-collapse:collapse;
  table-layout:fixed;
  background:#fff;
}
.plan-item{
      margin: 0 calc(50% - 28vw);
    width: 70vw;
}
.col-floor{
  width:46px;
}
.col-unit{
  width:88px;
}
.vacancy-table th,
.vacancy-table td{
  border:2px solid #c9c9c9;
  text-align:center;
  vertical-align:middle;
  padding:0;
}
.floor-cell{
  font-size:1.5rem;
  line-height:1.2;
  font-weight:500;
  color:#231815;
  white-space:nowrap;
}
.diag-cell{
  position:relative;
}
.diag-cell::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom right, transparent 49.4%, #c9c9c9 50%, transparent 50.6%);
}
.unit-cell{
  background:#fff;
}
.unit-head{
  height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.2rem;
  line-height:1;
  letter-spacing:0.01em;
  font-weight:700;
  white-space:nowrap;
}
.unit-mid{
  display:flex;
  align-items:center;
  min-height:24px;
  padding:0;
  font-size:1.2rem;
  line-height:1.1;
  color:#231815;
  white-space:nowrap;
}
.unit-mid span{
  flex:1 1 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:2px 4px;
  box-sizing:border-box;
  text-align:center;
}
.unit-mid span:first-child{
  border-right:1px solid #c9c9c9;
}
.rent-cell{
  height:30px;
  background:#fbfbfb;
  font-size:1.2rem;
  line-height:1;
  color:#231815;
  font-weight:500;
  white-space:nowrap;
}
.entrance-cell{
  background:#fafafa;
  font-size:1.3rem;
  line-height:1.5;
  color:#333;
  letter-spacing:0.06em;
  font-weight:700;
}
.style-natural .unit-head{
  background:#aa8546;
}
.style-mono .unit-head{
  background:#201513;
}
.style-warm .unit-head{
  background:#8b8375;
}
.grandia-vacancy__footer{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-top:18px;
}
.grandia-vacancy__legend{
  display:flex;
  align-items:center;
  gap:34px;
  padding:10px 16px 8px;
}
.legend-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:1.3rem;
  line-height:1.4;
  color:#6d8188;
  font-weight:700;
  white-space:nowrap;
  font-family: sans-serif;
}
.legend-item::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  border-bottom:2px solid #9b9b9b;
}
.legend-color{
  width:28px;
  height:14px;
  display:inline-block;
  flex:0 0 auto;
}
.legend-color--natural{
  background:#aa8546;
}
.legend-color--mono{
  background:#201513;
}
.legend-color--warm{
  background:#8b8375;
}
.grandia-vacancy__note{
  margin:0;
  font-size:1.3rem;
  line-height:1.6;
  color:#333;
  white-space:nowrap;
}
@media screen and (max-width:1600px) {
  .plan-item {
    margin: 0 calc(50% - 35vw);
    width: 80vw;
  }
}
@media screen and (max-width:1500px) {
  .plan-item {
    margin: 0 calc(50% - 33vw);
  }
}
@media screen and (max-width:1200px) {
  .plan-item {
    margin: 0 calc(50% - 40vw);
    width: 100vw;
  }
}
@media screen and (max-width:980px) {
  .plan-item {
    margin: 0 calc(50% - 37vw);
    width: 115vw;
  }
}
@media screen and (max-width:767px){
  .grandia-vacancy{
    padding:60px 0 50px;
  }
  .grandia-vacancy__title{
    font-size:3.4rem;
    margin-bottom:18px;
  }
  .grandia-vacancy__footer{
        flex-direction: column-reverse;
        align-items: end;
  }
  .grandia-vacancy__legend{
    gap:10px;
    flex-wrap:wrap;
    padding: 10px 0;
  }
  .vacancy-table {
    width: 100%;
    min-width: 1100px;
  }
  .col-floor {
    width: 30px;
  }
  .floor-cell{
    font-size: 1.3rem;
  }
  .scroll-hint-shadow-wrap {
      position: relative;
      margin: 0 calc(62% - 50vw);
      width: 90vw;
  }
  .legend-color {
    width: 15px;
  }
  .legend-item {
    gap: 8px;
    font-size: 1.2rem;
  }
  .plan-item {
    margin: 0 calc(50% - 45vw);
    width: 150vw;
  }
}

/*設備仕様*/
.grandia-spec{
  padding:30px 0 80px;
  background:#fff;
}
.grandia-spec__inner{
  max-width:1220px;
  margin:0 auto;
  padding:0 20px;
}
.grandia-spec__title{
    margin: 0 0 50px;
    padding-bottom: 15px;
    text-align: center;
    color: #6d8188;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-bottom: 1px solid #6d8188;
    font-family: sans-serif;
}
.grandia-spec__group{
  margin-top:46px;
}
.grandia-spec__group--common{
  margin-top:58px;
}
.grandia-spec__bar{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  margin-bottom:24px;
  background: linear-gradient(90deg,rgba(106, 117, 107, 1) 0%, rgba(109, 129, 136, 1) 100%);
  color:#fff;
  font-size:2.2rem;
  line-height:1.4;
  letter-spacing:0.12em;
  font-weight:500;
}
.grandia-spec__grid{
  display:grid;
}
.grandia-spec__grid--photo{
  grid-template-columns:repeat(4, 1fr);
  gap:34px 34px;
}
.grandia-spec__grid--icon{
  grid-template-columns:repeat(5, 1fr);
  gap:34px 34px;
}
.spec-card{
  min-width:0;
}
.spec-card__image{
  background:#fff;
}
.spec-card__image img{
  display:block;
  width:100%;
  aspect-ratio:1.32 / 1;
  object-fit:cover;
}
.spec-card__iconbox{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1 / 1;
  background:#e6e8ec;
  padding:22px;
  box-sizing:border-box;
}
.spec-card__iconbox img{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.spec-card__label{
  margin:12px 0 0;
  font-size:1.3rem;
  line-height:1.7;
  letter-spacing:0.04em;
  color:#231815;
  font-weight:700;
}
.grandia-spec__note{
  margin:28px 0 0;
  font-size:1.3rem;
  line-height:1.8;
}
@media screen and (max-width:1024px){
  .grandia-spec__title{
    font-size:4rem;
  }
  .grandia-spec__grid--photo{
    grid-template-columns:repeat(2, 1fr);
  }
  .grandia-spec__grid--icon{
    grid-template-columns:repeat(3, 1fr);
  }
}
@media screen and (max-width:767px){
  .grandia-spec{
    padding:60px 0 50px;
  }
  .grandia-spec__inner{
    padding:0 16px;
  }
  .grandia-spec__title{
    margin-bottom:24px;
    font-size:3.2rem;
    padding-bottom:10px;
  }
  .grandia-spec__group{
    margin-top:34px;
  }
  .grandia-spec__group--common{
    margin-top:42px;
  }
  .grandia-spec__bar{
    min-height:42px;
    margin-bottom:18px;
    font-size:1.8rem;
  }
  .grandia-spec__grid--photo,
  .grandia-spec__grid--icon{
    grid-template-columns:repeat(2, 1fr);
    gap:22px 14px;
  }
  .grandia-spec__grid--icon{
    grid-template-columns:repeat(3, 1fr);
    gap: 10px;
  }
  .spec-card__label{
    margin-top:8px;
    font-size:1rem;
    line-height:1.6;
  }
  .grandia-spec__note{
    margin-top:22px;
    font-size:1.1rem;
  }
  .spec-card__iconbox{
    padding: 20px 10px;
  }
}

/*アウトライン情報*/
.g-outline{
  padding:30px 0 70px;
  background:#fff;
}
.g-outline__inner{
  max-width:1200px;
  margin:0 auto;
  padding:0;
}
.g-outline__title{
    margin: 0 0 50px;
    padding-bottom: 15px;
    text-align: center;
    color: #6d8188;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-bottom: 1px solid #6d8188;
}
.g-outline__wrap{
  display:flex;
  gap:30px;
  align-items:flex-start;
}
.g-outline__table{
  flex:1;
}
.g-outline__row{
  display:flex;
  gap:30px;
  margin-bottom:5px;
}
.g-outline__row dt{
  width:150px;
  flex:0 0 150px;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  font-size:1.5rem;
  line-height:1.9;
  letter-spacing:0;
}

.g-outline__row dt span{
  display:block;
}
.g-outline__row dd{
  flex:1;
  font-size:1.5rem;
  line-height:1.9;
}
.g-outline__image{
  /* width:540px; */
  flex:1;
  flex-shrink:0;
}
.g-outline__image img{
  width:100%;
  display:block;
}
.g-outline__bottom{
  margin-top:40px;
}
.g-outline__row--full dt{
  width:140px;
}
.g-outline__row--full dd{
  font-size:1.7rem;
  line-height:2;
}

/* SP */
@media screen and (max-width:768px){
  .g-outline__wrap{
    flex-direction:column;
    gap: 10px;
    width: 100%;
  }
  .g-outline__image{
    width:100%;
  }
  .g-outline__row{
    gap:25px;
  }
  .g-outline__row dt{
    width:auto;
    flex: 0 0 100px;
    font-size: 1.3rem;
    font-weight: 600;
  }
  .g-outline__row dd{
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0;
  }
}

/*周辺環境*/
.g-location{
  padding:90px 0 80px;
  background:#fff;
}
.g-location__inner iframe{
  height: 400px;
}
.g-location__inner{
  max-width:1050px;
  margin:0 auto;
  padding:0;
}
.g-location__header{
  text-align:center;
  margin-bottom:34px;
}
.g-location__jp{
    margin: 0 0 2px;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #6d8188;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-family: sans-serif;
}
.g-location__en{
    font-size: 4.5rem;
    letter-spacing: 0.15em;
    color: #7c8b93;
    font-family: "Times New Roman", serif;
    margin-bottom: 30px;
}
.g-location__legend{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:26px;
  margin-bottom:34px;
      margin-top: 15px
}
.g-location__legend-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#333;
  font-size:1.6rem;
  line-height:1.4;
  font-weight:700;
}
/* 共通設定 */
.g-location__legend-icon {
    display: inline-block;
    width: 24px;  /* 画像の幅に合わせて調整 */
    height: 24px; /* 画像の高さに合わせて調整 */
    vertical-align: middle;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 各アイコンの画像指定 */
.g-location__legend-icon--super {
    background-image: url("../img/map_icon_01.png");
}

.g-location__legend-icon--conveni {
    background-image: url("../img/map_icon_02.png");
}

.g-location__legend-icon--school {
    background-image: url("../img/map_icon_03.png");
}

.g-location__legend-icon--hospital {
    background-image: url("../img/map_icon_04.png");
}

.g-location__legend-icon--bank {
    background-image: url("../img/map_icon_05.png");
}

.g-location__legend-icon--sport {
    background-image: url("../img/map_icon_06.png");
}
.g-location__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:34px 34px;
}
.g-location-card{
  min-width:0;
}
.g-location-card__link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.g-location-card__image{
  overflow:hidden;
  background:#ddd;
}
.g-location-card__image img{
  display:block;
  width:100%;
  aspect-ratio:1.5 / 1;
  object-fit:cover;
}
.g-location-card__name{
  margin:12px 0 2px;
  color:#231815;
  font-size:1.5rem;
  line-height:1.65;
  font-weight:700;
}
.g-location-card__meta{
  margin:0;
  color:#231815;
  font-size:1.5rem;
  line-height:1.65;
  font-weight:500;
}
.g-location__note{
  margin:28px 0 0;
  color:#231815;
  font-size:1.2rem;
  line-height:1.8;
}
@media screen and (max-width:900px){
  .g-location__grid{
    grid-template-columns:repeat(2, 1fr);
    gap:26px 18px;
  }
}
@media screen and (max-width:767px){
  .g-location{
    padding:60px 0 50px;
  }
  .g-location__inner{
    padding:0 16px;
  }
  .g-location__inner iframe{
    height: 300px;
  }
  .g-location__header{
    margin-bottom:24px;
  }
  .g-location__jp{
    font-size:1.5rem;
  }
  .g-location__en{
    font-size:4.2rem;
  }
  .g-location__legend{
    flex-wrap:wrap;
    gap:14px 18px;
    margin-bottom:26px;
  }
  .g-location__legend-item{
      font-size: 1rem;
      letter-spacing: 0px;
      gap: 2px;
  }
  .g-location__grid{
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .g-location-card__name,
  .g-location-card__meta{
    font-size:1.4rem;
  }
  .g-location__note{
    margin-top:22px;
    font-size:1.1rem;
  }
}

/*取り扱い店舗*/
.g-retailer{
  padding:90px 0 80px;
  background:#fff;
}
.g-retailer__inner{
  max-width:1040px;
  margin:0 auto;
  padding:0 20px;
}
.g-retailer__header{
  text-align:center;
  margin-bottom:34px;
}
.g-retailer__jp{
margin: 0 0 2px;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #6d8188;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-family: sans-serif;
}
.g-retailer__en{
    font-size: 4.5rem;
    letter-spacing: 0.15em;
    color: #6d8188;
    font-family: "Times New Roman", serif;
    margin-bottom: 30px;
}
.g-retailer__lead{
  margin:26px 0 0;
  color:#231815;
  font-size:1.8rem;
  line-height:1.8;
  font-weight:500;
}
.g-retailer__list{
  border-top:3px dotted #6d8188;
}
.g-retailer-card{
  display:grid;
  grid-template-columns:440px 1fr;
  gap:46px;
  padding:40px 0 36px;
  border-bottom:3px dotted #6d8188;
}
.g-retailer-card__image img{
  display:block;
  width:100%;
  aspect-ratio:1.57 / 1;
  object-fit:cover;
}
.g-retailer-card__content{
  position:relative;
  padding-top:46px;
}
.g-retailer-card__map{
  position:absolute;
  top:0;
  right:0;
  display:block;
  width:108px;
}
.g-retailer-card__map img{
  display:block;
  width:100%;
  height:auto;
}
.g-retailer-card__name{
  margin:0 0 18px;
  color:#231815;
  font-size:2.4rem;
  line-height:1.6;
  font-weight:500;
}
.g-retailer-card__text{
  margin:0 0 6px;
  color:#231815;
  font-size:1.7rem;
  line-height:1.75;
  font-weight:500;
}
@media screen and (max-width:900px){
  .g-retailer-card{
    grid-template-columns:1fr;
    gap:24px;
  }
  .g-retailer-card__content{
    padding-top:0;
  }
  .g-retailer-card__map{
    position:relative;
    top:auto;
    right:auto;
    margin:0 0 18px auto;
  }
}
@media screen and (max-width:767px){
  .g-retailer{
    padding:60px 0 50px;
  }
  .g-retailer__inner{
    padding:0 16px;
  }
  .g-retailer__header{
    margin-bottom:24px;
  }
  .g-retailer__jp{
    font-size:1.5rem;
  }
  .g-retailer__en{
    font-size:4.2rem;
  }
  .g-retailer__lead{
    margin-top:18px;
    font-size:1.5rem;
    line-height:1.8;
  }
  .g-retailer__list{
    border-top:2px dotted #8b969c;
  }
  .g-retailer-card{
    gap:18px;
    padding:26px 0 24px;
    border-bottom:2px dotted #8b969c;
  }
  .g-retailer-card__map{
    width: 92px;
    margin: auto;
    bottom: 0;
    top: unset;
    position: absolute;
    right: 0;
  }
  .g-retailer-card__name{
    margin-bottom: 12px;
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
  }
  .g-retailer-card__text{
    font-size:1.5rem;
    line-height:1.7;
  }
}

/*お問い合せフォーム*/
fieldset {
    border: unset;
}
.contact{
    background-color: #fff;
}
/* ラジオボタンの塊を横並びにする */
.grandia-contact__body--radio .mwform-ctrl-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px; /* 縦横の隙間 */
}

/* --- MW WP Form ラジオボタン 共通設定 --- */
.grandia-contact__body--radio {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* MW WP Formの各アイテム（スパンタグ） */
.grandia-contact__body--radio .mwform-checkbox-field {
  display: block;
  width: 45%;
  margin: 0!important;
  box-sizing: border-box;
}

/* ラベルの設定 */
.grandia-contact__body--radio .mwform-checkbox-field label {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 28px; /* 左側にチェック用の余白 */
  font-size: 1.6rem;
  line-height: 1.6;
  color: #231815;
  cursor: pointer;
  font-family: sans-serif;
}

/* 本物のラジオボタン（input）を隠す */
.grandia-contact__body--radio input[type="checkbox"] {
  display: none;
}

/* 外枠の丸を作成（label::before） */
.grandia-contact__body--radio .mwform-checkbox-field label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #231815;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

/* チェックが入った時の中の点を作成（mwform-radio-field-text::after） */
/* ※MW WP Formはinputの直後にspanが来るのでそこを起点にします */
.grandia-contact__body--radio input[type="checkbox"]:checked + .mwform-checkbox-field-text::after {
  content: "";
  position: absolute;
  left: 4px; /* 親ラベルのpadding-left分を考慮した位置 */
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #231815;
  border-radius: 50%;
}


.wpcf7-list-item-label{
    font-family: sans-serif;
}
.screen-reader-response{
    display: none;
}
.grandia-contact{
  max-width:1080px;
  margin:0 auto;
  padding:88px 20px 120px;
}
.grandia-contact__heading{
  text-align:center;
  margin-bottom:54px;
}
.grandia-contact__heading-ja{
    margin: 0 0 2px;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #6d8188;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-family: sans-serif;
}
.grandia-contact__heading-en{
    font-size: 4.5rem;
    letter-spacing: 0.15em;
    color: #7c8b93;
    font-family: "Times New Roman", serif;
    margin-bottom: 30px;
}
.grandia-contact__table{
  max-width:900px;
  margin:0 auto;
}
.grandia-contact__row{
  display:grid;
  grid-template-columns:220px 1fr;
  column-gap:16px;
  margin-bottom:4px;
}
.grandia-contact__head{
  position:relative;
  background:#e6e8ec;
  min-height:78px;
  padding:0 18px;
  display:flex;
  align-items:center;
  box-sizing:border-box;
}
.grandia-contact__required{
  position:absolute;
  top:0;
  right:0;
  width:74px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#7a8c95;
  color:#fff;
  font-size:1.3rem;
  line-height:1;
  letter-spacing:0.12em;
  font-family: sans-serif;
  font-weight:700;
}
.grandia-contact__label{
  font-size:1.7rem;
  line-height:1.6;
  letter-spacing:0.06em;
  color:#231815;
  font-weight:700;
  font-family: sans-serif;
}
.grandia-contact__body{
  background:#e6e8ec;
  min-height:78px;
  padding:18px;
  display:flex!important;
  align-items:center;
  box-sizing:border-box;
    width: 100%;
    display: block;
    font-size: 1.5rem;
    font-family: sans-serif;
    font-weight: 700;
}
.grandia-contact__row--textarea .grandia-contact__head{
  align-items:flex-start;
  padding-top:15px;
  padding-bottom: 15px;
  min-height:156px;
}
.grandia-contact__row--textarea .grandia-contact__body{
  align-items:flex-start;
  min-height:156px;
}
.grandia-contact__head--textarea{
  display:block;
}
.grandia-contact__subtext{
  margin:6px 0 0;
  font-size:1.2rem;
  line-height:2;
  letter-spacing:0.04em;
  color:#231815;
  font-weight:700;
  font-family: sans-serif;
}
.grandia-contact .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}
.grandia-contact__input,
.grandia-contact__textarea{
  width:100%;
  border:1px solid #666;
  border-radius:0;
  background:#fff;
  color:#231815;
  box-sizing:border-box;
  -webkit-appearance:none;
  appearance:none;
}
.grandia-contact__input{
  height:42px;
  padding:0 12px;
  font-size:1.6rem;
}
.grandia-contact__textarea{
  height:118px;
  padding:10px 12px;
  font-size:1.6rem;
  resize:vertical;
}
/* --- CF7のサイズ強制解除 --- */
.grandia-contact .wpcf7-form-control-wrap{
  display:block !important;
  width:100% !important;
}

/* input / textarea 全部 */
.grandia-contact input[type="text"],
.grandia-contact input[type="email"],
.grandia-contact input[type="tel"],
.grandia-contact textarea{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
}

/* 念押し */
.grandia-contact__input,
.grandia-contact__textarea{
  width:100% !important;
  max-width:none !important;
}
.grandia-contact__body--radio{
  align-items:center;
}
.grandia-contact__body--radio .wpcf7-form-control{
  display:flex;
  flex-wrap:wrap;
  width:100%;
  margin:0;
}
.grandia-contact__body--radio .wpcf7-list-item{
  display:block;
  width:50%;
  margin:0 0 10px;
}
.grandia-contact__body--radio .wpcf7-list-item:nth-last-child(-n+2){
  margin-bottom:0;
}
.grandia-contact__body--radio .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:1.6rem;
  line-height:1.6;
  color:#231815;
  cursor:pointer;
}
/* 元のradio消す */
.grandia-contact__body--radio input[type="radio"]{
  display:none;
}

/* ラベルを基準にする */
.grandia-contact__body--radio .wpcf7-list-item label{
  position:relative;
  padding-left:28px;
  cursor:pointer;
}

/* 外枠 */
.grandia-contact__body--radio .wpcf7-list-item label::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  border:2px solid #231815; /* ←太さここ */
  border-radius:50%;
  background:#fff;
}

/* 中の● */
.grandia-contact__body--radio input[type="radio"]:checked + span::after{
  content:"";
  position:absolute;
  left:4px;
  top:50%;
  transform:translateY(-50%);
  width:14px;
  height:14px;
  background:#231815;
  border-radius:50%;
}
.grandia-contact__privacy{
  margin:52px 0 34px;
  text-align:center;
  font-size:1.4rem;
  line-height:2;
  letter-spacing:0.04em;
  color:#231815;
}
.mw_wp_form_confirm .grandia-contact__privacy{
  display: none;
}
.grandia-contact__privacy a{
  color:#231815;
  text-decoration:underline;
}
/* --- 送信ボタン (CSS背景画像で実装) --- */
.grandia-contact__submit {
  text-align: center;
  margin-top: 40px;
}

.grandia-contact__submit-image {
  display: inline-block;
  width: 272px; /* 画像の横幅 */
  height: 64px;  /* 画像の縦幅に合わせて調整 */
  padding: 0 !important;
  border: none !important;
  cursor: pointer;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none;
  
  /* ★背景画像の設定 */
  background-image: url("/wp-content/themes/original/img/contact-btn.svg") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
  
  /* ★元々のテキスト（送信する）を隠す */
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0;
}

.grandia-contact__submit-image:hover {
  opacity: 0.8;
}

/* --- MW WP Form ラジオボタン 修正版 --- */
.grandia-contact__body--radio {
  display: flex!important;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

/* MW WP Form特有のスパンタグ */
.grandia-contact__body--radio .mwform-radio-field {
  display: block;
  width: 45%;
  margin: 5px 0;
  box-sizing: border-box;
}
.grandia-contact__back-btn {
background: #ccc;
    border: none;
    padding: 0px 30px 10px;
    cursor: pointer;
    font-weight: bold;
    max-width: 270px;
    width: 100%;
    margin-bottom: 30px;
    filter: drop-shadow(1px 1px 2px black);
}
.grandia-contact__body--radio .mwform-radio-field label {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px; /* チェックマーク用の余白 */
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #231815;
  font-family: sans-serif;
}
.mwform-tel-field{
    display: flex;
    width: 70%;
    align-items: center;
    gap: 5px;
}
.mw_wp_form .error {
    display: block;
    padding-left: 5px;
    width: 105px;
}
.mw_wp_form .grandia-contact__agree .error {
    display: block;
    padding-left: 5px;
    position: absolute;
    font-size: 1.5rem!important;
    width: auto!important;
    font-weight: bold;
    font-family: sans-serif;
}
.confirm-text button{
      cursor: auto;
    border: unset;
    background: #fff;
    text-align: center;
    margin: auto;
    display: block;
    padding-bottom: 50px;
    font-size: 2rem;
    color: red;
}
.grandia-contact__agree{
      margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 2rem;
}
.grandia-contact__agree span.mwform-checkbox-field.horizontal-item {
    font-size: 2rem;
    font-family: monospace;
    font-weight: 600;
    background: #eace76;
    padding: 30px;
    max-width: 900px;
    width: 100%;
}
.mwform-checkbox-field input, .mwform-radio-field input,
.mwform-checkbox-field label, .mwform-radio-field label{
  cursor: pointer;
}
/* 本物のラジオボタンを隠す */
.grandia-contact__body--radio input[type="checkbox"] {
  display: none !important;
}

/* 外枠（丸） */
.grandia-contact__body--radio .mwform-checkbox-field label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #231815;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

/* 中の●（チェック時） */
.grandia-contact__body--radio input[type="checkbox"]:checked + .mwform-checkbox-field-text::after {
  content: "";
  position: absolute;
  left: 5px; /* 親のpadding-leftとの兼ね合い */
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #231815;
  border-radius: 50%;
}
/* 無効化されている時のスタイル */
.grandia-contact__submit-image.is-disabled {
    cursor: not-allowed;
    filter: grayscale(100%); /* 完全に白黒にしたい場合はこれも追加 */
    transition: all 0.3s ease;
}

/* アクティブな時のスタイル */
.grandia-contact__submit-image {
    transition: all 0.3s ease;
}
/* --- レスポンシブ (スマホ) --- */
@media screen and (max-width: 767px) {
  .grandia-contact__submit-image {
    width: 100%;
    max-width: 320px;
  }
  
  .grandia-contact__body--radio .mwform-radio-field {
    width: 48%;
    margin-bottom: 12px;
  }
  
  .grandia-contact__body--radio .mwform-radio-field label {
    font-size: 1.2rem;
  }
}
/* 1. 元のチェックボックス（青い枠）を物理的に消す */
.grandia-contact__agree .mwform-checkbox-field input[type="checkbox"] {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

/* 2. ラベル全体のレイアウト */
.grandia-contact__agree .mwform-checkbox-field label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
    padding-left: 45px; /* ボックスの幅(34px) + 余白(11px) */
    min-height: 34px;
}

/* 3. 外側の「太い黒枠」を作る */
.grandia-contact__agree .mwform-checkbox-field .mwform-checkbox-field-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;            /* サイズ：大きく */
    height: 25px;           /* サイズ：大きく */
    border: 4px solid #000; /* 枠線：太く黒く */
    background: #fff;       /* 中の色：白 */
    box-sizing: border-box;
}

/* 4. チェックが入った時の「太いレ点」を作る */
.grandia-contact__agree .mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 42%;
    width: 7px;
    height: 13px;
    border-right: 5px solid #000; /* レ点の太さ */
    border-bottom: 5px solid #000; /* レ点の太さ */
    transform: translateY(-50%) rotate(45deg); /* 斜めにしてレ点にする */
}

/* ホバー時に枠を少しグレーにする（任意） */
.mwform-checkbox-field label:hover::before {
    background: #f0f0f0;
}
@media screen and (max-width:767px){
  .grandia-contact{
    padding:60px 16px 80px;
  }
  .grandia-contact::before{
    margin-bottom:40px;
  }
  .grandia-contact__heading{
    margin-bottom:36px;
  }
  .grandia-contact__heading-ja{
    font-size:1.5rem;
  }
  .grandia-contact__heading-en{
    font-size:4.2rem;
  }
  .grandia-contact__row{
    grid-template-columns:1fr;
    row-gap:0px;
  }
  .grandia-contact__head{
    min-height:auto;
    padding:16px 14px;
  }
  .grandia-contact__body{
    min-height:auto;
    padding:0px 10px 10px;
  }
  .grandia-contact__row--textarea .grandia-contact__head{
    min-height:auto;
    padding-top:18px;
  }
  .grandia-contact__row--textarea .grandia-contact__body{
    min-height:auto;
  }
  .grandia-contact__label{
    font-size:1.6rem;
  }
  .grandia-contact__required{
    width:58px;
    height:24px;
    font-size:1.1rem;
  }
  .grandia-contact__body--radio .wpcf7-list-item{
    margin-bottom:8px;
  }
  .grandia-contact__privacy{
    margin:36px 0 24px;
    font-size:1.3rem;
  }
  .grandia-contact__submit-image img{
    width: 100%;
  }
}


/* --- Footer Section --- */
.main-footer {
    background: linear-gradient(90deg,rgba(144, 148, 138, 1) 0%, rgba(148, 158, 162, 1) 100%);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* ロゴとテキストの下揃え */
}

/* 左側：テキストエリア */
.footer-info {
    flex: 1;
}
.f-lead {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    font-family: sans-serif;
}
.f-store-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: baseline;
    gap: 20px;
    font-family: sans-serif;
}
.f-tel {
    font-size: 3.2rem; /* 電話番号を強調 */
    font-family: 'Arial', sans-serif;
}
.f-address {
    font-style: normal;
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
        font-family: sans-serif;
}

/* 右側：ロゴエリア */
.footer-logo {
    width: 300px;
    margin-bottom: 10px; /* 下部コピーライトとのバランス */
}
.footer-logo img {
    width: 100%;
    height: auto;
}

/* コピーライト */
.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 80px;
    padding-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* レスポンシブ */
@media screen and (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
    .f-store-name {
        flex-direction: column;
        gap: 5px;
    }
    .footer-container{
      padding: 0 30px;
    }
    .f-store-name{
      font-size: 2rem;
    }
    .f-tel {
      font-size: 2.8rem;
    }
    .footer-logo {
        width: 200px;
        margin: auto;
    }
    .footer-copyright {
        padding-top: 20px;
        font-size: 1rem;
    }
}



/* --- Room Type Section --- */
.room-type-section { padding: 100px 0; background-color: #fff; overflow: hidden; }
.room-carousel-container { width: 100%; margin: 0 auto; padding: 0; box-sizing: border-box; }
.room-carousel-header { text-align: center; border-bottom: 1px solid #6d8188; margin-bottom: 50px; padding-bottom: 15px; }
.room-carousel-header .section-title { font-size: 3rem; color: #6d8188; letter-spacing: 0.1em; margin: 0; font-family: sans-serif;}
.room-carousel-main { position: relative; padding: 0 60px; }
.room-slider-viewport { overflow: hidden; position: relative; }
.room-slider-inner { display: flex; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }

.room-item { flex: 0 0 25%; padding: 0px; box-sizing: border-box; cursor: pointer; background: #fff; opacity: 1; }

.room-header { background-color: #6d8188; color: #fff; padding: 5px 12px; font-size: 1.4rem; text-align: center; }
.room-img { border: 1px solid #ddd; border-top: none; height: auto; display: flex; align-items: center; justify-content: center; padding: 30px 20px 40px 20px; position: relative; background: #fff; }
.room-img img { width: 100%; object-fit: contain; }
.room-img::after { 
    content: ""; 
    background-image: url("../img/direction.svg");
    background-repeat: no-repeat;
    position: absolute; 
    bottom: 10px; right: 10px; font-size: 12px; width: 25px; height: 22px; display: flex; align-items: center; justify-content: center; }
.room-carousel-main{
  position:relative;
  padding:0 55px;
}
.room-slider-viewport{
  overflow:hidden;
}
.room-slider-inner{
  display:flex;
  gap:0px;
  transition:transform 0.35s ease;
}
.room-item{
  flex:0 0 calc((100% - 0px) / 4);
  cursor:pointer;
  background:#fff;
}
.room-header{
    background: #6d8188;
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.5;
    padding: 4px 3px;
}
.room-img{
  background:#fff;
  border:1px solid #cfcfcf;
  border-top:none;
  min-height: 200px;
}
.room-img img{
  display:block;
  width:100%;
  height:auto;
}
.nav-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:#6d8188;
  cursor:pointer;
  z-index:3;
}
.prev-btn{left:0;}
.next-btn{right:0;}
.nav-btn span,
.modal-nav span{
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:12px;
  border-top:3px solid #fff;
  border-right:3px solid #fff;
}
.prev-btn span,
.modal-prev span{
  transform:translate(-35%,-50%) rotate(-135deg);
}
.next-btn span,
.modal-next span{
  transform:translate(-65%,-50%) rotate(45deg);
}
.room-modal{
position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* JSの .is-open で制御 */
  
  /* ★ここを追加：中身を上下左右の真ん中に置く */
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.room-modal.is-open{
display: flex !important;
}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.58);
}
.modal-window{
  position:relative;
  width:min(100%, 810px);
  margin: 0;
  background:#fff;
  padding:50px 20px 18px;
  box-sizing:border-box;
  z-index:2;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close{
    display: block;
    position: absolute;
    top: -12px;
    right: 0px;
    border: none;
    background: none;
    font-size: 8rem;
    line-height: 1;
    color: #7b8d96;
    z-index: 999;
    cursor: pointer;
}
.modal-body{
  position:relative;
}
.modal-header{
  background:#7c8d96;
  color:#fff;
  text-align:center;
  padding:14px 20px 12px;
}
.modal-type{
  margin:0;
  font-size:3rem;
  line-height:1.2;
  font-weight:700;
  letter-spacing:0.06em;
}
.modal-plan{
  position: relative;
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: none;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}
.modal-plan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
}
.modal-plan-wrap{
  position:relative;
  margin:28px auto 24px;
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-plan-wrap img#modalImg{
  display:block;
  max-width:80%;
  width:auto;
  height:auto;
}
.modal-compass{
  position:absolute;
  right:6px;
  bottom:0;
  width:44px;
  height:auto;
}
.modal-nav{
  position:absolute;
  top:50%;
  width:42px;
  height:42px;
  margin-top:-21px;
  border:none;
  border-radius:50%;
  background:#6f818b;
  cursor:pointer;
  z-index:3;
}
.modal-prev{left:18px;}
.modal-next{right:18px;}
.modal-photos{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
  margin-top:8px;
}
.modal-photo{
  display:block;
  background:#fff;
  aspect-ratio:1 / 0.72;
  overflow:hidden;
}
.modal-photo img{
  display:block;
  width:100%;
  height:100%;
    object-fit: contain;
    background: #d3d9db;
}
.modal-notes{
  margin-top:14px;
}
.modal-notes p{
  margin:0 0 4px;
  font-size:1.5rem;
  line-height:1.7;
  color:#231815;
}
.is-room-modal-open{
  overflow:hidden;
}
.room-notes{
    padding-top: 20px;
}
/* --- カルーセルの色分け --- */
.room-item[data-room-type="1k"] .room-header {
    border-top: solid 6px #71bce9; /* 青 */
}

.room-item[data-room-type="1ldk"] .room-header {
    border-top: solid 6px #aace36; /* 緑 */
}

.room-item[data-room-type="2ldk"] .room-header {
    border-top: solid 6px #e08c7a; /* オレンジ */
}
/* 1K (青) */
[data-current-type="1k"] .modal-header {
    border-top: solid 13px #71bce9 !important;
}
/* 1LDK (緑) */
[data-current-type="1ldk"] .modal-header {
    border-top: solid 13px #aace36 !important;
}
/* 2LDK (オレンジ/赤) */
[data-current-type="2ldk"] .modal-header {
    border-top: solid 13px #e08c7a !important;
}
.room-info-footer {
    display: flex;
    justify-content: space-between; /* 左右に広げる */
    align-items: flex-end;
    margin-top: 20px;
}

/* 左側：注釈の幅調整 */
.room-notes {
    flex: 1;
    margin: 0;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
}

/* 右側：凡例のスタイル */
.room-legend-text {
    display: flex;
    align-items: center;
    gap: 15px; /* 要素同士の隙間 */
    margin-left: 20px;
    white-space: nowrap; /* 改行防止 */
}

.room-legend-text .legend-label {
    font-weight: bold;
    font-size: 1.4rem;
    font-family: sans-serif;
}

.room-legend-text .legend-item {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.4rem;
    gap: 0;
    color: #000;
}

/* 丸いアイコンの共通設定 */
.room-legend-text .legend-item::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
}
.room-legend-text .legend-item::after{
  content: unset;
}


.type-1k::before { background-color: #71bce9; }    /* 水色 */
.type-1ldk::before { background-color: #aace36; }  /* 黄緑 */
.type-2ldk::before { background-color: #e08c7a; }  /* 薄紅/オレンジ */
/* 写真が1枚のときは横幅100%にする */
.modal-photos.is-single {
    display: block; /* 1枚の時はグリッドを解除してブロック要素に */
}

.modal-photos.is-single .modal-photo {
    width: 100%; /* 横幅いっぱい */
    aspect-ratio: auto;
}
/* スマホ対応：縦並びにする */
@media (max-width: 767px) {
    .room-info-footer {
        flex-direction: column-reverse; /* 凡例を上にしたい場合は reverse */
        gap: 15px;
    }
    .room-legend-text {
        margin-left: 0;
        justify-content: end;
        width: 100%;
    }
    .room-notes {
        text-align: left;
    }
}
@media screen and (max-width:1024px){
  .room-item{
    flex:0 0 calc((100% - 24px) / 2);
  }
}
@media screen and (max-width:767px){
  .room-slider-viewport {
     margin: 0 calc(50% - 50vw);
    width: 100vw; 
    overflow: visible; /* チラ見せ分を表示するために一時的に解除 */
    width: 100%;       /* 中央のメインスライドの幅に合わせる */
    margin: 0 auto;   /* 中央配置 */
  }

  /* スライド1枚あたりの設定 */
  .room-item {
    flex: 0 0 100%;   /* 親のviewport(80%)に対して100%にする */
    padding: 0 5px;   /* スライド間の隙間 */
    box-sizing: border-box;
  }
  .room-carousel-main{
    padding:0 44px;
  }
  .room-item{
    flex:0 0 100%;
  }
  .room-header{
    font-size:1.4rem;
    padding:10px 6px;
  }
  .room-img {
    min-height: 245px;
  }
  .nav-btn,
  .modal-nav{
    width:36px;
    height:36px;
  }
  .modal-window{
    width:100%;
    margin:20px auto;
    padding:50px 14px 16px;
  }
  .modal-type{
    font-size:2.2rem;
  }
  .modal-plan{
    font-size:2rem;
  }
  .modal-plan-wrap{
    min-height:220px;
    margin:20px auto 16px;
  }
  .modal-plan-wrap img#modalImg{
    max-height:220px;
  }
  .modal-prev{left:8px;}
  .modal-next{right:8px;}
  .modal-photos{
    grid-template-columns:repeat(1, 1fr);
  }
  .modal-notes p{
    font-size:1.3rem;
  }
}
.room-slider-inner{
  display:flex;
  gap:12px;
  transition:transform 0.35s ease;
  will-change:transform;
}
.room-item{
  flex:0 0 calc((100% - 36px) / 4);
}
@media screen and (max-width:1024px){
  .room-item{
    flex:0 0 calc((100% - 12px) / 2);
  }
}
@media screen and (max-width:767px){
  .room-slider-inner{
    gap:10px;
  }
  .room-item{
    flex:0 0 100%;
  }
}
/*スクロールヒント*/
.scroll-hint-icon {
    width: 160px!important;
}
.scroll-hint-text {
    font-size: 15px!important;
    font-weight: bold;
}