@charset "UTF-8";

/*==================================
  1. General - トップ共通
==================================*/
/* adjustment */
.l-footer {
  margin-top: -20px;
}

/* background */
.u-bgWhite {
  background: #fff;
}

.u-bgYellow {
  background: #d8c700;
}

.u-bgBeige {
  background: #ecebdf;
}

.u-bgGray {
  background: #f5f5f5;
}

.u-topWhite_bg {
  position: relative;
}

.u-topWhite_bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% - 1780px);
  width: 1780px;
  height: 100%;
  background: #fff;
  border-radius: 6rem 0 0 6rem;
}

.u-topWhite_bg > div {
  position: relative;
  z-index: 1;
}

/*
 	1.1 Link - リンク系
====================================*/
.c-bnrList {
  display: grid;
  gap: 40px;
}

.c-bnrList:not(:first-of-type) {
  margin-top: 40px;
}

.c-bnrList a {
  display: block;
  width: 100%;

  text-decoration: none;
  color: inherit;
}

.c-bnrList figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.c-bnrList.c-bnrList__col2 {
  grid-template-columns: repeat(2, 1fr);
}

.c-bnrList.c-bnrList__col3 {
  grid-template-columns: repeat(3, 1fr);
}

.c-bnrList.c-bnrList__col4 {
  grid-template-columns: repeat(4, 1fr);
}

.c-bnrList.c-bnrList__col5 {
  grid-template-columns: repeat(5, 1fr);
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .c-bnrList.c-bnrList__col3.type-l {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .c-bnrList.c-bnrList__col5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .c-bnrList {
    gap: 20px;
  }
  .c-bnrList:not(:first-of-type) {
    margin-top: 20px;
  }
  .c-bnrList.c-bnrList__col2,
  .c-bnrList.c-bnrList__col3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .c-bnrList.c-bnrList__col4,
  .c-bnrList.c-bnrList__col5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* figcaption */
.c-bnrList figcaption {
  font-weight: 700;
  margin-top: 10px;
}

/*
 	1.2 Card - カード型
====================================*/
.c-cardList_item > a {
  display: block;
  text-decoration: none;
}

.c-cardList_item > a img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1rem;
}

.c-cardList_info {
  margin-top: 10px;
}

.c-cardList_info > time {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #3e475b;
}

.c-cardList_info p {
  text-decoration: underline;
}

.c-cardList_item > a:hover .c-cardList_info p {
  text-decoration: none;
}

/*==================================
  2. Title - タイトル
==================================*/
/* 見出し1 */
.p-migTtl {
  font-size: 3.6rem;
  font-weight: 700;

  text-align: center;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 6px;
}

.p-migTtl::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 6px;
  aspect-ratio: 20 / 1;
  background: url(/migration/assets/images/common/wave_ye.svg) no-repeat center/cover;
}

.p-migTtl__rev::before {
  background: url(/migration/assets/images/common/wave_wh.svg) no-repeat center/cover;
}

/* 見出し2 */
.p-migTtl02 {
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-migTtl02 > span {
  font-size: 50%;
}

@media only screen and (max-width: 767px) {
  .p-migTtl {
    font-size: 2.8rem;
  }
  .p-migTtl02 {
    font-size: 3rem;
  }
}

/*==================================
  3. mainVisual - メインビジュアル
==================================*/
.p-mainVisual {
  margin-top: 20px;
}

.p-mainVisual_inr {
  padding: 0 80px;
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fff 50%, #d8c700 50%, #d8c700 100%);
}

.p-mainVisual_inr::after {
  content: "MURORAN CITY MIGRATION";
  writing-mode: vertical-rl;
  font-size: 70%;
  font-weight: 700;
  position: absolute;
  top: 50%;
  right: calc(80px / 2);
  transform: translate(50%, -50%);
}

.p-mainVisual_frame {
  position: relative;
}

.c-fadeList {
  display: flex;
}

.c-fadeList_item {
  width: 50%;
  overflow: hidden;
}

.c-fadeList_item:nth-child(odd) {
  border-radius: 3rem 0 0 3rem;
}
.c-fadeList_item:nth-child(even) {
  border-radius: 0 3rem 3rem 0;
}

/* Height-adjustment */
.c-fadeList_item img {
  height: 74vh;
  width: 100%;
  object-fit: cover;
}

.slick-current.slick-active .c-fadeList_item img {
  animation: zoomout 8s linear 0s normal both;
}

@keyframes zoomout {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* CatchCopy */
.p-mainVisual_catch {
  position: absolute;
  top: 0;
  left: 80px;
  width: calc(100% - (80px * 2));
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.p-mainVisual_ttl {
  width: 45vw;
  max-width: 300px;
}

.p-mainVisual_ttl img {
  filter: drop-shadow(0px 2px 3px rgba(61, 61, 61, 0.6));
}

/* Scroll */
.p-mainVisual_scroll {
  background: #d8c700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
}

.p-mainVisual_scroll__text {
  font-weight: 700;
  font-size: 70%;
}

.p-mainVisual_scroll__line {
  position: relative;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background-color: transparent;
}

.p-mainVisual_scroll__line::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 30px;
  background-color: #000;
  animation: scrolldown 1s ease-in-out infinite;
}

@keyframes scrolldown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media only screen and (max-width: 1199px) {
  .c-fadeList {
    flex-direction: column;
  }
  .c-fadeList_item {
    width: 100%;
  }
  .c-fadeList_item:nth-child(odd) {
    border-radius: 3rem 3rem 0 0;
  }
  .c-fadeList_item:nth-child(even) {
    border-radius: 0 0 3rem 3rem;
  }
  .c-fadeList_item img {
    height: calc(74vh / 2);
  }
}

@media only screen and (max-width: 767px) {
  .p-mainVisual_inr {
    padding: 0 40px;
  }
  .p-mainVisual_inr::after {
    right: calc(40px / 2);
  }
  .p-mainVisual_catch {
  }
}

/*
 	3.1 Slick - スライダー
====================================*/
/* slick-adjustment */
.p-mainVisual_fade .slick-dots {
  z-index: 2;
  position: absolute;
  bottom: 40px;
  right: 6em;

  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.p-mainVisual_fade.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.p-mainVisual_fade .slick-dots li button:before {
  opacity: 0.6;
}
.p-mainVisual_fade .slick-dots li.slick-active button:before {
  opacity: 0.9;
  color: #313f9f;
}

/* slick-control */
.p-slick_control {
  z-index: 2;
  position: absolute;
  bottom: 40px;
  right: 2em;

  line-height: 1;
  display: flex;
  justify-content: flex-end;
}
.p-slick_control > button {
  background: #313f9f;
  border-radius: 3px;
  color: #fff;
  width: calc(1em + 4px);
  height: calc(1em + 4px);
  padding: 2px;
  position: relative;
}
.p-slick_control > *:not(:first-of-type) {
  margin-left: 10px;
}
.p-slick_control > button span {
  font-size: 0;
}

.p-slick_control > button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
}
.p-slick_control > button.i_pause::after {
  background: url(/assets/images/common/i_pause.svg) no-repeat center/cover;
}
.p-slick_control > button.i_play::after {
  background: url(/assets/images/common/i_play.svg) no-repeat center/cover;
}

@media only screen and (max-width: 767px) {
  .p-slick_control,
  .p-mainVisual_fade .slick-dots {
    bottom: 20px;
  }
}

/*==================================
  4. Introduction - ご紹介
==================================*/
.p-topIntro_bg {
  padding-right: calc(40% + 60px);
  position: relative;
}

.p-topIntro_bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  aspect-ratio: 5 / 7;

  background: url(/migration/assets/images/index/map.svg) no-repeat;
}

.p-topIntro_inr {
  width: 100%;
  max-width: 600px;
}

@media only screen and (max-width: 1199px) {
  .p-topIntro_bg {
    padding-right: 0;
    padding-top: calc(500px + 30px);
  }
  .p-topIntro_bg::before {
    right: 50%;
    transform: translateX(50%);
    width: auto;
    height: 500px;
  }
  .p-topIntro_inr {
    width: 80%;
    max-width: none;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .p-topIntro_bg {
    padding-top: calc(400px + 30px);
  }
  .p-topIntro_bg::before {
    height: 400px;
  }
  .p-topIntro_inr {
    width: 100%;
  }
}

/* Loop */
.c-loop {
  overflow: hidden;
  display: flex;
}

.c-loopList {
  display: flex;
  animation: loop 50s linear infinite;
}

@keyframes loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.c-loopList_item {
  width: calc(100vw / 5);
}

@media only screen and (max-width: 767px) {
  .c-loopList_item {
    width: calc(100vw / 3);
  }
}

/*==================================
  5. News - 新着情報
==================================*/
.p-topNews_bg {
  background: linear-gradient(180deg, #d8c700 0%, #d8c700 50%, #ecebdf 50%, #ecebdf 100%);
}

.p-topNews_flex {
  display: flex;
  gap: 80px;
}

.p-topNews_ttl {
  flex-shrink: 0;
}

.p-topNews_det {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .c-newsList_item_def {
    display: flex;
    gap: 40px;
  }
  .c-newsList_item_body {
    margin-top: 0;
  }
}

@media only screen and (max-width: 1199px) {
  .p-topNews_flex {
    flex-direction: column;
    gap: 60px;
  }
}
@media only screen and (max-width: 767px) {
  .p-topNews_flex {
    gap: 30px;
  }
}

/*==================================
  6. Support - サポート
==================================*/
.c-sidetxtUnit {
  display: grid;
  gap: 80px;
}

.c-sidetxt {
  width: 100%;
  display: flex;
  gap: 80px;
}

.c-sidetxt_img {
  width: 60%;
}
.c-sidetxt_det {
  width: 40%;
}

.c-sidetxt_align {
  height: 100%;
  display: flex;
  align-items: center;
}

@media only screen and (min-width: 1200px) {
  .c-sidetxt__rev .c-sidetxt_img {
    order: 2;
  }
  .c-sidetxt__rev .c-sidetxt_det {
    order: 1;
  }
}

@media only screen and (max-width: 1199px) {
  .c-sidetxt {
    flex-direction: column;
    gap: 20px;
  }
  .c-sidetxt_img {
    width: 100%;
  }
  .c-sidetxt_img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .c-sidetxt_det {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .c-sidetxtUnit {
    gap: 40px;
  }
  .c-sidetxt {
    gap: 10px;
  }
}

/*==================================
  7. Movie - PR動画
==================================*/
.p-topMovie_bg {
  background: linear-gradient(180deg, #f5f5f5 0%, #f5f5f5 50%, #ecebdf 50%, #ecebdf 100%);
}

.c-movie {
  padding: 0 10%;
}

.c-movieBox {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.c-movieBox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .c-movie {
    padding: 0;
  }
}

/*==================================
  8. Biz - 企業向け
==================================*/

/*==================================
  9. Consul - 相談
==================================*/
.c-frameBox {
  background: #fff;
  border-radius: 2rem;
  padding: 40px;
}

.p-topCons_ttl {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;

  padding-top: calc(60px + 20px);
  position: relative;
}

.p-topCons_ttl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
}

.i_form::before {
  background: url(/migration/assets/images/common/i_form.svg) no-repeat center/cover;
}

.i_line::before {
  background: url(/migration/assets/images/common/i_line.svg) no-repeat center/cover;
}

@media only screen and (max-width: 767px) {
  .c-frameBox {
    padding: 20px;
  }
}
