/*
Subpage Components
------------------------------------------- */
.subpage {
  padding-top: var(--h-header);
}
.breadcrumb {
  padding-top: 18px;
  padding-bottom: 18px;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
}
.breadcrumb__item:first-child a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb__item:first-child a::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #999;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='2%202%2020%2020'%3E%3Cpath%20d='M3%2010.5%2012%203l9%207.5v2.3L19%2011.1V21h-5.5v-6h-3v6H5V11.1l-2%201.7v-2.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='2%202%2020%2020'%3E%3Cpath%20d='M3%2010.5%2012%203l9%207.5v2.3L19%2011.1V21h-5.5v-6h-3v6H5V11.1l-2%201.7v-2.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  margin-right: 8px;
  color: #999;
}
.page-hero {
  background: url('../img/mv_bg_blur.webp') center / cover;
  padding: 40px 0;
}
.page-hero__inner {
  display: grid;
  gap: 28px;
}
.page-hero__label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--c-main);
  font-weight: bold;
  font-size: 1.25rem;
}
.page-hero__title {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 18px;
}
.page-hero__text {
  font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
  margin-top: 12px;
  /* font-weight: bold; */
}
.page-hero__img img,
.media-block__img img,
.case-card__photo img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.content-section {
  margin: 100px 0;
}
.content-section--gray {
  background: var(--c-gray);
  padding-block: 60px 100px;
  margin-bottom: 0;
}
.content-section__text {
  font-size: var(--fz-text);
  margin-top: 12px;
}
.content-section__note {
  color: var(--c-main);
  font-weight: bold;
  margin-bottom: 24px;
  font-size: 1.25rem;
}
.content-section__lead {
  font-size: 1.25rem;
  font-weight: bold;
}
.section-heading {
  margin-bottom: 2em;
  line-height: 1.4;
  margin-inline: -20px;
}
.lead_title-highlight {
  display: block;
  padding: 0.1em 0.5em;
}
.media-block {
  display: grid;
  gap: 24px;
}
.media-block-vertical {
  grid-template-columns: 1fr;
  display: grid;
  gap: 24px;
}
.check-list {
  display: grid;
  gap: 0.5em;
}
.check-list__item {
  position: relative;
  padding-left: 1.25em;
  font-size: var(--fz-text);
  font-weight: bold;
}
.check-list__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-main);
  font-weight: bold;
}
.notice-box {
  background: var(--c-white);
  border: 4px solid #e5e0d6;
  border-radius: 8px;
  padding: 24px;
}
.notice-box:not(:first-child) {
  margin-top: 3em;
}
.notice-box__title {
  color: var(--c-main);
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 24px;
}
.notice-box__lead {
  font-size: 1.25rem;
  font-weight: bold;
}
.notice-box p + p {
  margin-top: 12px;
}
.option-price {
  font-weight: bold;
  text-align: right;
  margin-top: 16px;
}
.option-price__label {
  margin-right: 0.5em;
}
.option-price__amount {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--c-price);
}
.option-price__tax {
  font-size: 1rem;
  color: var(--c-price);
}
.anchor-nav {
  display: grid;
  gap: 12px;
}
.anchor-nav__link {
  position: relative;
  display: block;
  background: var(--c-white);
  border: 2px solid var(--c-text);
  border-radius: 8px;
  padding: 14px 44px 14px 18px;
  font-weight: bold;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
@media (hover: hover) {
  .anchor-nav__link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    opacity: 1;
    filter: brightness(1);
  }
}
.anchor-nav__link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 4px solid var(--c-main);
  border-bottom: 4px solid var(--c-main);
  transform: translateY(-65%) rotate(45deg);
}
.anchor-nav--compact[aria-label='ページ内メニュー'] {
  display: block;
}
.anchor-nav--compact[aria-label='ページ内メニュー'] .anchor-nav__link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e0d6;
  border-radius: 0;
  padding: 10px 0 10px 16px;
  font-weight: normal;
}
.anchor-nav--compact[aria-label='ページ内メニュー'] .anchor-nav__link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--c-main);
  border-radius: 50%;
  transform: translateY(-50%);
}
.anchor-nav--compact[aria-label='ページ内メニュー'] .anchor-nav__link::after {
  content: none;
}
.c-hero-link-wrap {
  text-align: center;
}
.c-hero-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-white);
  color: var(--c-text);
  border: 2px solid var(--c-text);
  border-radius: 8px;
  padding: 0 40px 0 20px;
  height: 80px;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.c-hero-link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--c-text);
  border-right: 2px solid var(--c-text);
  transform: translateY(-50%) rotate(45deg);
}
.c-hero-link__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-hero-link__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.c-hero-link__label {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
}
@media (hover: hover) {
  .c-hero-link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    opacity: 1;
  }
}
.c-price-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}
.c-price-table {
  width: 100%;
  min-width: 620px;
  background: var(--c-white);
  border: 4px solid #e5e0d6;
  border-collapse: collapse;
}
.c-price-table th,
.c-price-table td {
  border: 1px solid #e5e0d6;
  padding: 16px;
  text-align: left;
  vertical-align: top;
}
.c-price-table th {
  background: var(--c-gray);
  font-weight: bold;
}
.c-price-table__cell--price {
  font-weight: bold;
}
.c-price-table__amount {
  color: var(--c-price);
  font-size: 2rem;
  line-height: 1.2;
}
.c-price-table__amount--small {
  font-size: 1.5rem;
}
.lineup-image {
  width: fit-content;
  margin: 0 auto 32px;
}
.product-group {
  margin-top: 56px;
}
.product-group__title {
  border-left: 6px solid var(--c-main);
  padding-left: 14px;
  font-size: 2rem;
  margin-bottom: 1em;
}
.product-group__title_label {
  display: inline-block;
  background: var(--c-main);
  color: var(--c-white);
  padding: 0.15em 0.5em;
  margin-right: 0.35em;
  border-radius: 4px;
}
.sub-heading {
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin-top: 48px;
  font-size: 1.6rem;
  line-height: 1.4;
}
.sub-heading::before {
  content: '';
  width: 52px;
  height: 2px;
  background: var(--c-text);
  flex-shrink: 0;
}
.product-group__lead,
.product-group__text {
  font-size: var(--fz-text);
  margin-top: 8px;
}
.product-group__lead {
  font-weight: bold;
}
.product-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-white);
  border: 4px solid #e5e0d6;
  border-radius: 8px;
}
.product-card__img {
  width: 100%;
  /* aspect-ratio: 4 / 3; */
  object-fit: contain;
  background: #fff;
  padding: 12px;
}
.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
  row-gap: 1em;
}
.product-card__label,
.feature-product__label {
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.product-card__label span,
.feature-product__label span {
  display: inline-block;
  background: var(--c-accent2);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: bold;
  color: var(--c-white);
}
.product-card__name {
  color: var(--c-main);
  font-size: 1.125rem;
  line-height: 1.4;
}
.product-card__spec {
  /* margin-top: 10px; */
  font-weight: bold;
  line-height: 1.6;
}
.product-card__price {
  margin-top: auto;
  padding-top: 12px;
  font-weight: bold;
  text-align: right;
}
.product-card__price_value {
  display: block;
  color: var(--c-price);
  word-break: auto-phrase;
}
.product-card__price_amount {
  font-size: 2em;
  line-height: 1.2;
}
.product-card__price_tax {
  font-size: 1em;
}
.product-card__note {
  font-size: 0.875rem;
  font-weight: bold;
  text-align: right;
}
.feature-product-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.feature-product {
  display: grid;
  gap: 20px;
  background: var(--c-white);
  border: 4px solid #e5e0d6;
  border-radius: 8px;
  padding: 20px;
}
.feature-product > div:last-child {
  display: flex;
  flex-direction: column;
  row-gap: 1em;
}
.feature-product__img {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  object-fit: contain;
}
.feature-product__title {
  border-bottom: 2px solid var(--c-text);
  padding-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.5;
}
.feature-product__title span {
  color: var(--c-main);
}
.feature-product__price {
  order: 10;
  color: var(--c-price);
  font-weight: bold;
  text-align: right;
  margin-top: auto;
}
.feature-product__price_note {
  display: block;
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1em;
}
.feature-product__price_amount {
  font-size: 2em;
  line-height: 1.2;
}
.feature-product__price_tax {
  font-size: 1em;
}
.feature-product__heading {
  font-size: 1.125rem;
}
.feature-product__list {
  display: grid;
  font-weight: bold;
}
.feature-product__list li {
  position: relative;
  padding-left: 1.2em;
}
.feature-product__list li::before {
  content: '';
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 0.45em;
  height: 0.45em;
  background: var(--c-main);
  border-radius: 50%;
}
.case-list {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .case-list--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--c-gray);
  border-radius: 8px;
  padding: 32px;
  row-gap: 1em;
}
.case-card__title {
  border-bottom: 2px solid var(--c-text);
  padding-bottom: 10px;
  font-size: 1.375rem;
}
.case-card__area {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-text);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.9375em;
  font-weight: bold;
  line-height: 1.4;
  margin-right: 0.25em;
  vertical-align: 0.1em;
}
.case-card__photos {
  display: grid;
  gap: 18px;
}
.case-card__photos:has(> .case-card__photo:only-child) {
  grid-template-columns: 1fr;
}
.case-card__photo figcaption {
  margin-top: 10px;
}
.case-card__spec {
  display: grid;
  gap: 8px;
  font-size: var(--fz-text);
  font-weight: bold;
}
.case-card__saving {
  color: var(--c-main);
  font-weight: bold;
  font-size: var(--fz-text);
}
.case-card__price {
  margin-top: auto;
  border-top: 1px solid #ddd;
  padding-top: 18px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  row-gap: 1em;
}
.case-card__price_title {
  font-size: 1.375rem;
}
.case-card__product {
  font-weight: normal;
}
.case-card__product_note {
  display: block;
  margin-top: 4px;
  color: var(--c-text);
  font-size: 0.95rem;
}
.case-card__price_text {
  text-align: right;
}
.case-card__price span {
  color: var(--c-price);
}
.case-card__price .case-card__product_note {
  color: var(--c-text);
}
.case-card__price_amount {
  font-size: 2em;
  line-height: 1.2;
}
.case-card__price_tax {
  font-size: 1em;
}
.flow-list {
  display: grid;
  gap: 48px;
  counter-reset: flow;
  max-width: 1000px;
  margin-inline: auto;
}
.flow-list__item {
  position: relative;
  background: var(--c-white);
  border-radius: 8px;
  padding: 1.5em;
}
.flow-list__item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -32px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid var(--c-main);
  border-right: 16px solid transparent;
  border-left: 16px solid transparent;
  transform: translateX(-50%);
}
.flow-list__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.flow-list__step {
  display: inline-block;
  background: var(--c-main);
  color: var(--c-white);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.4;
}
.flow-list__heading {
  color: var(--c-main);
  font-weight: bold;
}
.flow-photo-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.flow-photo-list__item img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.flow-photo-list__item figcaption {
  margin-top: 10px;
  font-weight: bold;
}
.business-area-box {
  padding: 0;
}
.business-area-box .product-group__title:not(:first-child) {
  margin-top: 32px;
}
.business-area-box p {
  display: grid;
  grid-template-columns: 2em 1fr;
  gap: 10px;
  font-size: var(--fz-text);
}
.business-area-box p + p {
  margin-top: 10px;
}
.business-area-box span {
  display: inline-grid;
  place-items: center;
  width: 2em;
  height: 2em;
  background: var(--c-accent);
  border-radius: 999px;
  font-weight: bold;
  line-height: 1;
}
@media (min-width: 768px) {
  .page-hero {
    padding: 60px 0;
  }
  .media-block {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .page-hero__title {
    font-size: 3rem;
  }
  .product-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-list--compact {
    grid-template-columns: repeat(2, 1fr);
  }
  .anchor-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .anchor-nav--compact {
    grid-template-columns: repeat(3, 1fr);
  }
  .anchor-nav--compact[aria-label='ページ内メニュー'] {
    grid-template-columns: none;
  }
  .feature-product {
    grid-template-columns: 350px 1fr;
    align-items: stretch;
    padding: 28px;
  }
  .case-card__photos {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-photo-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .page-hero__title {
    font-size: 2rem;
  }
  .content-section {
    margin: 80px 0;
  }
  .product-group__title {
    font-size: 1.5rem;
  }
}
/* -------------------------------------------
          各ページ固有のスタイル（body ID制御）
------------------------------------------- */
/*
Kitchen Lighting
------------------------------------------- */
#page-kitchen-lighting .page-hero {
  background: url('../img/mv_bg_kitchen_blur.webp') top center / cover;
}
/*
Switch
------------------------------------------- */
#page-switch .page-hero {
  background: url('../img/mv_bg_home_blur.webp') bottom right / cover;
}
@media (max-width: 767px) {
  #page-switch .page-hero__img img {
    aspect-ratio: 5 / 3;
  }
}
/*
Outlet
------------------------------------------- */
#page-outlet .page-hero {
  background: url('../img/mv_bg_outlet_blur.webp') center / cover;
}
@media (max-width: 767px) {
  #page-outlet .page-hero__img img {
    aspect-ratio: 5 / 3;
  }
}
/*
Intercom
------------------------------------------- */
#page-intercom .page-hero {
  background: url('../img/mv_bg_intercom_blur.webp') center / cover;
}
/*
Time Switch
------------------------------------------- */
#page-time-switch .page-hero {
  background: url('../img/mv_bg_office_blur.webp') center / cover;
}
/*
Ventilation
------------------------------------------- */
#page-ventilation .page-hero {
  background: url('../img/mv_bg_ventilation_blur.webp') center / cover;
}
/*
Breaker
------------------------------------------- */
#page-breaker .page-hero {
  background: url('../img/mv_bg_breaker_blur.webp') center / cover;
}
@media (min-width: 768px) {
  #page-breaker .product-list--breaker {
    grid-template-columns: repeat(3, 1fr);
  }
}
/*
Distribution Board
------------------------------------------- */
#page-distribution-board .page-hero {
  background: url('../img/mv_bg_distribution_blur.webp') center / cover;
}
/*
Bathroom Dryer
------------------------------------------- */
#page-bathroom-dryer .page-hero {
  background: url('../img/mv_bg_bathroom_blur.webp') center / cover;
}
#page-bathroom-dryer .bathroom-dryer-model-image img {
  margin-inline: auto;
  width: fit-content;
}
@media (min-width: 768px) {
  #page-bathroom-dryer .product-list--bathroom-dryer {
    grid-template-columns: repeat(3, 1fr);
  }
}
/*
Home Lighting
------------------------------------------- */
#page-home-lighting .page-hero {
  background: url('../img/mv_bg_home2_blur.webp') top right / cover;
}
#page-home-lighting .home-lighting__color-list {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
/*
Apartment
------------------------------------------- */
#page-apartment .page-hero {
  background: url('../img/mv_bg_apartment_blur.webp') center / cover;
}
#page-apartment .apartment-benefit-list,
#page-apartment .apartment-case-list {
  display: grid;
  gap: 24px;
}
#page-apartment .apartment-benefit-card {
  background: var(--c-white);
  border: 4px solid #e5e0d6;
  border-radius: 8px;
  padding: 20px;
}
#page-apartment .apartment-benefit-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
#page-apartment .apartment-benefit-card__title {
  color: var(--c-main);
  font-size: 1.375rem;
  line-height: 1.4;
  margin-top: 16px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  #page-apartment .apartment-benefit-list,
  #page-apartment .apartment-case-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
/*
Office Lighting
------------------------------------------- */
#page-office-lighting .page-hero {
  background: url('../img/mv_bg_office_blur.webp') top center / cover;
}
#page-office-lighting .page-hero__label {
  font-size: 2em;
}

/*
Led Construction
------------------------------------------- */
#page-led-construction .page-hero {
  background: url('../img/mv_bg_led_blur.webp') top right / cover;
}
#page-led-construction .page-hero__label {
  font-size: 2em;
}
/*
Mercury Lamp
------------------------------------------- */
#page-mercury-lamp .page-hero {
  background: url('../img/mv_bg_mercury_blur.webp') top center / cover;
}
#page-mercury-lamp .page-hero__label {
  font-size: 2em;
}
/*
Led Bypass
------------------------------------------- */
#page-led-bypass .page-hero {
  background: url('../img/mv_bg_led_blur.webp') top right / cover;
}
