@charset "UTF-8";

/************************************
** 固定ページ共通CSS
************************************/

/************************************
** Body 
************************************/
body {
  background-color: var(--color-grayscale-100);
}

/************************************
** Page Common 
************************************/
.page .content .wrap {
  width: auto;
}
.page .content .wrap > .main {
  padding: 0;
}
.page .content,
.page .entry-content {
  margin-bottom: 0;
  margin-top: 0;
}
.page .toc {
  display: none;
}
.contents {
  padding: 80px 0 60px;
}
.page .content__wrapper {
  margin: 0 auto;
  width: 964px;
}
.content-top,
.content-bottom {
  margin: 0 !important;
}

@media screen and (max-width: 1255px) {
  .wrap:has(#menu-header_menu_corporate_pc) {
    max-width: 930px;
    width: 100%;
  }
}

@media screen and (max-width: 1023px) {
  .page .content__wrapper {
    max-width: 800px;
    min-width: 672px;
  }
}

@media screen and (max-width: 834px) {
  .contents {
    padding: 60px 0;
  }
  .page .content__wrapper {
    min-width: 300px;
    width: 90%;
  }
}

@media screen and (max-width: 640px) {
  .contents {
    padding: 70px 0;
  }
}

/* お引越しページの不具合暫定解消 */
.container {
  max-width: 100% !important;
  padding: 0 !important;
}
#header {
  box-shadow: none !important;
}


/* Common 抜け感のあるボーダー: 色と位置は各セクションで指定 */
.border--hasGap {
  position: relative;
}
.border--hasGap::before {
  background-size: 100% 100%; 
  background-repeat: no-repeat;
  content: '';
  position: absolute;
}
.border--hasGap::after {
  content: '';
  position: absolute;
}


/************************************
** LP見出し
************************************/
/* Common heading */
.heading__box {
  margin-bottom: 40px;
}
.content__heading--main {
  background-color: transparent;
  font-size: var(--font-size-heading-L);
  margin-bottom: 0;
  text-align: center;
}
.content__heading--main {
  position: relative;
}
.content__heading--main::before,
.content__heading--main::after {
  content: url(../img/linkus/h2_dot.png);
  position: absolute;
  top: -10px;
}
.content__heading--main::before {
  margin-left: -48px;
}
.content__heading--main::after {
  margin-left: 16px;
}
.content__heading--sub {
  background-color: transparent;
  font-size: var(--font-size-heading-M);
  text-align: center;
}

@media screen and (max-width: 640px) {
  .content__heading--main,
  .content__heading--sub {
    font-size: var(--font-size-heading-S);
  }
}

/* Common Description */
.content__description {
  font-size: var(--font-size-content-M);
  font-weight: bold;
  text-align: center;
}

/************************************
** 各種サービスへのリンク
************************************/
.bannerServices {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.bannerServices.banner--single {
  justify-content: center;
}
.service__item {
  background-color: var(--color-grayscale-080);
  box-shadow: 4px 4px 0 var(--color-grayscale-050);
  padding: 24px;
  transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out;
}
.service__item:hover {
  background-color: var(--color-grayscale-070);
  box-shadow: 0 0 0 transparent;
}
.service__item a {
  align-items: center;
  color: var(--color-grayscale-005);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
.service__item a:hover,
.serviceLinkus a:hover {
  opacity: .6;
}

@media screen and (max-width: 640px) {
  .bannerServices {
    flex-direction: column;
  }
}

/************************************
** CTA サービスブロック（Linkus・特定技能アドバイザー）
** 完了ページ・メディア下部など複数ページで共通利用
************************************/
.ctaBox .content__wrapper {
  margin: 0 auto;
  max-width: 1256px;
  padding: 0;
  width: 100%;
}
.ctaBox__service {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin: 32px auto 0;
  max-width: 800px;
}
.ctaBox__link {
  flex: 1;
  min-width: 0;
}
.ctaBox__link a {
  background: linear-gradient(
    to right,
    var(--color-LinkusSecondary-070) 0%,
    var(--color-LinkusSecondary-060) 40%,
    var(--color-LinkusSecondary-060) 70%,
    var(--color-LinkusSecondary-070) 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(var(--color-grayscale-000-rgb), .08);
  display: flex;
  flex-direction: column;
  min-height: 160px;
  overflow: hidden;
  padding-bottom: 24px;
  text-decoration: none;
}
.ctaBox__link a:hover {
  background-position: 0 0;
  transition: background-position .4s ease;
}
.ctaBox__link .service__text {
  color: var(--color-grayscale-100);
  font-size: var(--font-size-content-M);
  font-weight: bold;
  height: calc(3rem * 2);
  line-height: 1.5;
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  text-shadow: 0 0 4px rgba(var(--color-grayscale-000-rgb), .25);
}
.ctaBox__link.--linkus .service__text {
  line-height: 3;
}
.ctaBox__link .service__logo {
  align-items: center;
  background-color: var(--color-grayscale-100);
  border-radius: var(--border-radius-M);
  display: flex;
  flex: 1;
  justify-content: center;
  margin: 0 auto;
  min-height: 80px;
  padding: 24px 16px;
  width: 90%;
}
.ctaBox__link .service__logo img {
  display: block;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
}

.page_thanks .ctaBox,
.page_unsubscribe .ctaBox {
  background-color: transparent;
}

@media screen and (max-width: 834px) {
  .ctaBox__service {
    margin: 24px;
  }
}

@media screen and (max-width: 640px) {
  .ctaBox__service {
    flex-direction: column;
    margin: 24px 0 0 0;
    gap: 16px;
  }
  .ctaBox__link .service__text {
    font-size: var(--font-size-content-S);
    height: auto;
    padding: 16px;
  }
}
