@charset "utf-8";
body {
  font-family: 'Noto Sans Japanese', sans-serif;
}

/*PC*/

@media screen and (min-width: 751px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  /*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/
  #header {
    /*fixedで上部固定*/
    position: fixed;
    height: 70px;
    width: 100%;
    z-index: 888;
    /*最前面へ*/
    /*以下はレイアウトのためのCSS*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: #fc0000;
    text-align: center;
    padding: 0 0 0 20px;
    border-bottom: #ddd solid 1px;
  }
  /*　上に上がる動き　*/
  #header.up_scroll {
    animation: UpAnime 0.5s forwards;
  }
  @keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }
  /*　下に下がる動き　*/
  #header.down_scroll {
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /*========= レイアウトのためのCSS ===============*/
  .header h1 {
    font-size: 1.2rem;
  }
  .header img {
    height: 60px;
    width: 100%;
  }
  .header h2 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 30px 0;
  }
  .header small {
    background: #333;
    color: #fff;
    display: block;
    text-align: center;
    padding: 20px;
  }
  .header1 nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    height: 70px;
    width: 480px;
  }
  .header1 nav ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5vw;
    padding: 0 10px;
    transition: all 0.3s;
  }
  .header_icon {
    width: 20%;
    padding: 3px 10px;
  }
  .header_icon img {
    width: 100%;
    height: 30px;
  }
  .header1 nav ul li.current a, .header1 nav ul li a:hover, .header1 nav ul li a:active {
    color: #fff;
  }
  main {
    padding-top: 70px;
  }
  section {
    padding: 30px;
  }
  section:nth-child(2n) {
    background: #f3f3f3;
  }
  .bc_mail {
    background-color: #fbea4c;
    display: flex;
    align-items: center;
    width: 50%;
    color: #214873;
    /* 文字の色 */
  }
  .bc_mail a {
    color: #214873;
    /* font-weight: bold; */
  }
  .bc_tel {
    background-color: rgba(33, 72, 115, 1);
    display: flex;
    align-items: center;
    width: 50%;
    color: #ffffff;
    pointer-events: none;
  }
  .bc_tel a {
    color: #ffffff;
    /* font-weight: bold; */
  }
  .bc_tel a:hover {
    background-color: rgba(33, 72, 115, 1);
  }
  .navi_wrap {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .navi_wrap i {
    font-weight: bold;
    color: #ffffff;
    padding: 0 15px;
    font-size: 2vw;
  }
  .navi_wrap p {
    display: flex;
    justify-content: center;
    font-size: 1.4vw;
  }
}

/*750px以下*/

@media screen and (max-width: 750px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  /*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/
  #header {
    /*fixedで上部固定*/
    position: fixed;
    height: 50px;
    width: 100%;
    z-index: 888;
    /*最前面へ*/
    /*以下はレイアウトのためのCSS*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: #fc0000;
    text-align: center;
    padding: 0;
    border-bottom: #ddd solid 1px;
  }
  /*　上に上がる動き　*/
  #header.up_scroll {
    animation: UpAnime 0.5s forwards;
  }
  @keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }
  /*　下に下がる動き　*/
  #header.down_scroll {
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /*========= レイアウトのためのCSS ===============*/
  .header h1 {
    font-size: 1.2rem;
  }
  .header img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .header-imgw {
    width: 150px;
  }
  .header h2 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 30px 0;
  }
  .header small {
    background: #333;
    color: #fff;
    display: block;
    text-align: center;
    padding: 24px;
  }
  .header1 nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    height: 40px;
    width: 100;
  }
  .header1 nav ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 2vw;
    padding: 5px 2px;
    transition: all 0.3s;
    justify-content: center;
    line-height: 1.3;
  }
  .header_icon {
    width: 40%;
    padding: 1px;
    margin: 0 auto;
  }
  .header_icon img {
    width: 100%;
  }
  .header1 nav ul li.current a, .header1 nav ul li a:hover, .header1 nav ul li a:active {
    color: #fff;
  }
  section {
    padding: 30px;
  }
  section:nth-child(2n) {
    background: #f3f3f3;
  }
  .bc_mail {
    background-color: #fbea4c;
    width: 50%;
    color: #214873;
    /* 文字の色 */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bc_mail a {
    color: #214873;
    /* font-weight: bold; */
  }
  .bc_tel {
    background-color: #214873;
    width: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bc_tel a {
    color: #ffffff;
    /* font-weight: bold; */
  }
  .navi_wrap {
    /* display: flex; */
  }
  .navi_wrap i {
    font-weight: bold;
    color: #ffffff;
    padding: 0 15px;
    font-size: 2vw;
  }
}