/* TOP consultation: restrained typography, clear selection, three simple channels. */
.ymh-home .ymh-contact { padding: 76px 40px 88px; color: #2d2926; background: linear-gradient(90deg, rgba(17,25,32,.72) 0%, rgba(18,29,37,.55) 48%, rgba(18,29,37,.4) 100%), url('../images/contact-scales-background-v1.webp') center / cover no-repeat; }
.ymh-home .ymh-contact__inner { display: block; max-width: 1120px; margin-inline: auto; }
.ymh-home .ymh-contact__title { display: grid; grid-template-columns: minmax(0,1fr) 120px; gap: 12px 36px; align-content: center; justify-items: start; padding: 0 8px 22px; min-height: 0; background: none; text-align: left; }
.ymh-home .ymh-contact__title p { grid-column: 1; order: 0; margin: 0; color: #f1d8c5; font: 700 14px/1.5 'Roboto',sans-serif; text-transform: uppercase; letter-spacing: .18em; }
.ymh-home .ymh-contact__title h2 { grid-column: 1; order: 0; margin: 0; color: #fff; font: 700 clamp(32px,3.4vw,44px)/1.55 var(--ymh-serif); letter-spacing: .05em; white-space: normal; }
.ymh-home .ymh-contact__title h2 br { display: none; }
.ymh-home .ymh-contact__title > span { grid-column: 1; margin: 0; color: #f5f0eb; font: 500 20px/1.9 var(--ymh-sans); letter-spacing:-.025em; }
.ymh-home .ymh-contact__hours { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 0; width: fit-content; margin: 0 auto 24px; color: #5d5048; font-family: var(--ymh-sans); }
.ymh-home .ymh-contact__hours > span { position: relative; display: flex; align-items: baseline; gap: 7px; padding-left: 17px; }
.ymh-home .ymh-contact__hours > span::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: #dc7048; }
.ymh-home .ymh-contact__hours > span + span { margin-left: 22px; padding-left: 39px; }
.ymh-home .ymh-contact__hours > span + span::before { left: 22px; }
.ymh-home .ymh-contact__hours > span + span::after { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: #cfc5bb; }
.ymh-home .ymh-contact__hours small { color: #5d5048; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ymh-home .ymh-contact__hours strong { color: #9f3f22; font-size: 20px; line-height: 1.2; }
.ymh-home .ymh-contact__hours em { color: #74645b; font-size: 11px; font-style: normal; font-weight: 600; }
.ymh-home .ymh-contact-online-badge { grid-column: 2; grid-row: 1 / 4; align-self: center; display: grid; place-content: center; width: 116px; height: 116px; border: 1px solid #ffffff80; border-radius: 50%; background: #ffffff0d; color: #fff; font: 500 15px/1.5 var(--ymh-sans); text-align: center; }
.ymh-home .ymh-contact__content { padding: 28px 32px 36px; background: #fff; border: 1px solid #d7dce1; border-radius: 4px; box-shadow: none; overflow: hidden; }
.ymh-home .ymh-contact-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; max-width: 760px; margin: 0 auto; background: none; }
.ymh-home .ymh-contact-tab { min-height: 52px; padding: 12px 8px; border: 1px solid transparent; border-radius: 3px; color: #4b4540; background: #f4f1ed; font: 700 16px/1.5 var(--ymh-sans); letter-spacing: 0; }
.ymh-home .ymh-contact-tab:hover { background: #eae3dc; color: #4b4540; }
.ymh-home .ymh-contact-tab.is-active { color: #fff; background: #983d25; border-color: #983d25; box-shadow: none; }
.ymh-home .ymh-contact-tab.is-active::before { content: none; }
.ymh-home .ymh-contact-tab.is-active::after { display: none; }
.ymh-home .ymh-contact-tab:focus-visible, .ymh-home .ymh-contact a:focus-visible { outline: 2px solid #983d25; outline-offset: 3px; }
.ymh-home .ymh-contact-tab.is-active:focus-visible { outline-color: #2d2926; }
.ymh-home .ymh-contact-panel { --contact-channel-gap: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--contact-channel-gap); padding: 0; }
.ymh-home .ymh-contact__panel-heading { grid-column: 1 / -1; justify-content: center; margin: 0; padding: 30px 12px 34px; text-align: center; }
.ymh-home .ymh-contact__panel-heading p { align-items: center; margin: 0; }
.ymh-home .ymh-contact__panel-heading p strong { order: 0; color: #3d3530; font: 700 22px/1.7 var(--ymh-sans); text-wrap: balance; }
.ymh-home .ymh-contact-row { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; margin: 0; padding: 18px 10px 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.ymh-home .ymh-contact-row + .ymh-contact-row { border-left: 0; }
.ymh-home .ymh-contact-row__label { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.ymh-home .ymh-contact-row__label > div { display: contents; }
.ymh-home .ymh-contact-row__icon { order: 0; display: grid; place-items: center; width: 28px; height: 28px; color: #8c6b57; background: none; }
.ymh-home .ymh-contact-row__icon .ymh-contact-icon { width: 27px; height: 27px; }
.ymh-home .ymh-contact-row__label strong { order: 1; color: #2d2926; font: 700 21px/1.5 var(--ymh-sans); }
.ymh-home .ymh-contact-row__label small { order: 2; display: block; margin: 0; min-height: 1.6em; color: #3d3530; font: 700 15px/1.6 var(--ymh-sans); text-wrap: balance; }
.ymh-home .ymh-contact-row__button { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; max-width: 300px; min-height: 76px; margin-top: auto; padding: 12px 28px; border: 1px solid #d9d1c9; border-radius: 4px; background: #fff; color: #36302b; box-shadow: none; text-align: center; }
.ymh-home .ymh-contact-row__button > span { display: grid; justify-items: center; min-width: 0; gap: 4px; }
.ymh-home .ymh-contact-row__button > span > strong { font: 700 17px/1.6 var(--ymh-sans); text-wrap: balance; }
.ymh-home .ymh-contact-row__button > span > small { font-size: 14px; font-weight: 400; line-height: 1.5; color: inherit; opacity: 1; }
.ymh-home .ymh-contact-row__button > b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.ymh-home .ymh-contact-row__button--phone { padding-inline: 0; border: 0; background: transparent; color: #36302b; }
.ymh-home .ymh-contact-row__button--phone > span > strong { order: 0; color:var(--ymh-contact-phone-red); font: 700 clamp(24px,2.6vw,33px)/1.2 'Roboto',Arial,sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.ymh-home .ymh-contact-row__button--phone > span > small { order: 1; color: #625b55; }
.ymh-home .ymh-contact-row__button--phone > b { display: none; }
.ymh-home .ymh-contact-row__button--dark { color: #fff; background: var(--ymh-contact-email-gradient); border-color: #1b5885; }
.ymh-home .ymh-contact-row__button--dark > span > small { display: none; }
.ymh-home .ymh-contact-row__button--line { color: #fff; background: var(--ymh-contact-line-gradient); border-color: #086735; }
.ymh-home .ymh-contact-row__button[href]:hover { color: #fff; filter: brightness(.9); transform: none; }
.ymh-home .ymh-contact-row__button--phone[href]:hover { color: var(--ymh-contact-phone-red); filter: brightness(.98); }
.ymh-home .ymh-contact-row__button[href]:hover > b { transform: translate(3px,-50%); }
.ymh-home .ymh-contact-row__button.is-disabled { opacity: 1; cursor: default; }
@media (max-width: 999px) {
  .ymh-home .ymh-contact { padding: 56px 24px; }
  .ymh-home .ymh-contact__inner { max-width: 680px; }
  .ymh-home .ymh-contact__content { padding: 24px; }
  .ymh-home .ymh-contact-panel { grid-template-columns: minmax(0,1fr); }
  .ymh-home .ymh-contact-row { padding: 22px 18px; gap: 10px; }
  .ymh-home .ymh-contact-row + .ymh-contact-row { border-left: 0; border-top: 0; }
  .ymh-home .ymh-contact-row:last-child { padding-bottom: 0; }
  .ymh-home .ymh-contact-row__label small { min-height: 0; }
  .ymh-home .ymh-contact__panel-heading { padding: 26px 0 8px; }
  .ymh-home .ymh-contact-row__button--phone > span > strong { font-size: 32px; }
}
@media (min-width: 768px) and (max-width: 999px) {
  .ymh-home .ymh-contact__inner { max-width: 880px; }
  .ymh-home .ymh-contact-row { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; align-items: center; padding: 20px 8px; text-align: left; }
  .ymh-home .ymh-contact-row__label { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 0 12px; align-items: center; text-align: left; }
  .ymh-home .ymh-contact-row__icon { grid-column: 1; grid-row: 1 / 3; }
  .ymh-home .ymh-contact-row__label strong { grid-column: 2; grid-row: 1; }
  .ymh-home .ymh-contact-row__label small { grid-column: 2; grid-row: 2; }
  .ymh-home .ymh-contact-row__button { max-width: none; margin-top: 0; }
}
@media (max-width: 599px) {
  .ymh-home .ymh-contact { padding: 44px 16px 48px; background-color: #18222c; background-size: cover, auto 420px; background-position: center, 24% top; }
  .ymh-home .ymh-contact__title { grid-template-columns: minmax(0,1fr) 92px; gap: 10px 10px; padding: 0 0 18px; }
  .ymh-home .ymh-contact__title h2 { font-size: 29px; }
  .ymh-home .ymh-contact__title h2 br { display: block; }
  .ymh-home .ymh-contact__title > span { grid-column: 1 / -1; font-size: 18px; }
  .ymh-home .ymh-contact__hours { display: grid; gap: 7px; margin: 0 auto 20px; }
  .ymh-home .ymh-contact__hours > span + span { margin-left: 0; padding-left: 17px; }
  .ymh-home .ymh-contact__hours > span + span::before { left: 0; }
  .ymh-home .ymh-contact__hours > span + span::after { display: none; }
  .ymh-home .ymh-contact__hours small { font-size: 12px; }
  .ymh-home .ymh-contact__hours strong { font-size: 17px; }
  .ymh-home .ymh-contact-online-badge { grid-row: 1 / 3; width: 90px; height: 90px; font-size: 14px; }
  .ymh-home .ymh-contact__content { padding: 16px 18px 26px; }
  .ymh-home .ymh-contact-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .ymh-home .ymh-contact-tab { font-size: 15px; min-height: 48px; }
  .ymh-home .ymh-contact__panel-heading p strong { font-size: 20px; }
  .ymh-home .ymh-contact-row { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ymh-home .ymh-contact a, .ymh-home .ymh-contact a > b { transition: none; }
}

.ymh-home .ymh-contact-row:has([data-contact-email-link]) .ymh-contact-row__icon { color:var(--ymh-contact-email-blue); }
.ymh-home .ymh-contact-online-badge { position:relative; padding-bottom:20px; }
.ymh-home .ymh-contact-online-badge strong { font-size:22px; font-weight:700; }
.ymh-home .ymh-contact-online-badge__ribbon { position:absolute; left:-8px; right:-8px; bottom:10px; display:flex; align-items:center; justify-content:center; height:28px; padding:0 12px; line-height:1; background:#a3482a; color:#fff; font-size:14px; font-weight:700; clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%,6% 50%); }
@media(max-width:599px) {
 .ymh-home .ymh-contact-online-badge strong { font-size:19px; }
 .ymh-home .ymh-contact-online-badge__ribbon { bottom:5px; height:24px; font-size:12px; padding-block:0; }
}
/* TOP only: the three-question invitation belongs to fraud/debt channels. */
.ymh-home .ymh-contact-row__button > .ymh-line-question-bubble { display:none; }
.ymh-home #contact:has(#contact-tab-fraud[aria-selected="true"], #contact-tab-debt[aria-selected="true"]) .ymh-contact-row__button--line {
 margin-top:26px;
}
.ymh-home #contact:has(#contact-tab-fraud[aria-selected="true"], #contact-tab-debt[aria-selected="true"]) .ymh-line-question-bubble {
 position:absolute; z-index:1; top:-19px; left:50%; transform:translateX(-50%);
 display:flex; align-items:center; justify-content:center; width:max-content; max-width:calc(100% - 12px);
 min-height:34px; padding:6px 14px; border-radius:18px; background:#ffe36d; color:#393015;
 font:700 15px/1.45 var(--ymh-sans); white-space:nowrap; font-style:normal; pointer-events:none;
}
.ymh-home .ymh-line-question-bubble::after { content:''; position:absolute; bottom:-6px; left:calc(50% - 6px); border-inline:6px solid transparent; border-top:7px solid #ffe36d; }

@media(max-width:380px) {
 .ymh-home #contact .ymh-line-question-bubble { font-size:14px; padding-inline:10px; }
}

/* Keep the channel buttons equal and give the online badge a clearer silhouette. */
.ymh-home #contact .ymh-contact-row__button--line > span > small { display:none; }
.ymh-home #contact .ymh-contact-row__button--line,
.ymh-home #contact .ymh-contact-row__button--dark { height:76px; min-height:76px; padding:12px 28px; }
.ymh-home .ymh-contact__title { grid-template-columns:minmax(0,1fr) 164px; }
.ymh-home .ymh-contact-online-badge { width:152px; height:152px; padding-bottom:28px; border:1px solid #ffffffb3; background:#29231f66; font-size:18px; box-shadow:inset 0 0 0 5px #ffffff0d; }
.ymh-home .ymh-contact-online-badge strong { font-size:30px; line-height:1.4; }
.ymh-home .ymh-contact-online-badge__ribbon { left:-10px; right:-10px; bottom:14px; height:34px; font-size:16px; }
@media(max-width:599px) {
 .ymh-home .ymh-contact__title { grid-template-columns:minmax(0,1fr) 118px; }
 .ymh-home .ymh-contact-online-badge { width:108px; height:108px; padding-bottom:23px; font-size:14px; }
 .ymh-home .ymh-contact-online-badge strong { font-size:23px; }
 .ymh-home .ymh-contact-online-badge__ribbon { left:-6px; right:-6px; bottom:8px; height:27px; font-size:13px; }
}

/* Homepage consultation panel. */
body.home #main #contact .ymh-contact-row__label { gap:4px; }
body.home #main #contact .ymh-contact-row__label strong { line-height:1.4; }
body.home #main #contact .ymh-contact-row__label small { line-height:1.45; min-height:1.45em; }
body.home #main #contact .ymh-contact-row__button--phone > span > small { display:none; }
@media (min-width:1000px) {
 .ymh-home .ymh-contact__panel-heading { padding-top:14px; padding-bottom:20px; }
 .ymh-home .ymh-contact-row + .ymh-contact-row { position:relative; }
 .ymh-home .ymh-contact-row + .ymh-contact-row::before {
  content:"";
  position:absolute;
  inset-block:18px 10px;
  inset-inline-start:calc(var(--contact-channel-gap) / -2);
  border-inline-start:1px solid #d7dce1;
  pointer-events:none;
 }
}

/* Optically center the Japanese lettering within the fixed-height ribbon. */
.ymh-home .ymh-contact-online-badge__ribbon { padding-bottom:2px; }
@media (min-width: 768px) and (max-width: 999px) {
 .ymh-home #contact:has(#contact-tab-fraud[aria-selected="true"], #contact-tab-debt[aria-selected="true"]) .ymh-contact-row__button--line { margin-top:0; }
}

.ymh-home #contact:has([data-hide-line][aria-selected="true"]) [data-contact-line-only] { display:none; }
@media (min-width: 1000px) {
 .ymh-home #contact:has([data-hide-line][aria-selected="true"]) .ymh-contact-panel { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
 .ymh-home #contact .ymh-contact-panel { gap:0; }
 .ymh-home #contact .ymh-contact__panel-heading { padding-block:20px 10px; }
 .ymh-home #contact .ymh-contact-row { gap:8px; padding-block:14px; }
 .ymh-home #contact .ymh-contact-row + .ymh-contact-row { border-top:1px solid #dedbd7; }
 .ymh-home #contact .ymh-contact-row:last-child { padding-bottom:0; }
 .ymh-home #contact .ymh-contact-row__label { gap:4px; }
 .ymh-home #contact .ymh-contact-row__button { min-height:62px; padding-block:7px; }
 .ymh-home #contact .ymh-contact-row__button--phone > span { gap:2px; }
 .ymh-home #contact :is(.ymh-contact-row__button--line,.ymh-contact-row__button--dark) { height:62px; }
 .ymh-home #contact:has(#contact-tab-fraud[aria-selected="true"],#contact-tab-debt[aria-selected="true"]) .ymh-contact-row__button--line { margin-top:18px; }
}
@media (max-width: 599px) {
 .ymh-home #contact .ymh-contact__hours { width:auto; margin-inline:0; }
 .ymh-home #contact .ymh-contact__hours > span { flex-wrap:wrap; row-gap:2px; }
 .ymh-home #contact .ymh-contact__hours small { font-size:14px; }
 .ymh-home #contact .ymh-contact__hours strong { font-size:19px; }
 .ymh-home #contact .ymh-contact__hours > span + span strong { font-size:20px; }
 .ymh-home #contact .ymh-contact__hours em { font-size:12px; }
}
