/* ========================================
   Installation Page Styles
   ======================================== */

.installation-page {
  width: 100%;
  color: var(--color-base-black);
}

.installation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 10px 24px;
  border-radius: 12px;
  background-color: var(--color-base-black);
  box-shadow: 0 4px 8px rgba(140, 7, 8, 0.16);
  color: var(--color-base-white);
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.installation-button:hover {
  background-color: var(--color-base-safety-red);
  opacity: 1;
}

.installation-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 608 / 456;
  background-color: #c8c6c6;
}

.installation-image::before {
  content: "写真";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  color: #666;
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.7;
}

.installation-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.installation-section-heading-pc,
.installation-section-heading-sp {
  display: flex;
  align-items: stretch;
}

.installation-section-heading-pc__bar,
.installation-section-heading-sp__bar {
  flex-shrink: 0;
  width: 8px;
  background-color: var(--color-base-safety-red);
}

.installation-section-heading-pc__title,
.installation-section-heading-sp__title {
  flex: 1;
  margin: 0;
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-base-black);
}

/* ========================================
   PC
   ======================================== */

.installation-page-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding-bottom: 96px;
}

.installation-hero-pc {
  width: 100%;
  padding: var(--spacing-page-header-y) 24px;
  background-color: var(--color-base-bg-gray);
}

.installation-hero-pc__inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.installation-hero-pc__title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-page-title);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
}

.installation-hero-pc__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  width: 100%;
}

.installation-hero-pc__subtitle {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.96px;
}

.installation-hero-pc__lead {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: var(--font-weight-page-header-desc);
  line-height: 1.6;
  letter-spacing: 0.72px;
}

.installation-hero-pc__button {
  width: 320px;
}

.installation-page-pc__content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: 1040px;
}

.installation-section-pc {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.installation-section-heading-pc {
  position: sticky;
  top: 136px;
  flex-shrink: 0;
  gap: 24px;
  width: 376px;
}

.installation-section-heading-pc__title {
  font-size: 38px;
  letter-spacing: 1.52px;
}

.installation-card-pc {
  flex-shrink: 0;
  width: 624px;
  padding: 40px;
  border-radius: 24px;
  background-color: var(--color-base-white);
  box-shadow: 0 0 24px rgba(140, 7, 8, 0.12);
}

.installation-section-lead-pc {
  margin: 0 0 32px;
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.7;
}

.installation-benefits-pc,
.installation-cases-pc,
.installation-flow-pc {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.installation-feature-pc,
.installation-case-pc,
.installation-flow-step-pc {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.installation-feature-pc__content,
.installation-case-pc__content,
.installation-flow-step-pc__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.installation-feature-pc__title,
.installation-case-pc__title,
.installation-flow-step-pc__title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.96px;
}

.installation-text-pc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.7;
}

.installation-text-pc p {
  margin: 0;
}

.installation-flow-pc {
  gap: 40px;
}

/* ========================================
   SP
   ======================================== */

.installation-page-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding-bottom: 80px;
}

.installation-hero-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-page-header-gap);
  width: 100%;
  padding: var(--spacing-page-header-y-sp) 24px;
  background-color: var(--color-base-bg-gray);
}

.installation-hero-sp__title {
  width: 100%;
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-page-title);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
}

.installation-hero-sp__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  width: 100%;
}

.installation-hero-sp__subtitle {
  width: 100%;
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.96px;
}

.installation-hero-sp__lead {
  width: 100%;
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: var(--font-weight-page-header-desc);
  line-height: 1.6;
  letter-spacing: 0.72px;
}

.installation-hero-sp__button {
  width: 256px;
}

.installation-page-sp__content {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: calc(100% - 32px);
}

.installation-section-sp {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.installation-section-heading-sp {
  gap: 16px;
}

.installation-section-heading-sp__title {
  font-size: 28px;
  letter-spacing: 1.12px;
}

.installation-card-sp {
  width: 100%;
  padding: 32px 16px;
  border-radius: 24px;
  background-color: var(--color-base-white);
  box-shadow: 0 0 12px rgba(140, 7, 8, 0.12);
}

.installation-section-lead-sp {
  margin: 0 0 32px;
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.7;
}

.installation-benefits-sp,
.installation-cases-sp,
.installation-flow-sp {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.installation-feature-sp,
.installation-case-sp,
.installation-flow-step-sp {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.installation-feature-sp__content,
.installation-case-sp__content,
.installation-flow-step-sp__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.installation-feature-sp__title,
.installation-case-sp__title,
.installation-flow-step-sp__title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.96px;
}

.installation-text-sp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.7;
}

.installation-text-sp p {
  margin: 0;
}

@media (max-width: 374px) {
  .installation-page-sp__content {
    width: calc(100% - 24px);
  }

  .installation-hero-sp {
    padding-right: 20px;
    padding-left: 20px;
  }
}
