/* ========================================
   Guide Licence Page Styles — 免許証の登録
   ======================================== */

/* ========================================
   SP: Page Base
   ======================================== */
.guide-licence-sp,
.guide-rule-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 0 0 96px;
}

/* ========================================
   SP: Header Section (H1)
   ======================================== */
.gl-header-sp {
  width: 100%;
  background-color: var(--color-gray-50);
  padding: var(--spacing-page-header-y-sp) 24px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  align-items: flex-start;
  box-sizing: border-box;
}

.gl-header__title-sp {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: var(--font-size-page-title);
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--color-base-black);
  margin: 0;
}

/* ========================================
   SP: Section Container
   ======================================== */
.gl-section-sp {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ========================================
   SP: Section Heading (H2)
   ======================================== */
.gl-section-heading-sp {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.gl-section-heading__text-sp {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  flex: 1;
}

.gl-section-heading__subtitle-sp {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.88px;
  color: var(--color-base-black);
}

.gl-section-heading__title-sp {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 1.12px;
  color: var(--color-base-black);
  margin: 0;
}

/* ========================================
   PC: Page Base
   ======================================== */
.guide-licence-pc,
.guide-rule-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 0 80px;
  width: 100%;
}

/* ========================================
   PC: Header Section (H1)
   ======================================== */
.gl-header-pc {
  width: 100%;
  background-color: var(--color-gray-50);
  padding: var(--spacing-page-header-y) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  align-items: center;
  box-sizing: border-box;
}

.gl-header__inner-pc {
  width: 100%;
  max-width: 1040px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  align-items: flex-start;
}

.gl-header__title-pc {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: var(--font-size-page-title);
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--color-base-black);
  margin: 0;
}

/* ========================================
   PC: Section Container (2-column layout)
   ======================================== */
.gl-section-pc {
  display: flex;
  width: 100%;
  max-width: 1040px;
  justify-content: space-between;
  box-sizing: border-box;
}

/* ========================================
   PC: Section Heading (H2) — left column
   ======================================== */
.gl-section-heading-pc {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  align-self: flex-start;
  position: sticky;
  top: 136px;
}

.gl-section-heading__text-pc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.gl-section-heading__subtitle-pc {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.96px;
  color: var(--color-base-black);
}

.gl-section-heading__title-pc {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.5;
  letter-spacing: 1.52px;
  color: var(--color-base-black);
  margin: 0;
}

/* ========================================
   PC: Content Area (right column)
   ======================================== */
.gl-content-pc {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 624px;
  flex-shrink: 0;
}
