/***********　全体　************/
html {
  height: 100%;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  color: #272727;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #272727;
}

/***********　ボタン　************/
.c-btnMain a {
  margin: 0 auto;
  background: #008b9c;
  border: #008b9c solid 3px;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  width: 200px;
  word-wrap: break-word;
  padding: 20px 37px;
  display: flex;
  justify-content: space-around;
  position: relative;
  transition: 0.3s;
}
.c-btnMain a:hover {
  background: #fff;
  color: #008b9c;
}
.c-btnMain a:after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  top: 48%;
  right: 25px;
}
.c-btnMain a:hover:after {
  border-color: #008b9c;
}
.u-blue a {
  /* c-btnMainの色を変更 */
  background: #0053a1;
  border: #0053a1 solid 3px;
}
.u-blue a:hover {
  color: #0053a1;
}
.c-btnMain a:hover:after {
  border-color: #0053a1;
}

/***********　タイトル　************/
.c-title {
  text-align: center;
  font-size: 5.6rem;
  font-weight: 400;
  border-bottom: 3px solid #272727;
  color: #272727;
  padding-bottom: 40px;
  width: 560px;
  margin: 0 auto;
}
/* 私たちの強み */
.u-layoutBold {
  text-align: left;
  font-size: 8rem;
  font-weight: 600;
  border: none;
  margin: 0;
  padding-top: 80px;
}

/***********　ヘッダー　************/
.l-header {
  font-size: 1.8rem;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  right: 0;
  background-color: hwb(0 100% 0% / 0);
  z-index: 99;
}
.l-header__Inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l-header__logo img {
  padding-left: 32px;
}
.l-header__nav__ul {
  width: 560px;
  display: flex;
  justify-content: space-between;
}
.l-header__nav__li a {
  color: #ffffff;
  position: relative;
}
/* グローバルナビ ホバー表現 */
.l-header__nav__li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  bottom: -8px;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: 0.3s;
}
.l-header__nav__li a:hover::after {
  transform: scale(1, 1);
}
/* CONTACT装飾(PCのみ表示) */
.l-header__btn {
  background: linear-gradient(-45deg, #3f83ff, #0053a1, #008b9c, #0ae2ff);
  background-size: 400% 400%;
  animation: gradient 4s ease infinite;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.l-header__btn a {
  color: #ffffff;
  padding: 0 32px;
  line-height: 80px;
}
.l-header__btn a:hover {
  opacity: 0.5;
}
/* ヘッダー、mv以降のロゴ、文字、背景色の変更 -*/
.l-header__logo {
  filter: grayscale(100%) brightness(300%) contrast(300%); /* mvの時だけロゴが白色になるよう調整 */
}
/* MV以降　↓ */
.l-header.change-color .l-header__logo {
  filter: none; /* もとの色に戻す */
}
.l-header.change-color {
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}
.l-header.change-color .l-header__nav a {
  color: #272727;
}
.l-header.change-color .l-header__nav__li a::after {
  background-color: #272727;
}
/* タブレット・SPのみで表示するものを非表示に */
.l-header__btnInner {
  display: none; /* お問い合わせ・SNSアイコン */
}
.l-header__hamburger {
  display: none; /* ハンバーガーメニュー */
}

/***********　mv　************/
.p-mvBack {
  background-image: url(../img/mv_pc.png);
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-mv {
  text-align: center;
  color: #fff;
  margin-top: -4%;
  animation-name: fadeDownAnime; /* 上から降りてくるアニメーション */
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.p-mv__top {
  font-size: 12rem;
  font-weight: 700;
  margin-bottom: 80px;
}
.p-mv__sub {
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 2;
  text-align: justify;
  text-align-last: center;
}
/* mvスクロール */
.p-scroll {
  position: absolute;
  left: 50%;
  bottom: 5%;
  height: 50px;
}
.p-scroll span {
  position: absolute;
  left: -15px;
  top: -15px;
  color: #ffffff;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.p-scroll::after {
  content: ""; /* 線の描写 */
  position: absolute;
  top: 0;
  width: 1px; /* 線の太さ */
  height: 30px; /* 線の長さ */
  background: #eee;
  /*線の動き1.4秒かけ、最初早く・後に減速して動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/***********　私たちの強み　************/
.p-backStrong {
  background-image: url(../img/p-textBcak_pc.png);
  background-repeat: no-repeat;
  background-position: 32px 0;
  margin: 160px 0;
}
.p-wrapperStrong {
  width: 1140px;
  margin: 0 auto;
}
.p-diagram {
  display: flex;
  margin-top: 160px;
}
.p-diagram__Item {
  width: calc(100% / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-diagram__text {
  margin-bottom: 40px;
  font-size: 3.2rem;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  font-weight: 600;
  background: -webkit-linear-gradient(
    -45deg,
    #008b9c 0%,
    #0053a1 100%
  ); /* 背景にグラデーションをつける */
  background-clip: text; /* 背景の範囲を指定 */
  -webkit-background-clip: text; /* 背景を文字の形に切り取る */
  -webkit-text-fill-color: transparent; /* 文字を透明にする */
}
.p-diagram__text span {
  font-size: 8rem;
  font-weight: 800;
  padding: 0 8px;
}
.p-sentence {
  line-height: 1.8;
  margin: 80px 0;
  text-align: justify;
}
/* ***************** */
/* ****サービス****** */
/* ***************** */
#service {
  background-color: #f5f5f5;
  padding: 170px 0 160px 0;
}
.p-service {
  width: 1140px;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-row-gap: 200px;
  justify-items: center;
  margin: 130px auto 0 auto;
}
.p-service__item {
  position: relative;
}
.p-service__item .c-text {
  text-align: center;
  line-height: 2;
  margin: 0 0 50px 0;
}
.p-number {
  position: absolute;
  top: -100px;
  left: -100px;
  color: #dcdcdc;
  font-size: 180px;
  font-weight: bold;
}
.p-service__item-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 450px;
}
.p-textBtn {
  display: flex;
  flex-direction: column;
}
.p-iconSize {
  width: 250px;
  margin: 0 auto;
}
.c-icon {
  position: relative;
  width: 100%;
}
/***********　カンパニー　************/
.p-photo {
  padding: 160px 0;
  background-image: url(../img/company.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
}
.c-heading4 {
  font-size: 4.2rem;
  color: #008b9c;
}
.p-box {
  width: 1140px;
  margin: 80px auto;
  line-height: 3.2rem;
}
.p-box a {
  line-height: 1.6rem;
}
.p-box__text {
  margin: 30px auto;
}
.c-btnMain--change {
  width: 280px;
  display: flex;
  justify-content: left;
}

/***********　ニュース　************/
.p-gray {
  padding: 160px 0;
  background-color: #f5f5f5;
  width: 100%;
}
.p-news {
  width: 1140px;
  margin: 80px auto;
}
.p-news__item {
  background-color: #fff;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  padding: 40px 0;
}
.p-news__item:last-child {
  margin-bottom: 0;
}
.p-news__list {
  display: flex;
  justify-content: left;
  width: 70%;
  margin: 0 auto;
}
.p-news__date {
  margin-right: 60px;
}

/* ******************* */
/* ****リクルート******* */
/* ******************* */
.p-photo--change {
  background-image: url(../img/recruite.png);
}
.p-box--right {
  display: flex;
  justify-content: right;
}
/***********　コンタクト　************/
.c-title--change {
  color: #fff;
  border-bottom: 3px solid #fff;
}
.p-green {
  padding: 160px 0;
  background-color: #008b9c;
  width: 100%;
  height: auto;
}
.p-green:hover {
  opacity: 0.7;
}
.p-contact {
  width: 1140px;
  margin: 80px auto 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p-contact__icon {
  font-size: 4.8rem;
  margin-bottom: 60px;
  padding-left: 60px;
  background-image: url(../img/contact-us.png);
  background-size: 50px 47px;
  background-position: left;
  background-repeat: no-repeat;
}
.p-contact__text {
  font-size: 2.4rem;
}

/* **************** */
/* ****フッター****** */
/* **************** */
.l-footer__container {
  display: flex;
  justify-content: space-between;
  width: 1140px;
  margin: 100px auto 0 auto;
}
.l-footer__about_logo img {
  width: 213px;
}
.l-footer__about_address {
  margin-top: 60px;
  font-size: 1.4rem;
  line-height: 2rem;
  color: #707070;
}
.l-footer__about_address p {
  line-height: 2.5rem;
}
.l-footer__nav {
  display: flex;
}
.l-footer__li {
  margin-left: 120px;
  color: #272727;
}
.l-footer__read {
  font-weight: bold;
}
.l-footer__li li {
  padding-bottom: 2rem;
}
.l-btnBox {
  margin-left: 100px;
}
.l-btnBox__sns {
  display: flex;
  margin: 20px 0 0 0;
}
.l-btnBox__sns {
  display: flex;
  margin: 20px 0 0 0;
}
.l-snsIcon img {
  width: 50px;
  margin: 0 15px 0 0;
}
.l-footer__copyright {
  position: relative;
  margin: 170px 0 0 0;
  padding-bottom: 50px;
  color: #707070;
  font-size: 1.4rem;
}
.l-footer__copyright a {
  color: #707070;
}
.l-footer__copyright br {
  display: none;
}
.l-copy {
  text-align: center;
}
.l-copy a {
  padding-right: 10px;
}
.l-pageTop {
  position: absolute;
  right: 56px;
  bottom: 50px;
}
.l-pageTop::before {
  content: "";
  width: 30px;
  height: 30px;
  border-top: 2px solid #008b9c;
  border-right: 2px solid #008b9c;
  position: absolute;
  right: 10px;
  bottom: 10px;
  transform: rotate(-45deg);
}
/*========== 以下メディアクエリまとめ ==========*/
@media screen and (max-width: 1200px) {
  /***********　タイトル　************/
  .c-title {
    font-size: 4rem;
    width: 400px;
    padding-bottom: 20px;
  }
  .u-layoutBold {
    font-size: 5.6rem;
    padding-top: 40px;
  }
  /***********　ヘッダー　************/
  .l-header__btn {
    display: none; /* PCのみのCONTACTボタンを非表示 */
  }
  .l-header {
    height: 56px;
  }
  .l-header__Inner {
    padding-top: 14px;
    width: 90%;
    margin: 0 auto;
  }
  .l-header__logo img {
    width: 80%;
    height: 80%;
    padding-left: 0px;
  }
  /* グローバルナビ調整 -- */
  .l-header__nav {
    transform: translateX(100%); /* 右からメニューが展開される */
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #008b9c;
    transition: 0.4s;
  }
  .l-header__nav.active {
    transform: translateX(0);
  }
  .l-header__nav__ul {
    display: block;
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .l-header__nav__li a {
    display: block;
    text-align: center;
    line-height: 12vh;
  }
  .l-header__btnInner {
    display: block;
    margin-top: 72vh;
  }
  .l-header__sns {
    text-align: center;
    margin-top: 2vh;
  }
  .l-header__sns img {
    height: 48px;
    margin: 0 12px;
  }
  /* ハンバーガーメニュー調整 */
  .l-header__hamburger {
    display: block; /* ハンバーガーメニュー表示させる */
  }
  .l-header__hamburger span {
    display: block;
    width: 32px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: ease 0.4s;
  }
  /* ハンバーガーメニュー（３本線）のアイコンの位置調整 */
  .l-header__hamburger span:nth-child(1) {
    top: 0;
  }
  .l-header__hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  .l-header__hamburger span:nth-child(3) {
    top: 0;
  }
  /* ハンバーガーメニュー展開時（２本線）のアイコンの位置調整 */
  .l-header__hamburger.active span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }
  .l-header__hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .l-header__hamburger.active span:nth-child(3) {
    top: -14px;
    transform: rotate(-45deg);
  }
  /* ヘッダー、mv以降のロゴ、文字、背景色の変更 ----*/
  .l-header.change-color {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0); /* タブレット版以降はヘッダーのドロップシャドウを削除 */
  }
  .l-header.change-color .l-header__nav a {
    color: #ffffff; /* グローバルナビ文字色変更 */
  }
  /* MV以降：ハンバーガーメニューの色調整*/
  .l-header.change-color span {
    background-color: #008b9c;
  }
  .l-header__hamburger.active.l-header__hamburger.change-color span {
    background-color: #fff; /* メニュー展開時は白色に */
  }
  /***********　mv　************/
  .p-mv {
    width: 90%;
  }
  .p-mv__top {
    font-size: 8rem;
    margin-bottom: 40px;
  }
  .p-mv__sub {
    font-size: 1.8rem;
  }
  /***********　私たちの強み　************/
  .p-backStrong {
    background-position: 0 0;
    margin: 120px 0;
    background-size: auto 80px;
  }
  .p-wrapperStrong {
    width: 90%;
  }
  .p-diagram {
    margin-top: 80px;
  }
  .p-diagram__text {
    font-size: 2.4rem;
    margin-bottom: 32px;
  }
  .p-diagram__text span {
    font-size: 5.6rem;
  }
  .p-diagram__icon {
    height: 120px;
  }
  /***********　サービス　************/
  #service {
    padding: 80px 0 120px 0;
  }
  .p-service {
    width: 90%;
  }
  .p-number {
    font-size: 150px;
    left: 0;
  }
  .p-service__item-inner {
    height: 400px;
  }
  .p-service__item .c-text {
    font-size: 1.4rem;
  }
  .p-iconSize {
    width: 200px;
  }
  /***********　カンパニー　************/
  .p-photo {
    padding: 120px 0;
    background-image: url(../img/company_outline.png); /*画像変更*/
    background-repeat: no-repeat;
    background-position: center;
  }
  .p-box {
    width: 60%;
    margin: 60px auto 0 auto;
    text-align: center;
  }
  .p-box__text br {
    display: none;
  }
  .c-btnMain--change {
    display: initial;
    justify-content: initial;
  }
  /***********　ニュース　************/
  .p-gray {
    padding: 120px 0;
  }
  .p-news {
    width: 90%;
    margin: 60px auto;
  }
  .p-news__item {
    margin-bottom: 20px;
    padding: 10px 0;
  }
  .p-news__list {
    display: block;
    width: 95%;
  }
  /***********　リクルート　************/
  .p-photo--change {
    background-image: url(../img/rec-img-sp@2x.png);
    background-repeat: no-repeat;
  }
  .p-photo--change .p-box--right {
    display: block;
  }
  /***********　コンタクト　************/
  .p-green {
    padding: 120px 0;
  }
  .p-contact {
    width: 90%;
    margin: 60px auto 0;
  }
  .p-contact__icon {
    margin-bottom: 20px;
  }
  .p-contact__text {
    font-size: 1.8rem;
  }
  .p-contact__btn img {
    width: 64px;
    height: 64px;
  }
  /***********　フッター　************/
  .l-footer__container {
    width: 90%;
    margin: 80px auto 0 auto;
    display: block;
  }
  .l-footer__about {
    display: flex;
    margin: 0 0 50px 0;
  }
  .l-footer__about_address {
    margin: 0 0 0 100px;
  }
  .l-footer__nav {
    margin-bottom: 50px;
  }
  .l-footer__nav .l-footer__li {
    margin: 0 30% 0 0;
  }
  .l-btnBox {
    width: 280px;
    margin: 0 auto;
  }
  .l-btnBox__sns {
    justify-content: center;
  }
  .l-footer__copyright {
    margin: 70px 5% 0 5%;
  }
  .l-footer__copyright br {
    display: block;
  }
  .l-copy {
    line-height: 1.5;
  }
  .l-pageTop {
    bottom: 300%;
  }
}
@media screen and (max-width: 767px) {
  /***********　タイトル　************/
  .c-title {
    font-size: 3.2rem;
    width: 320px;
  }
  .u-layoutBold {
    font-size: 3.2rem;
    padding-top: 16px;
  }
  /***********　mv　************/
  .p-mv__top {
    font-size: 4rem;
  }
  .p-mv__sub {
    font-size: 1.6rem;
  }
  .p-mv__sub br {
    display: none;
  }
  /***********　私たちの強み　************/
  .p-backStrong {
    margin: 80px 0;
    background-size: auto 40px;
  }
  .p-diagram {
    display: block;
  }
  .p-diagram__Item {
    width: 100%;
    margin-bottom: 80px;
  }
  .p-sentence {
    margin: 80px 0;
  }
  /***********　サービス　************/
  .p-service {
    grid-template-columns: 1fr;
    grid-row-gap: 150px;
  }
  .p-service__item .c-text {
    margin: 0 0 40px 0;
  }
  /***********　カンパニー　************/
  .p-photo {
    padding: 80px 0;
    background-image: url(../img/company_outline.png); /*画像変更*/
    background-repeat: no-repeat;
    background-position: center;
  }
  .p-box {
    width: 90%;
    margin: 40px auto; /**/
    text-align: center;
  }
  .c-btnMain--change {
    display: initial;
    justify-content: initial;
  }
  /***********　ニュース　************/
  .p-gray {
    padding: 80px 0;
  }
  .p-news {
    width: 90%;
    margin: 40px auto;
    font-size: 1.4rem;
  }
  .p-news__item {
    margin-bottom: 20px;
    padding: 10px 0;
  }
  .p-news__list {
    display: block;
    width: 95%;
  }
  /***********　リクルート　************/
  .p-photo--change .c-text br {
    display: none;
  }
  .p-photo--change .c-text {
    font-size: 1.4rem;
    width: 100%;
  }
  /***********　コンタクト　************/
  .p-green {
    padding: 80px 0;
  }
  .p-contact {
    width: 90%;
    margin: 40px auto 0;
  }
  .p-contact__icon {
    margin-bottom: 20px;
    font-size: 2.4rem;
    padding-left: 35px;
    background-size: 25px 23px;
  }
  .p-contact__text {
    font-size: 1.6rem;
    padding-right: 30px;
  }
  .p-contact__btn img {
    width: 64px;
    height: 64px;
  }
  /***********　フッター　************/
  .l-footer__about_logo img {
    width: 150px;
  }
  .l-footer__about_address {
    font-size: 1.2rem;
    margin: 0 0 0 35px;
  }
  .l-footer__nav .l-footer__li {
    font-size: 1.4rem;
    margin: 0;
  }
  .l-footer__nav .l-footer__li:first-child {
    margin: 0 25% 0 0;
  }
  .l-copy {
    font-size: 1rem;
  }
  .l-pageTop {
    bottom: 120%;
    right: 10px;
  }
}
