@charset "UTF-8";
/* =========================================================
   TRUST HORIZON  shared page components
   ========================================================= */

/* ---------- main visual ---------- */
.hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; width: 100%; height: 350px; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 100%; background: var(--navy); z-index: 1; }
.hero__image { position: absolute; top: 0; left: 40px; width: calc(100% - 40px); height: 100%; background: var(--navy-deep) center / cover no-repeat; }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 29, 64, .78) 0%, rgba(7, 29, 64, .4) 48%, rgba(7, 29, 64, .12) 100%); }
.hero__image--careers { background-position: center 38%; }
.hero__image--top { background-position: center 60%; }
.hero__image--top::after { background: linear-gradient(90deg, rgba(7, 29, 64, .78) 0%, rgba(7, 29, 64, .62) 48%, rgba(7, 29, 64, .48) 100%); }
.hero__box { position: relative; padding: 12px 0 0 80px; }
.hero__title { color: #fff; font-family: var(--en); font-weight: 400; font-size: 6rem; line-height: 1; }
.hero__subtitle { margin-top: 6px; color: #fff; font-size: 1.8rem; line-height: 1; }
@media (max-width: 767px) {
  .hero { height: 200px; }
  .hero::before { width: 20px; }
  .hero__image { left: 20px; width: calc(100% - 20px); }
  .hero__box { padding: 23px 20px 0 40px; }
  .hero__title { font-size: 4rem; }
  .hero__subtitle { font-size: 1.6rem; }
}
/* top page variant */
.hero--top { height: calc(100vh - 80px); min-height: 560px; max-height: 820px; }
.hero--top .hero__box { max-width: 1140px; padding: 0 40px 40px 100px; }
.hero__label { display: inline-block; margin-bottom: 22px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.6); color: #fff; font-family: var(--en); font-size: 1.8rem; letter-spacing: .08em; }
.hero__copy { color: #fff; font-size: 4.2rem; font-weight: 500; line-height: 1.5; letter-spacing: .04em; text-wrap: balance; }
.hero__lead { max-width: 640px; margin-top: 24px; color: #fff; font-size: 1.6rem; line-height: 2; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__buttons .btn-box { min-width: 220px; }
.hero__scroll { position: absolute; right: 60px; bottom: 0; width: 41px; height: 120px; color: #fff; font-family: var(--en); font-size: 1.2rem; letter-spacing: .1em; }
.hero__scroll span { position: absolute; top: 0; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%); }
.hero__scroll i { position: absolute; top: 40px; left: 0; width: 100%; height: 80px; }
.hero__scroll i::before { content: ""; position: absolute; top: 0; left: 20px; width: 1px; height: 60px; background: #fff; opacity: 0; animation: pathmove 1.4s ease-in-out infinite; }
@keyframes pathmove { 0% { height: 0; top: 0; opacity: 0; } 30% { height: 60px; opacity: 1; } 100% { height: 0; top: 80px; opacity: 0; } }
@media (max-width: 1024px) { .hero__copy { font-size: 3.4rem; } }
@media (max-width: 767px) {
  .hero--top { height: auto; min-height: calc(100svh - 70px); max-height: none; padding: 50px 0 90px; }
  .hero--top .hero__box { padding: 0 20px 0 40px; }
  .hero__label { margin-bottom: 16px; font-size: 1.4rem; }
  .hero__copy { font-size: 2.4rem; }
  .hero__lead { margin-top: 16px; font-size: 1.4rem; }
  .hero__buttons { flex-direction: column; margin-top: 28px; }
  .hero__buttons .btn-box { min-width: 0; }
  .hero__scroll { right: 20px; }
}

/* ---------- intro text ---------- */
.lead { background: #fff; }
.lead__in { max-width: 860px; margin: 0 auto; padding: 73px 20px 67px; }
.lead__title { margin-bottom: 21px; font-size: 3rem; font-weight: 500; line-height: 1.5; }
.lead__text { font-size: 1.6rem; line-height: 2; }
.lead__text + .lead__text { margin-top: 1em; }
@media (max-width: 767px) {
  .lead__in { padding: 48px 20px 42px; }
  .lead__title { font-size: 1.8rem; }
  .lead__text { font-size: 1.4rem; }
}

/* ---------- photo panels with link lists ---------- */
.panels { border-bottom: 1px solid var(--line); }
.panels__row { display: flex; flex-wrap: wrap; }
.panel {
  position: relative; overflow: hidden; width: 50%; padding: 40px 0 50px;
  background: var(--navy-deep) center / cover no-repeat; border-top: 1px solid var(--line);
}
.panels__row .panel:not(:first-child) { border-left: 1px solid var(--line); }
.panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5, 22, 42, .76), rgba(5, 22, 42, .5)); }
.panel--full { width: 100%; }
.panel--flex { display: flex; flex-direction: column; justify-content: space-between; }
.panel__en {
  position: absolute; top: -.18em; left: -2px; color: rgba(255, 255, 255, .4);
  font-family: var(--en); font-size: 10rem; line-height: 1; white-space: nowrap; pointer-events: none;
}
.panel__title { position: relative; margin-bottom: 32px; padding: 0 20px 0 50px; color: #fff; font-size: 3.4rem; font-weight: 400; line-height: 1.2; }
.panel__in { position: relative; max-width: 546px; margin: 0 auto; padding: 0 20px; }
.panel--full .panel__in { max-width: 1062px; }
.panel__text { color: #fff; font-size: 1.6rem; line-height: 2; }
.panel__text + .btn-list-wrap { margin-top: 32px; }
.panel__link { margin: 8px 0 40px; font-size: 0; }
.panel--full .panel__link { margin: 6px 0 38px; }
@media (max-width: 767px) {
  .panels__row { display: block; }
  .panel { width: auto; padding-top: 25px; }
  .panels__row .panel:not(:first-child) { border-left: 0; }
  .panel__en { font-size: 7rem; }
  .panel__title { padding: 0 20px; font-size: 2.6rem; }
  .panel__text { font-size: 1.4rem; }
  .panel__text + .btn-list-wrap { margin-top: 23px; }
  .panel__link { margin: 9px 0 29px; }
  .btn-list-wrap { padding: 0 15px; }
}

/* underline link with white wipe */
.link-wipe { --wipe: #fff; position: relative; display: inline-block; color: #fff; font-size: 1.8rem; line-height: 1.5; transition: color var(--ease-wipe); }
.link-wipe::before { top: 0; left: 0; width: 100%; height: 100%; }
.link-wipe__text { position: relative; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }
.link-wipe .ico { position: relative; width: 14px; height: 14px; margin: 0 2px 0 6px; vertical-align: -1px; }
@media (hover: hover) and (min-width: 768px) { .link-wipe:hover { color: var(--navy); } }
@media (max-width: 767px) { .link-wipe .ico { margin-left: 8px; } }
.link-wipe--dark { --wipe: var(--navy); color: var(--navy); }
@media (hover: hover) and (min-width: 768px) { .link-wipe--dark:hover { color: #fff; } }

/* ---------- white box buttons ---------- */
.btn-list { display: flex; flex-wrap: wrap; margin: 0 -5px -10px; }
.btn-list__item { width: 25%; margin-bottom: 10px; padding: 0 5px; }
.btn-list--col3 .btn-list__item { width: 33.33%; }
.btn-list--col2 { margin: 0 -10px -20px; }
.btn-list--col2 .btn-list__item { width: 50%; margin-bottom: 20px; padding: 0 10px; }
.btn-list--col1 .btn-list__item, .btn-list__item--full { width: 100% !important; }
.btn-list--col1 .btn-box, .btn-list__item--full .btn-box { justify-content: center; padding: 5px 30px; text-align: center; }
@media (max-width: 767px) {
  .btn-list { display: block; margin: 0; }
  .btn-list .btn-list__item, .btn-list--col2 .btn-list__item { width: auto; margin: 0; padding: 0; }
  .btn-list .btn-list__item:not(:last-child) { margin-bottom: 20px; }
}
.btn-box {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; height: 100%; min-height: 50px;
  padding: 5px 34px 5px 19px; background: #fff; border: 1px solid var(--line); color: var(--text);
  font-size: 1.4rem; line-height: 1.25; transition: color var(--ease-wipe);
}
.btn-box > .ico { position: absolute; top: 50%; right: 14px; width: 15px; height: 15px; margin-top: -7.5px; }
@media (hover: hover) and (min-width: 768px) { .btn-box:hover { color: #fff; } }
.btn-box--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-box--large { min-height: 60px; padding-right: 44px; font-size: 1.8rem; }
.btn-box--large > .ico { right: 20px; width: 20px; height: 20px; margin-top: -10px; }
.btn-box.is-disabled { pointer-events: none; color: #888; background: #f5f5f5; }
@media (max-width: 767px) { .btn-box--large { min-height: 50px; font-size: 1.5rem; } }

/* ---------- EN heading ---------- */
.heading-en { margin-bottom: 30px; }
.heading-en__title { font-family: var(--en); font-weight: 400; font-size: 5.4rem; line-height: 1.1; letter-spacing: -.04em; }
.heading-en__sub { position: relative; bottom: 2px; margin-left: 7px; font-family: var(--jp); font-size: 1.4rem; letter-spacing: .01em; }
.heading-en--white { color: #fff; }
@media (max-width: 1120px) { .heading-en__title { font-size: 4.82143vw; } }
@media (max-width: 767px) {
  .heading-en { margin-bottom: 20px; }
  .heading-en__title { font-size: 4rem; }
  .heading-en__sub { bottom: 1px; margin-left: 6px; font-size: 1.2rem; }
}
@media (max-width: 369px) { .heading-en__title { font-size: 3rem; } .heading-en__sub { font-size: 1.1rem; } }
.pickup .heading-en, .cards-sec .heading-en, .slider .heading-en { margin-bottom: 0; }

/* ---------- card slider sections ---------- */
.pickup { overflow: hidden; padding: 83px 0 60px; background: var(--gray); }
.cards-sec { overflow: hidden; padding: 24px 0 75px; background: var(--gray); }
.pickup__in, .cards-sec__in { max-width: 1182px; margin: 0 auto; padding: 0 13px; }
@media (max-width: 767px) {
  .pickup { padding: 49px 0 50px; }
  .cards-sec { padding: 8px 0 50px; }
  .pickup__in, .cards-sec__in { padding: 0; }
}
.cards-sec--top { padding-top: 83px; }
@media (max-width: 767px) { .cards-sec--top { padding-top: 49px; } }

.slider { position: relative; padding: 0 36px; }
.slider__head { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 0; }
.slider__title { flex: 1 1 0; }
.slider__ctrl { display: flex; align-items: center; flex: 0 0 auto; margin-top: -7px; }
.slider__dots { display: flex; line-height: 0; }
.slider__dot { width: 10px; height: 10px; margin: 0 7.5px; border-radius: 50%; background: #fff; transition: background-color .3s ease-in-out; }
.slider__dot.is-active { background: var(--gold); }
@media (hover: hover) { .slider__dot:hover { background: var(--gold); } }
.slider__toggle { position: relative; width: 30px; height: 30px; margin-left: 7.5px; background: #fff; color: #222; transition: opacity .3s ease-out; }
.slider__toggle .ico { position: absolute; top: 50%; left: 50%; width: 9px; height: 11px; transform: translate(-50%, -50%); }
.slider__toggle .ico--play { display: none; }
.slider__toggle.is-paused .ico--play { display: block; }
.slider__toggle.is-paused .ico--pause { display: none; }
@media (hover: hover) { .slider__toggle:hover { opacity: .6; } }
.slider__viewport { position: relative; overflow: hidden; margin-top: 30px; border-left: 1px solid var(--line); touch-action: pan-y; }
.slider__track { display: flex; will-change: transform; }
.slider__item { flex: 0 0 33.3333%; min-width: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.cards-sec .slider__viewport { border-left-color: var(--gray); }
.cards-sec .slider__item { border-color: var(--gray); }
.slider__arrow {
  position: absolute; top: calc(50% + 40px); z-index: 10; overflow: hidden; width: 75px; height: 75px;
  background: var(--accent); color: #fff; transform: translateY(-50%);
}
.slider__arrow .ico { position: absolute; top: calc(50% - 1px); width: 43px; height: 43px; transform: translateY(-50%); transition: .3s ease-in-out; }
.slider__arrow--prev { left: 0; }
.slider__arrow--prev .ico { left: 16px; }
.slider__arrow--next { right: 0; }
.slider__arrow--next .ico { right: 16px; }
@media (hover: hover) and (min-width: 768px) {
  .slider__arrow--prev:hover .ico { left: 8px; }
  .slider__arrow--next:hover .ico { right: 8px; }
}
.cards-sec .slider__arrow { top: calc(50% + 30px); }
@media (max-width: 767px) {
  .slider { padding: 0 20px 50px; }
  .slider__head { margin-bottom: 5px; }
  .slider__ctrl { position: absolute; bottom: 0; left: 0; justify-content: center; width: 100%; margin: 0; }
  .slider__viewport { margin-top: 15px; border-left: 0; }
  .slider__item { flex-basis: 100%; border-left: 1px solid var(--line); }
  .cards-sec .slider__item { border: 0; }
  .slider__arrow { top: calc(50% + 9px); width: 50px; height: 50px; }
  .slider__arrow .ico { width: 29px; height: 29px; }
  .slider__arrow--prev .ico { left: 10px; }
  .slider__arrow--next .ico { right: 10px; }
  .cards-sec .slider__arrow { top: calc(50% + 20px); }
}

/* pickup card */
.pcard { --wipe: var(--navy); display: block; height: 100%; background: #fff; }
.pcard__image { position: relative; overflow: hidden; padding-top: 66.612%; background: var(--navy-deep); }
.pcard__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.pcard__detail { position: relative; padding: 16px 20px 56px; background: #fff; }
.pcard__detail::before { top: 0; left: 0; width: 100%; height: 100%; }
.pcard__label { position: relative; display: block; margin-bottom: 4px; color: var(--accent); font-family: var(--en); font-size: 1.4rem; letter-spacing: .04em; transition: color .3s ease-out; }
.pcard__text { position: relative; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 2rem; line-height: 1.4; transition: color .3s ease-out; }
.pcard__icon { position: absolute !important; right: 20px; bottom: 20px; width: 25px; height: 25px; color: var(--navy); transition: color .3s ease-in-out; }
@media (hover: hover) and (min-width: 768px) {
  .pcard:hover .pcard__image img { transform: scale(1.1); }
  .pcard:hover .pcard__detail::before { transform: scaleX(1); transform-origin: left top; }
  .pcard:hover .pcard__text, .pcard:hover .pcard__label, .pcard:hover .pcard__icon { color: #fff; }
}
@media (max-width: 767px) {
  .pcard__image { padding-top: 61.795%; }
  .pcard__detail { padding: 15px 20px 49px; }
  .pcard__text { font-size: 1.8rem; line-height: 1.6112; }
  .pcard__icon { right: 15px; bottom: 15px; }
}

/* tag + date card */
.tcard { --wipe: var(--navy); display: block; height: 100%; background: #fff; }
.tcard__image { position: relative; overflow: hidden; padding-top: 66.67%; background: var(--navy-deep); }
.tcard__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.tcard__box { position: relative; padding: 21px 20px 22px; background: #fff; }
.tcard__box::before { top: 0; left: 0; width: 100%; height: 100%; }
.tcard__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 7px; font-size: 0; }
.tcard__tag { display: inline-block; min-width: 90px; padding: 6px 12px; background: #000; color: #fff; text-align: center; font-size: 1.3rem; line-height: 1.308; transition: .3s ease-out; }
.tcard__date { flex: 1 1 0; padding-top: 4px; text-align: right; font-family: var(--en); font-size: 1.4rem; line-height: 1.215; transition: color .3s ease-out; }
.tcard__text { font-size: 1.6rem; line-height: 1.5; transition: color .3s ease-out; }
@media (hover: hover) and (min-width: 768px) {
  a.tcard:hover .tcard__image img { transform: scale(1.1); }
  a.tcard:hover .tcard__box::before { transform: scaleX(1); transform-origin: left top; }
  a.tcard:hover .tcard__tag { background: #fff; color: var(--navy); }
  a.tcard:hover .tcard__date, a.tcard:hover .tcard__text { color: #fff; }
}
@media (max-width: 767px) {
  .tcard__box { padding: 20px 20px 14px; }
  .tcard__head { margin-bottom: 15px; }
  .tcard__tag { min-width: 60px; padding: 3px 11px; font-size: 1.2rem; }
  .tcard__date { padding-top: 2px; font-size: 1.2rem; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy); color: #fff; }
.site-footer__top { max-width: 1142px; margin: 0 auto; padding: 50px 30px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px 60px; }
.site-footer__company { flex: 0 1 380px; }
.site-footer__name { font-family: var(--en); font-size: 2.2rem; letter-spacing: .06em; line-height: 1.2; }
.site-footer__name small { display: block; margin-top: 4px; font-family: var(--jp); font-size: 1.2rem; letter-spacing: .1em; opacity: .8; }
.site-footer__office { margin-top: 18px; font-size: 1.2rem; line-height: 1.8; opacity: .9; }
.site-footer__office dt { font-weight: 500; }
.site-footer__office dd + dt { margin-top: 8px; }
.site-footer__sitemap { flex: 1 1 480px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; align-content: start; }
.site-footer__sitemap a { font-size: 1.3rem; background: linear-gradient(#fff, #fff) 0 100% / 0 1.2px no-repeat; transition: background-size .3s; }
@media (hover: hover) { .site-footer__sitemap a:hover { background-size: 100% 1.2px; } }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .25); }
.site-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1142px; margin: 0 auto; padding: 18px 30px 17px; }
.site-footer__copy { flex: 0 0 auto; font-size: 1.1rem; line-height: 1.274; }
.site-footer__links { display: flex; flex-wrap: wrap; flex: 1 1 0; justify-content: flex-end; padding-left: 20px; }
.site-footer__item { position: relative; padding: 0 12px 0 10px; font-size: 1.1rem; line-height: 1.274; }
.site-footer__item:first-child { padding-left: 0; }
.site-footer__item:last-child { padding-right: 0; }
.site-footer__item:not(:last-child)::before { content: ""; position: absolute; top: 1px; right: 0; width: 1px; height: calc(100% - 2px); background: #fff; }
.site-footer__link { background: linear-gradient(#fff, #fff) 0 100% / 0 1.2px no-repeat; transition: .3s; }
@media (hover: hover) { .site-footer__link:hover { background-size: 100% 1.2px; } }
@media (max-width: 767px) {
  .site-footer__top { padding: 40px 20px 30px; }
  .site-footer__sitemap { grid-template-columns: repeat(2, 1fr); }
  .site-footer__in { flex-direction: column; padding: 30px 20px 17px; }
  .site-footer__links { order: 1; margin-bottom: -11px; padding-left: 0; justify-content: flex-start; }
  .site-footer__item { margin-bottom: 11px; font-size: 1.2rem; line-height: 1.334; }
  .site-footer__item:first-child { padding-left: 0; }
  .site-footer__item:not(:last-child) { margin-right: 10px; padding: 0 11px 0 0; }
  .site-footer__item:not(:last-child)::before { top: 3px; height: calc(100% - 4px); }
  .site-footer__copy { order: 2; margin-top: 36px; text-align: right; font-size: 1rem; line-height: 1.4; }
}

/* page top */
.pagetop {
  --wipe: var(--accent); display: none; opacity: 0; position: fixed; right: 30px; bottom: 30px; z-index: 900;
  width: 50px; height: 50px; background: var(--navy); border: 1px solid #fff; color: #fff; cursor: pointer; transition: opacity .4s;
}
.pagetop.is-show { opacity: 1; }
.pagetop.is-stuck { position: absolute; }
.pagetop > span { position: absolute; inset: 0; }
.pagetop > span::after { content: ""; position: absolute; top: 20px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(45deg); }
@media (max-width: 767px) {
  .pagetop { right: 20px; bottom: 20px; width: 40px; height: 40px; }
  .pagetop > span::after { top: 16px; width: 12px; height: 12px; margin-left: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
