@charset "utf-8";

html, body {
	margin: 0;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.contents {
  background-image: url(../img/back-image.png);
  background-repeat: no-repeat;
  min-height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 100px 0 60vh;
}

button:hover {
  opacity: .8;
}

@media screen and (min-width: 769px) {
  .sp {
    display: none!important;
  }
}
@media screen and (max-width: 768px) {
  .pc {
    display: none!important;
  }
}

/*------------
  common
------------*/

.container {
  position: relative;
  width: 900px;
  margin: 0 auto;
}

.loader {
  display: flex;
  align-items: center;
}
.loader span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 100%;
}
.loader span + span {
  margin-left: 10px;
}
._on .loader span {
  animation: load-anim 1.4s ease-in-out infinite;
  animation-fill-mode: both;
}
._on .loader span:nth-child(2) {
  animation-delay: .16s;
}
._on .loader span:nth-child(3) {
  animation-delay: .32s;
}

.main-logo {
  position: fixed;
  top: 25px;
  left: 40px;
  width: 200px;
}

.main-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
  }
  .chat-viewer {
    width: 100%;
    padding: 0 5%;
  }

  .main-logo {
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 5%;
    background: #fff;
  }
  .main-logo img {
    width: 150px;
  }
}

/*------------
  header
------------*/



/*------------
  footer
------------*/



/*------------
  index
------------*/

/*
  talk
------------*/

.talk-block {
  display: none;
}
.talk-block._on {
  display: block;
}
.talk-block + .talk-block {
  margin-top: 50px;
}
.talk-box {
  display: none;
  width: 750px;
}
.talk-box._on {
  display: flex;
}
.talk-box + .talk-box {
  margin-top: 50px;
}
.talk-box .talk-balloon {
  position: relative;
  width: 650px;
}
.talk-box .talk-balloon .balloon-inner {
  display: inline-block;
  position: relative;
  padding: 20px;
  font-size: 20px;
  color: #222222;
  border-radius: 20px;
}
.talk-box .talk-balloon .balloon-inner ._bold {
  font-weight: bold;
}
.talk-box .talk-icon {
  width: 100px;
}
.talk-box._image {
  margin: 0 auto;
}
.talk-box .talk-image {
  width: 400px;
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .talk-box {
    width: 100%;
  }
  .talk-box .talk-balloon .balloon-inner {
    padding: 10px;
    font-size: 16px;
  }
  .talk-box .talk-icon {
    flex-shrink: 0;
    width: 50px;
  }
}


/*
  select-box
------------*/

.select-box {
  display: none;
  flex-wrap: wrap;
  position: relative;
  width: 600px;
  margin: 50px auto;
  padding: 30px 0;
  background: url(../img/pat01.png) repeat;
  border-radius: 5px;
}
.select-box._on {
  display: flex;
}
.select-box._wide {
  width: 700px;
}
.select-box button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 120px;
  margin-right: 30px;
  font-size: 20px;
  font-weight: bold;
  background: #FFF;
  border: 3px solid #FFA500;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .4);
  outline: none;
}
.select-box button:active {
  top: 6px;
  background: #FFA500;
  box-shadow: none;
}
.select-box button._select {
  background: #FFA500;
  box-shadow: none;
}
.select-box button small {
  font-size: 16px;
}
.city_btn{
  display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 50%;
    margin: 10px auto;
    font-size: 20px;
    font-weight: bold;
    background: #FFF;
    border: 3px solid #FFA500;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 6px 0 rgb(0 0 0 / 40%);
    outline: none;
}
@media screen and (min-width: 769px) {
  .select-box._btn2 > button {
    width: calc(50% - 45px);
  }
  .select-box._btn2 > button:nth-child(2n + 1) {
    margin-left: 30px;
  }
  .select-box._btn2 > button:nth-child(n + 3) {
    margin-top: 20px;
  }

  .select-box._btn3 > button {
    width: calc((100% / 3) - 40px);
  }
  .select-box._btn3 > button:nth-child(3n + 1) {
    margin-left: 30px;
  }
  .select-box._btn3 > button:nth-child(n + 4) {
    margin-top: 20px;
  }

  .select-box._btn4 > button {
    width: calc(25% - (150px / 4));
  }
  .select-box._btn4 > button:nth-child(4n + 1) {
    margin-left: 30px;
  }
  .select-box._btn4 > button:nth-child(n + 5) {
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .select-box,
  .select-box._wide {
    width: 100%;
    padding: 30px;
  }
  .select-box button {
    width: 100%;
    height: 50px;
    margin: 0;
    font-size: 16px;
  }
  .select-box button + button {
    margin-top: 20px;
  }
}


/*
  select-radio
------------*/

.select-radio {
  width: calc(50% - 45px);
  margin-right: 30px;
  text-align: center;
}
.select-radio:nth-child(2n + 1) {
  margin-left: 30px;
}
.select-radio:nth-child(n + 3) {
  margin-top: 20px;
}
.select-radio img {
  padding-bottom: 10px;
}
.select-radio button {
  height: 60px;
  margin: 0;
}
.select-radio._radio button {
  position: relative;
  align-items: flex-start;
  padding-left: 35px;
}
.select-radio._radio button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #1D3F6D;
  border-radius: 100%;
}
.select-radio._radio button::after {
  display: none;
  content: '';
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #1D3F6D;
  border-radius: 100%;
}
.select-radio._radio button._select::after {
  display: block;
}

@media screen and (max-width: 768px) {
  .select-radio {
    width: 46%;
    margin-left: auto;
    margin-right: 0;
  }
  .select-radio:nth-child(2n + 1) {
    margin-left: 0;
  }
}


/*
  select-other
------------*/

.select-other {
  display: none;
  width: 100%;
}
.select-other._on {
  display: block;
}
.select-other p {
  width: 100%;
  margin: 20px 30px;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
}
.select-other .other-btn {
  display: flex;
  flex-wrap: wrap;
}
.select-other .other-btn button {
  position: relative;
  align-items: flex-start;
  padding-left: 35px;
  height: 60px;
  font-size: 16px;
}
.select-other .other-btn button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #1D3F6D;
  border-radius: 100%;
}
.select-other .other-btn button::after {
  display: none;
  content: '';
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #1D3F6D;
  border-radius: 100%;
}
.select-other .other-btn button._select::after {
  display: block;
}

@media screen and (min-width: 769px) {
  .select-other .other-btn._btn2 > button {
    width: calc(50% - 45px);
  }
  .select-other .other-btn._btn2 > button:nth-child(2n + 1) {
    margin-left: 30px;
  }
  .select-other .other-btn._btn2 > button:nth-child(n + 3) {
    margin-top: 20px;
  }

  .select-other .other-btn._btn3 > button {
    width: calc((100% / 3) - 40px);
  }
  .select-other .other-btn._btn3 > button:nth-child(3n + 1) {
    margin-left: 30px;
  }
  .select-other .other-btn._btn3 > button:nth-child(n + 4) {
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .select-other p {
    margin: 20px auto;
    font-size: 16px;
  }
  .select-other .other-btn button {
    width: 46%;
    height: 50px;
    padding-left: 10px;
    text-align: center;
  }
  .select-other .other-btn button + button {
    margin-top: auto;
  }
  .select-other .other-btn > button:nth-child(2n) {
    margin-left: auto;
  }
  .select-other .other-btn > button:nth-child(n + 3) {
    margin-top: 20px;
  }
  .select-other .other-btn button::before,
  .select-other .other-btn button._select::after {
    display: none;
  }
}


/*
  select-city
------------*/

.select-city {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .8);
}
.select-city._on {
  display: flex;
  animation: modal-fade 1s both;
}
.select-city .city-list {
  overflow: hidden;
  width: 400px;
  background: #FFF;
  border: 2px solid #1D3F6D;
  border-radius: 10px;
}
.select-city .city-ttl {
  padding: 10px 0;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  background: url(../img/pat01.png) repeat;
}
.select-city .city-scroll {
  overflow-y: scroll;
  max-height: 50vh;
  padding: 20px 40px;
}
.select-city .city-scroll div {
  padding: 10px 0;
}
.select-city .city-scroll div + div {
  border-top: 1px solid #FFA500;
}
.select-city .city-scroll button {
  position: relative;
  width: 100%;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}
.select-city .city-scroll div label{
  display:block;
}
.select-city .city-scroll div label,input[type='checkbox'] {
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .select-city {
    padding: 0 5%;
  }
  .select-city .city-list {
    width: 100%;
  }
  .select-city .city-ttl {
    font-size: 16px;
  }
  .select-city .city-scroll {
    max-height: 70vh;
  }
  .select-city .city-scroll button {
    font-size: 16px;
  }
}


/*
  modal
------------*/

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: .5s;
}
.modal._on {
  opacity: 1;
}
.modal .text {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
.modal .select-box {
  margin: 20px auto 0;
}

@media screen and (max-width: 768px) {
  .modal {
    padding: 0 5%;
  }
  .modal .text {
    width: 100%;
    font-size: 16px;
  }
}


/*
  customer
------------*/

.talk-box._customer {
  margin-left: auto;
}
.talk-box._customer .talk-balloon {
  text-align: right;
  margin-top: 10px;
  padding-right: 50px;
}
.talk-box._customer .talk-balloon .balloon-inner {
  background: #FFF;
  border: 4px solid #1D3F6D;
}
/* .talk-box._customer .talk-balloon .balloon-inner::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 0 15px;
  border-color: transparent transparent transparent #1D3F6D;
} */

.talk-box._customer .loader {
  justify-content: flex-end;
}
.talk-box._customer .loader span {
  background: #222222;
}

@media screen and (max-width: 768px) {
  .talk-box._customer .talk-balloon {
    padding-right: 0;
  }
  .talk-box._customer .talk-balloon .balloon-inner::before {
    top: 10px;
    border-width: 15px 15px 0 0;
    border-color: #1D3F6D transparent transparent transparent;
  }
}


/*
  system
------------*/

.talk-box._system {
  margin-right: auto;
}
.talk-box._system .talk-balloon {
  padding-left: 50px;
}
.talk-box._system .talk-balloon .balloon-inner {
  background: #FFF;
  border: 4px solid #FFA500;
}
.talk-box._system .talk-balloon .balloon-inner::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 15px 0;
  border-color: transparent #FFA500 transparent transparent;
}
.talk-box .talk-balloon .system-name {
  margin-bottom: 10px;
  font-weight: bold;
}

.talk-box._system .loader span {
  background: #222222;
}

@media screen and (max-width: 768px) {
  .talk-box._system .talk-balloon {
    padding-left: 25px;
  }
  .talk-box._system .talk-balloon .balloon-inner::before {
    top: 10px;
  }
}


/*
  form
------------*/

form {
  display: none;
  flex-wrap: wrap;
  position: relative;
  width: 600px;
  margin: 50px auto;
  padding: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  background: url(../img/pat01.png) repeat;
  border-radius: 5px;
}
form._on {
  display: block;
}
form div + div {
  margin-top: 20px;
}
form input {
  width: 100%;
  padding: 10px;
  font-size: 20px;
}
form + .submit {
  display: none;
  text-align: center;
}
form._on + .submit {
  display: block;
}
form._on + .submit input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: auto;
  margin: 0 auto;
  padding: 20px 60px;
  font-size: 20px;
  font-weight: bold;
  background: #FFF;
  border: 3px solid #FFA500;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .4);
  outline: none;
}
form._on + .submit input:active {
  top: 6px;
  background: #FFA500;
  box-shadow: none;
}

@media screen and (max-width: 768px) {
  form {
    width: 90%;
    font-size: 16px;
  }
  form input {
    font-size: 16px;
  }
  form div + div {
    margin-top: 0;
  }
}

.back-btn {
  text-align: center;
}
.back-btn a {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: auto;
  margin: 0 auto;
  padding: 20px 60px;
  font-size: 20px;
  font-weight: bold;
  background: #FFF;
  border: 3px solid #FFA500;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .4);
  outline: none;
}
.back-btn a:active {
  top: 6px;
  background: #FFA500;
  box-shadow: none;
}


/*------------
  keyframes
------------*/

@keyframes load-anim {
  0%, 80%, 100% {
    transform: scale(0.0);
  } 
  40% {
    transform: scale(1.0);
  }
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.form-error {
  display: none;
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 3px;
  background-color: #ed4040;
  color: #fff;
  font-size: 12px;
}