/* ==========================================================================
   Premium Repair Page - Specific Styles
   ========================================================================== */

.about-hero-title {
  width: calc(1015.45vw / var(--p));
}

/* --- Catch --- */
.about-catch {
  padding: 63.2px 0 111.4px;
}

.about-catch-inner {
  max-width: calc(1170px + var(--pc-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--pc-gutter);
}

.about-catch-inner img {
  width: 100%;
  height: auto;
  display: block;
}


/* --- Section (2-column) --- */
.about-section {
  display: flex;
}

.sect01 {
  width: calc(1080px + var(--pc-gutter) * 2);
  padding: 0 var(--pc-gutter);
  margin: 0 auto 185.3px;
  gap: 72.2px;
}

.sect01 .about-section-media {
  width: 467px;

  img {
    width: 100%;
  }
}

.sect02 {
  flex-direction: row-reverse;
  display: block;
  max-width: calc(1300px + var(--pc-gutter) * 2);
  width: 100%;
  padding: 0 var(--pc-gutter);
  margin: 0 auto;
}

.sect02-inner {
  display: flex;
  gap: 27.6px;
  flex-direction: row-reverse;
}

.sect02 .about-section-media {
  width: 600px;

  img {
    width: 100%;
  }
}

.about-section-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  background-color: #fff;
}

.about-section.is-reverse .about-section-body {}

.about-section-heading {
  font-family: var(--font-jp);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;

  & img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

.about-section-text {
  font-family: var(--font-jp);
  font-size: 18px;
  line-height: 30px;

  & p {
    font-size: 18px;
    margin: 0;
  }
}

@media screen and (max-width: 1170px) {
  .about-catch {
    padding: calc(63.2vw / var(--p)) 0 calc(111.4vw / var(--p));
  }

  .sect01 {
    margin: 0 auto calc(185.3vw / var(--p));
    gap: calc(72.2vw / var(--p));
  }

  .sect01 .about-section-media {
    width: calc(467vw / var(--p));
  }

  .sect02 .about-section-media {
    width: calc(600vw / var(--p));
  }

  .about-section-body {
    gap: calc(20vw / var(--p));
  }

  .sect02-inner {
    gap: calc(27.6vw / var(--p));
  }
}

/* === スマホ版 === */
@media screen and (max-width: 768px) {
  .about-hero-title {
    width: calc(307.44vw / var(--s));
  }

  /* --- Catch --- */
  .about-catch {
    padding: calc(56.3vw / var(--s)) 0 calc(68.8vw / var(--s));
  }

  .about-catch-inner {
    padding: 0 var(--sp-gutter);
  }

  /* --- Section 01 --- */
  .sect01 {
    width: 100%;
    padding: 0;
    margin: 0 auto calc(97.5vw / var(--s));
    flex-direction: column;
    gap: calc(17.8vw / var(--s));
  }

  .sect01 .about-section-media {
    width: calc(304vw / var(--s));
    order: 1;
    margin: 0 0 0 auto;
  }

  .sect01 .about-section-body {
    order: 2;
    padding: 0 var(--sp-gutter);
    gap: calc(35.8vw / var(--s));
  }

  .sect01 .about-section-heading {
    width: calc(261.86vw / var(--s));
  }

  /* --- Section 02 --- */
  .sect02 {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .sect02-inner {
    flex-direction: column;
    gap: calc(31.6vw / var(--s));
  }

  .sect02 .about-section-media {
    width: 100%;
    order: 1;
  }

  .sect02 .about-section-body {
    order: 2;
    padding: 0 var(--sp-gutter);
    gap: calc(35.8vw / var(--s));
  }

  .sect02 .about-section-heading {
    width: calc(298.86vw / var(--s));
  }

  /* --- Section Body --- */
  .about-section-body {
    gap: calc(20vw / var(--s));
    justify-content: flex-start;
  }

  .about-section-heading {
    font-size: calc(22vw / var(--s));
    line-height: 1.3;
    text-align: center;
  }

  .about-section-text {
    font-size: calc(13vw / var(--s));
    line-height: calc(26vw / var(--s));
    text-align: left;

    & p {
      font-size: calc(13vw / var(--s));
      line-height: calc(26vw / var(--s));
      white-space: nowrap;
    }
  }

  /* --- 特別な調整（もしあれば） --- */
  .about-section-diagram {
    text-align: center;
    padding: calc(20vw / var(--s)) 0;
  }

  .about-section-diagram img {
    max-width: 100%;
    width: auto;
    height: auto;
  }
}


/* --- Sect02 Ingredients Table --- */
.sect02-ingredients {
  display: flex;
  flex-direction: column;
  gap: 4.4px;
  width: 900px;
  margin: 100px auto 0;
}

.sect02-ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.sect02-ingredients-cell {
  display: flex;
  flex-direction: column;

  & dt {
    font-family: var(--font-jp);
    font-size: 20px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    background-color: #C9CDD0;
    padding: 10px 16px;
    margin: 0;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  & dd {
    flex: 1;
    font-family: var(--font-jp);
    font-size: 15px;
    line-height: 1.7;
    padding: 12.8px 0;
    margin: 0;
    background-color: #F2F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.sect02-ingredients-note {
  font-family: var(--font-jp);
  font-size: 11px;
  color: #888;
  text-align: right;
  margin-top: 10px;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .sect02-ingredients {
    width: calc(295.57vw / var(--s));
    padding: 0;
    margin: calc(30vw / var(--s)) auto 0;
  }

  .sect02-ingredients-grid {
    display: flex;
    flex-direction: column;
    gap: calc(10.9vw / var(--s));
  }

  .sect02-ingredients-cell dt {
    font-size: calc(12vw / var(--s));
    height: auto;
    padding: calc(4.8vw / var(--s));
  }

  .sect02-ingredients-cell dd {
    font-size: calc(12vw / var(--s));
    padding: calc(5.4vw / var(--s)) 0;
    text-align: center;
  }

  .sect02-ingredients-note {
    font-size: calc(10vw / var(--s));
    margin-top: calc(10vw / var(--s));
  }
}