:root {
  --wako-subpage-blue: #3C5883;
  --wako-mincho: "Zen Old Mincho", "Yu Mincho", YuMincho, serif;
  --wako-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

.subpage-intro > .content-width {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

/* Shared ABOUT WAKO desktop layout */
@media (min-width: 768px) {
  .about-pc-width {
    width: min(calc(100% - 80px), 1120px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .about-intro {
    width: min(calc(100% - 80px), 960px);
    margin-right: auto;
    margin-left: auto;
  }

  .about-alternating {
    display: grid;
    gap: 110px;
  }

  .about-alternating__item {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 64px;
    align-items: center;
    max-width: none;
    margin: 0;
  }

  .about-alternating__item > img,
  .about-alternating__item > picture {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    margin: 0;
  }

  .about-alternating__item > :not(img):not(picture) {
    grid-column: 2;
  }

  .about-alternating__item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  }

  .about-alternating__item:nth-child(even) > img,
  .about-alternating__item:nth-child(even) > picture {
    grid-column: 2;
  }

  .about-alternating__item:nth-child(even) > :not(img):not(picture) {
    grid-column: 1;
  }

  .about-grid {
    display: grid;
    align-items: start;
  }

  .about-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 48px;
  }

  .about-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 70px 36px;
  }

  .about-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 70px 28px;
  }
}

/* All subpages: shared breadcrumb and lower-page components */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #555;
  font-size: var(--fs-note);
}

.breadcrumb__separator { margin: 0 10px; }

.breadcrumb a { color: inherit; text-decoration: underline; }

.subpage-collection { padding: 72px 0 82px; }
.subpage-collection__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.subpage-collection__card { display: block; position: relative; overflow: hidden; aspect-ratio: 165 / 199; }
.subpage-collection__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.subpage-collection__card > span { position: absolute; top: 17%; left: 50%; width: 100%; color: #225C8D; font-family: "Sterling Display", "Times New Roman", serif; font-size: clamp(14px, 4.5vw, 22px); line-height: 1; text-align: center; transform: translateX(-50%); }
.subpage-collection__card small { display: block; margin-top: 5px; font-size: .68em; }
.subpage-contact { display: grid; gap: 13px; margin-top: 105px; }
.subpage-contact .shop-section__reservation { margin-top: 0; }
.subpage-contact .common-outline-button { min-height: 52px; }
.subpage-shop { padding: 68px 0 72px; background: #f7f7f7; }
.subpage-shop .common-section-title { margin-bottom: 45px; }

/* Keep the ABOUT WAKO child-page content-to-navigation gap consistent. */
.quality-page .brand-page-bottom-guide,
.design-page .brand-page-bottom-guide,
.after-service-page .brand-page-bottom-guide,
.specialist-page .brand-page-bottom-guide,
.history-page .brand-page-bottom-guide {
  margin-top: 100px;
}

@media (min-width: 768px) {
  .quality-page .brand-page-bottom-guide,
  .design-page .brand-page-bottom-guide,
  .after-service-page .brand-page-bottom-guide,
  .specialist-page .brand-page-bottom-guide,
  .history-page .brand-page-bottom-guide {
    margin-top: 160px;
  }
}
.subpage-shop__links { display: grid; gap: 13px; width: 80%; max-width: 390px; margin: 0 auto; }
.subpage-shop__links a { display: grid; min-height: 52px; color: #fff; border-radius: 999px; background: #000; font-size: var(--fs-button); place-items: center; }

@media (min-width: 768px) {
  .subpage-collection__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* WAKO brand subpages: shared lower navigation, contact and shop */
.brand-page-menu { padding: 8px 6.5%; color: #fff; background: linear-gradient(110deg, #6799bd, #00699c); }
.brand-page-menu__inner { max-width: 900px; margin: auto; }
.brand-page-menu a { display: flex; min-height: 50px; padding: 0 2px; border-bottom: 1px solid rgba(255,255,255,.7); align-items: center; justify-content: space-between; color: inherit; font-size: var(--fs-body); }
.brand-page-menu a:last-child { border-bottom: 0; }
.brand-page-menu a::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-right: 3px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-3px); }
.brand-page-contact { padding: 78px 0 72px; }
.brand-page-contact .subpage-contact { width: min(80%, 390px); margin: 0 auto; }
.brand-page-shop { padding: 0 5% 65px; background: #f7f7f7; }
.brand-page-shop__title { margin: 0 0 40px; font-family: "Helvetica Neue", Arial, sans-serif; font-size: var(--fs-title-lg); font-weight: 300; text-align: center; }
.brand-page-shop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: auto; }
.brand-page-shop__card h3 { min-height: 55px; margin: 0 0 16px; padding: 0 4px 10px; border-bottom: 1px solid #999; font-size: var(--fs-title-sm); text-align: center; }
.brand-page-shop__card img { display: block; width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; }
.brand-page-shop__card .common-outline-button { width: 100%; min-height: 48px; margin-top: 16px; padding: 7px; font-size: var(--fs-button); }

@media (min-width: 768px) {
  .brand-page-menu { padding: 0; }
  .brand-page-menu__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; max-width: 1920px; margin-right: auto; margin-left: auto; }
  .brand-page-menu a { min-width: 0; min-height: 70px; padding: 12px 18px; border-right: 1px solid rgba(255,255,255,.75); border-bottom: 0; justify-content: center; gap: 14px; text-align: center; font-size: 16px; line-height: 1.5; }
  .brand-page-menu a:last-child { border-right: 0; }
  .brand-page-menu a::after { margin-right: 0; transform: rotate(45deg) translateY(-3px); }
  .brand-page-shop__card h3 { font-size: var(--fs-title-sm); }
}

.standard-page,
.quality-page,
.design-page,
.specialist-page {
  font-family: var(--wako-gothic);
}

/* WAKO specialist page */
.specialist-page .sp-serif,
.specialist-page .sp-pillar h2,
.specialist-page .sp-role,
.specialist-page .sp-profile h3,
.specialist-page .sp-profile__license,
.specialist-page .sp-workshop h2 small,
.specialist-page .sp-nav a {
  font-family: var(--wako-mincho);
}

.specialist-page .sp-profile__license {
  color: var(--wako-subpage-blue);
}

.specialist-page .sp-workshop {
  background: url("../../img/renewal/specialist/workshop_bg.png") center top / cover no-repeat;
}

@media (max-width: 767px) {
  .specialist-page .sp-pillar {
    margin-bottom: 105px;
  }

  .specialist-page .sp-pillar > img,
  .specialist-page .sp-pillar > picture {
    display: block;
    width: min(390px, 78%);
    aspect-ratio: 390 / 475;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
  }

  .specialist-page .sp-pillar > img,
  .specialist-page .sp-pillar > picture img {
    height: 100%;
    object-fit: cover;
  }

  .specialist-page .sp-pillar:first-child > picture {
    background-position: center center;
  }

  .specialist-page .sp-pillar:nth-child(2) > img {
    object-position: 51% center;
  }

  .specialist-page .sp-pillar:nth-child(3) > img {
    content: url("../../img/renewal/specialist/special_007.png");
    object-position: center center;
  }

  .specialist-page .sp-pillar h2 {
    margin: 26px 0 32px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: .06em;
  }

  .specialist-page .sp-list li {
    grid-template-columns: 34px 1fr;
    gap: 7px;
    margin: 25px 0;
    font-family: var(--wako-gothic);
    font-size: 13px;
    line-height: 1.7;
  }

  .specialist-page .sp-list li::before {
    font-size: 38px;
  }

  .specialist-page .sp-pros {
    padding: 92px 0 65px;
  }

  .specialist-page .sp-pros header p {
    font-size: 20px;
  }

  .specialist-page .sp-pros header::after,
  .specialist-page .sp-workshop h2::after {
    width: 82%;
    margin: 24px auto 38px;
    background: var(--wako-subpage-blue);
  }

  .specialist-page .sp-pros__lead,
  .specialist-page .sp-profile p,
  .specialist-page .sp-workshop p {
    font-family: var(--wako-gothic);
    font-size: 13px;
    line-height: 1.72;
  }

  .specialist-page .sp-role {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 42px 0 32px;
    padding: 13px 38px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
  }

  .specialist-page .sp-profile {
    margin-bottom: 88px;
  }

  .specialist-page .sp-profile h3 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0;
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
  }

  .specialist-page .sp-profile h3 strong {
    float: none;
    font-size: 20px;
    font-weight: 600;
  }

  .specialist-page .sp-profile__license {
    margin: 15px 0 0;
    font-size: 17px;
    line-height: 1.65;
  }

  .specialist-page .sp-profile img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 415;
    margin: 28px 0 34px;
    border-radius: 14px;
    object-fit: cover;
  }

  .specialist-page .sp-profile:nth-of-type(1) img { object-position: 50% 45%; }
  .specialist-page .sp-profile:nth-of-type(2) img { object-position: 50% 42%; }
  .specialist-page .sp-profile:nth-of-type(3) img { object-position: 50% 45%; }
  .specialist-page .sp-profile:nth-of-type(4) img { object-position: 50% 45%; }

  .specialist-page .sp-workshop {
    padding: 82px 0 112px;
  }

  .specialist-page .sp-workshop h2 {
    margin: 0;
  }

  .specialist-page .sp-workshop h2 small {
    margin-top: 11px;
    font-size: 21px;
    font-weight: 400;
  }

  .specialist-page .sp-workshop__main {
    display: block;
    width: min(340px, 100%);
    aspect-ratio: 340 / 412;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: cover;
    object-position: center center;
  }

  .specialist-page .sp-workshop p {
    margin: 36px 0;
  }

  .specialist-page .sp-workshop__thumbs {
    width: min(340px, 100%);
    margin: 0 auto;
    gap: 9px;
  }

  .specialist-page .sp-workshop__thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    object-fit: cover;
  }

  .specialist-page .sp-nav .sp-inner {
    width: calc(100% - 70px);
  }

  .specialist-page .sp-nav a {
    min-height: 74px;
    padding: 18px 0;
    font-size: 16px;
  }
}
.wako-number-heading {
  text-align: center;
}

.wako-number-heading__number,
.wako-number-heading__en,
.wako-number-heading__jp {
  display: block;
}

/* The Quality and After Service number panels share the same vertical rhythm. */
.wako-number-heading.wako-number-heading--panel {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  padding: 0 0 30px;
  background: transparent;
}

.wako-number-heading.wako-number-heading--panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: min(100%, 1920px);
  margin: 0 auto;
  content: "";
}

.wako-number-heading--panel .wako-number-heading__inner {
  padding: 30px 0;
}

.wako-number-heading--panel .wako-number-heading__inner .wako-number-heading__number {
  font-size: 112px;
  line-height: .8;
}

.wako-number-heading--panel .wako-number-heading__inner .wako-number-heading__en {
  margin: 12px 0 0;
  line-height: 1;
}

.wako-number-heading--panel .wako-number-heading__inner .wako-number-heading__jp {
  margin-top: 12px;
  font-family: "Yu Mincho", serif;
  font-size: 18px;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .wako-number-heading.wako-number-heading--panel {
    padding-bottom: 70px;
  }

  .wako-number-heading--panel .wako-number-heading__inner {
    padding: 70px 0;
  }

  .wako-number-heading--panel .wako-number-heading__inner .wako-number-heading__number {
    font-size: 150px;
  }

  .wako-number-heading--panel .wako-number-heading__inner .wako-number-heading__jp {
    font-size: 23px;
  }
}
.precious-gem__title { min-height: 102px; margin: 0 0 30px; color: #fff; font-family: "Zen Old Mincho", "Yu Mincho", serif; font-size: 30px; font-weight: 400; line-height: 1.65; text-align: center; padding-top: 30px;}

@media (max-width: 767px){

  .precious-gem { padding-top: 64px; padding-bottom: 110px; }
}

@media (min-width:768px){
  body:not(.item-detail-page) .subpage-title>div{min-height:112px;display:flex;align-items:center;font-size:clamp(24px,2vw,32px)}
  .subpage-intro{max-width:900px;margin-right:auto;margin-left:auto;padding-top:80px;padding-bottom:96px}
  .subpage-intro__text{max-width:760px;margin-right:auto;margin-left:auto;font-size:var(--fs-body-lg);line-height:2}
  .common-section-title{font-size: 22px;}
  .brand-page-contact{padding:90px 0}
  .subpage-contact{display:grid;max-width:1100px;margin:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  .subpage-contact>a{width:100%;margin:0!important}
  .brand-page-shop{padding:0 0 100px}
  .brand-page-shop__grid{max-width:900px;margin:auto;gap:32px}
  .wako-number-heading{max-width:1100px;margin-right:auto;margin-left:auto}

  body:not(.item-list-page):not(.item-detail-page) .breadcrumb{padding-top:24px;padding-bottom:24px}

  .precious-gem__title {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 0;
    margin-bottom: 48px;
    font-size: 38px;
        margin: 70px 0 30px; padding-top: 70px;
  }




}
/* 共通の誕生月ナビ：誕生石一覧・選び方 */
.birthday-month-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; width: 86%; margin: 0 auto 64px; }
.birthday-month-nav > a,
.birthday-month-nav > button {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 1px solid #225C8D;
  color: #225C8D;
  background: #fff;
  border-radius: 50%;
  place-content: center;
  text-align: center;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  appearance: none;
}
.birthday-month-nav > a::after,
.birthday-month-nav > button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #225C8D;
  border-bottom: 1px solid #225C8D;
  transform: translateX(-50%) rotate(45deg);
}
.birthday-month-nav b { font-family: "Sterling Display", serif; font-size: 16px; font-weight: 400; margin-top: -10px; }
.birthday-month-nav span { margin-top: -1px; font-family: "Sterling Display", serif; font-size: 6px; }
.birthday-month-nav > .is-active { box-shadow: inset 0 0 0 1px #225C8D; }
.birthday-month-nav > a:focus-visible,
.birthday-month-nav > button:focus-visible { outline: 2px solid #225C8D; outline-offset: 3px; }
@media (min-width: 768px) {
  .birthday-month-nav { max-width: 100%; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .birthday-month-nav b { font-size: 20px; }
  .birthday-month-nav span { font-size: 10px; }
  .birthday-month-nav > a::after,
  .birthday-month-nav > button::after { bottom: 7px; }
}
@media (min-width: 1100px) {
  .birthday-month-nav b { font-size: 25px; }
  .birthday-month-nav span { font-size: 12px; }
  .birthday-month-nav > a::after,
  .birthday-month-nav > button::after { bottom: 15px; }
}
