@charset "UTF-8";
:root {
  --link-color: #349bf4;
  --main-color: #dd1b57;
  --text-color: #333;
}
/*--------------------------------
全体
---------------------------------*/
body {
  font-family: "Roboto", "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  }
  
  a {
    text-decoration: none;
    transition: 0.3s;
    color: var(--link-color);
    text-decoration: underline;
  }
  
  a:hover {
    opacity: 0.8;
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }

  .pc{
    display: block;
  }
  .sp{
    display: none;
  }

/*--------------------------------
レイアウト
---------------------------------*/
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 30px;
  }
/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  justify-content: space-between;
    display: flex;
    height: 90px;
    padding: 30px 70px;
    align-items: center;
  }
  
  .header__logo {
    width: 280px;
    text-align: left;
    margin: 0 50px;
    align-items: center;
    display: flex;
  }

/*--------------------------------
メインビジュアル
---------------------------------*/
.mv {
    text-align: center;
    position: relative;
  }
.mv__h2{
  position: absolute;
  transform: translate(-50% -50%);
  top: 25%;
  left: 30%;
  color: #fff;
}
.mv__h2 p{
  font-size: 160px;
  text-shadow: #333 1px 0 10px;
  font-weight: bold;
}
.mv__h2 span{
  font-size: 24px;
  text-shadow: #333 1px 0 10px;
}

/*--------------------------------
グローバルナビ
---------------------------------*/
.gnav {
    padding: 40px 0; 
    
  }
  
  .gnav__list {
    display: flex;
    justify-content: center;
  }

  .gnav__item{
    font-size: 16px;
    margin-right: 30px;
    font-weight: bold;
  }
  .gnav__link,.news-list__link{
    color: var(--text-color);
    text-decoration: none;
  }
  .gnav__link:hover,
  .gnav__link--active,
  .news-list__link:hover{
    color: var(--main-color);
    text-decoration: none;
  }
/*--------------------------------
content
---------------------------------*/
.content {
  display: grid;
  padding: 60px 0 100px;
  row-gap: 80px;
}

.container{
  max-width: 1170px;
    margin: 0 auto;
    padding: 0 30px;
}



/*--------------------------------
news
---------------------------------*/
.news__inner {
  display: flex;
  column-gap: 90px;
}
.heading-primary,
.heading-primary--sub{
  font-size: 40px;
  color: var(--main-color);
  font-weight: bold;
}
.news-list__link{
  display: flex;
}
.news-list__item {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8e8e8;
}
.news__body {
  flex: 1;
}
.news-list__date {
  margin-right: 20px;
}
/*--------------------------------
サービス
---------------------------------*/
.service__heading {
  position: relative;
  margin-bottom: 50px;
}
.service__heading::before {
  display: block;
  content: "SERVICE";
  position: absolute;
  top: -40px;
  right: -20px;
  z-index: -1;
  font-size: 168px;
  font-weight: bold;
  line-height: 1;
  color: #f2f2f2;
}
.service__icon{
  font-size: 48px !important;
  display: block;
  color: var(--main-color);
}
.service__tit{
  font-size: 18px !important;
  margin:10px 0 20px;
}
.service__body{
  display:grid;
  column-gap:30px;
  grid-template-columns:repeat(3,1fr);
}
.service__body span{
  display: block;
}
.service__body__box{
  font-size: 18px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  z-index: 2px;
  background-color: fff;
  padding: 55px 48px;
  text-align: center;
}
.service__body__txt{
  font-size: 14px;
  font-weight: normal;
  line-height: 180%;
}
  .btn {
    display: block;
    position: relative;
    width: 220px;
    font-size: 15px;
    font-weight: bold;
    color: #24a8bf;
    line-height: 1;
    text-align: center;
    margin: 0 auto;
    padding: 18px 0;
    transition: opacity 0.3s;
    border: 1px solid #24a8bf;
    border-radius: 3px;
  }
  
  .btn::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    width: 5px;
    height: 9px;
    transform: translateY(-50%);
    background-image: url("../images/icon_arrow-right.png");
    background-repeat: no-repeat;
    background-size: 5px 9px;
  }

 /*--------------------------------
subpage
---------------------------------*/
.sub_mv{
  background-image: url(../images/pc_sub-header.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;

}
.sub_mv__h2{
  font-size: 40px;
  display: grid;
  place-items: center;
  color: #fff;
}
.sub_page{
    display: grid;
    padding: 60px 0 100px;
    row-gap: 50px;
}
.sub_page__header{
  text-align: center;
  letter-spacing: 5%;
}
.sub_page h3{
  font-size: 18px;
  margin-top: 40px;
}
.message__inner{
  max-width: 790px;
  margin: 0 auto 80px;
}
.message__img{
  float: left;
  border-radius: 50%;
  margin: 0 25px 15px 0;
}
.message__txt{
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-weight: 100;

}
 /*--------------------------------
company
---------------------------------*/
.company{
  max-width: 1110px;
  margin: 0 auto;
  text-align: left;
}
.company th{
  width: 200px;
  padding: 30px 0 30px 33px ;
}
.company td{
  width: 910px;
  padding: 30px 0;
}
.company tr{
  border-bottom: 1px solid #DDDDDD;
}
.map{
  margin: 50px 0 110px;
}
 /*--------------------------------
フッター
---------------------------------*/
.footer {
    padding: 60px 0 30px;
    background-color: var(--main-color);
    color: #fff;
  }
.footer__txt{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.footer__txt a{
  color: #fff;
  text-decoration: none;
}
.footer .copyright {
    font-size: 12px;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  body {
      line-height: 1.7;
    }
    .pc{
      display: none;
    }
    .sp{
      display: block;
    }
  /* レイアウト */
  .container {
    padding: 0 20px;
  }

  .heading-primary {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .heading-primary--sub{
    font-size: 24px;
  }
  .message__img__office{
    height: 260px;
    object-fit: cover;
  }
  .company th {
    width: 96px;
    padding: 30px 0;
  }
  .company td{
    width: auto;
  }
  .company {
    margin: 0 10px;
  }
  .news-list__link{
    display: block;
  }
  .news__inner,
  .service__body{
    display: block;
  }
  .service__body__box{
    margin-bottom: 20px;
  }
  .service__body__box:last-of-type{
    margin-bottom: 0px;
  }
  .service__icon {
    font-size: 60px !important;
  }
  .service__body__box{
    padding: 45px 48px;
  }
  .service__tit {
    margin: 10px 0;
  }
  .service__heading{
    margin-bottom: 0;
  }
  .content {
    margin: 0 10px;
  }
  .service__heading::before{
    font-size: 70px;
    top: 0;
  }
  .mv__h2 p{
    font-size: 80px;
  }
  .mv__h2 span{
    font-size: 20px;
  }
  .mv__h2 {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }
  .sub_mv{
    background-image: url(../images/sp_sub-header.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
  
  }
  .header__logo {
    width: 117px;
    margin: 0 10px;
    position: absolute;
    left: 0;
  }

  .gnav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 180px;
    height: 100%;
    background-color: var(--main-color);
    box-shadow: -10px 0 35px -20px rgb(0 0 0 / 25%);
  }
  .header{
    height: 75px;
  }
  .header__nav {
    width: 75px;
    height: 75px;
    position: absolute;
    right: 0;
  }
  
  .hamburger {
    background-color: var(--main-color);; 
    border-color: transparent; 
    z-index: 9999;
    padding-left: 25px;
  }

  .hamburger span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
    
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
    width: 30px;
  }
  
  .hamburger span:nth-child(2) {
    margin: 8px 0;
    width: 30px;
  }
  
  .hamburger span:nth-child(3) {
    top: 0;
    width: 30px;
  }

  .header__nav.active {
    transform: translateX(0);
  }
  .hamburger span.active{
    background-color: #fff;
  }
  
  .hamburger.active span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
    width: 30px;
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    width: 30px;
  }
  
  .hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
    width: 30px;
  }
  .gnav{
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    width: 180px;
    height: 100%;
    background-color: var(--main-color);
    box-shadow: -10px 0 35px -20px rgb(0 0 0 / 25%);
  }
  .gnav.active{
    right: 0;
    transition-duration: 0.6s;
    transition-delay: .1s;
    transition-property: all;
    padding: 0;
  }
  .gnav__list {
    justify-content: center;
    padding: 0 30px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    width: 180px;
    padding: 140px 20px 20px 20px;
    row-gap: 25px;
    color: #fff;
}


.gnav__link{
  color: #fff;
}
.gnav__link--active{
  opacity: 0.6;
}
}
