@charset "utf-8";

.head_info h1 {
  position: relative;
}
.head_info h1::before {
  content: 'デザイン｜川崎市宮前区の新築分譲マンション「パレステージ宮崎台Ⅲ」公式HP。東急田園都市線「宮崎台」駅徒歩6分。';
  display: inline-block;
  font-size: 12px;
  color: #fff;
}
/* subhead  */
.sub_head {
  background: url(../img/design/subhead.webp) no-repeat;
  background-position: center;
  background-size: cover;
}

.des_img {
  overflow: hidden;
}
.txt_img {
  position: absolute;
  height: 40px;
  width: auto;
  z-index: 1;
  filter: drop-shadow(0px 0px 5px #000);
}
.txt01 {
  bottom: 50px;
  left: 50px;
}
.img_lead {
  position: absolute;
  top: 50px;
  right: 50px;

  /* 縦書き */
  writing-mode: vertical-rl;
  text-orientation: upright;

  /* 文字装飾 */
  color: #fff;
  font-size: 28px;
  letter-spacing: 1em;

  /* 文字影（くっきり系） */
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.6),
    2px 2px 4px rgba(0, 0, 0, 0.5);

  z-index: 2;
}
.img_lead span {
  display: inline-block;
  transform: translateX(3px); /* 2〜4pxで微調整 */
}

.entrance {
  margin: 100px auto 0px;
  padding: 0;
}
.entrance .ttlbox {
  margin-bottom: 80px;
}
section {
  padding: 80px 0;
}

.bg {
  background: url(../img/design/bg01.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-bottom: 50px;
}

@media screen and (max-width: 1023px) {
  .txt_img {
    height: 18px;
  }
  .txt01 {
    bottom: 20px;
    left: 20px;
  }
  .img_lead {
    top: 20px;
    right: 20px;
    writing-mode: unset;
    font-size: 16px;
    letter-spacing: 0.5em;
  }

  .des_img {
    width: 100vw; /* 画面幅いっぱい */
    margin-left: 50%;
    transform: translateX(-50%); /* 中央補正 */
  }
  .bg {
    padding-top: 0px;
  }
  section {
    padding: 0 0 50px;
  }

  .bg section {
    padding: 80px 0 0px;
  }
  .bg .ttlbox {
    margin-bottom: 80px;
  }
}

.materials {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  grid-template-rows: auto auto;
}

.materials_ttl {
  grid-column: 1;
  grid-row: 1;
}
.materials_ttl p:nth-of-type(1) {
  font-size: 24px;
  background: linear-gradient(
    to left,
    /* ← 右から左 */ #827e54 0%,
    /* 右 */ #b9b697 100% /* 左 */
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  font-size: 30px;
  letter-spacing: 0.2em;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
}
.materials_ttl p:nth-of-type(2) {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.materials_img {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 0 10px;
}
.materials_img p {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}

.material_img {
  grid-column: 2;
  grid-row: 1 / 3; /* ← 2段使う */
}
.material_img img,
.materials_img img {
  width: 100%;
  display: block;
}

/* ===== SP ===== */
@media (max-width: 1023px) {
  .materials {
    display: flex;
    flex-direction: column;
  }

  .materials_ttl {
    order: 1;
    width: 100%;
  }
  .material_img {
    order: 2;
  }
  .materials_img {
    order: 3;
  }

  .materials_ttl p:nth-of-type(1) {
    font-size: 16px;
    text-align: left;
  }
  .materials_ttl p:nth-of-type(2) {
    font-size: 18px;
    text-align: left;
  }
}
