/* Page-specific CSS */
/* serviceページのみタイトルサイズ調整 */
.p-service .c-page-title {
  font-size: clamp(20px, 2.0vw, 28px);
}


/* 下層ページ キャッチ統一サイズ */
.p-products .p-service-intro__title{
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.4;
}


/* ===== brand concept section ===== */
.p-brand-concept {
  background: #d8edf6;
  padding: 0 0 72px;
}

.p-brand-concept__inner {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.p-brand-concept__label {
  width: min(100%, 360px);
  margin: 0 auto 36px;
  background: var(--color-red);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 24px 14px;
  clip-path: polygon(5% 0, 95% 0, 85% 100%, 15% 100%);
}

.p-brand-concept__content {
  position: relative;
  min-height: 170px;
}

.p-brand-concept__body {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.p-brand-concept__title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .03em;
  margin-bottom: 18px;
}

.p-brand-concept__text {
  font-size: 17px;
  line-height: 2;
  color: #333;
}

.p-brand-concept__logo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-brand-concept__logo img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

@media (max-width: 900px) {
  .p-brand-concept {
    padding: 0 0 56px;
  }

  .p-brand-concept__content {
    min-height: auto;
  }

  .p-brand-concept__body {
    max-width: none;
  }

  .p-brand-concept__logo {
    position: static;
    transform: none;
    width: auto;
    margin-top: 28px;
  }

  .p-brand-concept__logo img {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .p-brand-concept__label {
    width: min(100%, 280px);
    font-size: 16px;
    margin-bottom: 28px;
    padding: 14px 18px 13px;
  }

  .p-brand-concept__title {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .p-brand-concept__text {
    font-size: 14px;
    line-height: 1.9;
  }
}


/* ===== product detail section ===== */
.p-product-detail{
  padding: 84px 0 88px;
  background: #fff;
}
.p-product-detail__inner{
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}
.p-product-detail__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 72px;
  margin-bottom: 64px;
}
.p-product-detail__block{
  min-width: 0;
}
.p-product-detail__title{
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
}
.p-product-detail__sub{
  margin: 0 0 24px;
  color: var(--color-text);
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .01em;
}
.p-product-detail__text{
  margin: 0 0 16px;
  color: #222;
  font-size: 17px;
  line-height: 2;
}
.p-product-detail__note{
  margin: 18px 0 0;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}
.p-product-detail__list{
  margin: 20px 0 0;
  padding: 0;
}
.p-product-detail__list li{
  position: relative;
  padding-left: 1em;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.9;
}
.p-product-detail__list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}
.p-product-detail__cta{
  margin-top: 22px;
  font-weight: 700;
}
.p-product-detail__artisan{
  padding-top: 18px;
  border-top: 1px solid #d8d8d8;
}
@media (max-width: 900px){
  .p-product-detail{
    padding: 64px 0 72px;
  }
  .p-product-detail__grid{
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 52px;
  }
}
@media (max-width: 768px){
  .p-product-detail{
    padding: 52px 0 56px;
  }
  .p-product-detail__inner{
    width: min(100% - 24px, 1200px);
  }
  .p-product-detail__grid{
    gap: 34px;
    margin-bottom: 40px;
  }
  .p-product-detail__title{
    font-size: 28px;
    margin-bottom: 14px;
  }
  .p-product-detail__sub{
    font-size: 20px;
    margin-bottom: 18px;
  }
  .p-product-detail__text,
  .p-product-detail__list li{
    font-size: 15px;
    line-height: 1.9;
  }
  .p-product-detail__note{
    font-size: 13px;
  }
}

/* ===== 見出しサイズ統一（override） ===== */
.p-product-detail__title{
  font-size: clamp(24px, 2vw, 30px) !important;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.p-product-detail__sub{
  font-size: clamp(16px, 1.2vw, 18px) !important;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-navy);
  opacity: .9;
  margin-bottom: 14px;
}

.p-product-detail__text{
  font-size: 15px;
  line-height: 1.9;
}

.p-product-detail__list li{
  font-size: 15px;
  line-height: 1.9;
}

.p-product-detail__note{
  font-size: 13px;
}


/* ===== products showcase section ===== */
.p-product-showcase{
  padding: 0 0 88px;
  background: #fff;
}
.p-product-showcase__inner{
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}
.p-product-showcase__block + .p-product-showcase__block{
  margin-top: 80px;
}
.p-product-showcase__heading{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.p-product-showcase__heading::before{
  content: "";
  width: 6px;
  height: 32px;
  background: var(--color-red);
  border-radius: 999px;
  flex: 0 0 auto;
}
.p-product-showcase__title{
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--color-text);
}
.p-product-showcase__text{
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-sub);
  margin: 0 0 24px;
}
.p-product-showcase__image{
  width: 100%;
}
.p-product-showcase__image img{
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}
@media (max-width: 768px){
  .p-product-showcase{
    padding: 0 0 56px;
  }
  .p-product-showcase__inner{
    width: min(100% - 24px, 1200px);
  }
  .p-product-showcase__block + .p-product-showcase__block{
    margin-top: 56px;
  }
  .p-product-showcase__heading{
    gap: 10px;
    margin-bottom: 12px;
  }
  .p-product-showcase__heading::before{
    width: 5px;
    height: 24px;
  }
  .p-product-showcase__title{
    font-size: 22px;
  }
  .p-product-showcase__text{
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 18px;
  }
}

/* ===== spacing fix for first product block ===== */
.p-product-showcase__block{
  margin-top: 60px;
}
.p-product-showcase__block:first-child{
  margin-top: 80px;
}


/* ===== products page sections from PDF ===== */
.p-product-pdf-sections{
  padding: 0 0 88px;
  background: #fff;
}
.p-product-pdf-sections__inner{
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

/* showcase */
.p-product-showcase__block + .p-product-showcase__block{
  margin-top: 72px;
}
.p-product-showcase__heading{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.p-product-showcase__heading::before{
  content: "";
  width: 6px;
  height: 28px;
  background: var(--color-red);
  flex: 0 0 auto;
}
.p-product-showcase__title{
  margin: 0;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--color-text);
}
.p-product-showcase__text{
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-sub);
}
.p-product-showcase__image img{
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* artisan box */
.p-product-artisan{
  margin-top: 88px;
  border: 2px solid var(--color-navy);
  border-radius: 28px;
  padding: 40px 42px 42px;
  background: #fff;
}
.p-product-artisan__title{
  margin: 0 0 22px;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-navy);
}
.p-product-artisan__lead{
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--color-text);
}
.p-product-artisan__text{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-sub);
}
.p-product-artisan__text:last-child{
  margin-bottom: 0;
}

/* contact cta */
.p-product-contact-cta{
  padding: 72px 0 0;
  text-align: center;
}
.p-product-contact-cta__text{
  margin: 0 0 32px;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text);
}
.p-product-contact-cta__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 235px;
  min-height: 138px;
  background: var(--color-navy);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity .25s ease, transform .25s ease;
}
.p-product-contact-cta__button:hover{
  opacity: .92;
  transform: translateY(-2px);
}

@media (max-width: 768px){
  .p-product-pdf-sections{
    padding: 0 0 56px;
  }
  .p-product-pdf-sections__inner{
    width: min(100% - 24px, 1200px);
  }
  .p-product-showcase__block + .p-product-showcase__block{
    margin-top: 56px;
  }
  .p-product-showcase__title{
    font-size: 22px;
  }
  .p-product-showcase__text,
  .p-product-artisan__text{
    font-size: 14px;
    line-height: 1.85;
  }
  .p-product-artisan{
    margin-top: 60px;
    border-radius: 20px;
    padding: 28px 22px 30px;
  }
  .p-product-artisan__title{
    margin-bottom: 16px;
    font-size: 24px;
  }
  .p-product-artisan__lead{
    margin-bottom: 14px;
    font-size: 16px;
  }
  .p-product-contact-cta{
    padding-top: 52px;
  }
  .p-product-contact-cta__text{
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.45;
  }
  .p-product-contact-cta__button{
    width: min(100%, 240px);
    min-height: 100px;
    font-size: 18px;
  }
}

/* ===== adjust sizes ===== */
.p-product-artisan__title{
  font-size: clamp(22px,1.8vw,28px) !important;
}
.p-product-contact-cta__text{
  font-size: clamp(18px,1.6vw,24px) !important;
}
.p-product-artisan__lead{
  font-size: 16px !important;
  font-weight:700 !important;
}

/* ===== fix text bottom spacing ===== */
.p-product-showcase__text{
  margin-bottom: 20px !important;
}


/* ===== products hero fixed image ===== */
.p-service-visual{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.p-service-visual img{
  display: block;
  width: 1200px;
  height: 320px;
  max-width: none;
  object-fit: cover;
}

@media (max-width: 1200px){
  .p-service-visual img{
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}


/* ===== products intro white background fix ===== */
.p-service-intro{
  background:#ffffff !important;
}
.p-service-intro__inner{
  background:#ffffff !important;
}
