@charset "utf-8";

#container .c-nav-area {
  position: absolute;
  top: 45px;
  left: 0;
  width: fit-content;
  z-index: 101;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#container .c-nav-area.hide {
  opacity: 0;
}

#container .c-nav-area .list {
  height: 300px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  justify-content: center;
  width: 100%;
}

.c-nav-area li>a,
.c-nav-area li>button {
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.05em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.3s ease-in-out;
}

.c-nav-area .ico {
  padding: 0 !important;
  width: fit-content;
}

.c-nav-area .ico img {
  max-width: 35px;
  max-height: 35px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#container .c-nav-area li {
  margin-top: 0;
  height: 100%;
}

#container .c-nav-area .txt {
  margin: 8px 0 0;
  font-weight: bold;
}

.c-nav-area li:first-of-type a {
  font-size: 12px;
  background-color: #df2411;
  letter-spacing: -0.05em;
}

.c-nav-area li:nth-of-type(2) a {
  background-color: #22b3f3;
}

.c-nav-area li:last-of-type button {
  background-color: #06c755;
}

.c-nav-area li>a:hover,
.c-nav-area li>button:hover {
  text-decoration: none;
}

@media(min-width:768px) {

  .c-nav-area li>a:hover,
  .c-nav-area li>button:hover {
    opacity: 0.8;
  }
}

@media(max-width:768px) {
  #container .c-nav-area {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
  }

  #container .c-nav-area .list {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    height: 65px;
  }

  .c-nav-area .ico img {
    max-width: 25px;
    max-height: 25px;
  }

  .c-nav-area li>a,
  .c-nav-area li>button {
    font-size: 13px;
    padding: 8px 5px 5px;
  }

  #container .c-nav-area .txt {
    margin-top: 5px;
  }
}

.c-chatbot {
  position: fixed;
  bottom: 40px;
  right: 50px;
  z-index: 101;
}

.c-chatbot .box button {
  color: #fff;
  cursor: pointer;
}

.c-chatbot .box .chatbot-btn {
  background-color: #2262f3;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  box-shadow: 0px 0px 15px -5px #000000e8;
  max-width: 184px;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
}

.c-chatbot .close-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  top: -10px;
}

.c-chatbot .box .chatbot-btn::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #2261f3 transparent transparent transparent;
  bottom: -13px;
  right: 0;
  left: 0;
  margin: auto;
}

.c-chatbot .ico {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 555px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#container .c-chatbot .txt {
  font-size: 19px;
  letter-spacing: 0.075em;
  line-height: 1.2;
  font-weight: bold;
  text-align: left;
  margin: 0 0 0 10px;
}

.c-chatbot .txt .num {
  font-size: 30px;
  letter-spacing: 0;
}

.c-chatbot .head-area {
  display: flex;
  align-items: center;
}

#container .c-chatbot .btn {
  background-color: #f27200;
  font-size: 12px;
  text-align: center;
  border-radius: 555px;
  padding: 1px 5px;
  position: relative;
  margin: 6px 0 0;
  border: 1px solid #f27200;
  transition: 0.3s ease-in-out;
  transition-property: background-color, color;
}

#container .c-chatbot .btn::after {
  position: absolute;
  content: '';
  width: 5px;
  height: 5px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  transition: 0.3s ease-in-out;
}

.c-chatbot-item{
  max-width: 500px;
  width: calc(100% - 20px);
  text-align: center;
  max-height: 500px;
  height: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.c-chatbot-item.is_active{
  opacity: 1;
  pointer-events: all;
}

.c-chatbot-item .box{
  position: relative;
  width: 100%;
  height: 100%;
}

.c-chatbot-item iframe{
  width: 100%;
  height: 100%;
}

.c-chatbot-item .close-btn {
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #333;
  right: -11px;
  top: -13px;
  border-radius: 555px;
  cursor: pointer;
}

.c-chatbot-item .close-btn .arrow::before,
.c-chatbot-item .close-btn .arrow::after {
  position: absolute;
  content: '';
  width: 13px;
  height: 2px;
  background-color: #fff;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.c-chatbot-item .close-btn .arrow::before {
  transform: rotate(45deg);
}

.c-chatbot-item .close-btn .arrow::after {
  transform: rotate(-45deg);
}

@media(min-width:768px) {

  #container .c-chatbot .box .chatbot-btn:hover .btn {
    background-color: #fff;
    color: #f27200;
  }

  #container .c-chatbot:hover .btn::after {
    border-color: #f27200;
  }
}

@media(max-width:768px) {
  .c-chatbot .ico {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .c-chatbot .ico img {
    width: 100%;
    object-fit: contain;
    height: 100%;
  }

  #container .c-chatbot .txt {
    font-size: 12px;
    margin-left: 6px;
  }

  .c-chatbot .txt .num {
    font-size: 20px;
  }

  .c-chatbot .box .chatbot-btn {
    padding: 5px;
    max-width: 125px;
  }

  #container .c-chatbot .btn {
    font-size: 10px;
  }

  #container .c-chatbot .btn::after {
    width: 4px;
    height: 4px;
    right: 7px;
  }

  .c-chatbot .close-btn {
    width: 18px;
    height: 18px;
    right: -10px;
    top: -10px;
  }

  .c-chatbot {
    right: 20px;
    bottom: 94px;
  }

  .c-chatbot .box .chatbot-btn::after {
    border-width: 12px 12px 0 12px;
    bottom: -9px;
  }
}

.line-popup {
  position: fixed;
  max-width: 1160px;
  width: calc(100% - 60px);
  top: 30px;
  right: 0;
  left: 0;
  margin: auto;
  background-color: #fff;
  z-index: 10000;
  border-radius: 20px;
  color: #333333;
  min-width: 1000px;
  height: calc(100% - 60px);
  padding: 45px 10px 10px 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.line-popup.is_active {
  opacity: 1;
  pointer-events: all;
}

.line-popup .inner-block {
  padding: 0 60px;
  overflow-x: auto;
  overflow-y: auto;
  height: 100%;
  position: relative;
}

.line-popup .close-btn {
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #333;
  right: 7px;
  top: 9px;
  border-radius: 555px;
  cursor: pointer;
}

.line-popup .close-btn .arrow {
  position: relative;
  display: block;
}

.line-popup .close-btn .arrow::before,
.line-popup .close-btn .arrow::after {
  position: absolute;
  content: '';
  width: 13px;
  height: 2px;
  background-color: #fff;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.line-popup .close-btn .arrow::before {
  transform: rotate(45deg);
}

.line-popup .close-btn .arrow::after {
  transform: rotate(-45deg);
}

.line-popup .head-area {
  display: flex;
  align-items: center;
}

.line-popup .head-area .logo {
  max-width: 323px;
}

.line-popup .head-area .ttl {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.03em;
  margin-left: 25px;
}

.line-popup .body-area {
  background-color: rgb(6 199 85 / 10%);
  padding-bottom: 30px;
}

.line-popup .top-ttl {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.5;
  background-color: #06c755;
  padding: 20px 30px;
  margin-top: 20px;
  position: relative;
}

.line-popup .top-ttl::after {
  position: absolute;
  content: '';
  width: 357px;
  height: 288px;
  background: url(../img/popup_img01.png) no-repeat center / 100%;
  right: 18px;
  bottom: 0;
}

.line-popup .list {
  margin-top: 34px;
  padding: 0 40px;
}

.line-popup .list .list-ttl {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.03em;
  padding-left: 35px;
  position: relative;
}


.line-popup .list .list-ttl::after {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  background-color: #06c755;
  left: 0;
  top: 10px;
}

.line-popup .list .sub-ttl {
  font-size: 24px;
  font-weight: bold;
  margin-top: 35px;
}

.line-popup .list .txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  margin-top: 20px;
}

.line-popup .list>li:first-of-type {
  display: flex;
}

.line-popup .list>li:first-of-type .img {
  flex-shrink: 0;
  margin-left: 50px;
  position: relative;
}

.line-popup .list>li:first-of-type .img-txt {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  position: absolute;
  bottom: 18px;
  left: -115%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 15px -5px #0000007d;
}

.line-popup .list>li:first-of-type .img-txt .inn {
  padding: 15px 20px;
  display: block;
  position: relative;
}

.line-popup .list>li:first-of-type .img-txt .inn::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #ffffff;
  right: -17px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.line-popup .green {
  color: #06c755;
}

.line-popup .list>li+li {
  margin-top: 10px;
}

.line-popup .register-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 30px;
}

.line-popup .register-list .img {
  background-color: #06c755;
  height: 222px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.line-popup .register-list>li:not(:last-of-type) .img img{
  max-width: 245px;
  width: 100%;
  object-fit: contain;
}

.line-popup .register-list>li:last-of-type .img {
  align-items: center;
}

.line-popup .register-list .register-txt {
  flex-grow: 1;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.36;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  flex-direction: column;
}

.line-popup .register-list .line {
  text-decoration: underline;
}

.line-popup .register-list .line.red{
  color: red;
}

.line-popup .register-list>li {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.line-popup .register-list>li+li .img {
  position: relative;
}

.line-popup .register-list>li+li .img::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 21px;
  border-color: transparent transparent transparent #ffffff;
  top: 0;
  bottom: 0;
  left: -7px;
  margin: auto;
}

.line-popup .step-list .step-txt {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 2.63;
}

.line-popup .step-list .step-number {
  color: #fff;
  background-color: #06c755;
  font-size: 24px;
  font-weight: bold;
  padding: 7px 24px;
  display: inline-block;
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
}

.line-popup .step-list .step-number .number {
  font-size: 36px;
}

.line-popup .step-list .step-number::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #06c755;
  right: -10px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.line-popup .step-list>li {
  display: flex;
  align-items: flex-start;
}

.line-popup .step-list .txt-area {
  margin-left: 32px;
}

.line-popup .step-list {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  margin-top: 45px;
}

.line-popup .ico {
  display: inline-block;
  padding-left: 2em;
  position: relative;
}

.line-popup .ico::after {
  position: absolute;
  content: '';
  width: 1.7em;
  height: auto;
  left: 4px;
  top: 0;
  bottom: 0;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.line-popup .ico.add-friend::after {
  background-image: url(../img/ico_add_friend.png);
}

.line-popup .ico.talk::after {
  background-image: url(../img/ico_talk.png);
}

.line-popup .ib {
  display: inline-block;
}

.popup-bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #333333;
  opacity: 0;
  z-index: 9999;
  pointer-events: none;
}

.popup-bg.is_active {
  opacity: 0.5;
  pointer-events: all;
}

@media(max-width:768px) {
  .line-popup {
    min-width: auto;
    width: calc(100% - 40px);
  }

  .line-popup .head-area {
    flex-direction: column;
  }

  .line-popup .inner-block {
    padding: 0 20px;
  }

  .line-popup .head-area .ttl {
    font-size: 18px;
    margin: 10px 0 0;
  }

  .line-popup .top-ttl {
    font-size: 18px;
    padding: 10px;
    padding-right: 70px;
  }

  .line-popup .top-ttl::after {
    width: 72px;
    height: 59px;
    right: 0;
  }

  .line-popup .list>li:first-of-type {
    flex-direction: column;
    margin: 0;
  }

  .line-popup .list>li:first-of-type .img {
    margin: 0;
    text-align: right;
    display: none;
  }

  .line-popup .list>li:first-of-type .img img {
    max-width: 35%;
    object-fit: contain;
    margin: 0;
  }

  .line-popup .list>li:first-of-type .img-txt {
    left: 0;
    font-size: 12px;
    text-align: left;
  }

  .line-popup .list>li:first-of-type .img-txt .inn {
    padding: 5px;
  }

  .line-popup .list {
    margin-top: 20px;
    padding: 0 20px;
    line-height: 1.4;
  }

  .line-popup .list .list-ttl {
    font-size: 18px;
    padding-left: 25px;
    line-height: 1.4;
  }

  .line-popup .list .list-ttl::after {
    width: 11px;
    height: 11px;
    top: 6px;
  }

  .line-popup .list .sub-ttl {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.4;
  }

  .line-popup .list .txt {
    line-height: 1.6;
    margin-top: 15px;
    font-size: 14px;
  }

  .line-popup .register-list .img {
    height: 105px;
    padding: 0 10px;
  }

  .line-popup .register-list>li:last-of-type .img img {
    max-width: 100px;
  }

  .line-popup .register-list {
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: auto;
  }

  .line-popup .register-list .register-txt {
    padding-top: 15px;
    font-size: min(3.059vw, 14px);
    padding-top: 7px;
  }

  .line-popup .register-list .img img {
    height: 100%;
    object-fit: contain;
  }

  .line-popup .register-list>li+li {
    margin-top: 15px;
  }

  .line-popup .step-list>li {
    flex-direction: column;
  }

  .line-popup .step-list>li+li {
    margin-top: 20px;
  }

  .line-popup .step-list .txt-area {
    margin-left: 0;
    margin-top: 10px;
  }

  .line-popup .step-list .step-number::after {
    display: none;
  }

  .line-popup .step-list .step-txt {
    line-height: 1.6;
    font-size: 14px;
  }

  .line-popup .step-list .step-number {
    font-size: 14px;
    padding: 3px 12px;
    border-radius: 5px;
  }

  .line-popup .step-list .step-number .number {
    font-size: 18px;
  }

  .line-popup .step-list {
    display: block;
  }

  .line-popup .ico::after {
    width: 16px;
    left: 8px;
  }
  
  .line-popup .register-list>li+li .img::after{
    bottom: auto;
    transform: rotate(90deg);
    top: -20px;
    right: 0;
    left: 0;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #06c755;
  }
}