@charset "utf-8";
/* ==========================================================
   共通サイトフッター（全ページ）
   読込：footer.php（<footer> の直前で読み込み）
   画像：images/footer/
   既存 main.css の .footer / .footer__contact 等に重ねて上書き
   ・.site-footer        … フッター全体（住所・ナビ・コピーライト）
   ・.footer-cv / .footer-cv__* … フッター上部のコンバージョンエリア
   ========================================================== */

/* ----------------------------------------------------------
   コンバージョンエリア（.footer__contact.footer-cv）
---------------------------------------------------------- */

.footer-cv {
  position: relative;
  padding: clamp(38px, 4vw, 60px) 0;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 88% 12%, rgba(178, 17, 0, .38), transparent 32%),
    linear-gradient(135deg, rgba(9, 9, 9, .86) 0%, rgba(22, 22, 22, .8) 55%, rgba(35, 4, 2, .86) 100%),
    url(../images/footer/footer-contact-bg.jpg) center / cover no-repeat;
}

.footer-cv::before {
  content: "MJS";
  position: absolute;
  top: -92px;
  right: -22px;
  color: transparent;
  font: 400 clamp(170px, 25vw, 360px)/1 "Bebas Neue", sans-serif;
  letter-spacing: -.03em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}

.footer-cv::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(46vw, 650px);
  height: 5px;
  background: linear-gradient(90deg, #b21100, #ff4b38, transparent);
}

.footer-cv__header,
.footer-cv__body {
  position: relative;
  z-index: 1;
}

.footer-cv__header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  column-gap: clamp(30px, 6vw, 82px);
  row-gap: clamp(6px, 1vw, 12px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.footer-cv .footer-cv__label {
  grid-column: 1 / -1;
  margin: 0;
  color: #ef3a27;
  font-size: 18px;
  letter-spacing: .22em;
}

.footer-cv__header h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .025em;
  white-space: nowrap;
}

.footer-cv .footer-cv__lead {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .95);
  font-size: 15px;
  line-height: 2;
}

.footer-cv__body {
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(26px, 4vw, 54px);
}

.footer-cv__brand,
.footer-cv__actions {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
}

.footer-cv__brand {
  padding: clamp(20px, 2.6vw, 30px);
  background: rgba(255, 255, 255, .96);
  color: #111;
}

.footer-cv__logo {
  width: min(100%, 330px);
  margin-bottom: 25px;
}

.footer-cv .footer-cv__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-cv .footer-cv__brand > p {
  margin: 0 0 25px;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

.footer-cv__sns {
  align-items: center;
  gap: 13px;
  margin: 0;
}

.footer-cv__sns li {
  width: 34px;
  height: 34px;
}

.footer-cv__sns a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 1 !important;
  transition: transform .3s ease, opacity .3s ease;
}

.footer-cv__sns a:hover {
  transform: translateY(-3px);
  opacity: .72 !important;
}

.footer-cv .footer-cv__sns img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-cv__sns .footer-cv__line {
  width: auto;
  height: 40px;
}

.footer-cv__line a {
  display: flex;
  min-width: 96px;
  height: 100%;
  align-items: center;
  gap: 7px;
  padding: 0 18px 0 7px;
  border-radius: 20px;
  color: #fff;
  background: #06c755;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}

.footer-cv .footer-cv__line img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-cv__actions {
  padding: clamp(20px, 2.6vw, 30px);
  background: rgba(255, 255, 255, .07);
}

.footer-cv__tel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.footer-cv__tel dl {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(0, 0, 0, .25);
}

.footer-cv__tel dt {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
  background: #b21100;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.footer-cv__tel dd {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 35px);
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
}

.footer-cv__tel dd::before {
  content: "";
  flex-shrink: 0;
  width: .62em;
  height: .62em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.footer-cv__button {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 10px 27px;
  border-radius: 50px;
  box-sizing: border-box;
  color: #fff !important;
  background: #b21100;
  font-size: 15px;
  font-weight: 700;
  opacity: 1 !important;
  transition: background .35s ease, transform .35s ease;
}

.footer-cv__button i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #b21100;
  background: #fff;
  font-style: normal;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.footer-cv__button:hover {
  background: #d0220f;
  transform: translateY(-2px);
}

.footer-cv__button:hover i {
  transform: translateX(4px);
}

@media only screen and (max-width: 959px) {
  .footer-cv__header,
  .footer-cv__body {
    grid-template-columns: 1fr;
  }

  .footer-cv__header {
    row-gap: 10px;
  }

  .footer-cv__lead br {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .footer-cv {
    padding: 34px 0 30px;
  }

  .footer-cv::before {
    top: -34px;
    right: -14px;
    font-size: 170px;
  }

  .footer-cv__header {
    margin-bottom: 34px;
  }

  .footer-cv__header h2 {
    font-size: clamp(30px, 7.5vw, 45px);
  }

  .footer-cv .footer-cv__lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .footer-cv__body {
    gap: 16px;
  }

  .footer-cv__brand,
  .footer-cv__actions {
    border-radius: 18px;
  }

  .footer-cv__brand {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 19px 24px;
  }

  .footer-cv__logo {
    margin-bottom: 0;
  }

  .footer-cv .footer-cv__brand > p {
    display: none;
  }

  .footer-cv__sns {
    justify-content: flex-end;
  }

  .footer-cv__sns li {
    width: 29px;
    height: 29px;
  }

  .footer-cv__sns .footer-cv__line {
    height: 32px;
  }

  .footer-cv__line a {
    min-width: 76px;
    padding: 0 12px 0 5px;
    font-size: 10px;
  }

  .footer-cv .footer-cv__line img {
    width: 21px;
    height: 21px;
  }

  .footer-cv__actions {
    padding: 19px 24px;
  }

  .footer-cv__tel dd {
    font-size: clamp(24px, 4.4vw, 32px);
  }

  .footer-cv__tel dd a {
    color: #fff;
    opacity: 1 !important;
  }

  .footer-cv__button {
    min-height: 62px;
  }
}

@media only screen and (max-width: 559px) {
  .footer-cv {
    padding: 28px 0 24px;
  }

  .footer-cv__header h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .footer-cv__brand {
    display: block;
    padding: 19px 22px;
  }

  .footer-cv__logo {
    width: min(100%, 270px);
    margin-bottom: 22px;
  }

  .footer-cv__sns {
    justify-content: flex-start;
  }

  .footer-cv__tel {
    grid-template-columns: 1fr;
  }

  .footer-cv__tel dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 14px 16px;
  }

  .footer-cv__tel dt {
    margin-bottom: 0;
    padding: 2px 6px;
    font-size: 10px;
    white-space: nowrap;
  }

  /* 電話番号が枠の右端に当たらないよう、画面幅に合わせて縮小 */
  .footer-cv__tel dd {
    min-width: 0;
    font-size: clamp(21px, 6.6vw, 30px);
  }

  .footer-cv__button {
    padding-left: 22px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cv__sns a,
  .footer-cv__button,
  .footer-cv__button i {
    transition: none;
  }
}

/* ----------------------------------------------------------
   フッター全体（.footer.site-footer）
---------------------------------------------------------- */

.site-footer {
  overflow: clip;
  color: #111;
  background: #fff;
}

.site-footer .footer__address {
  padding: 28px 0;
  border: 0;
  background: #f3f3f3;
}

.site-footer .footer__address__dl-wrap {
  /* 列幅は内容に合わせ、本社・大阪の2行で列位置を揃える */
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: center;
  gap: 10px 28px;
}

.site-footer .footer__address__dl {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* subgrid 非対応ブラウザ用 */
@supports not (grid-template-columns: subgrid) {
  .site-footer .footer__address__dl-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .footer__address__dl {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
  }
}

@media only screen and (max-width: 1100px) {
  .site-footer .footer__address__dl-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .site-footer .footer__address__dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
  }

  .site-footer .footer__address__dl dt {
    flex-basis: 100%;
    text-align: center;
  }
}

.site-footer .footer__address__dl dt {
  color: #111;
  font-weight: 700;
}

.site-footer .footer__address__dl dt + *,
.site-footer .footer__address__dl dd + * {
  margin-left: 0;
}

.site-footer .footer__nav {
  padding: 31px 20px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.site-footer .footer__nav__list {
  flex-wrap: wrap;
  gap: 11px 0;
  margin: 0 auto;
}

.site-footer .footer__nav__list li {
  padding: 0 13px;
}

.site-footer .footer__nav__list li + li::before {
  color: #bbb;
}

.site-footer .footer__nav__list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  opacity: 1 !important;
}

.site-footer .footer__nav__list a:hover,
.site-footer .footer__nav__list a[aria-current="page"] {
  color: #b21100;
}

.site-footer .footer__text {
  padding: 16px 20px 4px;
  color: #777;
  background: #fff;
  font-size: 13px;
}

.site-footer .site-footer__banner {
  padding: 10px 20px 24px;
}

.site-footer .site-footer__banner a {
  display: inline-block;
  opacity: 1 !important;
}

.site-footer .site-footer__banner a:hover {
  opacity: .72 !important;
}

.site-footer .footer__copy {
  background: #b21100;
  font-size: 14px;
}

.site-footer .footer__copy small {
  font-size: 13px;
  letter-spacing: .02em;
}

.site-footer #pagetop a {
  opacity: 1 !important;
}

@media only screen and (max-width: 768px) {
  .site-footer {
    padding-bottom: 50px;
  }

  .site-footer .footer__text {
    background: #fff;
  }
}

@media only screen and (max-width: 559px) {
  .site-footer .footer__text {
    padding-right: 64px;
    padding-left: 18px;
    text-align: left;
  }

  .site-footer .site-footer__banner {
    padding: 10px 18px 22px;
    text-align: left;
  }
}
