@charset "utf-8";

/* ============================================================
   footer.css
   フッター専用スタイル
   ============================================================ */


/* ------------------------------------------------------------
   フッター基本
   ------------------------------------------------------------ */

footer {
  position: relative;
  top: 250px;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* リンクのデフォルトスタイルリセット */
footer a,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
  text-decoration: none;
  color: inherit;
}

/* liのデフォルト・を削除 */
footer ul,
footer li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* フッター全体のラッパー */
div.footer {
  width: 100%;
  box-sizing: border-box;
}

/* footer-inner 共通 */
.footer-inner {
  max-width: 1310px;
  width: auto;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  padding: 0 20px;
}


/* ------------------------------------------------------------
   グループサイト一覧
   ------------------------------------------------------------ */

.footer-links.groupsite {
  background-color: #F2F2F2;
  padding: 48px 0 56px;
}

.footer-ttl {
  font-size: 18px;
  text-align: left;
  color: #6f6f6f;
  max-width: 1310px;
  margin: 0 auto 24px;
  padding: 0 20px;
}

.footer-links.groupsite .footer-inner nav {
  border-bottom: none;
}

.footer-group-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-bottom: 16px;
}

.footer-group-list:last-child {
  margin-bottom: 0;
}

.footer-group-list li {
  width: calc((100% - 100px) / 6);
  min-width: 0;
  box-sizing: border-box;
}

.footer-group-list li a {
  display: block;
}

.footer-group-list img {
  display: block;
  width: 100%;
  height: auto;
}


/* ------------------------------------------------------------
   フッターリンク一覧
   ------------------------------------------------------------ */

.footer-links.links {
  background-color: #1A1A1A;
  padding: 32px 0;
}

.footer-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.footer-links-list li::after {
  content: "|";
  padding: 0 16px;
  color: #fff;
}

.footer-links-list li:last-child::after {
  content: "";
  padding: 0;
}

.footer-links-list a,
.footer-links-list a:link,
.footer-links-list a:visited,
.footer-links-list a:hover,
.footer-links-list a:active {
  color: #fff;
  font-size: 12px;
}

.footer-links-list a:hover {
  opacity: 0.7;
}


/* ------------------------------------------------------------
   ロゴ・コピーライト
   ------------------------------------------------------------ */

.footer_logo {
  background-color: #1A1A1A;
  text-align: center;
  padding: 24px 0 40px;
}

.copyright {
  color: #fff;
  font-size: 11px;
  line-height: 1;
  margin: 0;
}


/* ------------------------------------------------------------
   スマートフォン版切替
   ------------------------------------------------------------ */

.switching-screen-sp {
  width: 100%;
  background-color: #bfbfbf;
  height: 80px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.switching-screen-sp a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.switching-screen-sp img {
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.switching-screen-sp span {
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  background-color: #444;
  color: #fff;
  font-size: 16px;
}

footer.detail-main div.footer {
  padding-bottom: 120px;
}