/* =========================================================
   PUMP top renewal + global header/footer
   ========================================================= */

body.renewal {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #121212;
  -webkit-font-smoothing: antialiased;
}

body.renewal .ly_siteBar_nav a,
body.renewal .ly_secHead_en,
body.renewal .ly_footer_nav_main > li > a,
body.renewal .ly_works_btn,
body.renewal .ly_hero_scroll,
body.renewal .ly_works_tag {
  font-family: "Montserrat", sans-serif;
}

/* ---------- Site bar (global) ---------- */
body.renewal .ly_siteBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 16;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 40px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.renewal.home .ly_siteBar.is-top {
  background: transparent;
  box-shadow: none;
}

body.renewal.home .ly_siteBar.is-top .ly_siteBar_logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

body.renewal.home .ly_siteBar.is-top .ly_siteBar_nav a {
  color: #fff;
}

body.renewal.home .ly_siteBar.is-top .ly_siteBar_nav a:before {
  background: #fff;
}

body.renewal.home .ly_siteBar.is-top .js_header_btn span {
  border-bottom-color: #fff !important;
}

body.renewal .ly_siteBar_logo img {
  display: block;
  width: 100px;
  height: 28px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

body.renewal .ly_siteBar.is-scrolled,
body.renewal:not(.home) .ly_siteBar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

body.renewal .ly_siteBar.is-scrolled .ly_siteBar_logo img,
body.renewal:not(.home) .ly_siteBar_logo img {
  filter: none;
}

body.renewal .ly_siteBar.is-scrolled .ly_siteBar_nav a,
body.renewal:not(.home) .ly_siteBar_nav a {
  color: #121212;
}

body.renewal .ly_siteBar.is-scrolled .ly_siteBar_nav a:before,
body.renewal:not(.home) .ly_siteBar_nav a:before {
  background: #121212;
}

body.renewal .ly_siteBar.is-scrolled .js_header_btn span,
body.renewal:not(.home) .js_header_btn span {
  border-bottom-color: #121212 !important;
}

body.renewal .ly_siteBar_logo,
body.renewal #logo.ly_siteBar_logo {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100px !important;
  max-width: none;
  height: 28px;
  margin: 0;
  z-index: 17;
}

body.renewal .ly_siteBar_nav {
  margin-left: auto;
  margin-right: 72px;
}

body.renewal .ly_siteBar_nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

body.renewal .ly_siteBar_nav a {
  position: relative;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #121212;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.renewal .ly_siteBar_nav a:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #121212;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

body.renewal .ly_siteBar_nav a:hover:before {
  transform: scaleX(1);
}

body.renewal header.ly_header {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 88px;
  z-index: 18;
  background: transparent !important;
}

/* Do not use transform for positioning — existing JS sets
   transform:scale() on hover and would wipe translateY, leaving the btn shifted. */
body.renewal .js_header_btn {
  position: absolute !important;
  right: 0 !important;
  top: 24px !important;
  transform: none;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
}

@media (min-width: 769px) {
  body.renewal .ly_siteBar_nav {
    margin-right: 0;
  }
  body.renewal header.ly_header {
    width: 0;
    height: 0;
    overflow: visible;
  }
  body.renewal .js_header_btn {
    display: none;
  }
}

@media (max-width: 768px) {
  body.renewal .ly_siteBar {
    height: 64px;
    align-items: flex-start;
    padding: 30px 20px 0;
  }
  body.renewal .ly_siteBar_logo,
  body.renewal #logo.ly_siteBar_logo {
    width: 74px !important;
    height: auto;
    max-width: none;
    top: 0 !important;
  }
  body.renewal .ly_siteBar_logo img {
    width: 74px;
    height: auto;
  }
  body.renewal .ly_siteBar_nav {
    display: none;
  }
  body.renewal header.ly_header {
    top: 0;
    right: 0;
    height: 64px;
    width: 60px;
    background: transparent !important;
  }
  /* top 30px / right 20px from viewport; bars 40×3, gap 12 */
  body.renewal .js_header_btn,
  body.renewal #btn01.js_header_btn,
  body.renewal #btn01.fadeIn {
    display: block;
    top: 30px !important;
    right: 20px !important;
    width: 40px !important;
    height: 18px !important;
    background: transparent !important;
    transform: none;
    z-index: 20 !important;
  }
  body.renewal .js_header_btn {
    transition: none !important;
  }
  body.renewal .js_header_btn span {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px !important;
    height: 0;
    margin: 0 !important;
    border-bottom: 3px solid #121212 !important;
    background: transparent !important;
    transition: transform 0.45s ease !important;
  }
  /* 2本線（中心から上下 7.5px）。開閉は回転と寄せだけを補間する */
  body.renewal .js_header_btn span:nth-of-type(1) {
    transform: translateY(-50%) translateY(-7.5px) rotate(0deg);
  }
  body.renewal .js_header_btn span:nth-of-type(2) {
    transform: translateY(-50%) translateY(7.5px) rotate(0deg);
  }
  /* 開いたときは固定×（メニューより前面でタップして閉じる）
     specificity must beat #btn01.js_header_btn / #btn01.fadeIn */
  body.renewal #btn01.js_header_btn.active,
  body.renewal #btn01.fadeIn.active,
  body.renewal .js_header_btn.active {
    position: fixed !important;
    top: 30px !important;
    right: 20px !important;
    width: 40px !important;
    height: 18px !important;
    z-index: 30 !important;
  }
  /* 公開サイトと同じ ±25度。translate の個数を閉状態と揃えて、上下の飛びを防ぐ */
  body.renewal #btn01.js_header_btn.active span,
  body.renewal #btn01.fadeIn.active span,
  body.renewal #btn01.active span {
    border-bottom-color: #121212 !important;
  }
  body.renewal #btn01.js_header_btn.active span:nth-of-type(1),
  body.renewal #btn01.fadeIn.active span:nth-of-type(1),
  body.renewal #btn01.active span:nth-of-type(1) {
    transform: translateY(-50%) translateY(0px) rotate(-25deg);
  }
  body.renewal #btn01.js_header_btn.active span:nth-of-type(2),
  body.renewal #btn01.fadeIn.active span:nth-of-type(2),
  body.renewal #btn01.active span:nth-of-type(2) {
    transform: translateY(-50%) translateY(0px) rotate(25deg);
  }
}

/* メニューの打ち消し線ホバーは不要（タッチでは意味がない） */
body.renewal header.ly_header .ly_header_inner .ly_header_inner_right ul li a:before,
body.renewal header.ly_header .ly_header_inner .ly_header_inner_right ul li a:hover:before {
  content: none !important;
  display: none !important;
  transform: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 閉じるは×ボタンで行う。カスタムカーソルは使わない */
body.renewal .un_closeArea {
  cursor: default !important;
}
body.renewal .un_closeArea img {
  display: none !important;
}

/* Hide old home side rail on renewed top */
body.renewal.home .ly_side {
  display: none !important;
}

/* Subpage spacing: keep existing title margins; avoid header collision */
body.renewal:not(.home) .el_common_ttl {
  margin-top: 160px;
}

/* ---------- Section heading ---------- */
body.renewal .ly_secHead {
  margin-bottom: 80px;
}

body.renewal .ly_secHead_ja {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: #121212;
}

body.renewal .ly_secHead_en {
  font-size: 5.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin: 0;
}

body.renewal .ly_secHead-light .ly_secHead_ja,
body.renewal .ly_secHead-light .ly_secHead_en {
  color: #fff;
}

@media (max-width: 768px) {
  body.renewal .ly_secHead {
    margin-bottom: 40px;
  }
  body.renewal .ly_secHead_ja {
    font-size: 1.2rem;
  }
  body.renewal .ly_secHead_en {
    font-size: 3.4rem;
  }
}

/* ---------- Circle arrow (現行ホバー感) ---------- */
body.renewal .el_circleArrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #121212;
  vertical-align: middle;
  margin-left: 10px;
  transition: transform 0.35s ease, background 0.35s ease;
}

body.renewal .el_circleArrow:after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, 1px);
}

body.renewal .el_circleArrow-lg {
  width: 80px;
  height: 80px;
  background: #fff;
  color: #121212;
  margin-left: 0;
}

body.renewal .el_circleArrow-lg:after {
  content: none;
}

body.renewal .el_circleArrow-lg svg {
  display: block;
  width: 24px;
  height: 26px;
}

body.renewal a:hover .el_circleArrow,
body.renewal .ly_contactCta_link:hover .el_circleArrow {
  transform: scale(0.92);
}

/* 詳しく見る：32px黒丸・12px横線・SCROLL DOWN同形状の右矢印 */
body.renewal .el_circleArrow-more {
  width: 32px;
  height: 32px;
  color: #fff;
}

body.renewal .el_circleArrow-more:after {
  content: none;
}

body.renewal .el_circleArrow-more svg {
  display: block;
  width: 12px;
  height: 13px;
}

body.renewal .el_arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  vertical-align: middle;
}

/* ---------- Hero ---------- */
body.renewal .ly_hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #111;
}

body.renewal .ly_hero_video,
body.renewal .ly_hero_video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.renewal .ly_hero_scroll {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  pointer-events: none;
  writing-mode: horizontal-tb;
}

body.renewal .ly_hero_scroll_txt {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* 線＋下向き矢印（線40px・内角100°・片翼6px・頂点で接続） */
body.renewal .ly_hero_scroll_mark {
  display: block;
  width: 13px;
  height: 44px;
  flex-shrink: 0;
  color: #fff;
  line-height: 0;
}

body.renewal .ly_hero_scroll_mark svg {
  display: block;
  width: 13px;
  height: 44px;
}

@media (max-width: 768px) {
  body.renewal .ly_hero {
    height: 100svh;
    min-height: 480px;
  }
  body.renewal .ly_hero_scroll {
    right: 8%;
    bottom: 20px;
    gap: 8px;
  }
  body.renewal .ly_hero_scroll_txt {
    font-size: 1.4rem;
  }
}

/* ---------- SERVICE ---------- */
body.renewal .ly_service {
  background: #fff;
  padding: 120px 0;
}

body.renewal .ly_service_inner,
body.renewal .ly_works_inner {
  width: min(1240px, calc(100% - 200px));
  margin: 0 auto;
}

body.renewal .ly_service_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

body.renewal .ly_service_card_name {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}

body.renewal .ly_service_card_media {
  display: block;
  overflow: hidden;
  margin-bottom: 36px;
}

body.renewal .ly_service_card_media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}

body.renewal .ly_service_card:hover .ly_service_card_media img {
  transform: scale(1.04);
}

body.renewal .ly_service_card_body {
  padding: 0 20px;
  box-sizing: border-box;
}

body.renewal .ly_service_card_body .ly_service_card_lead {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  color: #121212;
}

body.renewal .ly_service_card_body p {
  font-size: 1.6rem;
  line-height: 1.9;
  margin: 0;
  color: #333;
}

body.renewal .ly_service_card_more {
  /* カード幅いっぱいの下線（本文左右余白を打ち消す）／黒丸右端＝ブロック右端 */
  margin: 36px -20px 0 !important;
  padding: 0 0 18px;
  border-bottom: 1px solid #121212;
  text-align: right;
}

body.renewal .ly_service_card_more a {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 400;
  color: #121212;
  text-decoration: none;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  body.renewal .ly_service {
    padding: 80px 0;
  }
  body.renewal .ly_service_inner,
  body.renewal .ly_works_inner {
    width: calc(100% - 40px);
  }
  body.renewal .ly_service_grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  body.renewal .ly_service_card_media {
    margin-bottom: 24px;
  }
  body.renewal .ly_service_card_body {
    padding: 0 10px;
  }
  body.renewal .ly_service_card_body .ly_service_card_lead {
    font-size: 2rem;
  }
  body.renewal .ly_service_card_body p {
    font-size: 1.4rem;
  }
  body.renewal .ly_service_card_more {
    margin: 32px -10px 0 !important;
    padding: 0 0 16px;
  }
  body.renewal .ly_service_card_more a {
    font-size: 1.4rem;
  }
}

/* ---------- LATEST WORKS ---------- */
body.renewal .ly_works {
  background: #eeecec;
  padding: 120px 0;
}

body.renewal .ly_works_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.renewal .ly_works_item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.renewal .ly_works_thumb {
  margin: 0 0 14px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 16 / 10;
}

body.renewal .ly_works_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

body.renewal .ly_works_item a:hover .ly_works_thumb img {
  transform: scale(1.05);
}

body.renewal .ly_works_tag {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: #333;
  margin-bottom: 10px;
}

body.renewal .ly_works_ttl {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.renewal .ly_works_btnWrap {
  margin: 64px 0 0;
  text-align: center;
}

body.renewal .ly_works_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 52px;
  padding: 0 52px 0 28px;
  box-sizing: border-box;
  background: #121212;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* 矢印のみ（白丸なし）・右端から20px */
body.renewal .ly_works_btn_arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  display: block;
  width: 12px;
  height: 13px;
  color: #fff;
  transform: translateY(-50%);
  line-height: 0;
}

body.renewal .ly_works_btn_arrow svg {
  display: block;
  width: 12px;
  height: 13px;
}

body.renewal .ly_works_btn:hover {
  transform: scale(0.97);
  opacity: 0.9;
}

body.renewal .ly_works_nav {
  display: none;
}

body.renewal .ly_works_navRow {
  display: none;
}

@media (max-width: 768px) {
  body.renewal .ly_works {
    padding: 64px 0 60px;
  }
  body.renewal .ly_works_thumb {
    margin-bottom: 24px;
    aspect-ratio: 840 / 463;
  }
  body.renewal .ly_works_tag {
    padding: 6px 8px;
    margin-bottom: 22px;
    color: #121212;
  }
  body.renewal .ly_works_ttl {
    font-size: 1.5rem;
    line-height: 1.93;
    -webkit-line-clamp: 4;
  }
  body.renewal .ly_works_sliderWrap {
    position: relative;
  }
  body.renewal .ly_works_list {
    display: flex;
    gap: 24px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: calc((100vw - 280px) / 2);
    box-sizing: border-box;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.renewal .ly_works_list::-webkit-scrollbar {
    display: none;
  }
  body.renewal .ly_works_item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    padding-right: 0;
  }
  body.renewal .ly_works_navRow {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
  }
  body.renewal .ly_works_nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #121212;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  body.renewal .ly_works_nav:hover {
    transform: scale(0.92);
  }
  body.renewal .ly_works_nav svg {
    display: block;
    width: 12px;
    height: 13px;
  }
  body.renewal .ly_works_btnWrap {
    margin-top: 60px;
  }
  body.renewal .ly_works_btn {
    width: 220px;
    min-width: 0;
    height: 44px;
    padding: 0 40px 0 24px;
    font-size: 1.4rem;
  }
  body.renewal .ly_works_btn_arrow {
    right: 15px;
  }
}

/* ---------- CONTACT CTA ---------- */
/* XD: 暗パネルの上・左右に白余白（上〜100px） */
body.renewal .ly_contactCta {
  position: relative;
  background: #fff;
  padding: 100px 40px 0;
  box-sizing: border-box;
}

body.renewal .ly_contactCta_link {
  display: block;
  position: relative;
  min-height: 360px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

body.renewal .ly_contactCta_bg {
  position: absolute;
  inset: 0;
  background: #1a1a1a url("../img/renewal/contact-pc.jpg") center / cover no-repeat;
  transform: scale(1);
  transition: transform 0.8s ease;
}

body.renewal .ly_contactCta_link:hover .ly_contactCta_bg {
  transform: scale(1.04);
}

body.renewal .ly_contactCta_inner {
  position: relative;
  z-index: 1;
  width: auto;
  margin: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  box-sizing: border-box;
}

body.renewal .ly_contactCta .ly_secHead {
  margin-bottom: 28px;
}

body.renewal .ly_contactCta_txt {
  max-width: none;
  width: max-content;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  color: #fff;
  white-space: nowrap;
}

body.renewal .ly_contactCta_arrow {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
}

body.renewal .ly_contactCta_link:hover .ly_contactCta_arrow {
  transform: translateY(-50%) scale(0.92);
}

@media (max-width: 768px) {
  body.renewal .ly_contactCta {
    padding: 60px 20px 0;
  }
  body.renewal .ly_contactCta_link,
  body.renewal .ly_contactCta_inner {
    min-height: 420px;
  }
  body.renewal .ly_contactCta_bg {
    background-image: url("../img/renewal/contact-sp.jpg");
  }
  body.renewal .ly_contactCta_inner {
    width: auto;
    justify-content: flex-start;
    padding: 48px 28px 100px;
  }
  body.renewal .ly_contactCta .ly_secHead {
    margin-bottom: 20px;
  }
  body.renewal .ly_contactCta_txt {
    font-size: 1.3rem;
    margin-bottom: 0;
    width: auto;
    max-width: 100%;
    white-space: normal;
  }
  body.renewal .ly_contactCta_arrow {
    position: absolute;
    right: 28px;
    top: auto;
    bottom: 40px;
    transform: none;
  }
  body.renewal .ly_contactCta_link:hover .ly_contactCta_arrow {
    transform: scale(0.92);
  }
  body.renewal .el_circleArrow-lg {
    width: 64px;
    height: 64px;
  }
  body.renewal .el_circleArrow-lg svg {
    width: 20px;
    height: 22px;
  }
}

/* ---------- Footer (global) ---------- */
body.renewal .ly_footer {
  background: #fff !important;
  color: #121212;
  position: relative;
  border: none;
}

body.renewal .ly_footer_inner {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 100px 0 16px;
}

/* Reset legacy .ly_footer ul { display:flex; width:100%; max-width:1240px } */
body.renewal .ly_footer ul {
  width: auto;
  max-width: none;
  margin: 0;
  justify-content: initial;
}

/* PC: logo+address left / nav right */
body.renewal .ly_footer_row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

body.renewal .ly_footer_brand {
  flex: 0 0 auto;
  width: 300px;
  max-width: none;
}

body.renewal .ly_footer_nav {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}

body.renewal .ly_footer ul.ly_footer_nav_main {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.renewal .ly_footer_nav_contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.renewal .ly_footer ul.ly_footer_nav_sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

body.renewal .ly_footer_nav_main > li > a {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #121212;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

body.renewal .ly_footer_nav_main > li > a:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: #121212;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

body.renewal .ly_footer_nav_main > li > a:hover:before {
  transform: scaleX(1);
}

body.renewal .ly_footer_nav_sub a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.renewal .ly_footer_nav_sub a:hover {
  color: #121212;
}

body.renewal .ly_footer_logo {
  display: inline-block;
  max-width: 112px;
  margin-bottom: 28px;
}

body.renewal .ly_footer_logo img {
  display: block;
  width: 100%;
  height: auto;
}

body.renewal .ly_footer_address {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.04em;
  margin: 0 0 16px !important;
  color: #121212 !important;
}

body.renewal .ly_footer_address a {
  color: inherit !important;
  text-decoration: none !important;
}

/* 郵便番号と電話のあいだに1行分の余白 */
body.renewal .ly_footer_address a[href^="tel"] {
  display: inline-block;
  margin-top: 1.6em;
}

body.renewal .ly_footer_map a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #121212;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.renewal .ly_footer_copy {
  margin: 64px 0 0;
  padding: 0;
  border: none;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  color: #b0b0b0;
}

body.renewal .ly_footer_copy small {
  font-family: inherit;
  font-size: inherit;
}

@media (max-width: 768px) {
  body.renewal .ly_footer_inner {
    width: calc(100% - 40px);
    padding: 60px 0 16px;
  }
  body.renewal .ly_footer_row {
    flex-direction: column;
    gap: 48px;
  }
  /* SP: nav → brand */
  body.renewal .ly_footer_nav {
    order: 1;
    width: 100%;
  }
  body.renewal .ly_footer_brand {
    order: 2;
    max-width: none;
  }
  body.renewal .ly_footer ul.ly_footer_nav_main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    gap: 16px 24px;
  }
  body.renewal .ly_footer_nav_main > li:nth-child(1) { grid-column: 1; grid-row: 1; }
  body.renewal .ly_footer_nav_main > li:nth-child(2) { grid-column: 2; grid-row: 1; }
  body.renewal .ly_footer_nav_main > li:nth-child(3) { grid-column: 1; grid-row: 2; }
  body.renewal .ly_footer_nav_main > li:nth-child(4) { grid-column: 2; grid-row: 2; }
  body.renewal .ly_footer_nav_main > li:nth-child(5) { grid-column: 1; grid-row: 3; }
  body.renewal .ly_footer_nav_main > li:nth-child(6) { grid-column: 2; grid-row: 3; }
  body.renewal .ly_footer_nav_main > li:nth-child(7) { grid-column: 1; grid-row: 4; }
  body.renewal .ly_footer ul.ly_footer_nav_sub {
    margin-top: 10px;
    gap: 6px;
  }
  body.renewal .ly_footer_logo {
    max-width: 86px;
    margin-bottom: 20px;
  }
  body.renewal .ly_footer_copy {
    margin-top: 48px;
  }
}

