/* QA page (/qa) contact section — SP-first: 1 unit ≈ 10px at 393px design width, matching detail-tabs.css's --b convention */
:root {
  --b: calc(100vw / 39.3);
}
@media (min-width: 1025px) {
  :root {
    --b: calc(100vw / 136.6);
  }
}
[data-barba-namespace=qa] :is(.column-layout, .sidebar-layout) {
  position: relative;
}
[data-barba-namespace=qa] :is(.column-layout, .sidebar-layout) + :is(.column-layout, .sidebar-layout)::before {
  display: none;
}
[data-barba-namespace=qa] .ldh-contacts__col {
  display: flex;
  flex-direction: column;
  gap: calc(1.2 * var(--b));
  max-width: calc(57 * var(--b));
}
[data-barba-namespace=qa] .ldh-contacts__btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.8 * var(--b));
  height: calc(5.2 * var(--b));
  padding: calc(1.6 * var(--b));
  border: 1px solid #444444;
  border-radius: calc(0.8 * var(--b));
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: calc(1.4 * var(--b));
  letter-spacing: 0.03em;
  color: #212227;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  align-self: stretch;
  flex-grow: 0;
}
[data-barba-namespace=qa] .ldh-contacts__btn:hover {
  opacity: 0.75;
}
[data-barba-namespace=qa] .ldh-contacts__btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(1 * var(--b));
}
[data-barba-namespace=qa] .contact-web-text {
  font-size: 2.8rem;
  padding-bottom: calc(1.2 * var(--b));
}
@media (min-width: 1025px), print {
  [data-barba-namespace=qa] .contact-web-text {
    font-size: 1.5rem;
  }
}
[data-barba-namespace=qa] .contact-other-buttons {
  max-width: calc(57 * var(--b));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(2 * var(--b));
}
[data-barba-namespace=qa] .contact-other-buttons .button-contact,
[data-barba-namespace=qa] .contact-other-buttons .button-contact-partner {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: calc(1.6 * var(--b)) calc(2 * var(--b));
  gap: calc(0.4 * var(--b));
  width: fit-content;
  height: calc(4.6 * var(--b));
  border: 1px solid #212227;
  border-radius: 9999px;
  flex: none;
  flex-grow: 0;
  margin-top: 0;
}
[data-barba-namespace=qa] .contact-other-buttons .contact-text {
  font-size: inherit;
  line-height: 1.4;
  margin-left: 0;
}
@media (min-width: 1025px) {
  [data-barba-namespace=qa] .contact-other-buttons {
    flex-direction: row;
    align-items: center;
    gap: calc(1 * var(--b));
  }
  [data-barba-namespace=qa] .contact-other-buttons .button {
    flex: 0 0 auto;
  }
}

/* .button (base) */
.button {
  --padding-x: 4rem;
  --padding-y: 1.1rem;
  --font-size: 3rem;
  --font-family: var(--font-manrope);
  --font-weight: var(--font-weight-manrope-regular);
  --color: var(--color-text-onLight);
  --bg-color: var(--color-text-onDark);
  --hovered-color: var(--color-text-onDark);
  --hovered-bg-color: var(--button-action-color-onLight);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background-color: var(--bg-color);
  border: 1px solid transparent;
  border-radius: calc(var(--font-size) + var(--padding-y) * 2);
  padding: var(--padding-y) var(--padding-x);
  color: var(--color);
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  font-family: var(--font-family);
  letter-spacing: 0.05rem;
  text-decoration: none;
  line-height: 1.5;
  display: flex;
  align-items: center;
  transition-property: color, background-color, transform;
  transition-duration: 0.4s;
  transition-timing-function: ease;
}
@media (min-width: 1025px), print {
  .button {
    --padding-x: 2rem;
    --padding-y: 0.8rem;
    --font-size: max(1.5rem, 12px);
  }
}
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover, .button:not(:disabled):active {
    color: var(--hovered-color);
    background-color: var(--hovered-bg-color);
  }
  .button:not(:disabled):hover:not(:active) {
    transform: scale(var(--transition-scale, 1));
  }
}
body.is-en .button {
  text-align: center;
}

/* .button--ja */
body:not(.is-en) .button--ja {
  --padding-y: 1.2rem;
  --font-size: 2.8rem;
  --font-family: var(--font-m-plus-2p);
  --font-weight: var(--font-weight-regular);
}
@media (min-width: 1025px), print {
  body:not(.is-en) .button--ja {
    --padding-y: 0.85rem;
    --font-size: max(1.4rem, 12px);
  }
}

/* .button--outlined */
.button--outlined {
  --color: var(--color-text-onLight);
  --bg-color: transparent;
  --hovered-color: var(--color-text-onLight);
  --hovered-bg-color: transparent;
  border: 1px solid #21222733;
  min-height: 40px;
}

/* .column-layout */
@media (min-width: 1025px), print {
  .column-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* .column-layout__content */
@media screen and (max-width: 1024px) {
  .column-layout__content {
    margin-top: 6.6rem;
  }
}
@media (min-width: 1025px), print {
  .column-layout__content {
    width: 97.5rem;
  }
}

/* .column-layout__side */
@media (min-width: 1025px), print {
  .column-layout__side {
    width: 30rem;
  }
}

/* .contact-header__heading */
.contact-header__heading {
  font-size: 3.6rem;
  line-height: 1.6666666667;
  margin-bottom: 5rem;
}
@media (min-width: 1025px), print {
  .contact-header__heading {
    font-size: 2rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin-bottom: 2.8rem;
  }
}

/* .contact-text (base — font-size/line-height/margin-left overridden above for this page) */
.contact-text {
  margin-left: 20px;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 3.5rem;
  font-family: 'M+ 2p', sans-serif;
  letter-spacing: -0.36px;
  text-align: left;
}
@media (min-width: 1025px) {
  .contact-text {
    font-size: 1.5rem;
    line-height: 27px;
  }
}

/* .container */
.container {
  background: var(--color-background1);
  padding: 8rem var(--side-padding) 15rem;
}

/* .container--rounded */
.container--rounded {
  border-radius: 0 0 3rem 3rem;
}

/* .modal__link */
.modal__link {
  text-align: center;
}

/* .page-title */
.page-title {
  font-size: 6rem;
  font-family: var(--font-new-spirit);
  font-weight: var(--font-weight-medium);
  padding: 4.7rem var(--side-padding);
  border-bottom: 1px solid var(--color-border-onLight);
  background: var(--color-background1);
}
@media (min-width: 1025px), print {
  .page-title {
    padding: 4rem var(--side-padding);
    font-size: max(6rem, 12px);
  }
}

/* .page-title--large */
.page-title--large {
  font-size: 10rem;
  padding: 3.4rem var(--side-padding);
}
@media (min-width: 1025px), print {
  .page-title--large {
    font-size: 14rem;
    padding: 3.1rem var(--side-padding);
  }
}

/* .page-title__amp */
.page-title__amp {
  font-size: 8rem;
}
@media (min-width: 1025px), print {
  .page-title__amp {
    font-size: 12rem;
  }
}

/* .qa-content */
.qa-content {
  margin-top: 0;
}

/* .qa-disclosure */
.qa-disclosure {
  --offset-y: 0.6rem;
  border-bottom: 1px solid var(--color-border-onLight);
}
@media (min-width: 1025px), print {
  .qa-disclosure {
    --offset-y: 0.7rem;
  }
}
.qa-disclosure summary {
  list-style: none;
}
.qa-disclosure summary::-webkit-details-marker {
  display: none;
}
.qa-disclosure summary {
  font-size: 2.8rem;
  line-height: 1.8571428571;
  letter-spacing: 0.02em;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: calc(var(--offset-y) + 3rem) 0 4rem;
  cursor: pointer;
}
@media (min-width: 1025px), print {
  .qa-disclosure summary {
    font-size: 1.5rem;
    line-height: 1.8666666667;
    letter-spacing: 0.04em;
    padding: calc(var(--offset-y) + 2rem) 0 2rem;
  }
}
.qa-disclosure summary .qa-icon {
  margin-top: calc(var(--offset-y) * -1);
  flex-shrink: 0;
}
.qa-disclosure summary::after {
  content: "";
  width: 3rem;
  aspect-ratio: 1;
  display: block;
  background: currentColor;
  margin-left: auto;
  margin-right: 0;
  -webkit-mask: url("/assets/plus-thin.svg") 50% 50%/contain no-repeat;
          mask: url("/assets/plus-thin.svg") 50% 50%/contain no-repeat;
  margin-top: 1.4rem;
  margin-right: 2.5rem;
  flex-shrink: 0;
}
@media (min-width: 1025px), print {
  .qa-disclosure summary::after {
    width: 1.6rem;
    margin-top: 0.5rem;
    margin-right: 1.5rem;
  }
}
.qa-disclosure[open] summary::after {
  -webkit-mask-image: url("/assets/minus-thin.svg");
          mask-image: url("/assets/minus-thin.svg");
}

/* .qa-disclosure__content */
.qa-disclosure__content {
  overflow: hidden;
  height: 0;
}

/* .qa-disclosure__text */
.qa-disclosure__text {
  display: flex;
  align-items: flex-start;
  color: var(--color-text-onLight-sub);
  font-size: 2.8rem;
  line-height: 1.8571428571;
  gap: 2.5rem;
  padding: var(--offset-y) 0 3.5rem;
}
@media (min-width: 1025px), print {
  .qa-disclosure__text {
    font-size: 1.5rem;
    line-height: 1.8666666667;
    letter-spacing: 0.04em;
  }
}
.qa-disclosure__text .qa-icon {
  flex-shrink: 0;
  margin-top: calc(var(--offset-y) * -1);
}
.qa-disclosure__text a {
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
  .qa-disclosure__text a:hover {
    text-decoration: none;
  }
}
.qa-disclosure__text ul li::before {
  content: "・";
  margin-left: 7px;
}
.qa-disclosure__text img {
  display: block;
  margin-top: 2.5rem;
  border-radius: 1rem;
}

/* .qa-icon */
.qa-icon {
  width: 5.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-family: var(--font-manrope);
  font-weight: var(--font-weight-medium);
}
@media (min-width: 1025px), print {
  .qa-icon {
    width: 4rem;
    font-size: 2rem;
  }
}

/* .qa-icon--filled */
.qa-icon--filled {
  background: var(--color-text-onLight);
  color: var(--filled-text-color, #fff);
  border-color: var(--color-text-onLight);
}

/* .sidebar-layout */
@media (min-width: 1025px), print {
  .sidebar-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* .sidebar-layout__nav */
@media (min-width: 1025px), print {
  .sidebar-layout__nav {
    width: 30rem;
    font-size: max(1.5rem, 12px);
    margin-top: -2.5rem;
  }
  .sidebar-layout__nav > ul > li > a {
    width: 100%;
    display: block;
    padding: 2rem 0;
    transition-property: border-color;
    transition-duration: 0.4s;
    transition-timing-function: ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .sidebar-layout__nav > ul > li > a::before, .sidebar-layout__nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    transition-property: all;
    transition-duration: 0.4s;
    transition-timing-function: ease;
  }
  .sidebar-layout__nav > ul > li > a::before {
    background: var(--color-border-onLight);
  }
  .sidebar-layout__nav > ul > li > a::after {
    background: var(--color-text-onLight);
    transform-origin: left center;
    scale: 0 1;
  }
  .sidebar-layout__nav > ul > li > a[aria-current=page]::after, .sidebar-layout__nav > ul > li > a:hover::after {
    scale: 1 1;
  }
}
@media screen and (max-width: 1024px) {
  .sidebar-layout__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--header-height));
    overflow-y: auto;
    background: var(--color-background1);
    z-index: 3;
    transition-property: top, height;
    transition-duration: 0.4s;
    transition-timing-function: ease;
  }
  :is(.header--min, .header--min ~ *) .sidebar-layout__nav {
    top: var(--header-height-min);
    height: calc(100% - var(--header-height-min));
  }
  .sidebar-layout__nav > ul > li {
    border-bottom: 1px solid var(--color-border-onLight);
  }
  .sidebar-layout__nav > ul > li > a,
  .sidebar-layout__nav > ul > li button {
    font-size: 3.2rem;
    font-weight: var(--font-weight-medium);
    display: block;
    width: 100%;
    padding: 4rem var(--side-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
[data-barba-namespace=qa] .sidebar-layout__nav {
  margin-top: 8rem;
}

/* .web-content */
.web-content {
  margin-top: 50px;
}
@media (min-width: 1025px) {
  .web-content {
    margin-top: 30px;
  }
}
