/* Scss Document */
#lifestyle {
  padding: 0 0 8em;
  background: #e9dde0;
}

.ph {
  margin: 0 auto 6em;
}

main#lifestyle .leadTitle {
  margin: 0.5em auto 1em;
  font-size: clamp(1.25rem, 0.3125rem + 3vw, 2rem);
  line-height: 1.25em;
  text-align: center;
}

main#lifestyle .lead01 {
  font-size: clamp(0.875rem, 0.4063rem + 1.5vw, 1.08rem);
  font-feature-settings: "palt";
  line-height: 1.8;
  text-align: center;
}

.case {
  margin: 0 auto;
}
.case img {
  max-height: 40px;
}

.tittle {
  position: relative;
}

.price {
  margin: 3em auto 0;
  width: 90%;
  border-top: 1px solid #595757;
}
.price li {
  border-bottom: 1px solid #595757;
  line-height: 1.4;
}
.price li ul {
  padding: 1.5em 5em;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: baseline;
  gap: 3em;
}
.price li ul li {
  border-bottom: none;
}
.price li p {
  font-size: clamp(0.625rem, 0.5357rem + 0.2857vw, 0.75rem);
  line-height: 1.3;
}
.price li:first-child {
  padding: 0 0 1em;
}
.price li:last-child {
  padding: 0.5em 0;
  font-size: clamp(0.875rem, 0.4063rem + 1.5vw, 1.08rem);
  text-align: center;
  letter-spacing: -0.04em;
}

main#lifestyle h3,
main#lifestyle h4 {
  font-size: clamp(0.875rem, 0.4063rem + 1.5vw, 1.08rem);
  text-align: center;
  line-height: 1.5;
  padding: 0.25em;
}

.cursive {
  width: 140px;
  height: auto;
  position: absolute;
  left: 20px;
  top: -25px;
}

.offtime {
  margin: 6em auto 0;
}
.offtime h3 {
  background: #aec1c8;
  color: #006675;
}
.offtime h4 {
  color: #006675;
}
.offtime .detail {
  background: #aec1c8;
}

.ontime {
  margin: 6em auto 0;
}
.ontime h3 {
  background: #d2b0b8;
  color: #8f2329;
}
.ontime h4 {
  color: #8f2329;
}
.ontime .detail {
  background: #d2b0b8;
}

.plan {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}

main#lifestyle .gr01 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: clamp(8px, 1.5vw, 20px);
  grid-template-rows: 1fr;
}
main#lifestyle .gr01 li {
  width: 100%;
  height: auto;
}

.type {
  margin: 2em auto;
}
.type img {
  max-height: 60px;
}

.detail {
  margin: 3em auto;
  padding: 1em 2em;
  position: relative;
}
.detail .cursive {
  top: 0;
}

.pageUnder h4 {
  margin: 4em 0 1em;
  background: #cabb89;
}
.pageUnder .picItem p {
  margin: 0 auto 1em;
  font-size: clamp(0.75rem, 0.6943rem + 0.241vw, 0.875rem);
  line-height: 1.5;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

main#lifestyle .btnHome {
  margin: 3em auto;
  text-align: center;
  position: relative;
  z-index: 10;
}
main#lifestyle .btnHome a {
  font-size: clamp(0.75rem, 0.6943rem + 0.241vw, 0.875rem);
  color: #fff;
  font-weight: 500;
  background: #55423d;
  padding: 1em;
  border-radius: 4px;
  cursor: pointer;
  width: 30%;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  main#lifestyle .btnHome a {
    width: 80%;
  }
}
main#lifestyle .pageUnder .gr01 {
  gap: unset;
  border-right: 1px solid #595757;
}
main#lifestyle .pageUnder .gr01 .picItem {
  padding: 0 1.5em;
  border-left: 1px solid #595757;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 992px) {
  .tab {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  #lifestyle {
    padding: 0 0 5em;
  }
  .ph {
    margin: 0 auto 3em;
  }
  .case img {
    max-height: 30px;
  }
  .type {
    margin: 1em auto;
  }
  .type img {
    max-height: 45px;
  }
  .cursive {
    width: 100px;
    left: 10px;
    top: 10px;
    position: relative;
  }
  main#lifestyle .gr01 {
    grid-template-columns: 1fr 1fr;
  }
  .pageUnder .plan {
    gap: 1em;
  }
  .pageUnder .plan .w49 {
    width: 100%;
  }
  main#lifestyle .pageUnder .gr01 {
    gap: 2em 0;
    border-right: none;
  }
  main#lifestyle .pageUnder .gr01 .picItem:nth-of-type(even) {
    border-right: 1px solid #595757;
  }
}
@media (orientation: portrait) and (max-width: 767px) {
  .price {
    margin: 1em auto 0;
  }
  .price li ul {
    padding: 1.5em;
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .price li ul li {
    width: 70%;
    margin: 0 auto;
  }
  .price li ul li:nth-of-type(1) {
    width: 60%;
  }
  .offtime,
  .ontime {
    margin: 3em auto 0;
  }
  .plan {
    gap: 2em;
  }
  .plan .w45 {
    width: 90%;
    margin: 0 auto;
  }
  .detail {
    margin: 1.5em auto;
  }
}

/*# sourceMappingURL=lifestyle.css.map */
