@charset "utf-8";

body {
  font-family: 'Noto Sans Japanese', sans-serif;
}

/*PC*/

@media screen and (min-width: 751px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }

  /*==================================================
　MENU
===================================*/
  .openbtn4 {
    position: relative;
    background: #e8683b;
    cursor: pointer;
    width: 70px;
    height: 70px;
    border-radius: 5px;
  }

  .openbtn4 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 5px;
    background: #fff;
    width: 50%;
  }

  .openbtn4 span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn4 span:nth-of-type(2) {
    top: 25px;
  }

  .openbtn4 span:nth-of-type(3) {
    top: 35px;
  }

  .openbtn4 span:nth-of-type(3)::after {
    content: "Menu";
    position: absolute;
    top: 11px;
    left: -7px;
    color: #fff;
    font-size: 1.8rem !important;
    text-transform: uppercase;
  }

  .openbtn4.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
  }

  .openbtn4.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn4.active span:nth-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
  }

  .openbtn4.active span:nth-of-type(3)::after {
    content: "Close";
    transform: translateY(0) rotate(-45deg);
    top: 11px;
    left: 10px;
  }

  /*========= レイアウトのためのCSS ===============*/
  body {
    background: #f3f3f3;
    /* padding: 20px; */
  }

  a {
    color: #333;
    text-decoration: none;
  }

  .lead {
    margin: 20px 0 0 0;
  }

  .btn-block {
    width: 200px;
    padding: 30px;
  }

  /*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/
  .header-fixed {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateY(-60px);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
    z-index: 9999;
  }

  .is-show {
    transform: translateY(0);
    opacity: 1;
  }

  nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 70px;
    left: 0;
    color: #000;
    background: #fff;
    text-align: center;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
    border: solid 2px #999999;
    height: 100vh;
    overflow: auto;
    padding-bottom: 5vw;
  }

  .bc-color1 {
    background-color: #777777;
  }

  .bc-color2 {
    background-color: #000000;
  }

  .bc-color3 {
    background-color: #555555;
  }

  nav.globalMenuSp ul {
    overflow: auto;
  }

  nav.globalMenuSp ul:nth-child(1) {
    margin: 0 auto;
    padding: 1vw;
    width: 100%;
    text-align: center;
  }

  nav.globalMenuSp ul:nth-child(1) img {
    width: 22%;
    margin: 0 auto;
    text-align: center;
  }

  nav.globalMenuSp ul:nth-child(2) {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  nav.globalMenuSp ul:nth-child(3) {
    margin: 0 auto;
    padding: 0;
    padding-bottom: 1vw;
    width: 100%;
  }

  nav.globalMenuSp ul:nth-child(4) {
    margin: 0 auto;
    padding: 0;
    padding-bottom: 1vw;
    width: 100%;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .header_li_item {
    list-style-type: none;
    padding: 0;
    width: 90%;
    display: flex;
    margin: 0 auto;
    color: #ffffff;
  }

  .header_li_item a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
  }

  .header_li_item p {
    margin: 15px auto;
    font-size: 2vw;
    color: #ffffff;
  }

  .header_li_item2 {
    list-style-type: none;
    padding: 0;
    width: 90%;
    margin: 0 auto;
    display: flex;
  }

  .header_li_item2 a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
  }

  .header_li_item2 p {
    margin: 15px auto;
    color: #ffffff;
    /* 文字の色 */
    font-size: 2vw;
    /* 文字のサイズ */
    text-align: center;
  }

  .header_li_item3 {
    list-style-type: none;
    padding: 0;
    width: 90%;
    margin: 0 auto;
    display: flex;
  }

  .header_li_item3 a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
  }

  .header_li_item3 p {
    margin: 15px auto;
    color: #000000;
    /* 文字の色 */
    font-size: 1.7vw;
    /* 文字のサイズ */
    text-align: center;
  }

  .header_w50 {
    width: 50%;
    padding: 1vw 2vw;
  }

  .menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5vw;
  }

  .menu-item2 {
    width: 16%;
  }

  .menu-item3 {
    width: 33%;
    margin-bottom: 20px;
  }

  .menu-item4 {
    width: 40%;
    margin: 5px 2vw;
    background-color: #dddddd;
    padding: 0.8vw;
  }

  .menu-item5 {
    width: 90%;
    text-align: center;
    color: #ffffff;
    font-size: 1.8vw;
    margin: 0.5vw auto;
    line-height: 1.5;
  }

  .menu-item {
    margin: 5px;
    display: block;
    background-color: #888888;
    padding: 3px;
  }

  .item-inquiry {
    width: 100%;
    margin: 0 auto;
    color: #ffffff;
    background-color: #dddddd;
  }

  .item-inquiry_p {
    font-size: 1.7vw;
    color: #222222;
    text-align: center;
    margin: 0.5vw auto;
  }

  .item-inquiry_a {
    display: block;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 1.5vw 3vw;
    font-size: 1.5vw;
    width: 80%;
    margin: 0 auto;
  }

  .service-item {
    display: flex;
    border-radius: 3vw;
    margin: 5px 10px;
  }

  .item-image {
    width: 100%;
    padding: 1vw 0 0.5vw 0;
  }

  .item-image img {
    width: 90%;
    height: auto;
  }

  .item-image2 {
    width: 30%;
    padding: 5px;
  }

  .item-image2 img {
    width: 70%;
  }

  .item-text {
    text-align: center;
    font-size: 1.6vw;
    color: #ffffff;
    line-height: 1.7;
  }

  .item-text2 {
    width: 100%;
    text-align: center;
    font-size: 1.6vw;
    padding: 0;
    border-right: 2px solid #fff;
    color: #fff;
  }

  .item-text2 i {
    font-size: 1.6vw !important;
  }

  .item-text2 ::before,
  ::after {
    font-size: 1.5vw !important;
  }

  .item-text2last {
    border-right: none !important;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    transform: translateX(0%);
  }

  #header {
    height: 70px;
    width: 100%;
    /*最前面へ*/
    /*以下はレイアウトのための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;
  }

  .login_item_wrap {
    background-color: #555555;
    padding: 1vw 1vw 2vw 1vw;
  }

  .login_item_area {
    width: 50% !important;
    background-color: #999999;
    display: flex;
    padding: 1vw;
    justify-content: space-around;
  }

  .login_item1 {
    width: 45%;
    background-image: url(../images/top/member-haikei.jpg);
    background-size: cover;
    padding: 2% 0;
  }

  .login_item2 {
    width: 45%;
    background-image: url(../images/top/apart-haikei.jpg);
    background-size: cover;
    padding: 2% 0;
  }

  .login_item_a small {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    text-align: center;
    font-size: 1.2vw;
    color: #fff;
    line-height: 1.5;
  }

  .login_item_a p {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    text-align: center;
    font-size: 1.3vw;
    color: #fff;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .login_item_a span {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    text-align: center;
    font-size: 1.2vw;
    background-color: #fff;
    width: 50%;
    margin: 0 auto;
    font-weight: bold;
    line-height: 1.5;
    display: block;
  }
}

/*750px以下*/

@media screen and (max-width: 750px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/
  #header {
    /*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;
  }

  /*==================================================
　5-2-4 MENUがCLOSEに
===================================*/
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn4 {
    position: relative;
    /*ボタン内側の基点となるためrelativeを指定*/
    background: rgba(232, 104, 59, 0.8);
    cursor: pointer;
    width: 70px;
    height: 70px;
    border-radius: 5px;
  }

  /*ボタン内側*/
  .openbtn4 span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 5px;
    background: #fff;
    width: 50%;
  }

  .openbtn4 span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn4 span:nth-of-type(2) {
    top: 25px;
  }

  .openbtn4 span:nth-of-type(3) {
    top: 35px;
  }

  .openbtn4 span:nth-of-type(3)::after {
    content: "Menu";
    /*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top: 11px;
    left: -7px;
    color: #fff;
    font-size: 1.8rem !important;
    text-transform: uppercase;
  }

  /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
  .openbtn4.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
  }

  .openbtn4.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn4.active span:nth-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
  }

  .openbtn4.active span:nth-of-type(3)::after {
    content: "Close";
    /*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
    top: 11px;
    left: 10px;
  }

  /*========= レイアウトのためのCSS ===============*/
  body {
    background: #f3f3f3;
    /* padding: 20px; */
  }

  a {
    color: #333;
    text-decoration: none;
  }

  .lead {
    margin: 20px 0 0 0;
  }

  .btn-block {
    width: 200px;
    padding: 30px;
  }

  /*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/
  .header-fixed {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateY(-60px);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
    z-index: 9000;
  }

  .is-show {
    transform: translateY(0);
    opacity: 1;
  }

  nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 70px;
    left: 0;
    color: #000;
    background: #fff;
    text-align: center;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
    border: solid 2px #999999;
    height: 100vh;
    overflow: auto;
    padding-bottom: 15vh;
  }

  .bc-color1 {
    background-color: #777777;
  }

  .bc-color2 {
    background-color: #000000;
  }

  .bc-color3 {
    background-color: #555555;
  }

  nav.globalMenuSp ul {
    overflow: auto;
  }

  nav.globalMenuSp ul:nth-child(1) {
    margin: 0 auto;
    padding: 1vw;
    width: 100%;
    text-align: center;
  }

  nav.globalMenuSp ul:nth-child(1) img {
    width: 55%;
    margin: 0 auto;
    text-align: center;
  }

  nav.globalMenuSp ul:nth-child(2) {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  nav.globalMenuSp ul:nth-child(3) {
    margin: 0 auto;
    padding: 0;
    padding-bottom: 1vw;
    width: 100%;
  }

  nav.globalMenuSp ul:nth-child(4) {
    margin: 0 auto;
    padding: 0;
    padding-bottom: 1vw;
    width: 100%;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .header_li_item {
    list-style-type: none;
    padding: 0;
    width: 100%;
    display: flex;
    margin: 0 auto;
    color: #ffffff;
  }

  .header_li_item a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
  }

  .header_li_item p {
    margin: 5px auto;
    font-size: 5vw;
    color: #ffffff;
  }

  .header_li_item2 {
    list-style-type: none;
    padding: 0;
    width: 90%;
    margin: 0 auto;
    display: flex;
  }

  .header_li_item2 a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
  }

  .header_li_item2 p {
    margin: 15px auto 0 auto;
    color: #ffffff;
    /* 文字の色 */
    font-size: 5vw;
    /* 文字のサイズ */
    text-align: center;
  }

  .header_li_item3 {
    list-style-type: none;
    padding: 0;
    width: 90%;
    margin: 0 auto;
    display: flex;
  }

  .header_li_item3 a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
  }

  .header_li_item3 p {
    margin: 15px auto;
    color: #000000;
    /* 文字の色 */
    font-size: 1.7vw;
    /* 文字のサイズ */
    text-align: center;
  }

  .header_w50 {
    width: 50%;
    padding: 1vw 2vw;
  }

  .menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5vw;
  }

  .menu-item2 {
    width: 49%;
  }

  .menu-item3 {
    width: 49%;
  }

  .menu-item4 {
    width: 70%;
    margin: 10px 2vw;
    background-color: #dddddd;
    padding: 0.8vw;
  }

  .menu-item5 {
    width: 90%;
    text-align: center;
    color: #ffffff;
    font-size: 4vw;
    margin: 2vw auto;
    line-height: 1.5;
  }

  .width90 {
    width: 52% !important;
  }

  .menu-item {
    margin: 5px;
    display: block;
    background-color: #888888;
    padding: 3px;
  }

  .item-inquiry {
    width: 100%;
    margin: 0 auto;
    color: #ffffff;
    background-color: #dddddd;
  }

  .item-inquiry_p {
    font-size: 4vw;
    color: #222222;
    text-align: center;
    margin: 0.5vw auto;
  }

  .item-inquiry_a {
    display: block;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 3vw 3vw;
    font-size: 4vw;
    width: 80%;
    margin: 10px auto;
  }

  .service-item {
    display: flex;
    border-radius: 3vw;
    margin: 5px 10px;
  }

  .item-image {
    width: 100%;
    padding: 1vw 0 0.5vw 0;
  }

  .item-image img {
    width: 90%;
    height: auto;
  }

  .item-image2 {
    width: 30%;
    padding: 5px;
  }

  .item-image2 img {
    width: 70%;
  }

  .item-text {
    text-align: center;
    font-size: 4.5vw;
    color: #ffffff;
    line-height: 1.5;
  }

  .item-text2 {
    width: 100%;
    text-align: center;
    font-size: 3.9vw;
    padding: 0;
    /* border-right: 2px solid #fff; */
    color: #fff;
    line-height: 2.5;
    text-decoration: underline;
    text-underline-offset: 6px;

  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    transform: translateX(0%);
  }

  #header {
    height: 50px;
    width: 100%;
    /*最前面へ*/
    /*以下はレイアウトのためのCSS*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: #fc0000;
    text-align: center;
    padding: 0 0 0 5px;
    border-bottom: #ddd solid 1px;
  }

  .tel-content a {
    color: #ffffff;
    font-size: 1.2em;
    text-decoration: underline;
    line-height: 2.5;
  }

  .login_item_wrap {
    background-color: #555555;
    padding: 1vw 1vw 2vw 1vw;
  }

  .login_item_area {
    width: 100% !important;
    background-color: #999999;
    display: flex;
    padding: 1vw ;
    justify-content: space-around;
  }

  .login_item1 {
    width: 49%;
    background-image: url(../images/top/member-haikei.jpg);
    background-size: cover;
    padding: 2% 0;
  }

  .login_item2 {
    width: 49%;
    background-image: url(../images/top/apart-haikei.jpg);
    background-size: cover;
    padding: 2% 0;
  }

  .login_item_a small {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    text-align: center;
    font-size: 2.4vw;
    color: #fff;
    line-height: 1.5;
  }

  .login_item_a p {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    text-align: center;
    font-size: 2.8vw;
    color: #fff;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 5px;
  }

  .login_item_a span {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    text-align: center;
    font-size: 2.4vw;
    background-color: #fff;
    width: 50%;
    margin: 0 auto;
    font-weight: bold;
    line-height: 1.5;
    display: block;
  }
}