/* Luana feature page */
.postid-738 .luana-feature-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 20px 80px;
  color: #57201c;
}

/* 389px以下は二行を許容し、見出しを読みやすい最大サイズにする */
@media (max-width: 389.98px) {
  html body.postid-738 .luana-feature-page .luana-feature-page__header h1 {
    font-size: 25px !important;
    letter-spacing: .05em !important;
    white-space: normal !important;
  }
}

/* 390px幅では、一行に収まる範囲で見出しを最大化 */
@media (min-width: 390px) and (max-width: 767px) {
  html body.postid-738 .luana-feature-page .luana-feature-page__header h1 {
    font-size: 23px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
}

.postid-738 .luana-feature-page__header {
  position: relative;
  margin: 0 0 58px;
  padding-top: 0;
  text-align: center;
}

.postid-738 .luana-feature-page__header::before {
  display: none;
}

.postid-738 .luana-feature-page__en {
  display: none;
}

.postid-738 .luana-feature-page__header h1 {
  margin: 0;
  color: #4f3826;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .08em;
}

.postid-738 .luana-feature-page__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: feature-item;
}

.postid-738 .luana-feature-page__item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 42px 34px 226px;
  background: #fff;
  border: 1px solid #d29d52;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(79, 56, 38, .07);
  counter-increment: feature-item;
}

.postid-738 .luana-feature-page__item::after {
  display: none;
}

.postid-738 .luana-feature-page__photo {
  position: absolute;
  top: auto;
  right: 34px;
  bottom: 26px;
  left: 34px;
  z-index: 0;
  display: block;
  width: calc(100% - 68px);
  height: 180px;
  margin: 0;
  border-radius: 28px 0 28px 0;
  object-fit: cover;
}

.postid-738 .luana-feature-page__item:nth-child(even) .luana-feature-page__photo {
  border-radius: 28px 0 28px 0;
}

.postid-738 .luana-feature-page__item:nth-child(2) .luana-feature-page__photo {
  object-position: center 44%;
}

.postid-738 .luana-feature-page__item:nth-child(3) .luana-feature-page__photo {
  object-position: center;
}

.postid-738 .luana-feature-page__item:nth-child(4) .luana-feature-page__photo {
  object-position: center 58%;
}

.postid-738 .luana-feature-page__item:nth-child(7) .luana-feature-page__photo {
  object-position: center 34%;
}

.postid-738 .luana-feature-page__item:nth-child(2)::after {
  background-image: linear-gradient(rgba(73, 48, 30, .04), rgba(73, 48, 30, .04)), url("../../../../uploads/2025/10/course-1-202510.jpg");
  background-position: center 42%;
}

.postid-738 .luana-feature-page__item:nth-child(3)::after {
  background-image: linear-gradient(rgba(73, 48, 30, .03), rgba(73, 48, 30, .03)), url("../../../../uploads/2025/08/LUANA202407-40-300x200-1.jpg");
}

.postid-738 .luana-feature-page__item:nth-child(4)::after {
  background-image: linear-gradient(rgba(73, 48, 30, .03), rgba(73, 48, 30, .03)), url("../../../../uploads/2025/10/course-2-202510.jpg");
  background-position: center 58%;
}

.postid-738 .luana-feature-page__item:nth-child(5)::after {
  background-image: linear-gradient(rgba(73, 48, 30, .03), rgba(73, 48, 30, .03)), url("../../../../uploads/2025/10/course-3-202510.jpg");
}

.postid-738 .luana-feature-page__item:nth-child(6)::after {
  background-image: linear-gradient(rgba(73, 48, 30, .03), rgba(73, 48, 30, .03)), url("../../../../uploads/2025/08/LUANA202407-34-300x200-1.jpg");
}

.postid-738 .luana-feature-page__item:nth-child(7)::after {
  background-image: linear-gradient(rgba(73, 48, 30, .03), rgba(73, 48, 30, .03)), url("../../../../uploads/2025/03/PXL_20250404_040844793.PORTRAIT-EDIT.jpg");
  background-position: center 34%;
}

.postid-738 .luana-feature-page__item::before {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 18px;
  color: rgba(201, 151, 84, .18);
  content: "0" counter(feature-item);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
  text-shadow: none;
}

.postid-738 .luana-feature-page__item:first-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 56%) 1fr;
  grid-template-rows: auto 1fr;
  gap: 18px 24px;
  align-items: center;
  min-height: 330px;
  padding: 48px 34px 46px;
}

.postid-738 .luana-feature-page__item:first-child::after {
  top: 48px;
  right: 34px;
  bottom: 48px;
  left: auto;
  width: 38%;
  height: auto;
  border-radius: 28px 0 28px 0;
  background-image: linear-gradient(rgba(73, 48, 30, .03), rgba(73, 48, 30, .03)), url("../../../../uploads/2025/08/LUANA202407-44-300x200-1.jpg");
  background-position: center;
}

.postid-738 .luana-feature-page__item:first-child .luana-feature-page__photo {
  top: 67px;
  right: 34px;
  bottom: 48px;
  left: auto;
  width: 38%;
  height: auto;
  border-radius: 28px 0 28px 0;
  object-position: center;
}

.postid-738 .luana-feature-page__item:first-child::before {
  top: -2px;
  left: 28px;
  color: rgba(201, 151, 84, .18);
  font-size: 150px;
  text-shadow: none;
}

.postid-738 .luana-feature-page__item:first-child h2,
.postid-738 .luana-feature-page__item:first-child p {
  grid-column: 1;
  transform: translateY(17px);
}

.postid-738 .luana-feature-page__item:first-child h2 {
  font-size: 22px;
  white-space: nowrap;
}

.postid-738 .luana-feature-page__item h2 {
  margin: 0 0 18px;
  color: #4f3826;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.7;
}

.postid-738 .luana-feature-page__item h2::after {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 14px;
  background: #d29d52;
  content: "";
}

.postid-738 .luana-feature-page__item:first-child h2 {
  margin-bottom: 0;
}

.postid-738 .luana-feature-page__item h2,
.postid-738 .luana-feature-page__item p {
  position: relative;
  z-index: 1;
}

.postid-738 .luana-feature-page__item p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

@media (max-width: 1024px) {
  .postid-738 .luana-feature-page__item:first-child {
    display: block;
    min-height: 0;
    padding: 42px 34px 226px;
  }

  .postid-738 .luana-feature-page__item:first-child .luana-feature-page__photo {
    top: auto;
    right: 34px;
    bottom: 26px;
    left: 34px;
    width: calc(100% - 68px);
    height: 180px;
  }

  .postid-738 .luana-feature-page__item:first-child::before {
    top: 4px;
    left: 18px;
    color: rgba(201, 151, 84, .18);
    font-size: 150px;
    text-shadow: none;
  }

  .postid-738 .luana-feature-page__item:first-child h2 {
    margin-bottom: 18px;
    white-space: normal;
  }

  .postid-738 .luana-feature-page__item:first-child h2,
  .postid-738 .luana-feature-page__item:first-child p {
    transform: none;
  }
}

@media (max-width: 767px) {
  .postid-738 .luana-feature-page {
    padding: 0 12px 50px;
  }

  .postid-738 .luana-feature-page__header {
    margin-bottom: 38px;
    padding: 0 15px;
  }

  .postid-738 .luana-feature-page__en {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .postid-738 .luana-feature-page__header h1 {
    font-size: clamp(13px, 4.2vw, 20px) !important;
    line-height: 1.6;
    letter-spacing: 0 !important;
    white-space: nowrap;
  }

  .postid-738 .luana-feature-page__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .postid-738 .luana-feature-page__item,
  .postid-738 .luana-feature-page__item:first-child {
    display: block;
    grid-column: auto;
    min-height: 0;
    border-radius: 18px;
  }

  .postid-738 .luana-feature-page__item {
    padding: 32px 20px 210px;
  }

  .postid-738 .luana-feature-page__item:first-child {
    padding: 32px 20px 210px;
  }

  .postid-738 .luana-feature-page__item::after,
  .postid-738 .luana-feature-page__item:first-child::after {
    top: auto;
    right: 20px;
    bottom: 22px;
    left: 20px;
    width: auto;
    height: 170px;
    border-radius: 20px 0 20px 0;
  }

  .postid-738 .luana-feature-page__photo,
  .postid-738 .luana-feature-page__item:first-child .luana-feature-page__photo {
    top: auto;
    right: 20px;
    bottom: 22px;
    left: 20px;
    width: calc(100% - 40px);
    height: 170px;
    border-radius: 20px 0 20px 0;
  }

  .postid-738 .luana-feature-page__item:nth-child(even)::after {
    border-radius: 20px 0 20px 0;
  }

  .postid-738 .luana-feature-page__item:first-child .luana-feature-page__photo {
    top: auto;
    right: 20px;
    bottom: 22px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .postid-738 .luana-feature-page__item::before,
  .postid-738 .luana-feature-page__item:first-child::before {
    top: 4px;
    left: 18px;
    color: rgba(201, 151, 84, .18);
    font-size: 112px;
    text-shadow: none;
  }

  .postid-738 .luana-feature-page__item h2,
  .postid-738 .luana-feature-page__item:first-child h2 {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.65;
  }

  .postid-738 .luana-feature-page__item:first-child h2 {
    white-space: normal;
  }

  .postid-738 .luana-feature-page__item:first-child h2,
  .postid-738 .luana-feature-page__item:first-child p {
    transform: none;
  }

  .postid-738 .luana-feature-page__item p {
    font-size: 14px;
    line-height: 1.9;
  }
}
