@charset "utf-8";
/*ここに使用したいGoogleFontsコードを張り付け*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

html {
  /* 基本編となるフォントサイズの指定デフォルトの16pxまたは、ユーザーの設定しているサイズに準じるため*/
  font-size: 100%;
}

body {
  color: #2c2c2c;
  font-family: "Noto Sans JP", "Open Sans", Sans-Serif;
  /* 行間の基準を指定 */
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  transition: 0.3s;
}

/* =======================
.menu-trigger
======================= */
.menu-trigger {
  display: none; /*PCの時は消しておく*/
  -webkit-appearance: none; /* Crome用　フォ-ム要素の初期化*/
  appearance: none; /*フォ-ム要素の初期化*/
  border: none;
  background: transparent; /* Firefox用 背景を透過させる設定*/
}
.menu-trigger,
.menu-trigger span {
  display: inline-block; /* ブロック要素とインライン要素の中間の状態の要素*/
  transition: all 0.4s;
  box-sizing: border-box;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
  width: 1000px;
  margin-top: 19px;
  margin-bottom: 13px;
  margin-left: 13px;
  margin-left: auto;
  margin-right: auto;
}

.header_inner img {
  width: 298px;
  vertical-align: bottom;
}

.gnav ul {
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}

.gnav a {
  color: #2c2c2c;
  display: block;
  font-family: Open Sans;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  padding-bottom: 5px;
  margin-left: 20px;
  text-decoration: none;
}

.gnav a:hover {
  opacity: 1;
  border-bottom: 3px solid #0071bc;
  color: #0071bc;
}

.mv {
  background-image: url(images/mv.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mv_inner {
  margin: 0 auto;
  width: 1000px;
  padding-bottom: 87px;
  padding-top: 50px; /*82-32pxの余白*/
  padding-left: 75px;
  padding-right: 191px;
}

.mv h4 {
  font-size: 70px; /* line-height: 1.8の時の余白上下に32px */
  font-weight: normal;
  color: #fff;
  padding-bottom: 28px; /*60-32px*/
}

.mv p {
  font-size: 24px;
  color: #fff;
  padding-bottom: 79px;
}

.yoyaku_btn a {
  border: 1px solid #fff;
  border-radius: 8px;
  display: inline-block;
  font-size: 24px;
  color: #fff;
  padding: 16px 37px;
  text-decoration: none;
}

.yoyaku_btn a:hover {
  color: #f0f0f0;
  background: linear-gradient(to right, #0071bc, #04c1d3);
  border: none;
}

.service {
  margin: 0 auto;
  width: 1000px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.service_wrap {
  text-align: center;
}

.service_wrap1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.service_wrap h2 {
  font-size: 24px;
}

.service_wrap h3 {
  color: #0071bc;
  font-size: 14px;
  padding-bottom: 40px;
}

.service_box {
  width: 310px;
  height: 210px;
  border: 2px solid #43bcff;
  border-radius: 6px;
  padding: 20px 27px 20px 27px;
}

.service_box h5 {
  font-size: 18px;
  padding-bottom: 5px;
}

.fa-chalkboard-user,
.fa-landmark,
.fa-calculator {
  padding-right: 5px;
  color: #43bcff;
  font-size: 2rem;
}

.service_box p {
  font-size: 14px;
}

.voice {
  background-color: #f0f0f0;
}

.voice_inner {
  margin: 0 auto;
  width: 1000px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.voice_wrap {
  text-align: center;
}

.voice_wrap1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.voice_wrap h2 {
  font-size: 24px;
}

.voice_wrap h3 {
  color: #0071bc;
  font-size: 14px;
  padding-bottom: 40px;
}

.voice_box {
  width: 311px;
}

.voice_box img {
  width: 311px;
  height: 207px;
  vertical-align: top;
}

.voice_box h5 {
  font-size: 16px;
  padding-top: 18px;
  padding-bottom: 5px;
}

.voice_box p {
  font-size: 14px;
}

.toiawase {
  background-image: url(images/bg_footer.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.toiawase_inner {
  margin: 0 auto;
  width: 1000px;
  padding-top: 95px;
  padding-bottom: 77px;
  padding-left: 5px;
  display: flex;
  flex-direction: row;
}

.toiawase_box {
  margin-left: 45px;
}

.toiawase_box p {
  font-size: 14px;
}

.office {
  width: 135px;
  text-align: center;
  font-size: 16px;
  border: 2px solid #0071bc;
  border-radius: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.tel {
  font-size: 30px;
}

.soudan {
  font-size: 18px;
  padding-bottom: 9px;
  color: #0071bc;
}

.fa-display {
  padding-left: 7px;
  font-size: 1.5rem;
}

.toiawase_box a {
  display: inline-block;
  vertical-align: middle;
  font-family: 24px;
  text-decoration: none;
  color: #2c2c2c;
  border: 2px solid #0071bc;
  border-radius: 6px;
  width: 350px;
  height: 76px;
  padding-top: 13px;
  padding-left: 32px;
}

.toiawase_btn {
  font-size: 24px;
}

.toiawase_btn a:hover {
  color: #f0f0f0;
  background: linear-gradient(to right, #0071bc, #04c1d3);
  border: none;
}

.toiawase_box img {
  display: inline-block;
  vertical-align: middle;
  padding-left: 48px;
}

.toiawase_box:last-child {
  margin-left: auto;
}

.footer_inner {
  background-color: #0071bc;
}

.footer_wrap {
  margin: 0 auto;
  width: 1000px;
  height: 80px;
  vertical-align: top;
  display: flex;
  align-items: center;
  justify-content: end;
}

/* =======================
responsive
======================= */
@media only screen and (max-width: 900px) {
  /*サイト全体（#container）の横幅を100%とする*/
  #container {
    width: 100%;
  }

  .mv_inner {
    padding-top: 40px;
    padding-bottom: 50px;
    padding-left: 60px;
  }

  .mv h4 {
    width: 400px;
    font-size: 44px;
    padding-bottom: 20px;
    line-height: 1.3;
  }

  .mv p {
    font-size: 16px;
    padding-bottom: 40px;
  }

  .yoyaku_btn a {
    padding: 10px 37px;
  }
}

@media (max-width: 767px) {
  /*----- スマホ ハンバーガーメニュー ----- */
  .menu-trigger {
    width: 56px;
    height: 60px;
    /*positionで画面左上に絶対配置*/
    position: absolute;
    top: 19px;
    right: 0;
    /*要素の重なり、上のレイヤーと同じ考えかた*/
    z-index: 2;
    /*クリックした際のボタン周りの線を消す*/
    outline: none;
  }
  .menu-trigger span {
    position: absolute;
    left: 50%;
    width: 32px;
    height: 2px;
    background-color: #000;
    /*menu-trigger内のspan全体を中心位置に揃える設定*/
    transform: translate(-50%, -50%);
  }
  .menu-trigger span:nth-of-type(1) {
    top: 16px;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 50%;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 14px;
  }
  /*.activeが付いているものは
クリックした際した後の表示を設定しています。*/
  .menu-trigger.active span:nth-of-type(1) {
    top: 49%;
    /* 変形の設定　右側の軸は変えずに左側を傾けている */
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0; /*透過の指定で消してる*/
  }
  .menu-trigger.active span:nth-of-type(3) {
    bottom: 49%;
    /* 変形の設定　右側の軸は変えずに左側を上に傾けている */
    transform: translate(-50%, -50%) rotate(45deg);
  }
  /*----- スマホ ナビゲーション ----- */
  .gnav {
    display: none; /* クリックする前は消えてほしい*/
    width: 100vw; /*画面横幅めいいっぱい広げる*/
    height: 100vh; /*画面縦幅めいいっぱい広げる*/
    background: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 90px 5% 0;
    /*positionと組み合わせページをスクロールした場合も同じ位置に常に置く設定　transrateXと合わせてど真ん中に位置を合わせる設定*/
    position: fixed;
    top: 0;
    left: 0;
    /* left: 50%; 
    transform: translateX(-50%);*/
    z-index: -1; /* 何かしらの要素の背面に設置*/
  }
  .gnav.active {
    display: block; /* クリックした時に表示*/
    z-index: 1; /* 何かしらの要素の全面に設置*/
  }

  .gnav ul {
    /* display:flex;を解除して縦並びにしている*/
    display: block;
  }

  .gnav li {
    /*画面横にめいいっぱい伸ばしている設定*/
    width: 100%;
  }
  .gnav li a {
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    background: none;
    padding-top: 12px;
  }

  .service,
  .voice_inner,
  .toiawase,
  .footer_wrap {
    width: 100%;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .service_wrap1 {
    display: block;
  }

  .service_box,
  .toiawase_box {
    width: 100%;
    height: 50%;
    margin-bottom: 20px;
  }

  .voice_inner {
    padding-bottom: 30px;
  }

  .voice_wrap1 {
    display: block;
  }

  .voice_box {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .toiawase_inner {
    display: block;
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .toiawase_box {
    width: 300px;
    margin-left: 70px;
  }

  .toiawase_box:last-child {
    margin-top: 40px;
    margin-left: 15px;
  }

  .toiawase_box a {
    width: 310px;
    height: 58px;
    padding-top: 4px;
    padding-left: 20px;
  }

  .toiawase_box img {
    height: 25px;
    padding-left: 20px;
  }
} /* max-width:767px END*/
