@charset "utf-8";
html{
  overflow: auto;
}

body {
  background: #fff;
  color: #252525;
  font-size: 16px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

@media screen and (max-width:660px){
  body{
    font-size: 14px;
  }
}

a{ text-decoration: none; }
p,select { font-family: 'Inter', sans-serif; }
ul{list-style:none;}

/********************
       header
*********************/
.head-line{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), #C23025;
  box-sizing: border-box;
  padding: 8px 12px;
}
.head-line ul{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}

.head-line .fa-facebook-square,
.head-line .fa-instagram,
.head-line .fa-envelope,
.head-line .fa-facebook-messenger{
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
}


@media screen and (max-width:896px){
  .head-line ul:nth-of-type(2) li a{
    font-size: 15px !important;
  }
}

@media screen and (max-width:640px){
  .head-line ul li:nth-child(3),
  .head-line ul li:nth-child(4){
    display: none;
  }

  .head-line ul:nth-of-type(2){
    position: absolute;
    left: 30%;
  }
}

.inner {
  width: 100%;
  margin: 0 auto;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}
 
/* header */
#top-head {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  z-index: 999;
}
#top-head a,
#top-head {
/*
  color: #666;
  font-size: 15px;
  font-weight: bold ;
*/
}
#top-head .inner {
/*  position: relative;*/
}
#top-head .logo a{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: center;
  padding: 10px 0 10px 23px;
  margin: 0;
}

#top-head .logo img:nth-of-type(1){
  width: 74px;
  height: 73px;
}

#top-head .logo img:nth-of-type(2){
  margin: 5px 0 0 20px;
  width: 133px;
  height: 30px;
}

@media screen and (max-width:1280px){
  #top-head .logo img:nth-of-type(1){
    width: 64px;
    height: 64px;
  }

  #top-head .logo img:nth-of-type(2){
    margin: 5px 0 0 13px;
    width: 115px;
    height: auto;
  }

}

@media screen and (max-width:896px){
  #top-head .logo a{
    padding: 0;
    margin: 5px;
  }

  #top-head .logo img:nth-of-type(1){
    width: 54px;
    height: 54px;
  }

  #top-head .logo img:nth-of-type(2){
    margin: 5px 0 0 13px;
    width: 109px;
    height: 22px;
  }
}

@media screen and (max-width:320px){
  #top-head .logo a{
    padding: 0;
    margin: 5px;
  }

  #top-head .logo img:nth-of-type(1){
    width: 34px;
    height: 34px;
  }

  #top-head .logo img:nth-of-type(2){
    margin: 0 0 0 8px;
    width: 95px;
    height: 19px;
  }
}

#global-nav ul {
  position: absolute;
  right: 10px;
  top: 72px;
}
#global-nav ul li {
  float: left;
}

#global-nav ul li a:hover{
  border-bottom: solid 3px #C23025;
}


@media screen and (max-width:800px){
  #global-nav ul li a {
    padding: 0 10px 5px 0;
  }
}


/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  padding-top: 10px;
  height: 55px;
  background: #fff;
  background: rgba(255,255,255,.7);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
  font-size: 24px;
  color: #333;
}
#top-head.fixed #global-nav ul li a {
/*  color: #333;
  padding: 0 20px;
*/
}
 
/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #000;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 11px;
}
#nav-toggle span:nth-child(3) {
  top: 22px;
}

@media screen and (max-width: 896px) {
  #top-head,
  .inner {
    width: 100%;
    padding: 0;
  }

  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: #fff;
    width: 100%;
    position: relative;
  }
  #top-head.fixed .logo,
  #top-head .logo {
    padding: 2px 0 2px 10px;
  }
  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -500px;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    text-align: center;
    padding: 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 18px 0;
  }
  #nav-toggle {
    display: block;
    top: 30%;
  }
  #nav-toggle.member {
    display: none;
  }

  div.member_select{
    display: block;
  }

  .member_select {
    position: absolute;
    top: 53px;
    right: 20px;
    background: #fff;
  }

  .member_select ul > li{
    display: inline-block;
  }

  .member_select ul > li > a{
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: -0.05em;
    padding: 10px 0;
    display: block;
  }

  .member_select ul > li > a > span{
    color: #c23025;
    margin-left: 1em;
  }

  .member_select ul > li > span{
    margin-left: 1.2em;
  }

  .member_select ul > li:hover > a{
    background-color: #fff;
    color: #000;
  }

  .member_select > ul li ul{
    position: absolute;
    top: 30px;
    right: -20px;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    width: 250px;
  }

  .member_select > ul li ul li{
    display: block;
  }

  .member_select > ul li ul li a{
    border-bottom: solid 2px #c23025;
    box-sizing: border-box;
    color: #c23025;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.05em;
    padding: 15px 0;
    text-align: center;
    white-space:nowrap;
  }

  .member_select > ul li ul li a:hover{
    background-color: #c23025;
    color: #fff;
  }

  .member_select > ul li ul{
    display: none;
  }

  .member_select > ul li:hover ul{
    display: block;
  }

   /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
    /* #global-nav スライドアニメーション */
  .open #global-nav {
        /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }
}


@media screen and (max-width:320px){
  #nav-toggle {
    top: 23%;
  }

  .member_select{
    font-size: 11px;
    top: 46px;
    right: 2px;
  }
}

footer{
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), #C23025;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 30px;
  position: relative;
}


footer::after{
  content:"";
  background: url('/img/pijin_lg02.png') no-repeat;
  background-size: contain;
  position: absolute;
  right:80px;
  bottom: 50px;
  width: 147px;
  height: 185px;
}

@media screen and (max-width:640px){
  footer{
    padding: 40px 30px 70px;
  }

  footer::after{
    right: 25px;
    bottom: 83px;
    width: 115px;
    height: 145px;
  }
}

@media screen and (max-width:375px){
  footer::after{
    width: 100px;
    height: 126px;
  }
}

footer a{
  color: rgba(255, 255, 255, 0.7);
}

footer h3{
  font-family: 'Inter', sans-serif; 
  font-size: 35px;
  font-weight: 600;
  margin: 0 0 0 166px;
}

footer address{
  margin: 10px 0 30px 166px;
}

footer address > p{
  font-size: 19px;
  font-weight: 500;
  line-height: 22.99px;
}

@media screen and (max-width:1280px){
  footer h3{
    font-size: 30px;
    margin: 0;
  }

  footer address{
    margin: 10px 0 30px;
  }
}

@media screen and (max-width:640px){
  footer h3{
    font-size: 25px;
  }

  footer address > p{
    font-size: 14px;
  }
}

footer address ul{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: center;
  margin: 30px 0 0;
  width: 350px;
}

footer address ul li{
  margin-bottom: 10px;
  width: 100%;
}


footer address ul li:nth-child(3){
  width: 70px;
}

footer address ul li:nth-child(n+4){
  width: 70px;
}

@media screen and (max-width:640px){
  footer address ul{
    margin: 30px 0 100px;
  }

  footer address ul li:nth-child(3){
    width: 50px;
  }

  footer address ul li:nth-child(n+3){
    margin-right: 10px;
    width: 50px;
  }
}

footer address ul li:nth-child(-n+2) a{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: center;
}


footer address ul li a > span{
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  text-decoration: underline;
  font-family: 'Inter', sans-serif;
  font-size:18px;
  font-weight: 400;
  margin-left: 30px;
}


footer address ul li a i{
  color: #fff;
}

footer p > small{
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 900;
}

@media screen and (max-width:640px){
  footer address ul li a > span{
    font-size: 12px;
  }

  footer p > small{
    font-size: 12px;
  }
}

.fab, .fas {
  font-size: 43px;
}

i.fa-envelope{
  font-size: 39px;
}

.p_dis{
  display: block;
}

.s_dis{
  display:none;
}
@media screen and (max-width:640px){
  .p_dis{
    display: none;
  }

  .s_dis{
    display: block;
  }
}

.con_ctr{
  margin: 30px auto 0;
}

/*  chat  */
div#chat_head{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 20px auto;
  width: 80%;
}

div#chat_head h1{
  width: 100px;
}

@media screen and (max-width:869px){
  div#chat_head{
    width: 90%;
  }

  div#chat_head h1{
    width: 80px;
  }
}

@media screen and (max-width:375px){
  div#chat_head h1{
    width: 60px;
  }
}

div#chat_head h1 img{
  width: 100%;
  height: auto;
}

div#chat_head ul{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}

div#chat_head ul li:nth-child(-n+2){
  margin-right: 20px;
}

div#chat_head ul li select{
  background: rgba(196, 196, 196, 0.5);
  border:none;
  border-radius: 20px;
  padding: 6px;
}

div#chat_head ul li a{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  justify-content: center;
  align-items: center;
  background: rgba(196, 196, 196, 0.5);
  border-radius: 50%;
  color:#000;
  font-weight: 900;
  font-size: 15px;
  padding: 6px;
  width: 18px;
  height: 18px;
}

.fa-ellipsis-h{
  font-size: 15px;
}

.fa-minus{
  font-size: 15px;

}

div#chat{
  margin: 0 auto 20px;
  width: 80%;
}

@media screen and (max-width:869px){
  div#chat{
    width: 90%;
  }
}

div#chat h2{
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.1em;
  font-size:40px;
  line-height: 50px;
}

div#chat h2 > span{
  color: #c23025;
}

div#chat h3{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.1em;
  font-size:25px;
  line-height: 50px;
  margin-bottom: 20px;
}

div#chat h3 + p{
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: 0.1em;
  color: #000;
  text-align: center;
}

@media screen and (max-width:869px){
  div#chat h2{
    font-size: 20px;
    text-align: center;
  }

  div#chat h3{
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 10px;
  }

  div#chat h3 + p{
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
  }
}

@media screen and (max-width:375px){
  div#chat h3{
    font-size: 12px;
    letter-spacing: -0.1px;
  }

  div#chat h3 + p{
    font-size: 13px;
    letter-spacing: -0.2px;
    font-weight: 500;
  }
}

div#chat ul{
  margin: 40px 0;
}

@media screen and (max-width:869px){
  div#chat ul{
    margin: 15px 0;
  }
}

div#chat ul li:nth-child(1){
  margin-bottom: 20px;
}

div#chat ul li a{
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flexbox;
  display:-moz-flexbox;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  justify-content: center;
  align-items: center;
  background: rgba(151, 151, 151, 0.3);
  border-radius: 20px;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 50px;
  padding: 20px 0;
  width: 100%;
}

@media screen and (max-width:869px){
  div#chat ul li a{
    font-size: 20px;
    padding: 10px 0;
  }
}

@media screen and (max-width:375px){
  div#chat ul li a{
    font-size: 16px;
    padding: 2px 0;
  }
}



div#chat ul li:nth-child(1) a{
  background: #2D97FA;
  color: #fff;
}

div#chat ul li:nth-child(1) a > i{
  font-weight: 500;
  margin-right: 20px;
}

div#chat ul + p{
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 50px;
  text-align: center;
}

@media screen and (max-width:869px){
  div#chat ul + p{
    font-size: 13px;
    line-height: 25px;
  }
}

@media screen and (max-width:375px){
  div#chat ul + p{
    line-height: 1.7;
  }
}
div#chat ul + p > span{
  font-weight: 700;
}

.dialog {
  background: #fff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  overflow: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: auto;
  width: 1000px;
  display: none;
  z-index:1000;
}

@media screen and (max-width:1024px){
  .dialog{
    width: 80%;
  }
}

@media screen and (max-width:869px){
  .dialog{
    width: 70%;
  }
}

@media screen and (max-width:640px){
  .dialog{
    width: 85%;
  }
}

div#open_btn{
  cursor: pointer;
  width: 50px;
  height: 50px;
  position: fixed;
  right: 5px;
  bottom: 30px;
}

div#open_btn i{
  color: #c23025;
}

div#sp_wrap{
  display: none;
}

@media screen and (max-width:640px){
  div#open_btn{
    background: #fff;
    border-radius: 15px;
    width: 100%;
    height: auto;
    right: 0;
    bottom: 2px;
  }

  div#open_btn i{
    display: none;
  }

  div#sp_wrap{
    background: #fff;
    display:-webkit-box;
    display:-moz-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
    align-items: center;
    padding: 7px 0;
    margin: 0 auto;
    width: 80%;
  }

  div#sp_wrap figure{
    width: 43px;
  }

  div#sp_wrap figure > img{
    width: 100%;
    height: auto;
  }

  div#sp_wrap p:first-line{
    color: #000;
    font-size:18px;
    font-weight:700;
    letter-spacing: 0.1em;
    line-height: 25px;
  }

  div#sp_wrap p > span{
    color: #c23025;
  }

  div#sp_wrap p{
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    width: calc(100% - 53px);
  }
}


@media screen and (max-width:480px){
  div#sp_wrap{
    width: 100%;
  }
}

@media screen and (max-width:420px){
  div#sp_wrap{
    width: 100%;
  }

  div#sp_wrap p{
    font-size: 11px;
  }
}

@media screen and (max-width:320px){
  div#sp_wrap p{
    font-size: 10px;
  }
}
