
.msg-section {
  position: relative;
  background: #ececea;
  color: #1a1a1a;
}

/* ロゴマーク（差し替え用のプレースホルダ） */
.ul-logo__mark {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from -20deg, #2b6cff, #17c0eb, #ffd21e, #ff5e3a, #12c99b, #2b6cff);
  flex: none;
}

/* ---------- 上部：暗いテクスチャ背景の MESSAGE ---------- */
.msg-hero {
  position: relative;
  overflow: hidden;
  background: #1b2531;
  /* 幅は常に100%。高さは背景画像(1500×1568)の比率で確保し、
     画像を横幅100%・縦もフルで表示する（max-height は付けない＝幅が縮まない） */
  width: 100%;
  aspect-ratio: 1500 / 1568;
  min-height: 620px;
}
.msg-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/top-section-3bg_06.png");
  background-size: 100% 100%;      /* 幅100%・縦もフル表示（ヒーロー比=画像比なので歪まない） */
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.msg-logo-top {
  position: absolute;
  top: 26px;
  right: 4%;
  z-index: 3;
}

.msg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 96px 6% 60px;
  top: 14%;
}

.msg-text {
  position: relative;
  z-index: 2;
  width: 44%;
  padding-top: 170px;      /* 少し下げる */
  color: #cbceca;
}
.msg-label {
  font-family: "Elms Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin-bottom: 2.2em;
}
.msg-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 0.9em;
  color: #cbceca;
}
.msg-en {
  font-family: "Elms Sans", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3.4em;
}

/* 中央写真（表示領域に入るとスーッとズームイン） */
.msg-photo {
  position: absolute;
  top: 240px;              /* 少し下げる */
  left: 31%;
  width: 40%;
  max-width: 470px;
  z-index: 1;
}
.msg-photo img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(0.72);          /* 初期は少し小さく */
  transform-origin: center center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
/* 表示領域に入ったらスーッと等倍へズームイン */
.msg-photo.is-inview img {
  transform: scale(1);
}

.btn-view.top-msg {
  max-width: 245px;
  color: #cbceca;
}

/* ---------- 下部：左コピー + 右 NEWS パネル ---------- */
.msg-lower {
  position: relative;
  background: #ececea;
  display: block;
    height: 800px;
}
.msg-lower__inner {
  position: relative;
  max-width: 1500px;
  height: 100%;                    /* コピーの縦位置基準を .msg-lower 全高に */
  margin: 0 auto;
  padding: 0 6%;
}




/* 左下のコピー */
.msg-lower__copy {
  position: absolute;
    left: 6%;
    bottom: 140px;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 2.1;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.75);
}

/* View ボタンの色違い（暗い背景用） */
.btn-view--light {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* ---------- フッター ---------- */
.site-footer {
  background: #ececea;
  font-family: "Elms Sans", sans-serif;
  padding-top: 60px;
}
.site-footer__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 6% 46px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 26px;
}
.footer-slogan {
  font-size: clamp(1.6rem, 3vw, 4rem);
  font-weight: bold;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, 0.75);

}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.site-footer .footer-logo.tab_sp { display: none; }
.ul-logo__text {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.75);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
}
.footer-nav a {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #333;
  text-decoration: none;
  margin-right: 1.7em;
  padding-bottom: 4px;              /* 下線を出す余白 */
}
/* ホバー時：下からふわっと下線が現れる（フェード＋少し下から上へ） */
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.footer-nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.footer-nav a:last-child { margin-right: 0; }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.08em; color: rgba(0, 0, 0, 0.75); font-weight:bold ;}



/* ---------- レスポンシブ ---------- */

@media (max-width: 999px) {
 .company-title { font-size: 1.35rem; }

 .company-lead {
    font-size: 1.15rem;
  }

  .company-label {
    font-size: 0.9rem;
  }

  /* デザイン準拠：フッターナビは3列 */
  nav.footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 22px;
    row-gap: 14px;
}

.footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-bottom { flex-direction: column; align-items: flex-start; }
.site-footer .footer-logo.pc { display: none; }
.site-footer .footer-logo.tab_sp { display: flex; }

.footer-nav a {
        display: block;
        width: auto;
        margin: 0;
        padding-bottom: 6px;
        border-bottom: solid 1px;
    }

  /* フッターロゴ（アイコン＋URBAN LiKE）はデザイン実測 ≈168px に合わせる */
  .footer-logo img { width: 170px; height: auto; }
}

@media (max-width: 900px) {
  .msg-hero { aspect-ratio: auto; max-height: none; min-height: 0; }
  .msg-hero__inner { padding: 70px 6% 90px; }
  .msg-text { width: 100%; padding-top: 40px; }
  .msg-photo {
    position: static;
    width: 78%;
    max-width: 420px;
    margin: 40px auto 0;
  }
  .msg-photo img { transform: none !important; }
  /* NEWS → 少年コピー の順に縦積み（デザイン準拠） */
  .msg-lower { height: auto; display: flex; flex-direction: column; }
  .msg-lower__inner { order: 2; height: auto; padding-top: 8px; }
  /* デザイン準拠：パネルは左端まで届かせず、左に約7.5%の余白を残す（右端は画面端まで）。
     さらにヒーロー下部（Viewの下の暗い写真部分）へ少し重ね、左帯の上側に
     MESSAGEの背景写真が食い込むようにする（下側は明るい背景）。 */
  .news-panel { order: 1; position: relative; z-index: 3; width: auto; margin: -200px 0 0 7.5%; }
  .msg-lower__copy { position: static; left: auto; bottom: auto; padding: 34px 6% 10px; }


  /*.footer-nav a { display: inline-block; margin: 0 1.4em 0.8em 0; }*/
}

/* ============================================================
   下層ページ専用フッター
   ============================================================ */
.subpage-closing {
  box-sizing: border-box;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: 112px 5% 68px;
  background: #fff;
  color: #444;
}

.subpage-closing__copy {
  margin: 0;
  color: #444;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.subpage-footer {
  margin-top: auto;
  padding: 0;
  background: transparent;
  font-family: "Elms Sans", sans-serif;
}

.subpage-footer__top,
.subpage-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subpage-footer__slogan {
  margin: 0;
  color: #444;
  font-size: clamp(36px, 3vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
}

.subpage-footer__logo img {
  display: block;
  width: 312px;
  height: auto;
}

.subpage-footer__logo--mobile {
  display: none;
}

.subpage-footer__bottom {
  margin-top: 52px;
}

.subpage-footer__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.subpage-footer__nav a {
  color: #444;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.subpage-footer__copyright {
  margin: 0;
  color: #444;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

@media (max-width: 999px) {
  .subpage-closing {
    min-height: 0;
    padding: 64px 6% 44px;
  }

  .subpage-closing__copy {
    margin-bottom: 72px;
    font-size: 16px;
    line-height: 2;
  }

  .subpage-footer {
    margin-top: 0;
  }

  .subpage-footer__top,
  .subpage-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-footer__slogan {
    font-size: clamp(28px, 8vw, 36px);
  }

  .subpage-footer__logo--desktop {
    display: none;
  }

  .subpage-footer__logo--mobile {
    display: block;
    margin-top: 34px;
  }

  .subpage-footer__logo img {
    width: 230px;
  }

  .subpage-footer__bottom {
    width: 100%;
    margin-top: 46px;
  }

  .subpage-footer__nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 22px;
  }

  .subpage-footer__nav a {
    padding-bottom: 7px;
    border-bottom: 1px solid #777;
    font-size: 1.1rem;
  }

  .subpage-footer__copyright {
    margin-top: 24px;
    font-size: 10px;
  }
}

/* ============================================================
   スマホ向け微調整
   ============================================================ */
@media (max-width: 768px) {


.msg-lower__inner {
    margin: 0;
    padding: 0 5%;
}

  .msg-lower__copy {
    padding: 34px 0% 10px;
  }



      /*メッセージブロックの調整*/
.msg-hero {
        aspect-ratio: auto;
        max-height: 1500px;
        min-height: 0;
        /* height: 1500px; */
    }


    .msg-hero__inner {
    top: 8%;
    text-align: center;
    /* Viewの下に暗い写真の余白を確保（デザイン準拠：View→NEWSの間に余白） */
    padding-bottom: 300px;
}



.btn-view-block > a {
    text-align: center;
    margin: 50px auto;
}

.msg-title {
    /* iPhone SE等の狭い端末で「想像を超える、」が折り返さないよう可変に。
       約417px以上では3rem（48px）を維持し、それ未満で縮小。 */
    font-size: clamp(2.2rem, 11.5vw, 3rem);
}

.msg-label {
    font-size: 0.85rem;
}

.msg-en {
  font-size: 0.7rem;
    line-height: 2.5;
}



}
