@charset "utf-8";

.page-wrapper {
  padding: 131px 0 160px;
  overflow-x: clip;
}

/* ======================================
   Intro
====================================== */
.intro {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 295px;
}

.intro .deco {
  margin-bottom: 32px;
}

.intro .main {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 24px;
  color: #000;
  margin-bottom: 40px;
}

.intro .desc {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 40px;
  color: #000;
}

.intro .img01 {
  position: absolute;
  width: 569px;
  height: 569px;
  top: -97px;
  right: calc(100% - 135px);
}

.intro .img02 {
  position: absolute;
  width: 568px;
  height: 568px;
  top: -243px;
  left: calc(100% - 135px);
  z-index: -1;
}

/* ======================================
   Commitment Beauty
====================================== */
.commitment_beauty {
  margin-bottom: 80px;
}

.commitment_beauty .flex {
  gap: 129px;
  margin-bottom: 80px;
}

.commitment_beauty .flex .img {
  width: calc(879 / 1920 * 100%);
  height: 312px;
  margin-top: 103px;
}

.commitment_beauty .flex .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commitment .flex .text {
  display: flex;
  flex-direction: row-reverse;
  max-width: 80%;
}

.commitment .flex .text .sec-heading {
  margin-left: 120px;
  padding-right: 23px;
  border-right: 1px solid #000;
  height: fit-content;
}

.commitment .flex .text .catch {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  max-width: 20px;
  line-height: 24px;
  letter-spacing: 0.4em;
  color: #000;
  margin-left: 40px;
}

.commitment .flex .text .desc {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

/* 1344 Layout */
.commitment_beauty .w1344 .img {
  width: calc(879 / 1344 * 100%);
  height: 312px;
}

.commitment_beauty .w1344 .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================
   Commitment Functionality
====================================== */
.commitment_functionality {
  margin-bottom: 127px;
}

.commitment_functionality .flex {
  justify-content: flex-end;
  gap: 80px;
}

.commitment_functionality .flex .img {
  max-width: 777px;
  align-items: flex-start;
  display: grid;
  grid-template-columns: 341px 341px;
  gap: 95px;
}

.commitment_functionality .flex .img .img02 {
  margin-top: 200px;
}

.commitment_functionality .flex .text {
  margin-top: 240px;
}

/* ======================================
   Commitment Design
====================================== */
.commitment_design .flex {
  flex-direction: column;
  max-width: 1174px;
  width: 90%;
  margin: auto;
  gap: 32px;
}

.commitment_design .flex .img {
  display: flex;
  justify-content: space-between;
}

.commitment_design .flex .img .item {
  max-width: 198px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.commitment_design .flex .img .item .item-ttl {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #000;
}

.commitment_design .flex .text .sec-heading {
  justify-content: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
  width: fit-content;
  margin: auto auto 32px;
}

.commitment_design .flex .text .desc {
  font-family: var(--font-en);
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  color: #000;
}

/* ======================================
   Media Queries
====================================== */
@media screen and (max-width: 1440px) {
  .commitment_functionality .flex .img {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media screen and (max-width: 1024px) {
  .page-wrapper {
    padding: 187px 0 121px;
  }

  .commitment .flex .text {
    justify-content: center;
    margin: auto;
  }

  .sec-heading.tate .main {
    font-size: 20px;
  }

  .commitment .flex .text .desc {
    font-size: 14px;
    line-height: 20px;
  }

  .commitment_beauty .flex {
    flex-direction: column-reverse;
    gap: 40px;
    margin-bottom: 33px;
  }

  .commitment_beauty .flex .img,
  .commitment_beauty .w1344 .img {
    margin-top: 0;
  }

  .commitment_beauty .w1344 {
    width: 100%;
  }

  .commitment_beauty .w1344 .img {
    margin-left: auto;
  }

  .commitment_functionality .flex {
    flex-direction: column;
    gap: 40px;
  }

  .commitment_functionality .flex .img {
    justify-content: center;
    grid-template-columns: 1fr 1fr;
  }

  .commitment_functionality .flex .img .img02 {
    margin-top: 70px;
  }

  .commitment_functionality .flex .img {
    max-width: 60%;
    gap: 24px;
    margin: auto;
  }

  .commitment_design .flex .text .desc {
    font-size: 16px;
    line-height: 23px;
  }

  .commitment_design .flex .text {
    margin-bottom: 21px;
  }

  .sec-heading img {
    width: 17px;
  }

  .sec-heading h3 {
    font-size: 20px;
  }

  .commitment_design .flex .img {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 32px;
  }

  .commitment_design .flex .img .item {
    max-width: 140px;
    gap: 6px;
  }

  .commitment_design .flex .img .item .item-ttl {
    font-size: 12px;
  }

  .commitment_design .flex .text .sec-heading {
    margin-bottom: 20px;
  }

  .commitment_design .flex {
    gap: 0;
  }
}

@media screen and (max-width: 900px) {
  .intro .img01 {
    right: calc(100% - 99px);
  }
}

@media screen and (max-width: 767px) {
  .intro {
  margin-bottom: 402px;
}

.intro .img01 {
  width: 312px;
  height: 312px;
  top: calc(100% + 40px);
  left: -157px;
}

.intro .img02 {
  width: 320px;
  height: 320px;
  top: -240px;
  left: calc(100% - 179px);
}

.intro .deco {
  width: 111px;
}

.intro .main {
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 32px;
}

.intro .desc {
  font-size: 14px;
  line-height: 32px;
}

.commitment .flex .text {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  grid-column-gap: 0;
  grid-row-gap: 0;
  max-width: 312px;
  width: 100%;
}

.sec-heading h3 {
  font-size: 20px;
}

.sec-heading img {
  width: 17px;
}

.commitment_design .flex .text .desc {
  font-size: 16px;
  line-height: 23px;
}

.commitment_design .flex .img .item .item-ttl {
  font-size: 12px;
}

.sec-heading.tate .main {
  font-size: 20px;
  writing-mode: horizontal-tb;
}

.commitment .flex .text .sec-heading {
  grid-area: 1 / 1 / 2 / 3;
  flex-direction: row;
  margin-left: 0;
  padding-right: 0;
  border-right: none;
  border-bottom: 1px solid #000;
  justify-content: center;
  width: fit-content;
  margin: auto auto 40px;
  padding-bottom: 11px;
}

.commitment .flex .text .sec-heading img {
  width: 17px;
}

.commitment .flex .text .catch {
  grid-area: 2 / 2 / 3 / 3;
  margin-left: 40px;
  width: 20px;
  font-size: 20px;
  line-height: 24px;
  max-width: none;
}

.commitment .flex .text .desc {
  grid-area: 2 / 1 / 3 / 2;
  font-size: 14px;
  line-height: 20px;
}

.commitment_design .flex .img {
  max-width: 312px;
  width: 100%;
  margin: auto;
}

.commitment_functionality .flex .img {
  max-width: 350px;
}

.commitment_functionality .flex .img .img01,
.commitment_functionality .flex .img .img02 {
  width: 163px;
  height: auto;
}

.commitment_beauty .flex .img,
.commitment_beauty .w1344 .img {
  width: 344px;
  height: 120px;
}

.commitment_design .flex .img .item {
  max-width: 140px;
  gap: 6px;
}

.commitment_design .flex .img {
  max-width: 312px;
  width: 100%;
  margin: auto;
  gap: 20px 32px;
}
}