html {
  font-size:62.5%;
  background-color: #fff;
}
body {
  font-size:1.6rem;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",'Meiryo',sans-serif;
  width:100%;
  position: relative;
  color: #021039;
}
@media (max-width: 960px) {
  body {
    font-size: 1.8rem;
  }
}
/* 横幅と左右の余白 */
.w-container {
  width: min(87.5%, 1680px);
  margin: auto;
}
.w-containerS {
  width: min(62.5%, 1166px);
  margin: auto;
}
.w-containerSS {
  width: min(37.5%, 720px);
  margin: auto;
}
@media (max-width: 1166px){
  .w-containerS {
    width: min(87.5%, 1680px);
  }
}
@media (max-width: 960px){
  .w-containerSS {
    width: min(87.5%, 1680px);
  }
}
.clearfix::after {
  content:'';
  display:block;
  clear:both;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h2 {
  font-size: 3.2vw;
  margin-bottom: 1.25vw;
}
@media (max-width: 960px){
  h2{
  font-size: 4.2rem;
}
}
@media (max-width: 425px){
  h2{
    font-size: 7.8vw;
  }
  }
  h3 {
  font-size: 1.8rem;
  color: #1d2088;
  font-weight: normal;
  margin-bottom: 46px;
}
h3 .titleEn {
  font-size: 2.8rem;
}
@media (max-width: 960px){
  h3{
  font-size: 2.0rem;
  }
  h3 .titleEn {
    font-size: 3.4rem;
  }
}
h4 {
  font-size: 3.8rem;
  color: #1d2088;
  text-align: center;
}
.titleJa {
  font-size: 1.2rem;
  color: #1d2088;
  text-align: center;
}
@media (max-width: 960px){
  h4{
  font-size: 4.2rem;
  }
  .titleJa {
    font-size: 1.4rem;
  }
}
p {
  line-height: 1.75;
}
.btn {
  height: 64px;
  border-radius: 9999px;
  font-size: 1.8rem;
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  position:fixed;
  z-index: -1;
  opacity: 0;
    /*ナビの位置と形状*/
  top:0;
  width: 100vw;
  height: 100vh;/*ナビの高さ*/
  background:#999;
    /*動き*/
  transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
opacity: 1;
z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  top:0;
  right:0;
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
  display: block;
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
  text-align: center; 
  font-size: 1.8rem;
}

#g-nav li a{
color: #021039;
text-decoration: none;
margin:20px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}

/*========= g-nav ===============*/
.g-navOpen {
position: absolute;
  z-index: 9999;/*ボタンを最前面に*/
  top:34px;
  right: 6.25%;
  cursor: pointer;
  width: 44px;
  height:38px;
  user-select: none;
}

/*×に変化*/  
.g-navOpen span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 0px;
  height: 6px;
  border-radius: 2px;
  background-color: #021039;
  width: 100%;
}

.g-navOpen span:nth-of-type(1) {
top:0px; 
}

.g-navOpen span:nth-of-type(2) {
top:16px;
}

.g-navOpen span:nth-of-type(3) {
top:32px;
}

.g-navOpen.active span:nth-of-type(1) {
  top: 18px;
  right:0;
  transform: translateY(6px) rotate(-45deg);
  width: 100%;
}

.g-navOpen.active span:nth-of-type(2) {
opacity: 0;
}

.g-navOpen.active span:nth-of-type(3){
  top: 30px;
  right:0;
  transform: translateY(-6px) rotate(45deg);
  width: 100%;
}
@media (min-width: 1166px){
  .g-navOpen,.g-nav {
    display: none;  
  }
}
/* ヘッダー */
#header {
  height: 110px;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header-container > .header-logo {
  margin-right: auto;
}
.header-nav {
  margin-right:90px;
}
.header-nav li {
  display: inline;
  margin-left:30px;
}
.header-nav li a {
  color: #021039;
  font-weight: bold;
}
.header-contactBtn {
  background-color: #1d2088;
  width:120px;
  height: 110px;
  position: absolute;
  right: 0%;
}
.header-contactBtn a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height:100%;
}
.header-contactBtn i {
  font-size: 3rem;
}
.header-contactBtn p {
  font-size: 1.4rem;
  padding-top:1.0rem;
}
@media (max-width: 1166px){
  .header-nav, .header-contactBtn {
    display: none;
  }
}
@media (max-width: 425px){
  .header-logo img {
    width: 80%;
  }
}

/* ヒーロー */
.hero-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}
.hero-img {
  width:calc(100% - 28%);
  margin-right: -6.25vw;
}
.hero-text {
  position: absolute;
  left: 6.25vw;
}
.hero-textWhite {
  background-color: #fff;
}
.hero-text p {
  width: 28%;
}
@media (min-width: 960px){
  .hero-container{
    flex-direction: row-reverse;
    align-items: center;
  }
  }
  @media (max-width: 960px){
    .hero-img {
      width: 100vw;
      margin: 0 calc(50% - 50vw);
    }
    .hero-img img {
      width: 100%;
      height: 380px;
      object-fit: cover;
    }
    .hero-text {
      position: static;
      left: 0;
      padding-top:30px
    }
    .hero-text p {
      width: 100%;
    }
    }
    @media (max-width: 425px){
      .hero-img img {
        height: 280px;
      }
      }
  /* 代表者挨拶 */
#message {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  background: linear-gradient(90deg, #fff 0%, #fff 35%, #f6f8fa 35%, #f6f8fa 100%);
}
.message-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
  height:680px;
}
.message-img {
  width: calc(100% - 5vw -40vw) ;
}
.message-text {
  padding-left:5vw;
  width:40vw;
}
.message-title {
  font-size: 1.4rem;
  color: #1d2088;
  margin-bottom: 1.5vw;
}
.message-titleEn {
  font-weight: bold;
}
.heading {
  font-size: 2.2vw;
  margin-bottom: 2vw;
}
.message-ceo {
  font-size: 1.4rem;
  margin-top: 2.6vw;
  text-align: right;
}
.message-ceoName {
  font-size: 2.0rem;
}
@media (min-width: 960px){
  .message-container{
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 960px){
    #message {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    background: linear-gradient(180deg, #fff 0%, #fff 18%, #f6f8fa 18%, #f6f8fa 100%);
    }
    .message-container{
    height:auto;
  }
    .message-img {
    width: 100% ;
    }
    .message-img img {
    width: 100% ;
    height :340px;
    object-fit: cover;
    }
    .message-text {
    margin-top: 40px;
    padding-left: 0;
    padding-bottom:50px;
    width: 100%;
    }
    .heading {
    font-size: 3.4rem;
    margin-bottom: 3vw;
    }
  }
  @media (max-width: 425px){
    .heading {
      font-size: 7vw;
    }
    .message-img img {
      height :240px;
      }
    }
    /* 事業案内 */
.service-list {
  display: grid;
  margin-bottom: 80px;
}
@media (min-width: 960px){
  .service-list {
    gap: 2%;
    grid-template-columns: repeat(3, 32%);  
  }
.serviceName__height {
  height:6.458vw;
  padding: 1.5vw 0;
}
}
.service-name {
  font-size: 1.7vw;
  text-align: center;
  font-weight: bold;
}
.service-nameSub {
  font-size: 0.8vw;
  text-align: center;
}
@media (max-width: 960px){
  .service-list {
    margin-bottom: 0;
  }
  .service-listItem {
    margin-bottom: 60px;
  }
  .serviceName__height {
  padding: 25px 0;
  }
.service-name {
    font-size: 3.4rem;
  }
  .service-nameSub {
    font-size: 1.8rem;
  }  
    .service-list img {
    width: 100% ;
    height :340px;
    object-fit: cover;
    }
  }
@media (max-width: 425px){
  .service-list img {
    height :240px;
    }
  }
.service-resultList {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}
.service-result {
  display: grid;
  margin-bottom: 80px;
}
.service-resultItem {
  overflow-wrap: break-word;
}
@media (min-width: 960px){
  .service-result {
    gap: 2%;
    grid-template-columns: repeat(3, 32%);  }
}
.service-resultItem {
  border: 1px #c9c9c9 solid;
  font-size: 1.4rem;
  padding:20px
}
.service-resultTitle {
  font-size: 1.6rem;
  padding-bottom: 10px;
  border-bottom: 1px #c9c9c9 dotted;
  margin-bottom: 15px;
}
@media (max-width: 960px){
  .service-result {
    gap: 4%;
    grid-template-columns: repeat(2, 46%); 
    margin-bottom: 120px;
  }
  .service-resultItem {
    font-size: 1.2rem;
  }
  .service-resultTitle {
    font-size: 1.4rem;
  }
  }
/* 会社概要 */
#company {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  background: linear-gradient(90deg, #f6f8fa 0%, #f6f8fa 65%, #fff 65%, #fff 100%);
}
.company-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
  height:680px;
}
@media (min-width: 960px){
  .company-container{
    flex-direction: row-reverse;
    align-items: center;
  }
}
.company-img {
  width: calc(100% - 5vw -40vw) ;
}
.company-text {
  padding-right:5vw;
  width:40vw;
}
.company-item {
  display: flex;
}
.company-item__left {
  font-weight: bold;
  width: 120px;
}
.itemList__empty{
  height:30px;
}
@media (max-width: 960px){
  #company {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  background: linear-gradient(180deg, #fff 0%, #fff 18%, #f6f8fa 18%, #f6f8fa 100%);
  }
  .company-container{
  height:auto;
}
  .company-img {
  width: 100% ;
  }
  .company-img img {
  width: 100% ;
  height :340px;
  object-fit: cover;
  }
  .company-text {
  margin-top: 40px;
  padding-left: 0;
  padding-bottom:80px;
  width: 100%;
  }
}
@media (max-width: 425px){
  .company-img img {
    height :240px;
    }
  .company-text{
    font-size: 1.4rem;
  }
  .itemList__empty {
    height: 22px;
  }
  }
/* お知らせ */
.news-container {
  margin-bottom: 80px;
}
.news-list {
  margin-top: 50px;
}
.news-contentList li {
  border-bottom: 1px #b9b9b9 dotted;
  padding: 20px 0;
}
.news-date {
  font-weight: bolder;
  padding-right: 20px;
}
/* お問い合わせ */
#contact {
  background-color: #f6f8fa;
  padding: 80px 0;
}
.contact-form {
  margin-top: 40px;
}
.contact-form dt {
  font-weight: bold;
  padding-bottom: 5px;
}
.contact-form dl {
  margin-bottom: 20px;
}
.contact-form input, textarea {
  width: 100%;
  border: 1px #e1e1e1 solid;
}
.contact-form input {
  height:48px;
}
.contact-form textarea {
  height: 187px;
  resize: none;
}
.contact-form #form_submit {
  margin-top: 20px;
  text-align: center;
}
.contact-form .btn {
  width: 400px;
  height: 64px;
  background-color: #1d2088;
  color: #fff;
}
@media(max-width:960px){
  .contact-form .btn {
    width: 480px;
    height: 74px;
    max-width: 100%;
  }
  }
/* フッター */
#footer {
  background-color: #343540;
  color: #acadbc;
}
.footer-company {
  display: flex;
  flex-direction: column;
}
@media (min-width: 960px){
  .footer-company {
    flex-direction: row;
    align-items: center;
    height: 300px;
  }
  .footer-company__left {
    padding-right: 120px;
  }
}
.footer-company__right i {
  padding-left: 5px;
}
.footer-company__right  a {
  color: #acadbc;
}
.btnFooter {
  background-color: #343540;
  border: 1px #acadbc solid;
  color: #acadbc;
  margin-top: 40px;
  width: 340px;
}
.btnFooter a {
  display: block;
  color: #acadbc;
}
.footer-access {
  margin-top: 30px;
}
.footer-map {
  height: 480px;
  overflow: hidden;
}
.footer-map iframe {
  height: 620px;
  margin-top: -170px;
}
.footer-copyright {
  text-align: center;
  padding-bottom: 20px;
  font-size: 1.2rem;
}
.btnFooter {
  background-color: #343540;
  border: 1px #acadbc solid;
  color: #acadbc;
  margin-top: 40px;
  width: 480px;
}
.footer-access {
  margin-top: 30px;
}
@media (max-width: 960px){
    .footer-container {
      padding-top: 80px;
    }
    .footer-company__left {
      margin: 0 auto;
      padding-right: 0;
      padding-bottom: 60px;
      max-width: 100%;
    }
    .footer-company__left img{
      width: 100%;
    }
    .footer-company__right {
      padding-bottom: 40px
    }
    .footer-copyright {
      font-size: 1.4rem;
    }
    .btn{
      height: 74px;
      font-size: 2.2rem;
      max-width: 100%;
    }
    .footer-map {
      width: 100vw;
      margin: 0 calc(50% - 50vw);
    }
  }
