@charset "utf-8";

@media screen and (min-width: 961px) {
  #page, .main {
    overflow: revert;
  }
}

.equipmentInner {
  width: 90%;
  max-width: 1000px;
  margin-inline: auto;
}

.pageText {
  font-size: 14px;
  line-height: 1.7;
}

.itemName {
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #333;
  font-size: clamp(14px, 0.61rem + 0.55vw, 18px);
  line-height: 1.4;
  padding: .7em 1em;
}
.itemName .small {
  font-size: 60%;
}

.itemText {
  font-size: 14px;
  line-height: 1.7;
}
.itemText .small {
  font-size: 10px;
}
* + .itemBody {
  margin-top: 25px;
}

.sp-modalBtn {
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .equipmentInner {
    width: calc(312 / 375 * 100%);
    max-width: 400px;
  }

  .itemName {
    font-size: 18px;
  }

  .sp-modalBtn {
    pointer-events: revert;
    position: relative;
    z-index: 0;
  }
  .sp-modalBtn__icon {
    width: 30px;
    aspect-ratio: 1;
    background-color: rgb(0 0 0 / .6);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
  }
  .sp-modalBtn__icon::before,
  .sp-modalBtn__icon::after {
    content: '';
    width: 60%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .sp-modalBtn__icon::after {
    width: 1px;
    height: 60%;
  }

  .modalEquipment .swipeWrap {
    padding: 30px;
    background-color: #fff;
  }
}

/* equipmentArea
---------------------------------------------- */
.equipmentArea {
  padding-top: clamp(50px, 0.83rem + 9.78vw, 160px);
  position: relative;
  z-index: 0;
}
.equipmentArea::before {
  content: '';
  width: 100%;
  height: 65%;
  background: url(../../img/common/bg_gradient.png) repeat-x top left / auto 1000px;
  position: absolute;
  top: calc(-1 * clamp(170px, 22vw, 222px)); /* 上部写真の下のグレー背景の始まりをモデルルームに合わせる：写真の下端から PC 約220px・SP 約90px 上（2026-10-23） */
  left: 0;
  z-index: -1;
}

.equipmentSection {
  padding-block: clamp(50px, 1.04rem + 8.89vw, 150px) clamp(70px, 1.67rem + 11.56vw, 200px);
}

.equipmentNavList {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: calc(1 / 1000 * 100%);
}
.equipmentNavList__link {
  display: grid;
  place-content: center;
  height: 80px;
  background-color: #94928a;
  padding: 0.5em;
  transition: .4s;
  text-align: center;
}
.equipmentNavList__link.is-active {
  background-color: #333;
}
.equipmentNavList__name {
  color: #fff;
  font-size: clamp(14px, 0.74rem + 0.27vw, 16px);
  line-height: 1;
}

.equipmentHeadline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 4%;
  padding-top: 60px;
}
.equipmentHeadline + * {
  margin-top: 60px;
}
.equipment__title {
  font-size: clamp(35px, 1.2rem + 2.05vw, 50px);
  letter-spacing: 0.05em;
  line-height: 1;
}
.equipmentHeadline__text {
  font-size: clamp(15px, 0.61rem + 0.68vw, 20px);
  line-height: 1.6;
}

.equipment__title--small {
  display: flex;
  align-items: center;
  column-gap: 1em;
  font-size: clamp(24px, 0.71rem + 1.64vw, 36px);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.equipment__title--small::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #94928a;
}

* + .equipmentCapBox {
  margin-top: 20px;
}
.equipmentCapTitle {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.equipmentCapText {
  margin-top: 0.5em;
}

@media screen and (max-width: 768px) {
  .equipmentNav {
    width: calc(340 / 375 * 100%);
  }
  .equipmentNavList {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px calc(2 / 340 * 100%);
  }
  .equipmentNavList__link {
    height: 40px;
  }

  .equipmentHeadline {
    justify-content: center;
    text-align: center;
  }
}

/* sanitary
---------------------------------------------- */
.sanitary {
  padding-block: 0;
}
.sanitaryWrap {
  padding-bottom: 100px;
}
.sanitaryWrap + .sanitaryWrap {
  padding-top: 100px;
}
.sanitaryList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px calc(32 / 1000 * 100%);
}
.sanitaryList > li {
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
  grid-row: span 3;
}
.sanitaryList__name {
  background-color: #94928a;
}
.sanitaryList__name--panasonic {
  background-color: #004081;
}
.sanitaryList__name--small {
  font-size: clamp(13px, 0.55rem + 0.55vw, 17px);
  line-height: 1.3;
  padding-block: .5em;
}
* + .sanitaryList__name {
  margin-top: 10px;
}
* + .sanitaryList__text {
  margin-top: 5px;
}

.sanitaryBox + .sanitaryBox {
  margin-top: 25px;
}

.sanitaryBox--sticky {
  display: flex;
  justify-content: space-between;
  column-gap: calc(30 / 1000 * 100%);
}
.sanitaryBox--stickyHead {
  width: calc(562 / 1500 * 100vw);
  margin-left: calc(50% - 50vw);
}
.sanitaryBox--stickyHead__img {
  position: sticky;
  top: 140px;
}
.sanitaryBox--stickyHead__name {
  color: #fff;
  font-size: clamp(35px, 1.2rem + 2.05vw, 50px);
  letter-spacing: 0.05em;
  position: absolute;
  bottom: 3%;
  left: 7%;
  z-index: 1;
}
.sanitaryBox--stickyReverse .sanitaryBox--stickyHead {
  margin-inline: auto calc(50% - 50vw);
}
.sanitaryBox--stickyBody {
  width: calc(656 / 1000 * 100%);
}

.panasonicCaption {
  align-items: baseline;
  column-gap: 1em;
  margin-top: 40px;
}
.panasonicCaption__text {
  font-size: 14px;
}
.panasonicCaption__text .blue {
  color: #004081;
}
.panasonicCaption__img {
  width: 200px;
}

@media screen and (min-width: 769px) {
  .sanitaryBox--stickyReverse {
    flex-direction: row-reverse;
  }

  .sanitaryList[data-column="2"] {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .sanitaryWrap {
    padding-bottom: 60px;
  }
  .sanitaryWrap + .sanitaryWrap {
    padding-top: 60px;
  }

  .equipmentHeadline + * {
    margin-top: 25px;
  }

  .sanitaryBox--sticky {
    flex-direction: column;
    row-gap: 40px;
  }
  .sanitaryBox--stickyHead {
    width: calc(360 / 375 * 100vw);
  }
  .sanitaryBox--stickyBody {
    width: 100%;
  }

  .sanitaryList {
    grid-template-columns: 1fr;
  }
  .sanitaryList__name--small {
    font-size: 17px;
  }

  .panasonicCaption.flex {
    justify-content: flex-start;
    row-gap: 10px;
    margin-top: 20px;
  }
  .panasonicCaption__text {
    font-size: 12px;
  }
  .panasonicCaption__img {
    width: 140px;
  }
}

/* storage
---------------------------------------------- */
.storageList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px calc(32 / 1000 * 100%);
}
.storageList__img + .storageList__img {
  margin-top: 32px;
}
.storageList__name {
  color: #fff;
  font-size: clamp(20px, 0.86rem + 0.82vw, 26px);
  text-shadow: 0 0 10px rgb(0 0 0 / .7);
  position: absolute;
  bottom: 2%;
  left: 8%;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .storageList {
    grid-template-columns: 1fr;
  }
  .storageList__name {
    font-size: 26px;
  }
}


/* door
---------------------------------------------- */
@media screen and (min-width: 769px) {
  .doorList > li {
    width: calc(485 / 1000 * 100%);
  }
}

@media screen and (max-width: 768px) {
  .doorList {
    row-gap: 10px;
  }
}

/* comfort
---------------------------------------------- */
.comfort .itemImg + .itemImg {
  margin-top: 40px;
}
.comfort .itemText + .itemImg {
  margin-top: 30px;
}
.comfort .itemBody.flex .itemText + .itemImg {
  margin-top: 0;
}
.comfort .itemBody.flex .itemText {
  flex: 1;
}

.comfortList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px calc(30 / 1000 * 100%);
}

* + .comfortSection {
  margin-top: 50px;
}
.equipment__title--small + .itemList {
  margin-top: 30px;
}

.commonAreaList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px calc(32 / 1000 * 100%);
}
.commonAreaList > li .itemBody {
  column-gap: calc(30 / 312 * 100%);
}
.commonAreaList > li .itemImg {
  width: calc(150 / 312 * 100%);
}

.mediaList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px calc(30 / 1000 * 100%);
}
.mediaList > li .itemBody {
  column-gap: calc(30 / 485 * 100%);
}
.mediaList > li .itemImg {
  width: calc(240 / 485 * 100%);
}

@media screen and (min-width: 769px) {
  .comfortList > li.row-large {
    grid-row: 1/4;
  }
  .comfortList > li.column-large {
    grid-column: 1/3;
  }

  .comfortList > li:nth-child(2) .itemBody {
    column-gap: calc(30 / 485 * 100%);
  }
  .comfortList > li:nth-child(2) .itemImg {
    width: calc(290 / 485 * 100%);
  }
  .comfortList > li:nth-child(5) .itemBody {
    column-gap: calc(30 / 1000 * 100%);
  }
  .comfortList > li:nth-child(5) .itemImg {
    width: calc(656 / 1000 * 100%);
  }
}

@media screen and (max-width: 768px) {
  .comfortList,
  .commonAreaList,
  .mediaList {
    grid-template-columns: 1fr;
  }

  .comfortList > li:nth-child(2) .itemBody,
  .comfortList > li:nth-child(5) .itemBody,
  .mediaList > li:nth-child(1) .itemBody {
    flex-direction: column;
    row-gap: 25px;
  }

  .mediaList > li:nth-child(1) .itemBody .itemImg {
    width: 100%;
  }
}

/* ecology
---------------------------------------------- */
.ecologyList > li + li {
  margin-top: 60px;
}
.ecology .itemText + .itemImg {
  margin-top: 40px;
}
.ecology .itemBody.flex .itemText + .itemImg {
  margin-top: 0;
}
.ecology .itemBody.flex .itemText {
  flex: 1;
}

.zehList {
  margin-top: 35px;
}
.zehList > li {
  width: calc(312 / 1000 * 100%);
}
.zehList__title {
  border: 1px solid #ccc;
  font-family: 'Yumincho', 'Yu mincho', serif;
  font-size: clamp(14px, 0.61rem + 0.55vw, 18px);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.6;
  padding: .5em .2em;
  text-align: center;
}
.zehListBody {
  column-gap: calc(20 / 312 * 100%);
  margin-top: 20px;
}
.zehList__img {
  width: calc(150 / 312 * 100%);
}
.zehList__text {
  flex: 1;
}

.discount {
  display: block;
  margin-top: 40px;
}
.discount__text {
  color: #ad0e16;
  font-family: 'Yumincho', 'Yu mincho', serif;
  font-size: clamp(20px, 0.66rem + 1.23vw, 29px);
  font-weight: 600;
}
.discount__text .em {
  font-size: 150%;
  line-height: 1;
}
.discount__caption {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 1em;
  padding-left: 1em;
  text-indent: -1em;
}

@media screen and (min-width: 769px) {
  .ecologyList > li:nth-child(n + 2) .itemBody {
    column-gap: calc(30 / 1000 * 100%);
  }
  .ecologyList > li:nth-child(n + 2) .itemImg {
    width: calc(656 / 1000 * 100%);
  }
}

@media screen and (max-width: 768px) {
  .ecologyList > li:nth-child(2) .itemBody {
    flex-direction: column-reverse;
    row-gap: 25px;
  }
  .ecologyList > li:nth-child(3) .itemBody {
    row-gap: 25px;
  }

  .zehList {
    flex-direction: column;
    row-gap: 30px;
  }
  .zehList > li {
    width: 100%;
  }
  .zehList__title {
    font-size: 18px;
  }

  .discount {
    margin-top: 20px;
  }
  .discount__text {
    font-size: 29px;
  }
}

/* security
---------------------------------------------- */
.securityList {
  row-gap: 60px;
}
.security .itemText + .itemImg {
  margin-top: 40px;
}

.security .itemBody.flex {
  column-gap: calc(30 / 312 * 100%);
}
.security .itemBody.flex .itemText + .itemImg {
  margin-top: 0;
}
.security .itemBody.flex .itemText {
  flex: 1;
}
.security .itemBody.flex .itemImg {
  width: calc(150 / 312 * 100%);
}

.securityList > li.column-half .itemBody.flex {
  column-gap: calc(30 / 485 * 100%);
}
.securityList > li.column-half .itemBody.flex .itemImg {
  width: calc(150 / 485 * 100%);
}

.windeaImg {
  margin-top: 30px;
}

@media screen and (min-width: 769px) {
  .securityList > li {
    width: calc(312 / 1000 * 100%);
  }
  .securityList > li.column-half {
    width: calc(485 / 1000 * 100%);
  }
  .securityList > li.column-large {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .securityList > li:nth-child(3) .itemBody.flex,
  .securityList > li:nth-child(4) .itemBody.flex {
    flex-direction: column;
    row-gap: 25px;
  }
  .securityList > li:nth-child(3) .itemBody.flex .itemImg,
  .securityList > li:nth-child(4) .itemBody.flex .itemImg {
    width: 150px;
    margin-inline: auto;
  }

  .windeaImg {
    margin-top: 15px;
  }
}

/* structure
---------------------------------------------- */
.structureList {
  row-gap: 60px;
}
.structureList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px calc(30 / 1000 * 100%);
}
.structure * + .itemImg {
  margin-top: 30px;
}
.structure .itemBody.flex * + .itemImg {
  margin-top: 0;
}

.structure .itemBody.flex {
  column-gap: calc(30 / 485 * 100%);
}
.structure .itemBody.flex .itemText {
  flex: 1;
}
.structure .itemBody.flex .itemImg {
  width: calc(240 / 485 * 100%);
}

.itemTable {
  margin-top: 30px;
}

.structureList .env img {
  display: block;
  width: calc(220 / 485 * 100%);
}

.structureList .flat35 {
  max-width: 265px;
  margin-inline: auto;
}

@media screen and (min-width: 769px) {
  .structureList > li.row-large {
    grid-area: 1/2/3/3;
  }
}

@media screen and (max-width: 768px) {
  .structureList {
    grid-template-columns: 1fr;
  }

  .structure .itemBody.flex {
    flex-direction: column;
    row-gap: 25px;
  }

  .structureList > li:nth-child(1) .itemBody.flex .itemImg,
  .structureList > li:nth-child(2) .itemBody.flex .itemImg,
  .structureList > li:nth-child(3) .itemBody.flex .itemImg,
  .structureList > li:nth-child(6) .itemBody.flex .itemImg {
    width: 240px;
    margin-inline: auto;
  }
}
/* 上部写真の下のグレー背景の始まりをモデルルームに合わせる：写真の下端から PC 約220px・SP 約90px 上（2026-10-23） */
@media screen and (max-width: 768px) {
  .equipmentArea::before {
    top: -90px;
  }
}
