/* ==========================================================================
   LINE処方箋の案内ページ（page-line.php）
   スマホファーストで記述。PC は 1000px 以上（テーマのブレイクポイントに合わせる）
   ========================================================================== */

.line-lead {
  color: #333;
  font-weight: 700;
  line-height: 1.8;
}

.line-lead--white {
  color: #fff;
}

.line-note {
  color: #555;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  text-align: left;
}

.line-note--box {
  background-color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
}

/* ------------------------------
  友だち追加ボタン
------------------------------ */
.line-btns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  min-height: 60px;
  padding: 10px 16px;
  border: 2px solid #06C755;
  border-radius: 30px;
  background-color: #06C755;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
}

a.line-btn:hover {
  background-color: #fff;
  color: #06A94A;
  opacity: 1;
}

.line-btn_icon {
  flex: 0 0 auto;
}

.line-btn.is-soon {
  border: 2px dashed #9BA0A6;
  background-color: #F4F5F6;
  color: #666;
  box-shadow: none;
}

.line-btn_soon {
  border-radius: 12px;
  background-color: #9BA0A6;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 2px 10px;
}

.line-btns--white .line-btn:not(.is-soon) {
  border-color: #fff;
}

.line-cta_note {
  margin-top: 14px;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  text-align: center;
}

/* ------------------------------
  冒頭
------------------------------ */
.line-intro_sub {
  display: inline-block;
  border-radius: 16px;
  background-color: #CCFF54;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding: 2px 16px;
}

.line-intro_ttl {
  margin-top: 12px;
  color: #333;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .06em;
}

.line-intro_ttl em {
  font-style: normal;
  color: #06C755;
  background: linear-gradient(transparent 70%, #CCFF54 70%);
}

.line-intro_text {
  margin-top: 20px;
  line-height: 2;
}

.line-intro .line-note {
  margin-top: 8px;
}

.line-intro_img {
  margin-top: 30px;
}

.line-intro_img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ------------------------------
  共感
------------------------------ */
.line-pain {
  background-color: #F2FBFF;
  border-radius: 60px 0 0 0;
}

.line-pain_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.line-pain_list li {
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, .08);
}

.line-pain_list img {
  display: block;
  width: 100%;
  height: auto;
}

.line-pain_list p {
  color: #333;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  padding: 10px 10px 14px;
}

.line-pain_bridge {
  color: #55CCFF;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

/* ------------------------------
  できること
------------------------------ */
.line-merit {
  background-color: #F2FBFF;
}

.line-merit_list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  list-style: none;
}

.line-merit_list li {
  display: flex;
  align-items: center;
  column-gap: 16px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, .08);
  padding: 18px 16px;
}

.line-merit_list img {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

.line-merit_num {
  display: block;
  color: #55CCFF;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.line-merit_list h3 {
  margin-top: 4px;
  color: #333;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.line-merit_list p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
}

/* ------------------------------
  使い方
------------------------------ */
.line-steps {
  background-color: #55CCFF;
  border-radius: 0 0 60px 0;
}

.line-steps_list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  list-style: none;
}

.line-steps_list li {
  display: flex;
  align-items: center;
  column-gap: 16px;
  border-radius: 20px;
  background-color: #fff;
  padding: 18px 16px;
}

.line-steps_img {
  flex: 0 0 96px;
  width: 96px;
}

.line-steps_img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.line-steps_img--photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.line-steps_num {
  display: inline-block;
  border-radius: 14px;
  background-color: #CCFF54;
  color: #333;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .08em;
  padding: 1px 12px;
}

.line-steps_body h3 {
  margin-top: 6px;
  color: #333;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.line-steps_body p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
}

/* ------------------------------
  お願い
------------------------------ */
.line-notice_list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #55CCFF;
  border-radius: 20px;
  background-color: #fff;
  padding: 10px 20px;
}

.line-notice_list li {
  position: relative;
  border-bottom: 1px dashed #55CCFF;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
  text-align: left;
  padding: 14px 0 14px 28px;
}

.line-notice_list li:last-child {
  border-bottom: none;
}

.line-notice_list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #55CCFF;
}

.line-notice_list b {
  background: linear-gradient(transparent 65%, #CCFF54 65%);
  font-weight: 800;
}

/* ------------------------------
  薬局紹介
------------------------------ */
.line-about {
  background-color: #F2FBFF;
  border-radius: 60px 0 0 0;
}

.line-about_img img,
.line-about_list img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.line-about_body {
  margin-top: 20px;
  line-height: 2;
}

.line-about_catch {
  color: #333;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 8px;
}

.line-about_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.line-about_list img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.line-about_list p {
  margin-top: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  text-align: center;
}

/* ------------------------------
  よくある質問
------------------------------ */
.line-faq_list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.line-faq_list details {
  border: 1px solid #55CCFF;
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
}

.line-faq_list details + details {
  margin-top: 12px;
}

.line-faq_list summary {
  position: relative;
  display: block;
  cursor: pointer;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  padding: 16px 44px 16px 52px;
}

.line-faq_list summary::-webkit-details-marker {
  display: none;
}

.line-faq_list summary::before {
  content: "Q";
  position: absolute;
  top: 13px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #55CCFF;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0;
  text-align: center;
}

.line-faq_list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #55CCFF;
  border-bottom: 2px solid #55CCFF;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}

.line-faq_list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.line-faq_list details p {
  border-top: 1px dashed #55CCFF;
  background-color: #F2FBFF;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
  padding: 16px 18px;
}

/* ------------------------------
  店舗
------------------------------ */
.line-shop {
  background-color: #F2FBFF;
}

/* ------------------------------
  友だち追加（最後）
------------------------------ */
.line-close {
  background-color: #55CCFF;
  border-radius: 60px 0 0 0;
  padding-bottom: 110px;
}

.line-close_copy {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .06em;
}

.line-close_copy em {
  font-style: normal;
  color: #CCFF54;
  font-size: 32px;
}

.line-close_qr {
  display: none;
}

.line-close_note {
  display: none;
}

/* ------------------------------
  追従ボタン（スマホのみ）
------------------------------ */
.line-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  column-gap: 8px;
  background-color: rgba(255, 255, 255, .96);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .3s;
}

.line-sticky.is-show {
  transform: translateY(0);
}

.line-sticky .line-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  font-size: 14px;
  padding: 6px 8px;
}

.line-sticky .line-btn.is-soon {
  flex: 0 1 34%;
  flex-direction: column;
  row-gap: 2px;
  font-size: 12px;
}

.line-sticky .line-btn_soon {
  font-size: 10px;
  padding: 0 8px;
}

/* ------------------------------
  PC
------------------------------ */
@media screen and (min-width: 1000px) {
  .line-btns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .line-btn {
    min-height: 68px;
    font-size: 19px;
  }

  .line-note,
  .line-cta_note {
    font-size: 13px;
  }

  .line-intro_wrap {
    display: flex;
    align-items: center;
    column-gap: 60px;
  }

  .line-intro_body {
    flex: 1;
    min-width: 0;
  }

  .line-intro_ttl {
    font-size: 42px;
  }

  .line-intro_img {
    flex: 0 0 50%;
    margin-top: 0;
  }

  .line-pain,
  .line-about,
  .line-close {
    border-radius: 120px 0 0 0;
  }

  .line-steps {
    border-radius: 0 0 120px 0;
  }

  .line-pain_list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .line-pain_list p {
    font-size: 15px;
    padding: 14px 16px 18px;
  }

  .line-pain_bridge {
    font-size: 32px;
  }

  .line-merit_list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .line-merit_list li {
    flex-direction: column;
    row-gap: 16px;
    padding: 32px 24px;
  }

  .line-merit_list img {
    flex-basis: 140px;
    width: 140px;
    height: 140px;
  }

  .line-merit_list li > div {
    width: 100%;
  }

  .line-merit_num {
    text-align: center;
  }

  .line-merit_list h3 {
    font-size: 20px;
    text-align: center;
  }

  .line-merit_list p {
    font-size: 15px;
  }

  .line-note--box {
    text-align: center;
  }

  .line-steps_list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .line-steps_list li {
    flex-direction: column;
    align-items: stretch;
    row-gap: 16px;
    padding: 24px 20px;
  }

  .line-steps_img {
    flex: 0 0 auto;
    width: 150px;
    height: 277px;
    margin: 0 auto;
  }

  .line-steps_img--photo img {
    aspect-ratio: auto;
    height: 277px;
  }

  .line-steps_body h3 {
    font-size: 18px;
  }

  .line-notice_list {
    padding: 16px 40px;
  }

  .line-notice_list li {
    font-size: 16px;
    padding: 18px 0 18px 32px;
  }

  .line-notice_list li::before {
    top: 26px;
  }

  .line-about_wrap {
    display: flex;
    align-items: center;
    column-gap: 60px;
  }

  .line-about_img {
    flex: 0 0 55%;
  }

  .line-about_body {
    flex: 1;
    min-width: 0;
    margin-top: 0;
  }

  .line-about_catch {
    font-size: 22px;
  }

  .line-about_list {
    gap: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .line-about_list p {
    font-size: 15px;
  }

  .line-faq_list summary {
    font-size: 17px;
    padding: 20px 56px 20px 64px;
  }

  .line-faq_list summary::before {
    top: 18px;
    left: 22px;
  }

  .line-faq_list details p {
    font-size: 15px;
    padding: 20px 28px;
  }

  .line-close {
    padding-bottom: 70px;
  }

  .line-close_copy {
    font-size: 34px;
  }

  .line-close_copy em {
    font-size: 44px;
  }

  .line-close_qr {
    display: flex;
    justify-content: center;
    column-gap: 40px;
  }

  .line-close_qr li {
    border-radius: 16px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 16px 16px 12px;
  }

  .line-close_qr img {
    display: block;
    width: 140px;
    height: 140px;
    image-rendering: pixelated;
    margin-bottom: 6px;
  }

  .line-close_qr li.is-soon img {
    filter: blur(5px);
    opacity: .35;
  }

  .line-close_note {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .line-sticky {
    display: none;
  }
}
