@charset "UTF-8";
/* --------------------------------
  mv
--------------------------------*/
#top-mv {
  position: relative;
  padding: 28px;
  width: 100%;
  height: 923px;
  /* overflow: hidden; */
}

#top-mv .top-mv__inr {
  position: relative;
  width: 100%;
  height: 100%;
}

#top-mv .top-mv__vid-wrp {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* top-mv__viewport-overlay  */
#top-mv .top-mv__viewport-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #ffffff78;
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
}
/* オーバーレイ終了 0.86s 後にさらに間（約0.35s）を取ってから cube 表示 */
#top-mv .cube-txt-anime.is-show .cube-txt-anime__inner {
  transform: translate3d(0, 0, 0);
  transition: transform 1s cubic-bezier(0.37, 0.16, 0.12, 1) 1.2s;
}
#top-mv.is-mv-reveal-pending .top-mv__inr {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
}

#top-mv .top-mv__vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#top-mv .top-mv__txt {
  position: absolute;
  bottom: 56px;
  left: 56px;
}
#top-mv .top-mv__ttl {
  width: 573px;
  height: auto;
  object-fit: contain;
}
#top-mv .c-banner-rec {
  max-width: 315px;
  aspect-ratio: 315 / 95;
  position: absolute;
  bottom: 24px;
  right: -12px;
}
@media screen and (max-width: 1500px) {
  #top-mv {
    padding: 12px;
  }
}
@media screen and (max-width: 1024px) {
  #top-mv {
    height: 640px;
  }
  #top-mv .top-mv__ttl {
    width: 450px;
  }
  #top-mv .c-banner-rec {
    max-width: 240px;
  }
}
@media screen and (max-width: 768px) {
  #top-mv {
    height: 540px;
  }
  #top-mv .top-mv__txt {
    bottom: 32px;
    left: 32px;
  }
  #top-mv .top-mv__ttl {
    width: 350px;
  }
  #top-mv .c-banner-rec {
    max-width: 200px;
    right: 0;
  }
}
@media screen and (max-width: 600px) {
  #top-mv {
    height: 480px;
  }
  #top-mv .top-mv__vid-wrp {
    border-radius: 15px;
  }
  #top-mv .top-mv__txt {
    left: 24px;
  }
  #top-mv .top-mv__ttl {
    width: 280px;
  }
}
@media screen and (max-width: 480px) {
  #top-mv .top-mv__ttl {
    width: 220px;
  }
  #top-mv .top-mv__cth {
    font-size: var(--fs-18);
  }
  #top-mv .c-banner-rec {
    transform: translateY(75%);
    top: auto;
    bottom: 0;
  }
}
/* --------------------------------
  t-about
--------------------------------*/
#t-about .t-about__inr {
  position: relative;
}
#t-about .left,
#t-about .right {
  width: 50%;
}
#t-about .right {
  background: rgba(255, 255, 255, 0.9);
  padding: 100px 0 100px 100px;
}
#t-about .sec-ttl {
  line-height: 1.3em;
  margin-bottom: 15px;
}

#t-about .right p {
  color: var(--c-black-02);
  line-height: 2;
}

#t-about .t-about__bg {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: -1;
}
#t-about .t-about__bg picture,
#t-about .t-about__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#t-about .t-about__bg img {
  object-fit: cover;
  object-position: bottom;
}
@media screen and (max-width: 1200px) {
  #t-about .container-1100 {
    padding-right: 0%;
  }
  #t-about .right {
    padding: 100px 90px 100px 100px;
  }
}
@media screen and (max-width: 1024px) {
  #t-about .t-about__inr {
    flex-direction: column;
  }
  #t-about .container-1100 {
    padding-right: 5%;
  }
  #t-about .left,
  #t-about .right {
    width: 100%;
  }
  #t-about .right {
    padding: 40px;
  }
  #t-about .t-about__bg {
    width: 100%;
    height: 300px;
  }
}
@media screen and (max-width: 768px) {
  #t-about .right {
    padding: 5%;
  }
}

/* --------------------------------
  t-service
--------------------------------*/
#t-service .t-ser-inr {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 24px;
}
#t-service .t-ser__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
#t-service .t-ser__img-wrp {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

#t-service .t-ser__img-wrp img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center center;
  transition: opacity 0.3s ease;
}

#t-service .t-ser__img-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  transition: opacity 0.3s ease;
}
#t-service .t-ser__img-wrp.service-01 .t-ser__img-txt {
  background-image: linear-gradient(transparent, var(--c-ser-01));
}
#t-service .t-ser__img-wrp.service-02 .t-ser__img-txt {
  background-image: linear-gradient(transparent, var(--c-ser-02));
}
#t-service .t-ser__img-wrp.service-03 .t-ser__img-txt {
  background-image: linear-gradient(transparent, var(--c-ser-03));
}
#t-service .t-ser__img-wrp.service-04 .t-ser__img-txt {
  background-image: linear-gradient(transparent, var(--c-ser-04));
}
#t-service .t-ser__img-wrp.service-05 .t-ser__img-txt {
  background-image: linear-gradient(transparent, var(--c-ser-05));
}

#t-service .t-ser__img-ttl {
  font-size: var(--fs-35);
  font-family: var(--font-shippori);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

#t-service .t-ser__img-ttl::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 12px solid var(--c-red-01);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

#t-service .t-ser__img-sub {
  font-weight: var(--fw-medium);
  letter-spacing: 0.075em;
  text-align: right;
}

#t-service .t-ser__right {
  width: 413px;
  position: relative;
  z-index: 10;
}

#t-service .t-ser__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#t-service .t-ser__list li a {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 16px 24px;
  font-family: var(--font-noto-serif);
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
  position: relative;
  color: var(--c-white);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: var(--t-ser-list-bg);
  text-decoration: none;
  background-blend-mode: soft-light;
  overflow: hidden;
  background-color: var(--t-ser-list-color);
}

#t-service .t-ser__list li a:hover,
.t-ser__list li.is-active a {
  mix-blend-mode: multiply;
  background-color: rgba(200, 200, 200, 0.6);
}

#t-service .t-ser__list li.service-01 a {
  --t-ser-list-color: var(--c-ser-01);
  --t-ser-list-bg: url("../../img/page/top/service01.webp");
}

#t-service .t-ser__list li.service-02 a {
  --t-ser-list-color: var(--c-ser-02);
  --t-ser-list-bg: url("../../img/page/top/service02.webp");
}

#t-service .t-ser__list li.service-03 a {
  --t-ser-list-color: var(--c-ser-03);
  --t-ser-list-bg: url("../../img/page/top/service03.webp");
}

#t-service .t-ser__list li.service-04 a {
  --t-ser-list-color: var(--c-ser-04);
  --t-ser-list-bg: url("../../img/page/top/service04.webp");
}

#t-service .t-ser__list li.service-05 a {
  --t-ser-list-color: var(--c-ser-05);
  --t-ser-list-bg: url("../../img/page/top/service05.webp");
}
#t-service .t-ser__list li .cmn-cnt__card-arrow {
  width: 57px;
  height: 80%;
}
#t-service .cmn-cnt__card-arrow::before {
  right: 8px;
  bottom: 16px;
  width: 18px;
  height: 1px;
}
#t-service .cmn-cnt__card-arrow::after {
  width: 8px;
  height: 8px;
  bottom: 8.5px;
  right: 8px;
  border: 1px solid var(--c-blue-02);
  border-left: 0;
  border-bottom: 0;
}

#t-service .t-ser__banner a {
  position: relative;
  display: block;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}
#t-service .t-ser__banner a::hover {
  opacity: 1;
}

#t-service .t-ser__banner-bg {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  overflow: hidden;
}
#t-service .t-ser__banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #575757;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: difference;
}

#t-service .t-ser__banner-img-txt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  z-index: 1;
}
#t-service .t-ser__banner a:hover::after {
  opacity: 1;
}
@media screen and (max-width: 1200px) {
  #t-service .t-ser__right {
    width: 100%;
  }
  #t-service .t-ser__list {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }
  #t-service .t-ser__list li {
    width: calc(50% - 8px);
  }
  #t-service .t-ser__list li a {
    height: 56px;
    padding: 0 20px;
    font-size: var(--fs-16);
  }
  #t-service .t-ser-inr {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
    justify-content: flex-start;
  }
  #t-service .t-ser__left {
    position: static;
    width: 100%;
    flex: none;
  }
  #t-service .t-ser__img-wrp {
    flex: none;
    height: 400px;
  }
  #t-service .t-ser__img-wrp img {
    position: static;
    height: auto;
    width: 100%;
  }
  #t-service .t-ser__img-ttl {
    font-size: var(--fs-32);
  }
}

@media screen and (max-width: 600px) {
  #t-service .t-ser-inr {
    gap: 16px;
    margin-bottom: 16px;
  }
  #t-service .t-ser__img-wrp {
    height: auto;
    aspect-ratio: 649 / 395;
  }
  #t-service .t-ser__img-txt {
    padding: 20px;
  }
  #t-service .t-ser__img-ttl {
    font-size: var(--fs-24);
  }
  #t-service .t-ser__img-sub {
    font-size: var(--fs-12);
  }
  #t-service .t-ser__list li a {
    height: 40px;
    padding: 0 8px;
    font-size: var(--fs-14);
  }
  #t-service .t-ser__img-ttl {
    font-size: var(--fs-20);
    line-height: 1;
  }
  #t-service .t-ser__img-ttl::before {
    border-left: 8px solid var(--c-red-01);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }
  #t-service .t-ser__list li .cmn-cnt__card-arrow {
    width: 40px;
  }
  #t-service .cmn-cnt__card-arrow::before {
    right: 6px;
    bottom: 8px;
    width: 12px;
  }
  #t-service .cmn-cnt__card-arrow::after {
    width: 6px;
    height: 6px;
    bottom: 3px;
    right: 6px;
  }
}
/* --------------------------------
  t-tomakomai-port
--------------------------------*/
.top-port__heading {
  text-align: center;
  margin-bottom: clamp(24px, 24px + 8 * (100vw - 375px) / 905, 32px);
}
.top-port__heading::after {
  width: 100%;
  height: 2px;
  background: #f90000;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
/* グラデ文字は transform する .cube-txt-anime__inner 側に付ける（親 h2 だと clip が効かない） */
.top-port__heading .cube-txt-anime__inner {
  font-family: var(--font-shippori);
  font-size: clamp(41px, 41px + 31 * (100vw - 375px) / 905, 72px);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  background-image: linear-gradient(180deg, #2e61c8, #0f2064 99%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: underline;
  text-decoration-color: #f90000;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.top-port__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.top-port__thumb {
  aspect-ratio: 245 / 173;
  overflow: hidden;
}

.top-port__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top-port__cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.top-port__cta-title {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.top-port__cta-desc {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--c-black-04);
  opacity: 0.8;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
}

.top-port__cta-tri {
  width: 0;
  height: 0;
  border-left: 10px solid var(--c-red-01);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  flex-shrink: 0;
}

.top-port__cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: clamp(8px, 1.5vw, 12px) clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--c-white);
  background-image: linear-gradient(149deg, #000d50, #0059d5 61%, #000d50 99%);
  font-weight: var(--fw-bold);
  letter-spacing: 0.255em;
}

@media screen and (max-width: 960px) {
  .top-port__heading .cube-txt-anime__inner {
    font-size: var(--fs-40);
  }
  .top-port__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .top-port__cta-row {
    flex-direction: column;
    align-items: center;
  }

  .top-port__cta-title {
    flex: 0 1 auto;
    width: 100%;
    max-width: 300px;
    object-position: center;
  }

  .top-port__cta-desc {
    flex: 0 1 auto;
    text-align: center;
    align-items: flex-start;
    font-size: var(--fs-14);
  }
  .top-port__cta-tri {
    margin-top: auto;
    margin-bottom: auto;
  }
}
@media screen and (max-width: 600px) {
  .top-port__heading .cube-txt-anime__inner {
    font-size: var(--fs-32);
  }
  .top-port__cta-title {
    max-width: 240px;
  }
  .top-port__cta-tri {
    transform: translateY(50%);
    margin-top: initial;
    margin-bottom: initial;
  }
}

#top #cmn-news .sec-ttl {
  position: relative;
  font-family: var(--font-comfortaa);
  font-size: 66px;
  font-weight: var(--fw-thin);
  color: var(--c-navy-01);
  letter-spacing: 0.165em;
}
#top #cmn-news .sec-ttl.solid::after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 0;
  width: 1.5em;
  height: 0.5px;
  background: var(--c-red-01);
}
@media screen and (max-width: 960px) {
  #top #cmn-news .sec-ttl {
    font-size: 56px;
  }
  #top #cmn-news .sec-ttl.solid::after {
    bottom: 6px;
  }
}

@media screen and (max-width: 768px) {
  #top #cmn-news .sec-ttl {
    font-size: var(--fs-40);
  }
}
