:root{
  --pink: #EC0C7C;
  --text: #222222;
  --max-width: 1200px;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
}

/* ==================== フッター ==================== */
.site-footer{
  width: 100%;
  height: auto;
  background: #efefef;
}

.footer-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* ---- 各カラム共通 ---- */
.footer-col{
  min-width: 160px;
}

.footer-col + .footer-col{
  margin-top: 0;
}

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

.footer-col-title{
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: bold;
  color: var(--pink);
}

.footer-list{
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-list:last-child{
  margin-bottom: 0;
}

.footer-list a{
  position: relative;
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color .18s ease;
}

/* ホバー時：左にピンクの三角マーク */
.footer-list a::before{
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--pink);
  opacity: 0;
  transition: opacity .18s ease;
}

.footer-list a:hover{
  color: var(--pink);
}
.footer-list a:hover::before{
  opacity: 1;
}

/* ---- 4カラム目：ロゴ・会社名・SNS ---- */
.footer-col--brand{
  min-width: 240px;
}

.footer-logo{
  display: flex;
  align-items: center;
  justify-content: left;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
}

.footer-logo img{
  height: 100%;
  width: auto;
}

.footer-company{
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: bold;
}

.footer-sns{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.footer-sns a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  color: var(--text);
  text-decoration: none;
}

.footer-sns svg{
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer-sns-label{
  font-size: 14px;
  line-height: 1;
}

.footer-sns a:hover .footer-sns-label{
  text-decoration: underline;
}

/* ==================== ボトムバー ==================== */
.footer-bottom{
  background: #000000;
  color: #ffffff;
}

.footer-bottom-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal-list li{
  display: flex;
  align-items: center;
}

.footer-legal-list a{
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}
.footer-legal-list a:hover{
  text-decoration: underline;
}

.footer-legal-list .divider{
  margin: 0 14px;
  color: #ffffff;
  opacity: .5;
}

.footer-copyright{
  font-size: 12px;
  white-space: nowrap;
}

/* ==================== レスポンシブ（max-width: 767px） ==================== */
@media (max-width: 767px){

  .footer-inner{
    flex-direction: column;
    padding: 40px 40px;
    gap: 40px;
  }

  .footer-col{
    min-width: 0;
  }

  .footer-col--brand{
    min-width: 0;
    align-items: flex-start;
  }

  .footer-logo{
    width: 160px;
  }

  .footer-bottom-inner{
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 40px;
  }

  .footer-legal-list{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-legal-list .divider{
    display: none;
  }
}
