@charset "UTF-8";
/* ===== 内部小見出し：01 ｜ タイトル ===== */

.is-inner .section__title {
  max-width: fit-content;
  margin: 0 auto;
}
.is-inner .section__title-left {
  text-align: left;
  margin: 0;
}

.section__title-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-bottom: 1rem;
  color: var(--color-main);
}
.section__title-inner__index {
  font-weight: var(--weight-medium);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1;
  letter-spacing: 0.08em;
  transform: translateY(0.06em);
  font-variant-numeric: lining-nums;
  color: color-mix(in srgb, var(--color-grey) 60%, white);
}
.section__title-inner__divider {
  height: 1.6em;
  border-left: 2px solid color-mix(in srgb, var(--color-grey) 60%, white);
  transform: translateY(0.06em);
}
.section__title-inner__text {
  font-size: var(--fs-h3);
  font-weight: var(--weight-medium);
  margin: 0;
  line-height: var(--lh-tight);
}
.section__lead {
  font-size: var(--fs-h2);
  font-weight: var(--weight-medium);
  margin-top: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.section__lead-follow {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
  color: var(--color-grey);
}
.section--grey {
  background: color-mix(in srgb, var(--color-main) 6%, #fff);
}

/* ===== 写真オーバーレイ（階層ページのみ） ===== */
.photo-overlay {
  position: relative;
  overflow: hidden;
}
.photo-overlay img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.photo-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(255, 255, 255, 0.05)
  );
  mix-blend-mode: multiply;
}
/* ===== フルブリードトップ画像 ===== */
.full-bleed {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  height: 300px;
  overflow: clip;
}
.full-bleed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.1) contrast(1.05);
}
.full-bleed--window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fixed-bg {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-block-size: 350px;
  background: url("./../img/top-business.webp") center / cover no-repeat fixed;
  overflow: clip;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.grid-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.4rem;
  filter: brightness(1.05) contrast(1.05);
}
.prose {
  margin-block: 1.1em;
}
/* ================================
   404 PAGE STYLE (Scoped)
================================ */
.error-404-section {
  padding: clamp(3rem, 5vw, 6rem) 0;
  text-align: center;
  background: #f7f9fc;
}

.error-404-content {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Title */
.error-404-title {
  margin-block: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  align-items: center;
}

.error-404-number {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  color: var(--color-main, #003366);
  line-height: 1;
}

.error-404-message {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
}

/* Text */
.error-404-description {
  margin-block: 1rem 2rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.8;
  color: #444;
}

/* Buttons */
.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.error-404-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  font-size: 1rem;
  transition: opacity 0.25s;
}

.error-404-actions .btn:hover {
  opacity: 0.8;
}

.error-404-home {
  background: var(--color-main, #003366);
  color: #fff;
}

.error-404-contact {
  background: #ddd;
  color: #222;
}
/* ===== レスポンシブ対応 ===== */
@media (max-width: 960px) {
  .product-card__media {
    order: 2;
  }
  .fixed-bg {
    min-block-size: 250px;
  }
  .is-inner .full-bleed {
    position: relative;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    height: 180px;
    overflow: clip;
  }
  .is-inner .fixed-bg {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    min-block-size: 180px;
    background: url("./../img/top-business.webp") center / cover no-repeat
      scroll;
    background-attachment: scroll;
    overflow: clip;
  }
}
