/* Lower pages only */
main {
    margin-top: 180px;
}
@media(max-width: 1024px){
    main{
        margin-top: 100px;
    }
}
@media(max-width: 767px){
    main{
        margin-top: 70px;
    }
}
/* PAGINATION */
.c-pagination {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 78px;
  }
  .c-pagination .item {
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50px;
    font-weight: 500;
    font-size: 13px;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    margin: 0 5px;
  }
  .c-pagination .item.prev {
    margin-right: 40px;
    margin-left: 0 !important;
  }
  .c-pagination .item.next {
    margin-left: 40px;
    margin-right: 0 !important;
  }
  .c-pagination .item-arrow img {
    display: block;
    width: 17px;
    height: 17px;
  }
  .c-pagination .item a {
    display: block;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
  }
  .c-pagination .item:not(.item-arrow) a:hover {
    opacity: 1;
  }
  .c-pagination .item:not(.item-arrow):hover,
  .c-pagination .item.current {
    background: var(--main);
    color: white;
  }
  .c-pagination .item.current,
  .c-pagination .item.item-dot {
    pointer-events: none;
  }
  @media all and (max-width: 767px) {
    .c-pagination {
      margin-top: 30px;
    }
    .c-pagination .item {
      width: 30px;
      height: 30px;
      font-size: 10px;
    }
    .c-pagination .item.prev {
      margin-right: 10px;
    }
    .c-pagination .item.next {
      margin-left: 10px;
    }
  }
/* Temporary contact fallback until the Contact page design is provided. */
.p-contact__title { display: block; font-size: clamp(26px, 4vw, 44px); }
.p-contact__notice { margin-top: 28px; }
.p-contact__notice a { color: #0071bd; text-decoration: underline; }

/* ============================================
   LOWER PAGE / BANNER & BREADCRUMB
   Design: Group 34.svg (1680 x 502)
============================================ */
.p-page-banner {
    width: min(100%, 1680px);
    height: 440px;
    margin: auto;
    padding: 0; /* decorative banner: no container inner gutter */
}
.p-page-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.p-page-banner::before{
    background-image: url('../images/pages/bg.png');
    width: 100%;
    height: 100%;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    background-position: left bottom;
}

/* Override the generic .c-breadcrumb only on lower-page banner areas. */
.c-breadcrumb--page {
    width: min(100%, 1680px);
    margin: 0 auto 80px;
    padding: 40px 20px 4px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.c-breadcrumb--page ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 11px;
    row-gap: 8px;
    list-style: none;
}

.c-breadcrumb--page li {
    display: inline-flex;
    align-items: center;
}

.c-breadcrumb--page li:not(:last-child)::after {
    content: '＞';
    margin-left: 11px;
}

.c-breadcrumb--page a {
    transition: color .3s ease;
}

.c-breadcrumb--page a:hover {
    opacity: 1;
    color: var(--primary, #0071bd);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .p-page-banner {
        height: 320px;
    }
    .c-breadcrumb--page {
        padding-top: 28px;
    }
}

@media (max-width: 767px) {
    .p-page-banner {
        height: 200px;
        max-width: 100% !important;
        background-position: 56% center;
    }
    .c-breadcrumb--page {
        padding: 22px 15px 0;
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 50px;
    }
    .c-breadcrumb--page ol {
        column-gap: 7px;
    }
    .c-breadcrumb--page li:not(:last-child)::after {
        margin-left: 7px;
    }
}


/* ============================================
   LOWER PAGE / ITEM
   Design: item.svg, 1401 × 3263.272
   Reuses shared c-section-* and l-container.
============================================ */
.p-item-catalog {}
.p-item-catalog__title { margin-top: 12px; font-size: 32px; }
.p-item-catalog__lead {margin-top: 49px;line-height: 1.5;font-size: 26px;}

.p-item-catalog__shortcuts {
    display: flex;
    gap: 40px 3.8%;
    margin-top: 75px;
    flex-wrap: wrap;
    justify-content: center;
}
.p-item-catalog__shortcut {display: block;min-width: 0;width: 30.8%;}
.p-item-catalog__shortcut img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 212;
    object-fit: cover;
}
.p-item-catalog__shortcut-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 27px 20px 0;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
}
.p-item-catalog__shortcut-name::after {
    content: '';
    display: block;
    flex: 0 0 31px;
    width: 31px;
    height: 15px;
    background: currentColor;
    clip-path: polygon(0 79%, 91% 79%, 57% 8%, 64% 4%, 100% 90%, 0 90%);
    transition: transform .25s ease;
}
.p-item-catalog__shortcut:hover { opacity: 1; color: var(--primary); }
.p-item-catalog__shortcut:hover .p-item-catalog__shortcut-name { color: var(--primary); }
.p-item-catalog__shortcut:hover .p-item-catalog__shortcut-name::after { transform: translateX(5px); }

.p-item-catalog__categories { margin-top: 169px; }
.p-item-catalog__category { scroll-margin-top: 125px; }
.p-item-catalog__category + .p-item-catalog__category { margin-top: 132px; }
.p-item-catalog__category-title {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: -3px;
    color: #111;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
}
.p-item-catalog__category-title::after {
    content: '';
    display: block;
    flex: 0 0 60px;
    height: 1px;
    margin-bottom: 10px;
    background: #111;
}
.p-item-catalog__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 30px;
    margin-top: 21px;
}
.p-item-catalog__gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 252;
    object-fit: cover;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .p-item-catalog { padding-bottom: 100px; }
    .p-item-catalog__shortcuts {gap: 24px 3%;margin-top: 60px;}
    .p-item-catalog__shortcut-name { padding: 20px 0 0; font-size: 16px; }
    .p-item-catalog__categories { margin-top: 120px; }
    .p-item-catalog__gallery { gap: 18px; }
    .p-item-catalog__category + .p-item-catalog__category { margin-top: 100px; }
}
@media (max-width: 767px) {
    .p-item-catalog {}
    .p-item-catalog__shortcut{
        width: 48%;
    }
    .p-item-catalog__title { font-size: 29px; }
    .p-item-catalog__lead {margin-top: 30px;line-height: 1.85;text-align: left;font-size: 16px;}
    .p-item-catalog__lead br { display: none; }
    .p-item-catalog__shortcuts {grid-template-columns: repeat(2, minmax(0, 1fr));gap: 32px 4%;margin-top: 30px;}
    .p-item-catalog__shortcut-name {padding: 13px 0 0;font-size: 12px;line-height: 1.5;}
    .p-item-catalog__shortcut-name::after { flex-basis: 22px; width: 22px; height: 12px; }
    .p-item-catalog__categories {margin-top: 60px;}
    .p-item-catalog__category { scroll-margin-top: 85px; }
    .p-item-catalog__category + .p-item-catalog__category {margin-top: 60px;}
    .p-item-catalog__category-title { gap: 10px; font-size: 21px; line-height: 1.5; }
    .p-item-catalog__category-title::after { flex-basis: 38px; }
    .p-item-catalog__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
}
/* ============================================
   PROJECT YOSHIDA / PROFILE + STRENGTH PAGE
   Sources: profile.svg (1060px), about.svg (1402px)
   Append only; shared c-section-* remains unchanged.
============================================ */
.p-page-content { color: #111; }
.p-page-content em { color: var(--primary); font-style: normal; }
.p-page-content .c-section-title { margin-top: 10px; font-size: 32px; }
.p-page-content .c-section-title--rule::after { height: 1px; margin-top: 15px; }

/* PROFILE / greeting + history + company + access */
.p-profile__greeting-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; margin-top: 69px; }
.p-profile__greeting-message { min-width: 0; }
.p-profile__greeting-message h2 { font-size: 26px; font-weight: 700; line-height: 1.55; letter-spacing: -.025em; }
.p-profile__greeting-message h2 span { color: var(--primary); }
.p-profile__greeting-copy { margin-top: 52px; line-height: 1.875; }
.p-profile__greeting-copy p + p { margin-top: 30px; }
.p-profile__president img { display: block; width: 340px; height: 510px; object-fit: cover; }
.p-profile__president figcaption { margin-top: 36px; font-size: 16px; font-weight: 700; text-align: center; }
.p-profile__president figcaption strong { margin-left: 8px; font-size: 28px; }
.p-profile__history { margin-top: 115px; }
.p-profile__timeline { margin-top: 48px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.p-profile__timeline > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 64.5px; }
.p-profile__timeline dt, .p-profile__timeline dd { display: flex; align-items: center; border-bottom: 1px solid; }
.p-profile__timeline dt { justify-content: center; padding: 12px 8px; border-color: var(--primary); color: var(--primary); }
.p-profile__timeline dd { margin-left: 20px; padding: 12px 0 12px 20px; border-color: #111; }
.p-profile__company { margin-top: 141px; }
.p-profile__overview { display: grid; gap: 20px; margin-top: 70px; font-size: 15px; font-weight: 700; line-height: 28px; }
.p-profile__overview > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: rgba(0,113,189,.1); }
.p-profile__overview dt { padding: 20px 10px; text-align: center; }
.p-profile__overview dd { min-width: 0; padding: 20px 25px 20px 0; overflow-wrap: anywhere; }
.p-profile__overview dd a:hover { color: var(--primary); }
.p-profile__access { margin-top: 125px; }
.p-profile__map { margin-top: 69px; }
.p-profile__map iframe { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 480; object-fit: cover; }
.p-profile__map p { margin-top: 40px; font-size: 18px; font-weight: 700; line-height: 1.5; text-align: center; }

/* ABOUT / four strengths and in-page anchors */
.p-strength-page__lead { margin-top: 68px; }
.p-strength-page__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 94px; }
.p-strength-page__nav-item { display: block; position: relative; min-width: 0; }
.p-strength-page__nav-item > img { display: block; width: 100%; height: auto; aspect-ratio: 320 / 212; object-fit: cover; }
.p-strength-page__nav-item--mirrored > img { transform: scaleX(-1); }
.p-strength-page__nav-badge {display: flex;position: relative;top: -15px;align-items: flex-end;justify-content: space-between;width: 150px;/* height: 30px; */padding: 6px 15px 6px 24px;background: var(--primary);color: #fff;font-size: 10px;font-weight: 700;}
.p-strength-page__nav-badge strong {font-size: 16px;line-height: 1.3;}
.p-strength-page__nav-title {display: block;position: relative;align-items: center;justify-content: space-between;gap: 8px;margin-top: 0;padding: 6px 12px 0 30px;font-size: 22px;font-weight: 700;line-height: 1.55;width: 100%;}
.p-strength-page__nav-title::after {content: '';display: block;flex: 0 0 30px;width: 30px;height: 18px;background: currentColor;clip-path: polygon(0 74%, 86% 74%, 60% 10%, 66% 5%, 100% 87%, 0 87%);transition: transform .3s;position: absolute;bottom: 5px;right: 30px;}
.p-strength-page__nav-item:hover { opacity: 1; }
.p-strength-page__nav-item:hover .p-strength-page__nav-title::after { transform: translateX(6px); }
.p-strength-page__details { margin-top: 150px; }
.p-strength-page__detail { scroll-margin-top: 140px; }
.p-strength-page__detail + .p-strength-page__detail { margin-top: 90px; }
.p-strength-page__detail-title {display: flex;align-items: center;gap: 40px;min-height: 120px;padding: 20px 40px;box-shadow: 0 2px 6px rgba(0,0,0,.16);font-size: 26px;font-weight: 700;line-height: 1.5;}
.p-strength-page__detail-num { display: block; flex: 0 0 56px; border-right: 1px dashed #999; padding-right: 40px; box-sizing: content-box; color: var(--primary); font-size: 32px; line-height: 1.1; }
.p-strength-page__detail-body {display: grid;grid-template-columns: 340px minmax(0,1fr);align-items: center;gap: 40px;margin-top: 50px;width: 100%;max-width: 1020px;margin: 50px auto 0;}
.p-strength-page__detail-body img { display: block; width: 340px; height: 226px; object-fit: cover; }
.p-strength-page__detail-body p { min-width: 0; line-height: 1.875; }
.p-strength-page__detail-body--reverse { grid-template-columns: minmax(0,1fr) 340px; }
.p-strength-page__detail-body--reverse img { grid-column: 2; grid-row: 1; }
.p-strength-page__detail-body--reverse p { grid-column: 1; grid-row: 1; }

/* ABOUT / order contact, process cards, FAQ */
.p-strength-page__order { margin-top: 130px; }
.p-strength-page__order-contact { margin-top: 66px; font-size: 15px; font-weight: 700; line-height: 1.75; text-align: center; }
.p-strength-page__order-lead { margin-bottom: 20px; font-size: 26px; }
.p-strength-page__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 55px; font-size: 42px; font-weight: 700; line-height: 1.4; }
.p-strength-page__phone img { display: block; width: 37px; height: 37px; }
.p-strength-page__phone:hover { color: var(--primary); }
.p-strength-page__hours { margin-top: 8px; font-size: 13px; }
.p-strength-page__subheading {display: flex;align-items: flex-end;gap: 20px;font-size: 26px;font-weight: 700;line-height: 1.5;}
.p-strength-page__subheading::after {content: '';flex: 1;height: 1px;background: #777;margin-bottom: 11px;}
.p-strength-page__order-contact + .l-container { margin-top: 65px; }
.p-strength-page__order-steps {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 40px;margin-top: 41px;/* padding: 0; */}
.p-strength-page__order-step {min-width: 0;min-height: 226px;background: #fff;box-shadow: 0 3px 6px rgba(0,0,0,.16);font-size: 16px;font-weight: 700;line-height: 1.875;text-align: center;}
.p-strength-page__order-step h4 { display: flex; align-items: center; justify-content: center; min-height: 61px; padding: 12px 5px; background: var(--primary); color: #fff; font-size: 22px; line-height: 1.5; }
.p-strength-page__order-step p {padding: 36px 20px;}
.p-strength-page__faq { margin-top: 140px; }
.p-strength-page__faq-group { margin-top: 66px; }
.p-strength-page__faq-group + .p-strength-page__faq-group { margin-top: 90px; }
.p-strength-page__questions {display: grid;gap: 30px;margin-top: 60px;}
.p-strength-page__questions dl {min-width: 0;font-weight: 700;line-height: 1.9;}
.p-strength-page__questions dt button {display: flex;align-items: center;gap: 34px;width: 100%;min-height: 84px;padding: 15px 30px;border: 0;background: rgba(0,113,189,.1);color: inherit;font: inherit;text-align: left;cursor: pointer;border-bottom: 1px solid #CCCCCC;font-size: 18px;}
.p-strength-page__questions dt button::before { content: 'Q'; display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; font-weight: 700; }
.p-strength-page__questions dt button::after { content: '+'; margin-left: auto; color: var(--primary); font-size: 25px; font-weight: 700; line-height: 1; }
.p-strength-page__questions dt button[aria-expanded="true"]::after { content: '−'; }
.p-strength-page__questions dd{display: none;}
.p-strength-page__questions dd > p {padding: 30px 5px;line-height: 1.9;width: 100%;max-width: 794px;margin: auto;font-size: 16px;}
.p-strength-page__questions dt button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

@media (min-width: 768px) and (max-width: 1024px) {
    .p-profile__greeting-inner { grid-template-columns: minmax(0,1fr) 290px; gap: 28px; }
    .p-profile__greeting-message h2 { font-size: 23px; }
    .p-profile__president img { width: 290px; height: 435px; }
    .p-profile__president figcaption strong { font-size: 23px; }
    .p-profile__timeline { font-size: 14px; }
    .p-profile__timeline > div { grid-template-columns: 205px minmax(0,1fr); }
    .p-profile__overview > div { grid-template-columns: 180px minmax(0,1fr); }
    .p-strength-page__nav { gap: 20px; }
    .p-strength-page__nav-title { padding-left: 0; font-size: 16px; }
    .p-strength-page__detail-title { min-height: 100px; }
    .p-strength-page__detail-body { grid-template-columns: 36% minmax(0,1fr); gap: 25px; }
    .p-strength-page__detail-body img { width: 100%; height: auto; aspect-ratio: 340/226; }
    .p-strength-page__detail-body--reverse { grid-template-columns: minmax(0,1fr) 36%; }
    .p-strength-page__order-steps { gap: 20px; }
    .p-strength-page__order-step h4 { font-size: 17px; }
    .p-strength-page__order-step p { font-size: 14px; }
}

@media (max-width: 767px) {
    .p-page-content .c-section-title--rule::after { margin-top: 18px !important; }
    .p-profile__greeting-inner {display: flex;flex-wrap: wrap;gap: 35px;margin-top: 45px;}
    .p-profile__greeting-message h2 { font-size: 21px; line-height: 1.65; }
    .p-profile__greeting-copy { margin-top: 25px; line-height: 1.9; }
    .p-profile__greeting-copy p + p { margin-top: 22px; }
    .p-profile__president {width: 100%;max-width: 290px;margin: 0 auto;order: 1;}
    .p-profile__greeting-message{order:2;}
    .p-profile__president img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
    .p-profile__president figcaption { margin-top: 16px; font-size: 12px; }
    .p-profile__president figcaption strong { font-size: 20px; }
    .p-profile__history, .p-profile__company, .p-profile__access { margin-top: 85px; }
    .p-profile__timeline { margin-top: 40px; padding: 0; font-size: 13px; }
    .p-profile__timeline > div { grid-template-columns: 105px minmax(0,1fr); min-height: 0; }
    .p-profile__timeline dt { justify-content: flex-start; padding: 17px 8px 17px 0; }
    .p-profile__timeline dd { margin-left: 12px; padding: 17px 0 17px 0; }
    .p-profile__overview { gap: 12px; margin-top: 40px; padding: 0; font-size: 13px; line-height: 1.85; }
    .p-profile__overview > div { grid-template-columns: 88px minmax(0,1fr); }
    .p-profile__overview dt { padding: 15px 7px; text-align: left; }
    .p-profile__overview dd { padding: 15px 8px 15px 0; }
    .p-profile__overview dd br { display: none; }
    .p-profile__map { margin-top: 40px; padding: 0; }
    .p-profile__map p { margin-top: 20px; font-size: 13px; }
    .p-strength-page__lead { margin-top: 35px; text-align: left; }
    .p-strength-page__lead br { display: none; }
    .p-strength-page__nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 14px; margin-top: 40px; }
    .p-strength-page__nav-badge { top: -11px; width: 106px; height: 24px; padding: 0 10px; font-size: 9px; }
    .p-strength-page__nav-badge strong { font-size: 12px; }
    .p-strength-page__nav-title { align-items: flex-start; padding: 0; font-size: 15px; }
    .p-strength-page__nav-title::after { flex-basis: 17px; width: 17px; height: 12px; margin-top: 5px; }
    .p-strength-page__details { margin-top: 90px; }
    .p-strength-page__detail { scroll-margin-top: 90px; }
    .p-strength-page__detail + .p-strength-page__detail { margin-top: 62px; }
    .p-strength-page__detail-title { min-height: 74px; gap: 14px; padding: 16px; font-size: 20px; }
    .p-strength-page__detail-num { flex-basis: 36px; padding-right: 14px; font-size: 25px; }
    .p-strength-page__detail-body, .p-strength-page__detail-body--reverse { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
    .p-strength-page__detail-body img, .p-strength-page__detail-body--reverse img { width: 100%; height: auto; aspect-ratio: 340 / 226; }
    .p-strength-page__detail-body p { font-size: 14px; }
    .p-strength-page__order { margin-top: 90px; }
    .p-strength-page__order-contact { margin-top: 45px; font-size: 13px; }
    .p-strength-page__order-lead { font-size: 20px; }
    .p-strength-page__phone { gap: 7px; margin-top: 28px; font-size: 29px; }
    .p-strength-page__phone img { width: 27px; height: 27px; }
    .p-strength-page__hours { font-size: 11px; }
    .p-strength-page__subheading {gap: 12px;font-size: 17px;}
    .p-strength-page__order-contact + .l-container { margin-top: 50px; }
    .p-strength-page__order-steps { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
    .p-strength-page__order-step { min-height: 0; font-size: 14px; }
    .p-strength-page__order-step h4 { min-height: 48px; font-size: 17px; }
    .p-strength-page__order-step p { padding: 24px 15px; }
    .p-strength-page__faq { margin-top: 90px; }
    .p-strength-page__faq-group { margin-top: 45px; }
    .p-strength-page__faq-group + .p-strength-page__faq-group { margin-top: 65px; }
    .p-strength-page__questions { gap: 35px; margin-top: 28px; padding: 0; }
    .p-strength-page__questions dl { font-size: 13px; }
    .p-strength-page__questions dt button {gap: 12px;min-height: 68px;padding: 10px 12px;font-size: 14px;}
    .p-strength-page__questions dt button::before { flex-basis: 30px; width: 30px; height: 30px; font-size: 15px; }
    .p-strength-page__questions dt button::after { font-size: 20px; }
    .p-strength-page__questions dd > p {padding: 16px 4px 0;font-size: 13px;}
}
