/* About Print World page */

.about-page {
  background: #fff;
}

.about-page .fv-header {
  background: #efce0a;
}

.ap-inner {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

/* ----- Hero title (yellow) ----- */
.ap-hero {
  background: #efce0a;
  padding: 0 0 56px;
}

.ap-hero__inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  padding-top: 300px;
}

.ap-hero__title {
  display: block;
  width: min(640px, 88%);
  height: auto;
}

/* ----- Sec1: team ----- */
.ap-sec1 {
  background: #fff;
  padding: 80px 0 110px;
}

.ap-sec1__photo {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto 28px;
}

.ap-sec1__heading {
  margin: 0 auto 16px;
  max-width: 920px;
  padding: 0 28px;
  box-sizing: border-box;
  color: #111;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  text-align: left;
}

.ap-sec1__text {
  margin: 0 auto;
  max-width: 920px;
  padding: 0 28px;
  box-sizing: border-box;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

/* ----- Sec2: reasons (sec5-like) ----- */
.ap-sec2 {
  background: #d3e283;
  padding: 0 0 72px;
  overflow: visible;
}

.ap-sec2__hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.ap-sec2__people {
  width: min(354px, 50%);
  height: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
  margin: 0 0 -194px;
  align-self: flex-end;
  transform: translate(-91px, -93px);
}

.ap-sec2__title {
  width: min(640px, 52%);
  height: auto;
  position: relative;
  z-index: 5;
  flex-shrink: 1;
  transform: translate(-164px, -124px);
}

.ap-sec2__body {
  position: relative;
  z-index: 5;
  width: min(1000px, calc(100% - 48px));
  margin: -190px auto 0;
  padding-top: 0;
  overflow: visible;
}

.ap-sec2__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 43px;
  counter-reset: apcard;
  overflow: visible;
}

/* Design lock (~1000px row): short stadium cards; person pops above/below white. */
.ap-card {
  position: relative;
  counter-increment: apcard;
  display: flex;
  align-items: center;
  gap: 8px 18px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 20px;
  height: 152px;
  min-height: 170px;
  max-height: 124px;
  padding: 0 44px 0 8px;
  overflow: visible;
}

.ap-card:first-child .ap-card__media img {
  max-height: 198px;
}

.ap-card::before {
  content: none;
}

.ap-card__media {
  position: relative;
  z-index: 2;
  flex: 0 0 200px;
  width: 200px;
  min-width: 186px;
  height: 198px;
  margin-top: -45px;
  margin-bottom: -16px;
  align-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.ap-card__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 198px;
  object-fit: contain;
  object-position: bottom center;
}

.ap-card__copy {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 8px 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ap-card__title {
  margin: 0 0 6px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.ap-card__text {
  margin: 0;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

/* ----- Sec3: guide panel ----- */
.ap-sec3 {
  background: #fff;
  padding: 64px 0 72px;
}

.ap-sec3__heading {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  text-align: left;
}

.ap-sec3__lead {
  margin: 0 0 36px;
  max-width: 720px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

.ap-sec3__panel {
  width: min(1100px, 100%);
}

.ap-guide-grid {
  gap: 22px 64px;
}

.ap-guide-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.ap-guide-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 14px 0 20px;
  border: 3px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-sizing: border-box;
}

.ap-guide-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  background: #fff;
  color: #111;
  clip-path: polygon(25% 6%, 75% 6%, 94% 50%, 75% 94%, 25% 94%, 6% 50%);
  box-shadow: inset 0 0 0 2px #111;
}

.ap-guide-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 900;
  line-height: 1.25;
}

.ap-guide-arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-sec3 .sec6-copy {
  margin: 10px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 1.7;
}

/* Guide panel fill — fight MT body*{background:#fff!important}. */
.about-page .ap-sec3 .sec6-panel,
.about-mt .ap-sec3 .sec6-panel {
  background: #f7ede6 !important;
  background-color: #f7ede6 !important;
}

.about-page .ap-sec3 .sec6-panel *,
.about-mt .ap-sec3 .sec6-panel * {
  background-color: transparent !important;
}

/* Reason cards — fight MT body* font/overflow resets. */
.about-page .ap-sec2,
.about-mt .ap-sec2,
.about-page .ap-sec2__body,
.about-mt .ap-sec2__body,
.about-page .ap-sec2__grid,
.about-mt .ap-sec2__grid,
.about-page .ap-card,
.about-mt .ap-card,
.about-page .ap-card__media,
.about-mt .ap-card__media {
  overflow: visible !important;
}

.about-page .ap-card__title,
.about-mt .ap-card__title {
  font-size: 18px !important;
  font-weight: 900;
  line-height: 1.25 !important;
  color: #111 !important;
}

.about-page .ap-card__text,
.about-mt .ap-card__text {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  color: #222 !important;
}

/* ----- Sec4: consultation intro ----- */
.ap-sec4 {
  background: #fff;
  padding: 24px 0 48px;
  text-align: center;
}

.ap-sec4__banner {
  display: block;
  width: min(920px, 100%);
  height: auto;
  margin: 0 auto 20px;
}

.ap-sec4__list {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  max-width: 720px;
  text-align: left;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

.ap-sec4__note {
  margin: 0 auto;
  max-width: 720px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

/* ----- Sec5: contact methods ----- */
.ap-sec5 {
  background: #fff;
  padding: 24px 0 96px;
}

.ap-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px 40px;
  align-items: start;
  margin: 0 0 56px;
}

.ap-method:last-child {
  margin-bottom: 0;
}

.ap-method__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 14px;
}

.ap-method__head img {
  display: block;
  width: min(270px, 55%);
  height: auto;
}

.ap-method__name {
  margin: 0;
  color: #111;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.ap-method__text {
  margin: 0 0 22px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.ap-method__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(360px, 100%);
  min-height: 64px;
  padding: 14px 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.ap-method__btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ap-method__btn--mail {
  background: #d8001a;
}

.ap-method__btn--line {
  background: #06c755;
}

.ap-method__btn--visit {
  background: #f15a24;
}

.ap-method__home {
  font-size: 22px;
  line-height: 1;
}

.ap-method__phone {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: min(360px, 100%);
  min-height: 64px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ececec;
  color: #111;
  text-decoration: none;
}

.ap-method__phone img {
  width: 28px;
  height: 28px;
}

.ap-method__phone-num {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ap-method__phone-hours {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.ap-method__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .ap-sec2__grid {
    gap: 22px 16px;
  }

  .ap-method {
    gap: 20px 24px;
  }
}

/* Keep sec2 layout relationships from 1024px down to 320px */
@media (max-width: 1024px) and (min-width: 320px) {
  .ap-sec2 {
    zoom: calc(100vw / 1024px);
  }

  .ap-sec2__hero {
    width: 976px;
  }

  .ap-sec2__people {
    width: 354px;
  }

  .ap-sec2__title {
    width: min(640px, 52%);
  }

  .ap-sec2__body {
    width: 976px;
  }
}

/* 769–1024: keep card title/body at the same on-screen size as 1024
   (counteract parent .ap-sec2 zoom). Scope: .ap-sec2__body only. */
@media (min-width: 769px) and (max-width: 1024px) {
  .ap-sec2__body .ap-sec2__grid {
    gap: 40px 16px;
  }

  .about-page .ap-sec2__body .ap-card__title,
  .about-mt .ap-sec2__body .ap-card__title,
  .ap-sec2__body .ap-card__title {
    font-size: calc(18px * 1024px / 100vw) !important;
  }

  .about-page .ap-sec2__body .ap-card__text,
  .about-mt .ap-sec2__body .ap-card__text,
  .ap-sec2__body .ap-card__text {
    font-size: calc(15px * 1024px / 100vw) !important;
  }
}

@media (max-width: 768px) {
  .ap-inner,
  .ap-hero__inner {
    width: calc(100% - 40px);
  }

  .ap-hero__inner {
    padding-top: 140px;
  }

  .ap-sec1 {
    padding: 32px 0 80px;
  }

  .ap-guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ap-method {
    grid-template-columns: 1fr;
  }

  .ap-method__photo {
    order: -1;
  }
}

/* 426–768: gradually shrink card / person / type with zoom,
   but floor at 550 so it does not get too small.
   Scope: .ap-sec2__body only. */
@media (max-width: 768px) and (min-width: 426px) {
  .ap-sec2__body {
    --ap-s: calc(max(100vw, 550px) / 100vw);
  }

  .ap-sec2__body .ap-sec2__grid {
    gap: 55px 16px;
  }

  .ap-sec2__body .ap-card {
    position: relative;
    counter-increment: apcard;
    display: flex;
    align-items: center;
    gap: 8px 18px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px;
    height: calc(221px * var(--ap-s));
    min-height: calc(201px * var(--ap-s));
    max-height: calc(124px * var(--ap-s));
    padding: 0 44px 0 8px;
    overflow: visible;
  }

  .ap-sec2__body .ap-card__media {
    position: relative;
    z-index: 2;
    flex: 0 0 calc(200px * var(--ap-s));
    width: calc(200px * var(--ap-s));
    min-width: calc(186px * var(--ap-s));
    height: calc(230px * var(--ap-s));
    margin-top: calc(-45px * var(--ap-s));
    margin-bottom: calc(-16px * var(--ap-s));
    align-self: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
  }

  .ap-sec2__body .ap-card__media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(230px * var(--ap-s));
    object-fit: contain;
    object-position: bottom center;
  }

  .ap-sec2__body .ap-card:first-child .ap-card__media img {
    max-height: calc(230px * var(--ap-s));
  }

  .about-page .ap-sec2__body .ap-card__title,
  .about-mt .ap-sec2__body .ap-card__title,
  .ap-sec2__body .ap-card__title {
    font-size: calc(21px * var(--ap-s)) !important;
    font-weight: 900;
    line-height: 1.25 !important;
    color: #111 !important;
  }

  .about-page .ap-sec2__body .ap-card__text,
  .about-mt .ap-sec2__body .ap-card__text,
  .ap-sec2__body .ap-card__text {
    font-size: calc(19px * var(--ap-s)) !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    color: #222 !important;
  }
}

@media (max-width: 768px) and (min-width: 320px) {
  .ap-hero {
    background: #efce0a;
    padding: 0 0 56px;
  }

  .ap-sec3 .sec6-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ap-inner,
  .ap-hero__inner {
    width: calc(100% - 32px);
  }

  .ap-hero__inner {
    padding-top: 120px;
  }

  .ap-method__btn,
  .ap-method__phone {
    width: 100%;
  }
}

@media (max-width: 425px) {
  .ap-sec2__grid {
    gap: 80px 16px;
  }
}

@media (max-width: 425px) and (min-width: 320px) {
  .ap-card {
    height: 152px;
    min-height: 280px;
    max-height: 124px;
    border-radius: 20px;
    padding: 0 44px 0 8px;
    gap: 8px 18px;
  }

  .ap-card__media {
    flex: 0 0 280px;
    width: 200px;
    min-width: 186px;
    height: 198px;
    margin-top: 66px;
    margin-bottom: -16px;
    align-self: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
  }

  .ap-card__media img {
    display: block;
    width: auto;
    max-width: 159%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: bottom center;
  }

  .ap-card:first-child .ap-card__media img {
    max-height: 340px;
  }

  .about-page .ap-card__title,
  .about-mt .ap-card__title {
    font-size: 30px !important;
    font-weight: 900;
    line-height: 1.25 !important;
    color: #111 !important;
  }

  .about-page .ap-card__text,
  .about-mt .ap-card__text {
    font-size: 27px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    color: #222 !important;
  }

  .ap-sec2__people {
    width: 500px;
    height: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 4;
    margin: 0 0 -300px;
    align-self: flex-end;
    transform: translate(41px, -120px);
  }

  .ap-sec2__title {
    width: min(626px, 70%);
    height: auto;
    position: relative;
    z-index: 5;
    flex-shrink: 1;
    transform: translate(-74px, -158px);
  }

  .ap-method__head img {
    display: block;
    width: min(270px, 70%);
    height: auto;
  }
}
