/* Ming You brand overrides */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500&display=swap");

/* ---- Opening: hide header until main.js sets html.is-loaded ---- */
html:not(.is-loaded) body.top .header_logo,
html:not(.is-loaded) body.top .header_menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.is-loaded body.top .header_logo,
html.is-loaded body.top .header_menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: opacity 0.55s ease 0.12s, visibility 0.55s ease 0.12s;
}

/* ---- Header logo (image) ---- */
.my-header-logo {
  display: inline-flex !important;
  width: 78px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-indent: 0 !important;
  overflow: visible !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

html.is-loaded .my-header-logo {
  opacity: 1 !important;
}
.my-header-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.top .header:not(.is-white) .my-header-logo {
  background: transparent;
}

/* ---- Header brand row (MY logo + company name) ---- */
.header_brand_row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}
.header_brand_row .my-header-logo {
  flex: 0 0 auto;
  width: 68px;
  height: 56px;
  padding: 0;
  background: transparent !important;
}
.header_brand_row .my-header-logo img {
  filter: none;
}
.header_company_name {
  color: #282b2d;
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
  white-space: nowrap;
}
body.top .header:not(.is-white) .header_company_name {
  color: #1a1d1f;
}
.header_brand_row + .header_logo_txt {
  margin-left: 78px;
}
@media (max-width: 1023px) {
  .header_brand_row { gap: 7px; }
  .header_brand_row .my-header-logo { width: 54px; height: 44px; padding: 0; }
  .header_company_name { font-size: 10px; }
  .header_brand_row + .header_logo_txt { margin-left: 61px; }
}

/* ---- Header company name (text fallback) ---- */
html.is-loaded .header_logo_tokyu .js_outline_txtChild span {
  display: inline !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  text-indent: 0 !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  clip-path: none !important;
  white-space: nowrap;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Light hero video: dark company name for readability */
body.top .header_logo_tokyu.__white .js_outline_txtChild span,
body.top .header:not(.is-white) .header_logo_tokyu .js_outline_txtChild span {
  color: #1a1d1f !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.header.is-white .header_logo_tokyu .js_outline_txtChild span,
.header_nav .header_logo_tokyu .js_outline_txtChild span {
  color: #282b2d !important;
  text-shadow: none;
}

html.is-loaded .header_logo_txt .js_outline_txt,
html.is-loaded .header_logo_txt .js_outline_txt span {
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
}

body.top .header_logo_txt .js_outline_txt {
  color: #1a1d1f !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.header.is-white .header_logo_txt .js_outline_txt,
.header_nav .header_logo_txt .js_outline_txt {
  color: #282b2d !important;
  text-shadow: none;
}

/* ---- Hero English headline ---- */
.top_fv_copyTxt {
  display: block;
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

/* ---- Footer company name (text instead of old logo image) ---- */
.footer_logo a {
  display: block;
  text-decoration: none;
}

.footer_logo picture:not(.my-footer-logo),
.footer_logo > a > picture {
  display: none !important;
}

.footer_brandName {
  display: block;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: #282b2d;
  line-height: 1.45;
  letter-spacing: 0.02em;
  font-synthesis: none;
}
.footer_brandName.my-footer-logo,
.my-footer-logo {
  width: 112px;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
}
.my-footer-logo img {
  display: block !important;
  width: 100%;
  height: auto;
}

.footer_brandNameEn {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: #666;
  font-family: "Libre Baskerville", serif;
  line-height: 1.4;
}

.footer_beian a {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-synthesis: none;
}

/* ---- ICP / 公安备案 ---- */
.footer_copy {
  flex-direction: column;
  gap: 0.6rem;
}
.footer_beian {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.8rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #6e6b65;
}
.footer_beian a {
  color: inherit;
  text-decoration: none;
}
.footer_beian a:hover {
  text-decoration: underline;
}
@media (max-width: 1023px) {
  .footer_beian {
    font-size: 1rem;
  }
}

/* Nav: 8項目目（Policy）の緑ドット（main.css は7項目まで） */
@media (min-width: 1024px) {
  .header_nav_menuNav li:nth-child(8).is-current ~ .header_nav_menuIndicator,
  .header_nav_menuNav li:nth-child(8):hover ~ .header_nav_menuIndicator {
    transform: translateY(calc(var(--indicator-y) * 7));
  }
}


/* ---- Base font size (slightly larger) ---- */
html {
  font-size: 72.5%;
}

@media (min-width: 1024px) {
  html {
    font-size: 75%;
  }
}

/* ---- Button / footer icons (▶ & external link) ---- */
.l_arw_moveIcon {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.l_arw_moveIcon::after,
.l_arw_moveIcon:after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: auto;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background-color: transparent !important;
  background-image: url("../imgs/common/arw.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.l_arw_moveIcon.__left::after,
.l_arw_moveIcon.__left:after {
  background-image: url("../imgs/common/arw_l.svg") !important;
}

.l_arw_moveIcon.__white::after,
.l_arw_moveIcon.__white:after {
  background-image: url("../imgs/common/arw-white.svg") !important;
}

body.top .top_fv_newsBtn .l_arw_moveIcon::after,
body.top .top_fv_newsBtn .l_arw_moveIcon:after {
  background-image: url("../imgs/common/arw-white.svg") !important;
}

.l_btn .l_btn_arw {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.l_btn .l_btn_arw .l_arw_moveIcon {
  width: 1rem;
  height: 1rem;
}

html.notouch a.l_btn:hover .l_btn_arw .l_arw_moveIcon::after,
html.notouch a.l_btn:hover .l_btn_arw .l_arw_moveIcon:after {
  background-image: url("../imgs/common/arw-white.svg") !important;
}

/* l_btn 内テキストが overflow + leading-trim で消えるのを防ぐ */
.l_btn .l_btn_txt:has(> .t_hl) {
  display: flex !important;
  align-items: center;
}

.l_btn .l_btn_txt .t_hl {
  display: block !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  color: #282b2d;
  white-space: nowrap;
}

html.notouch a.l_btn:hover .l_btn_txt .t_hl {
  color: #fff;
}

.m_cv_btn .m_cv_btnArw {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #282b2d !important;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .m_cv_btn .m_cv_btnArw {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (max-width: 1023px) {
  .m_cv_btn .m_cv_btnArw {
    width: 1.7rem;
    height: 1.7rem;
    margin-right: 1rem;
  }
}

.m_cv_btn .m_cv_btnArw .l_arw_moveIcon {
  width: 0.8rem;
  height: 0.8rem;
}

.m_cv_btn .m_cv_btnArw .l_arw_moveIcon::after,
.m_cv_btn .m_cv_btnArw .l_arw_moveIcon:after {
  background-image: url("../imgs/common/arw-white.svg") !important;
}

.m_cv_btn:hover .m_cv_btnArw {
  background: #fff !important;
}

.m_cv_btn:hover .m_cv_btnArw .l_arw_moveIcon::after,
.m_cv_btn:hover .m_cv_btnArw .l_arw_moveIcon:after {
  background-image: url("../imgs/common/arw.svg") !important;
}

.l_blankbtn_icon .l_icon_blank,
.l_blankbtn .l_icon_blank,
.l_icon_blank {
  display: inline-block !important;
  flex-shrink: 0;
  width: 1.1rem !important;
  height: 1.1rem !important;
  border: none !important;
  background: transparent url("../imgs/common/icon_blank-gray.svg") center / contain no-repeat !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

html.notouch a.l_blankbtn:hover .l_icon_blank,
html.notouch .footer_links a.l_blankbtn:hover .l_icon_blank {
  background: transparent url("../imgs/common/icon_blank-dark.svg") center / contain no-repeat !important;
}

/* フッター付近 CTA「サービスを見る」内の外部リンクアイコンのみ非表示 */
.m_cv_btnTxt .l_icon_blank {
  display: none !important;
}

/* do not force-show .preload — opening 0–100% needs main.js hide/show */
