@charset "UTF-8";
/* ========================================
  MV Swiper
======================================== */
#t-mv {
  position: relative;
  z-index: 1;
}
#t-mv .swiper {
  z-index: 1;
}

#t-mv .swiper-slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

#t-mv .swiper-pagination {
  bottom: 20px;
}
#t-mv .swiper-pagination-bullet {
  background-color: var(--color-white);
  opacity: 0.5;
  border-radius: 0;
  width: 116px;
  height: 7px;
}

#t-mv .swiper-pagination-bullet-active {
  background-color: var(--color-white);
  opacity: 1;
}

#t-mv.swiper-slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

/* hero */
#t-mv .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  width: max-content;
}

#t-mv .hero-ttl {
  font-family: var(--ft-shippori);
  font-size: 47px;
  line-height: 1;
  letter-spacing: 0.15em;
  text-shadow: 7px 7px 5px rgba(0, 0, 0, 0.85);
  padding-bottom: 24px;
}

/* 一文字ずつ表示用のスタイル */
#t-mv .hero-ttl .char {
  display: inline-block;
  opacity: 0;
  animation: soft-appear 0.8s ease-out forwards;
}

#t-mv .hero-sub {
  font-family: var(--ft-roboto);
  font-size: var(--fs-24);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-bottom: 32px;
  text-shadow: 7px 7px 5px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

#t-mv .hero-copy-img {
  width: 333px;
  height: 308px;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

/* ふわっと表示アニメーション */
@keyframes soft-appear {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* フェードイン完了時のスタイル */
#t-mv .hero-sub.fade-in,
#t-mv .hero-copy-img.fade-in {
  opacity: 1;
}

@media screen and (max-width: 960px) {
  #t-mv .swiper-slide img {
    height: 500px;
  }
  #t-mv .swiper-pagination-bullet {
    width: 80px;
    height: 5px;
    margin-bottom: 16px;
  }
  #t-mv .hero-content {
    width: 100%;
  }
  #t-mv .hero-ttl {
    font-size: var(--fs-32);
  }
  #t-mv .hero-copy-img {
    width: 200px;
    height: 180px;
  }
}
@media screen and (max-width: 600px) {
  #t-mv .swiper-pagination-bullet {
    width: 60px;
    height: 4px;
    margin-bottom: 12px;
  }
  #t-mv .hero-ttl {
    line-height: 1.5;
  }
}

/* ========================================
  News
======================================== */
#t-news {
  position: relative;
}
#t-news .news-inr {
  position: absolute;
  bottom: calc(100% + 20px);
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 20px 0 20px 0;
  gap: 16px;
  max-width: 520px;
  z-index: 2;
}

#t-news .news-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#t-news .news-ttl-en {
  color: var(--color-cyan);
  font-weight: 600;
}

#t-news .news-ttl-jp {
  color: var(--color-gray-5);
  font-size: var(--fs-14);
}

#t-news .news-list {
  flex: 1;
}
#t-news .news-item {
  padding-bottom: 8px;
  font-size: var(--fs-12);
}

#t-news .news-item:last-child {
  padding-bottom: 0;
}

#t-news .news-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-gray);
}

#t-news .news-item:last-child a {
  border-bottom: none;
}

#t-news .news-item-txt {
  display: flex;
  align-items: center;
  gap: 4px;
}

#t-news .news-item-cat {
  color: var(--color-cyan);
  border: 0.75px solid var(--color-cyan);
  line-height: 1;
  padding: 8px;
  font-size: 10px;
}

#t-news .news-item-ttl {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

#t-news .news-item-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-6);
  font-weight: 600;
  font-size: 10px;
}

#t-news .news-item-time img {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

@media screen and (max-width: 1440px) {
  #t-news .news-item a {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 4px;
  }
  #t-news .news-item-txt {
    position: relative;
    width: 100%;
    padding-right: 16px;
  }

  #t-news .news-item-txt::after {
    position: absolute;
    content: "";
    background-image: url(../../img/common/arrow-icon-blue.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    right: 0;
  }
  #t-news .news-item-time img {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  #t-news .news-inr {
    position: initial;
    gap: 40px;
    margin: 0 auto;
    background-color: rgba(242, 242, 242, 0.5);
    max-width: 100%;
    margin: 40px 5%;
  }
  #t-news .news-item a {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  #t-news .news-item-txt {
    gap: 20px;
  }
  #t-news .news-item-ttl {
    max-width: 100%;
  }

  #t-news .news-item-txt::after {
    display: none;
  }
  #t-news .news-item-time img {
    display: block;
  }
}
@media screen {
  #t-news .news-inr {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 600px) {
  #t-news .news-inr {
    gap: 8px;
    padding: 16px;
    margin: 24px 5%;
  }
  #t-news .news-ttl {
    flex-direction: row;
  }
  #t-news .news-ttl-en,
  #t-news .news-ttl-jp {
    writing-mode: initial;
    text-orientation: initial;
  }
  #t-news .news-item a {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 4px;
  }
  #t-news .news-item-cat {
    padding: 4px;
  }

  #t-news .news-item-ttl {
    max-width: initial;
    flex: 1;
  }
  #t-news .news-item-txt {
    gap: 8px;
    position: relative;
    width: 100%;
  }

  #t-news .news-item-txt::after {
    display: block;
  }

  #t-news .news-item-time img {
    display: none;
  }
}

/* ========================================
  Service
======================================== */
#t-service {
  padding-top: 32px;
}

/* ser-1 */
#t-service .ser-1 {
  padding-bottom: 32px;
  align-items: center;
}

#t-service .ser-1 .box-2 {
  flex: 1;
  align-items: flex-end;
}
#t-service .ser-1 .box-2 .box-2-item-1 .t-sec-ja {
  text-indent: -3em;
  padding-left: 3em;
}
#t-service .ser-1 .box-2 .box-2-item-1 P {
  padding-top: 24px;
  line-height: 2.5;
  font-size: var(--fs-18);
}

#t-service .ser-1 .box-2 .box-2-item-1 {
  width: initial;
  flex: 1;
}

#t-service .ser-1 .box-2 .box-2-item-2 {
  width: 420px;
  height: 295px;
  aspect-ratio: 420 / 295;
}

#t-service .ser-1 .box-2 .box-2-item-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ser-2 */
#t-service .ser-2 {
  padding-top: 72px;
  padding-bottom: 72px;
  background-color: var(--color-blue-4);
  position: relative;
}

#t-service .ser-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 55px 0 55px;
  color: var(--color-blue-4);
  border-top-color: var(--color-white);
  border-bottom-color: var(--color-white);
}

#t-service .ser-2 .box-4-item {
  padding: 32px 16px;
}

#t-service .ser-2 .box-4-item {
  border-top-width: 6.5px;
  border-bottom-width: 6.5px;
  border-style: solid;
  border-left: none;
  border-right: none;
  position: relative;
  background-color: var(--color-white);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

#t-service .ser-2 .box-4-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 12px 0 12px;
  color: var(--color-white);
}

#t-service .ser-2 .box-4-item:nth-child(1),
#t-service .ser-2 .box-4-item:nth-child(1)::before {
  border-top-color: var(--color-red);
  border-bottom-color: var(--color-red);
}

#t-service .ser-2 .box-4-item:nth-child(2),
#t-service .ser-2 .box-4-item:nth-child(2)::before {
  border-top-color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
}

#t-service .ser-2 .box-4-item:nth-child(3),
#t-service .ser-2 .box-4-item:nth-child(3)::before {
  border-top-color: var(--color-green);
  border-bottom-color: var(--color-green);
}

#t-service .ser-2 .box-4-item:nth-child(4),
#t-service .ser-2 .box-4-item:nth-child(4)::before {
  border-top-color: var(--color-orange);
  border-bottom-color: var(--color-orange);
}

#t-service .ser-2 .box-4-item h4 {
  color: var(--color-text-3);
  font-size: var(--fs-19);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-blue-4);
  text-decoration-thickness: 1px;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.75;
}

#t-service .ser-2 .box-4-item img {
  display: block;
  width: auto;
  height: 92px;
  margin: 0 auto;
  margin-bottom: 20px;
}

#t-service .ser-2 .box-4-item p {
  text-align: justify;
}

#t-service .ser-2-btn {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1100px) {
  #t-service .ser-1 {
    align-items: flex-start;
  }
  #t-service .box-2 {
    flex-direction: column;
  }
  #t-service .ser-1 .box-2 .box-2-item-2 {
    width: 100%;
    height: auto;
    aspect-ratio: 365 / 220;
  }
}
@media screen and (max-width: 960px) {
  #t-service .ser-2::before {
    border-width: 24px 33px 0 33px;
  }
}

@media screen and (max-width: 600px) {
  #t-service .ser-2 .box-4-item img {
    height: 56px;
  }
}

@media screen and (max-width: 480px) {
  #t-service .ser-1 {
    flex-direction: column;
  }
}

/* ser-3 */
#t-service .ser-3 .ser-3-ttl .t-sec-ja {
  text-indent: -3em;
  padding-left: 3em;
  flex: 1;
}
#t-service .ser-3 .box-3-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#t-service .ser-3 .box-3-item-num {
  position: absolute;
  top: 0;
  left: 4px;
  transform: translateY(-50%);
  color: var(--color-text-3);
  font-family: var(--ft-roboto);
  font-weight: 500;
  font-size: 50px;
  letter-spacing: 0.05em;
  z-index: 1;
}

#t-service .ser-3 .box-3-item .ser-3-img {
  position: relative;
}

#t-service .ser-3 .box-3-item .ser-3-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 0 15px 0;
}
#t-service .ser-3 .box-3-item .ser-3-img h4 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, -50%);
  font-size: var(--fs-24);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-white);
  text-align: center;
  line-height: 1.75;
}

#t-service .ser-3 .box-3-item .ser-3-btn,
#t-service .ser-3 .box-3-item .ser-3-btn .btn-inr {
  width: 100%;
}
#t-service .ser-3 .box-3-item .ser-3-btn.fukusou-btn .btn-txt {
  letter-spacing: 0.1em;
}
#t-service .ser-3 .box-3-item .ser-3-btn.fukusou-btn img {
  width: 19px;
  height: 19px;
}

#t-service .ser-3 .box-3-item .ser-3-btn.fukusou-btn .btn-txt::after {
  display: none;
}

@media screen and (max-width: 1100px) {
  #t-service .ser-3 {
    padding-top: 80px;
  }
  #t-service .ser-3 .box-3-item .ser-3-img h4 {
    font-size: var(--fs-20);
  }
  #t-service .ser-3 .box-3-item .ser-3-btn .btn-txt {
    font-size: var(--fs-16);
  }
}

@media screen and (max-width: 768px) {
  #t-service .ser-3 .ser-3-ttl .t-sec-ja {
    text-indent: -2em;
    padding-left: 2em;
  }
  #t-service .ser-3 .box-3-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #t-service .ser-3 .box-3-item .ser-3-img {
    grid-row: 1 / 3;
  }

  #t-service .ser-3 .box-3-item-num {
    font-size: var(--fs-40);
  }
}

@media screen and (max-width: 600px) {
  #t-service .ser-3 .ser-3-ttl .t-sec-ja {
    text-indent: -1em;
    padding-left: 1em;
  }
  .t-sec-ja span:nth-of-type(3) {
    margin-left: 2em;
  }
  #t-service .ser-3 .box-3-item {
    display: flex;
  }
  #t-service .ser-3 .box-3-item .ser-3-btn,
  #t-service .ser-3 .box-3-item .ser-3-btn .btn-inr {
    max-width: 300px;
  }
}
@media screen and (max-width: 480px) {
  #t-service .ser-3 .ser-3-ttl {
    flex-direction: column-reverse;
    padding-bottom: 40px;
  }

  #t-service .ser-3 .ser-3-ttl .t-ttl-en {
    margin-right: 0;
    margin-left: auto;
  }
}

/* ========================================
  Works
======================================== */
#t-work {
  background-color: var(--color-gray-3);
  padding-bottom: 100px;
}

#t-work .tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

#t-work .tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#t-work .tab-btn-wrap {
  padding-top: 24px;
  padding-bottom: 56px;
  gap: 20px;
}

#t-work .tab-btn-wrap .tab-btn {
  padding: 8px 20px;
  border: 1px solid var(--color-cyan);
  color: var(--color-blue-1);
  font-size: var(--fs-15);
  font-weight: 500;
  cursor: pointer;
  background-color: var(--color-white);
}
#t-work .tab-btn-wrap .tab-btn.active {
  background-color: var(--color-cyan);
  color: var(--color-white);
}
#t-work .tab-btn-wrap .dash-line {
  width: 1px;
  height: 40px;
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    var(--color-cyan) 50%,
    transparent 50%
  );
  background-size: 1px 16px;
  background-repeat: repeat-y;
}
#t-work .swiper {
  padding-bottom: calc(40px + 24px);
  margin-bottom: 64px;
}
#t-work .swiper .swiper-slide img {
  border-radius: 5px;
  aspect-ratio: 386 / 297;
  background-color: var(--color-white);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#t-work .swiper-pagination {
  bottom: 0;
}
#t-work .swiper-pagination-bullet {
  background-color: var(--color-white);
  border-radius: 0;
  width: 116px;
  height: 7px;
  opacity: 1;
}

#t-work .swiper-pagination-bullet-active {
  background-color: var(--color-cyan);
  opacity: 1;
}

#t-work .slide-img-wrap {
  position: relative;
}

#t-work .slide-img-wrap .slide-category {
  position: absolute;
  right: 10px;
  bottom: 0;
  padding: 8px 20px;
  background-color: var(--color-blue-1);
  color: var(--color-white);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.2em;
}

#t-work .slide-ttl {
  display: inline-block;
  padding-top: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-cyan);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--color-text-2);
}

@media screen and (max-width: 768px) {
  #t-work .swiper-pagination-bullet {
    width: 80px;
  }
}

@media screen and (max-width: 600px) {
  #t-work .slide-img-wrap .slide-category {
    padding: 4px 12px;
  }
  #t-work .swiper-pagination-bullet {
    width: 40px;
  }
}
