/* ===== 共通 ===== */
.exterior-footer-scope * {
  box-sizing: border-box;
}

.exterior-footer-scope {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  background-color: var(--basewhite);
  width: 100%;
}

.exterior-footer-scope .PC-footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--size-space-1200);
  padding: var(--size-space-800) var(--size-space-1600);
  border-top: 1px solid var(--basegrey-1);
  width: 100%;
  align-items: center;
  position: relative;
  background-color: var(--basewhite);
}

/* ===== トップ行（ロゴ + ナビ）===== */
.exterior-footer-scope .frame-48 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--size-space-1200);
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.exterior-footer-scope .frame-57 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--size-space-200);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.exterior-footer-scope .logo-2 {
  width: 300px;
  height: 80px;
  background-image: url(../img/logo-1.png);
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  flex-shrink: 0;
}

.exterior-footer-scope .text-wrapper-48 {
  position: relative;
  display: block;
  font-family: var(--body-1-font-family);
  font-weight: var(--body-1-font-weight);
  color: var(--baseblack);
  font-size: var(--body-1-font-size);
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  font-style: normal;
  font-style: normal;
}

.exterior-footer-scope .button-9 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.exterior-footer-scope .img {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.exterior-footer-scope .text-wrapper-49 {
  font-weight: 900;
  color: var(--baseblack);
  font-size: 32px;
  line-height: 1.2;
  position: relative;
  font-family: "Zen Kaku Gothic New", Helvetica;
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.exterior-footer-scope .tag-3 {
  display: inline-flex;
  padding: var(--size-space-100) var(--size-space-300);
  position: relative;
  flex: 0 0 auto;
  background-color: var(--basegrey-1);
  border-radius: var(--size-radius-full);
  align-items: center;
  justify-content: center;
}

.exterior-footer-scope .text-wrapper-6 {
  width: fit-content;
  font-weight: var(--body-2-font-weight);
  color: var(--baseblack);
  font-size: var(--body-2-font-size);
  line-height: var(--body-2-line-height);
  white-space: nowrap;
  position: relative;
  font-family: var(--body-2-font-family);
  letter-spacing: var(--body-2-letter-spacing);
  font-style: var(--body-2-font-style);
}

/* ===== フッターナビゲーション ===== */
.exterior-footer-scope .frame-58 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--size-space-400);
  position: relative;
  flex: 0 0 auto;
}

.exterior-footer-scope .div {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.exterior-footer-scope .PC-header-atom-2 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--size-space-300);
  position: relative;
  flex: 0 0 auto;
}

.exterior-footer-scope .text-wrapper-4 {
  position: relative;
  font-family: var(--body-1-font-family);
  font-weight: 700;
  color: var(--baseblack);
  font-size: var(--body-1-font-size);
  text-align: center;
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  white-space: nowrap;
}

/* ===== 下段ボックス（保有資格 / 対応地域）===== */
.exterior-footer-scope .frame-59 {
  display: flex;
  align-items: stretch;
  gap: var(--size-space-1200);
  padding: var(--size-space-600);
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: var(--size-radius-400);
  border: 1px solid var(--basegray-2);
}

.exterior-footer-scope .frame-60 {
  display: flex;
  align-items: flex-start;
  gap: var(--size-space-600);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.exterior-footer-scope .text-wrapper-50 {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 96px;
  flex-shrink: 0;
  font-family: var(--body-1-font-family);
  font-weight: 700;
  color: var(--baseblack);
  font-size: var(--body-1-font-size);
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  font-style: normal;
}

.exterior-footer-scope .frame-61 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  align-items: flex-start;
  gap: var(--size-space-200);
  position: relative;
}

.exterior-footer-scope .text-wrapper-51 {
  position: relative;
  display: block;
  align-self: stretch;
  font-family: var(--body-1-font-family);
  font-weight: var(--body-1-font-weight);
  color: var(--baseblack);
  font-size: var(--body-1-font-size);
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  font-style: normal;
}

.exterior-footer-scope .vector-7 {
  position: relative;
  align-self: stretch;
  width: 1px;
  flex-shrink: 0;
  background-color: var(--basegray-2);
}

.exterior-footer-scope .text-wrapper-52 {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 96px;
  flex-shrink: 0;
  font-family: var(--body-1-font-family);
  font-weight: 700;
  color: var(--baseblack);
  font-size: var(--body-1-font-size);
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  font-style: normal;
}

.exterior-footer-scope .text-wrapper-18 {
  position: relative;
  display: block;
  align-self: stretch;
  font-family: var(--body-2-font-family);
  font-weight: var(--body-2-font-weight);
  color: var(--baseblack);
  font-size: var(--body-2-font-size);
  letter-spacing: var(--body-2-letter-spacing);
  line-height: var(--body-2-line-height);
  font-style: var(--body-2-font-style);
}

/* ===== コピーライト ===== */
.exterior-footer-scope .text-wrapper-53 {
  position: relative;
  align-self: center;
  font-family: "Zen Kaku Gothic New", Helvetica;
  font-weight: 400;
  color: var(--baseblack);
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.6;
}

/* ===== レスポンシブ: desktop (1280px) ===== */
@media (max-width: 1280px) {
  .exterior-footer-scope .PC-footer {
    padding: var(--size-space-800);
    gap: var(--size-space-800);
  }

  .exterior-footer-scope .frame-48 {
    flex-wrap: wrap;
    gap: var(--size-space-800);
  }
}

/* ===== レスポンシブ: tablet (768px) ===== */
@media (max-width: 768px) {
  .exterior-footer-scope .PC-footer {
    padding: var(--size-space-1200) var(--size-space-800);
    gap: var(--size-space-800);
  }

  .exterior-footer-scope .frame-48 {
    flex-direction: column;
    align-items: center;
    gap: var(--size-space-800);
  }

  .exterior-footer-scope .frame-57 {
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 100%;
  }

  .exterior-footer-scope .logo-2 {
    background-position: center center;
  }

  .exterior-footer-scope .text-wrapper-48 {
    text-align: center;
  }

  .exterior-footer-scope .frame-58 {
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
  }

  .exterior-footer-scope .div {
    justify-content: center;
  }

  .exterior-footer-scope .frame-59 {
    flex-direction: column;
    gap: var(--size-space-600);
  }

  .exterior-footer-scope .vector-7 {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .exterior-footer-scope .frame-60 {
    width: 100%;
  }
}

/* ===== レスポンシブ: mobile-l (430px) ===== */
@media (max-width: 430px) {
  .exterior-footer-scope .PC-footer {
    padding: 16px 24px;
    gap: 24px;
  }

  .exterior-footer-scope .frame-48 {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
  }

  .exterior-footer-scope .frame-57 {
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .exterior-footer-scope .logo-2 {
    width: 300px;
    height: 80px;
    background-position: center center;
  }

  .exterior-footer-scope .text-wrapper-48 {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
  }

  .exterior-footer-scope .button-9 {
    display: grid;
    grid-template-columns: 24px auto;
    justify-items: center;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
  }

  .exterior-footer-scope .img {
    grid-column: 1;
    width: 24px;
    height: 24px;
  }

  .exterior-footer-scope .text-wrapper-49 {
    grid-column: 2;
    font-size: 32px;
    line-height: 1.2;
  }

  .exterior-footer-scope .tag-3 {
    grid-column: 1 / -1;
    padding: 4px 12px;
    border-radius: var(--size-radius-full);
  }

  .exterior-footer-scope .text-wrapper-6 {
    font-size: 14px;
    line-height: 1.6;
  }

  .exterior-footer-scope .frame-58 {
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .exterior-footer-scope .div {
    justify-content: center;
    row-gap: 0;
    width: 100%;
  }

  .exterior-footer-scope .PC-header-atom-2 {
    padding: 12px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(1) {
    width: 78px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(2) {
    width: 132px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(3) {
    width: 60px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(4) {
    width: 96px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(5) {
    width: 78px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(6) {
    width: 132px;
  }

  .exterior-footer-scope .div:first-child .PC-header-atom-2:nth-child(7) {
    width: 96px;
  }

  .exterior-footer-scope .div:last-child .PC-header-atom-2:nth-child(1) {
    width: 204px;
  }

  .exterior-footer-scope .div:last-child .PC-header-atom-2:nth-child(2) {
    width: 132px;
  }

  .exterior-footer-scope .text-wrapper-4 {
    font-size: 18px;
    line-height: 1.6;
  }

  .exterior-footer-scope .frame-59 {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-color: #ccc;
    border-radius: 16px;
    width: 100%;
  }

  .exterior-footer-scope .frame-60 {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .exterior-footer-scope .text-wrapper-50,
  .exterior-footer-scope .text-wrapper-52 {
    width: 100%;
    font-size: 18px;
    line-height: 1.6;
  }

  .exterior-footer-scope .text-wrapper-51 {
    width: 100%;
    font-size: 18px;
    line-height: 1.6;
  }

  .exterior-footer-scope .text-wrapper-18 {
    font-size: 14px;
    line-height: 1.6;
  }

  .exterior-footer-scope .vector-7 {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
}

/* ===== レスポンシブ: mobile (375px) ===== */
@media (max-width: 375px) {
  .exterior-footer-scope .PC-header-atom-2 {
    flex-shrink: 1;
  }
}
