@charset "UTF-8";
/* CSS Document */
/* ==================================================
   LINE
================================================== */
/* ---------------------------------
   共通
---------------------------------- */
.line {
  position: relative;
  display: inline-flex;
  box-sizing: border-box;
  background: #06C755;
  color: #fff !important;
  border-radius: .9em;
  text-decoration: none !important;
}
/* アイコン＋文字のグループ */
.line-in {
  display: flex;
  align-items: center;
  gap: .8em;
}
/* LINEアイコン */
.line-icon {
  display: block;
  height: auto;
  flex: 0 0 auto;
}
/* テキスト */
.line-text {
  min-width: 0;
  font-weight: 600;
  line-height: 1.35;
}
.line-text span {
  display: inline-block;
}

/* ==================================================
   横型
================================================== */
.line-h {
  align-items: center;
  justify-content: center;
}
.line-h .line-in {
  flex-direction: row;
}
.line-h .line-text {
  display: flex;
  flex-direction: column;
}
/* ---------------------------------
   横型：右三角
---------------------------------- */
.line-h::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 0;
  height: 0;
  border-top: 10.5px solid transparent;
  border-bottom: 10.5px solid transparent;
  border-left: 15px solid #fff;
  transform: translateY(-50%);
}
/* ==================================================
   縦型
================================================== */
.line-v {
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 20px 6px;
  font-size: 24px;
}
.line-v .line-in {
  flex-direction: column;
  gap: 10px;
}
.line-v .line-icon {
  width: 50px;
}
.line-v .line-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.4;
}
/* ---------------------------------
   縦型：「！」の下に三角
---------------------------------- */
.line-v .line-in::after {
  content: "";
  width: 0;
  height: 0;
  margin-top: 4px;
  border-top: 10.5px solid transparent;
  border-bottom: 10.5px solid transparent;
  border-left: 15px solid #fff;
  flex: 0 0 auto;
}
/* ==================================================
   サイズ：大
================================================== */
.line-bn {
  width: 90%;
  margin: 80px auto 0;
}
.line-lg {
  width: 100%;
  padding: 26px 50px;
  font-size: 28px;
}
.line-lg .line-in {
  gap: 24px;
}
.line-lg .line-icon {
  width: 72px;
}
/* ==================================================
   サイズ：小
================================================== */
.line-sm {
  padding: 14px 36px 14px 18px;
  font-size: 16px;
}
.line-sm .line-in {
  gap: 14px;
}
.line-sm .line-icon {
  width: 48px;
}
/* ==================================================
   PC右側 追従バナー
================================================== */
.line-float {
  display: none;
}
@media screen and (min-width: 768px) {
  .line-float {
    display: inline-flex;
    position: fixed;
    top: 60%;
    right: 0;
    z-index: 300;
    opacity: 0;
    transform: translate(110%, -50%);
    transition:
      transform .5s ease, opacity .5s ease;
  }
  .line-float.is-show {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
/* ==================================================
   Smartphone 下部追従
================================================== */
.line-sp-float {
  display: none;
}
/* ==================================================
   Smartphone
================================================== */
@media screen and (max-width: 767px) {
  /* ------------------------------
     大サイズ
  ------------------------------ */
  .line-bn {
    width: 100%;
    margin: 40px auto 0;
  }
  .line-lg {
    width: 100%;
    padding: 16px 38px 16px 18px;
    font-size: 16px;
  }
  .line-lg .line-in {
    gap: 14px;
  }
  .line-lg .line-icon {
    width: 48px;
  }
  /* ------------------------------
     小サイズ
  ------------------------------ */
  .line-sm {
    padding: 10px 12px 10px 0;
    font-size: 15px;
  }
  .line-sm .line-in {
    gap: 12px;
  }
  .line-sm .line-icon {
    width: 40px;
  }
  /* ------------------------------
     横型三角
  ------------------------------ */
  .line-h::after {
    right: 14px;
    border-top-width: 7.5px;
    border-bottom-width: 7.5px;
    border-left-width: 10.5px;
  }
  /* ------------------------------
     下部追従LINE
  ------------------------------ */
  .line-sp-float {
    display: inline-flex;
    position: fixed;
    left: 0;
    right: 50px;
    bottom: 0;
    z-index: 998;
    width: auto;
    height: 50px;
    padding: 5px 30px 5px 10px;
    font-size: 18px;
    border-radius: 0;
    opacity: 0;
    transform: translate3d(0, 110%, 0);
    transition:
      transform .35s ease, opacity .35s ease;
    pointer-events: none;
  }
  .line-sp-float .line-in {
    flex-direction: row;
    gap: 8px;
  }
  .line-sp-float .line-icon {
    width: 32px;
    height: auto;
  }
  .line-sp-float .line-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    line-height: 1.2;
  }
  .line-sp-float.is-show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  /* スマホ追従：三角を文字の隣へ */
  .line-sp-float::after {
    position: static;
    margin-left: 10px;
    transform: none;
    flex: 0 0 auto;
  }
}