@charset "utf-8";

footer {
	background: var(--black);
	color: var(--white);
}
/* ===============================
   Lightning デフォルトフッターの打ち消し
   =============================== */
.site-footer .site-footer-content {
  padding: 0;
}
.site-footer .container.site-footer-content {
  max-width: none;
}
.site-footer .site-footer-content .row {
  margin-left: 0;
  margin-right: 0;
}
.site-footer .site-footer-content [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}
.site-footer .widget {
  margin-bottom: 0;
}
/* テーマ側のフッターナビとコピーライトは独自フッターと重複するため非表示 */
.site-footer .footer-nav,
.site-footer .site-footer-copyright {
  display: none;
}

/* ===============================
   独自フッター
   =============================== */
.cst-footer {
  --cst-title: #FFFFFF80;
  --cst-text: #FFFFFFA6;
  --cst-sub: #FFFFFF80;
  --cst-rule: #FFFFFF1F;
  --cst-bottom-rule: #FFFFFF33;
  --cst-bottom: #FFFFFF66;
  background: var(--black);
  color: var(--cst-text);
  padding: 56px 20px 32px;
}

.cst-footer__inner {
  max-width: 1365px;
  margin: 0 auto;
}

/* ロゴ列 ＋ メニュー5列 */
.cst-footer__cols {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, (100% - 850px) / 5, 80px);
  margin-bottom: 48px;
}
.cst-footer__cols > * {
  flex: 0 0 auto;
}
.cst-footer__cols > :nth-child(2),
.cst-footer__cols > :nth-child(3) {
  flex-basis: 105px;
}
/* Contact：列は住所の長さまで広げ、下線は 105px */
.cst-footer__cols > :nth-child(6) {
  min-width: 105px;
}
.cst-footer__cols > :nth-child(6) .cst-footer__title {
  width: 105px;
}
.cst-footer__cols > :nth-child(4),
.cst-footer__cols > :nth-child(5) {
  flex-basis: 101px;
}
.cst-footer__title,
.cst-footer p.cst-footer__cat,
.cst-footer__address {
  white-space: nowrap;
}

/* 1列目 */
.cst-footer__cols > .cst-footer__brand {
  flex: 0 0 240px;
  margin-right: auto;
}
.cst-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
}
.cst-footer__logo img {
  display: block;
  height: 52px;
  width: auto;
}
.cst-footer__desc {
  width: 268px;
  margin: 0 0 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--cst-sub);
}

/* SNSボタン */
.cst-footer__social {
  padding-top: 41px;
  display: flex;
  gap: 12px;
}
.cst-footer__social a {
  display: inline-flex;
  transition: opacity .2s ease;
}
.cst-footer__social a:hover {
  opacity: .7;
}
.cst-footer__social svg {
  display: block;
}

/* 2〜6列目 見出し */
.cst-footer__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
  color: var(--cst-title);
}
/* 下線付きの見出し */
.cst-footer__title--line {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cst-rule);
}
.cst-footer__title a {
  color: var(--cst-title);
  text-decoration: none;
}
.cst-footer__title a:hover {
  color: var(--cst-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 下線なしの項目（Service・News など） */
.site-footer .cst-footer p.cst-footer__cat,
.cst-footer p.cst-footer__cat {
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
  color: var(--cst-title);
}
.site-footer .cst-footer p.cst-footer__cat:last-child,
.cst-footer p.cst-footer__cat:last-child {
  margin-bottom: 0;
}
.cst-footer__cat a {
  color: var(--cst-title);
  text-decoration: none;
}
.cst-footer__cat a:hover {
  color: var(--cst-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* リンクリスト */
.cst-footer .cst-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cst-footer__list li + li {
  margin-top: 9px;
}
.cst-footer__list a {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cst-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.cst-footer__list a:hover {
  color: var(--white);
}

/*Contact Form */
.cst-footer__address {
  padding-top: 15px;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--cst-text);
}
.cst-footer__address a {
  color: var(--cst-text);
  text-decoration: none;
}
.cst-footer__address a:hover {
  color: var(--white);
}

/* 最下部 */
.cst-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cst-bottom-rule);
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  line-height: 17px;
  color: var(--cst-bottom);
}
.cst-footer__bottom p {
  margin: 0;
}
.cst-footer__bottom a {
  color: var(--cst-bottom);
  text-decoration: none;
}
.cst-footer__bottom a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* フォーカス表示 */
.cst-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===============================
   レスポンシブ
   =============================== */
@media (max-width: 991.98px) {
  .cst-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
  }
  .cst-footer__cols > .cst-footer__brand {
    grid-column: 1 / -1;
  }
  .cst-footer__desc {
    width: auto;
  }
  .cst-footer__title,
  .cst-footer p.cst-footer__cat,
  .cst-footer__address {
    white-space: normal;
  }
  .cst-footer__cols > :nth-child(6) .cst-footer__title {
    width: auto;
  }
}

@media (max-width: 575.98px) {
  .cst-footer {
    padding: 48px 20px 24px;
  }
  .cst-footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    margin-bottom: 32px;
  }
  .cst-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
