@charset "UTF-8";
/* ====================================================
case スタイル
==================================================== */

.product-hero {
 position: relative;
 height: min(50vh, 440px);
 min-height: 330px;
 overflow: hidden;
 background: #0e1b24;
 color: #fff;
}
.product-hero__img-wrap {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 overflow: hidden;
}
.product-hero__overlay {
 position: absolute;
 inset: 0;
 background: linear-gradient(
  100deg,
  rgba(8, 20, 32, 0.82) 0%,
  rgba(12, 36, 58, 0.5) 50%,
  rgba(18, 48, 72, 0.18) 86%
 );
 pointer-events: none;
}
.product-hero__content {
 position: absolute;
 inset: 0;
 display: flex;
 align-items: flex-end;
 padding-bottom: clamp(36px, 5vh, 58px);
 pointer-events: none;
}
.product-breadcrumb {
 display: flex;
 align-items: center;
 gap: 14px;
 font-size: 11.5px;
 letter-spacing: 0.1em;
 color: rgba(255, 255, 255, 0.72);
 pointer-events: auto;
}
.product-hero__title {
 margin: 16px 0 0;
 font-family: "Noto Serif JP", serif;
 font-weight: 400;
 font-size: clamp(27px, 3.4vw, 42px);
 line-height: 1.45;
 letter-spacing: 0.1em;
 text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
 max-width: 22em;
 text-wrap: pretty;
}
.product-before-after {
 padding: clamp(56px, 7vh, 88px) 0 clamp(56px, 7vh, 88px);
 background: #fff;
}
.product-section-heading {
 display: flex;
 align-items: baseline;
 gap: 18px;
 margin-bottom: 32px;
}
.product-photos {
 background: #f4f2ed;
 padding: clamp(56px, 7vh, 88px) 0;
}
.product-photos__img-wrap {
 position: relative;
 width: 100%;
 height: clamp(260px, 20vw, 310px);
}
.product-nav-section {
 padding: clamp(64px, 8vh, 104px) 0;
 background: #fff;
}
.product-nav__back {
 display: flex;
 align-items: center;
 gap: 14px;
 background: #fff;
 padding: clamp(24px, 2.6vw, 34px);
 font-size: 13px;
 font-weight: 700;
 letter-spacing: 0.06em;

 justify-content: center;
 transition: padding 0.3s;
}
@media (min-width: 760px) {
 .product-nav__back {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: clamp(24px, 2.6vw, 34px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: padding 0.3s;
 }
}
.product-contact {
 background: #12456f;
 color: #fff;
 padding: clamp(72px, 9vh, 116px) 0;
}
.product-contact__title {
 margin: 20px 0 0;
 font-family: "Noto Serif JP", serif;
 font-size: clamp(22px, 2.5vw, 30px);
 font-weight: 400;
 line-height: 1.75;
 letter-spacing: 0.1em;
 text-wrap: pretty;
}
.product-contact__text {
 margin: 24px 0 0;
 font-size: 14px;
 line-height: 2.2;
 letter-spacing: 0.04em;
 color: rgba(255, 255, 255, 0.8);
 max-width: 34em;
 text-wrap: pretty;
}
.product-contact__actions {
 display: flex;
 flex-direction: column;
 gap: 18px;
}
.product-contact__phone {
 display: flex;
 align-items: baseline;
 gap: 16px;
 color: #fff;
}
.product-contact__phone-number {
 font-family: "Barlow Condensed", sans-serif;
 font-size: clamp(34px, 3.8vw, 50px);
 font-weight: 500;
 line-height: 1;
 letter-spacing: 0.03em;
}
.product-contact__form-link {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 padding: 22px 28px;
 background: #fff;
 color: #12456f;
 font-size: 15px;
 font-weight: 700;
 letter-spacing: 0.06em;
 transition:
  background 0.3s,
  color 0.3s,
  padding 0.3s;
}
.hover-back-shift:hover {
 padding-left: clamp(32px, 3.4vw, 44px);
}
.hover-contact-button:hover {
 background: #0e1b24;
 color: #fff;
 padding-left: 36px;
}

/* WordPress施工実績詳細 */
.product-hero-image {
 overflow: hidden;
}
.product-hero__img-wrap img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center center;
}
.product-overview {
 padding: clamp(64px, 8vh, 104px) 0;
 background: #fff;
}
.product-overview__grid {
 display: grid;
 grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
 gap: clamp(40px, 7vw, 100px);
 align-items: start;
}
.product-overview__summary > p {
 margin: 22px 0 0;
 font-family: "Noto Serif JP", serif;
 font-size: clamp(18px, 2vw, 24px);
 line-height: 2;
 letter-spacing: 0.05em;
 text-wrap: pretty;
}
.product-overview__meta {
 margin: 0;
 border-top: 1px solid rgba(14, 27, 36, 0.18);
}
.product-overview__meta > div {
 display: grid;
 grid-template-columns: 90px 1fr;
 gap: 18px;
 padding: 17px 0;
 border-bottom: 1px solid rgba(14, 27, 36, 0.12);
}
.product-overview__meta dt {
 font-size: 11.5px;
 font-weight: 700;
 letter-spacing: 0.1em;
 color: #7c848b;
}
.product-overview__meta dd {
 margin: 0;
 font-size: 13.5px;
 line-height: 1.8;
}
.photo-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: clamp(20px, 3vw, 40px);
}
.photo-frame {
 height: clamp(240px, 32vw, 440px);
 overflow: hidden;
 background: #d9e1e7;
}
.photo-frame img,
.product-photos__img-wrap img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center center;
}
.product-content {
 padding: clamp(64px, 9vh, 120px) 0;
 background: #fff;
}
.product-content__inner {
 max-width: 920px;
 font-size: 15px;
 line-height: 2.15;
 color: #313d46;
}
.product-content__inner > *:first-child {
 margin-top: 0;
}
.product-content__inner h2 {
 margin: 2.4em 0 0.9em;
 padding-left: 18px;
 border-left: 3px solid #1f6fb2;
 font-size: clamp(21px, 2.5vw, 28px);
 line-height: 1.6;
}
.product-content__inner h3 {
 margin: 2em 0 0.7em;
 font-size: 19px;
}
.product-content__inner img {
 max-width: 100%;
 height: auto;
}
.product-post-nav {
 display: flex;
 align-items: stretch;
 justify-content: space-between;
 gap: 1px;
 background: rgba(14, 27, 36, 0.14);
 border-top: 1px solid rgba(14, 27, 36, 0.14);
}
.product-post-nav__adjacent {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 flex: 1;
 gap: 1px;
}
.product-post-nav__adjacent a {
 display: flex;
 align-items: center;
 justify-content: center;
 padding: clamp(24px, 2.6vw, 34px);
 background: #fff;
 font-size: 12.5px;
 font-weight: 700;
 line-height: 1.7;
 text-align: center;
}
@media (max-width: 760px) {
 .product-overview__grid {
  grid-template-columns: 1fr;
 }
 .photo-grid {
  grid-template-columns: 1fr;
 }
 .product-post-nav {
  display: grid;
  justify-content: stretch;
 }
 .product-post-nav__adjacent {
  grid-template-columns: 1fr;
 }
 .product-breadcrumb {
  overflow: hidden;
 }
 .product-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
 }
}
