/**
 * 甲状腺眼症LP（page-thyroid-lp.php）スタイル
 *
 * 画像コーディング用。768px以上はPC画像、767px以下はspフォルダの画像を使用。
 *
 * @package oculo
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.thyroid-lp {
  margin: 0 auto;
}

.thyroid-lp__images img,
.thyroid-lp__picture,
.thyroid-lp__picture img,
.thyroid-lp__cta .thyroid-lp__picture,
.thyroid-lp__cta .thyroid-lp__picture img {
  display: block;
  width: 100%;
}

.thyroid-lp__img-group--sp {
  display: none;
}

.thyroid-lp__images .thyroid-lp__img--sp-only {
  display: none;
}

.thyroid-lp__case {
  background-image: var(--case-bg-pc);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.thyroid-lp__img-group--sp:empty {
  display: none;
}

.thyroid-lp__img-7 {
  margin-top: -5vw;
}

.thyroid-lp__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.thyroid-lp__cta {
  position: relative;
}

.thyroid-lp__cta-btn {
  display: block;
  line-height: 0;
}

.thyroid-lp__cta-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* CTA共通（4098px基準 → vw換算、bottomから配置・中央揃え） */
.thyroid-lp__cta--triple .thyroid-lp__cta-btn {
  position: absolute;
}

.thyroid-lp__cta--triple .thyroid-lp__cta-btn--1 {
  left: 50%;
  bottom: 12.71vw;
  transform: translateX(-50%);
  width: 41.58vw;
}

.thyroid-lp__cta--triple .thyroid-lp__cta-btn--2 {
  left: 50%;
  bottom: 3.66vw;
  transform: translateX(calc(-50% - 16.69vw));
  width: 30.45vw;
}

.thyroid-lp__cta--triple .thyroid-lp__cta-btn--3 {
  left: 50%;
  bottom: 3.66vw;
  transform: translateX(calc(-50% + 16.69vw));
  width: 30.45vw;
}

/* 最終CTA直下の余白（背景色 #F7F3EF） */
.thyroid-lp__cta-bottom-space {
  display: block;
  width: 100%;
  height: 80px;
  background-color: #f7f3ef;
}

.thyroid-lp__case-inner {
  width: 100%;
  padding: 5vw 8vw;
}

.thyroid-lp__case-default {
  display: block;
  width: 100%;
}

.thyroid-lp__case-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  margin: 0 auto;
  padding: 1.2vw 0.96vw;
  border: none;
  background-color: #8f7743;
  box-shadow: 0 0.1vw 0.05vw rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-family: 'Shippori Mincho', serif;
  font-size: 2vw;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: left;
}

.thyroid-lp__case-toggle-text {
  flex: 1;
}

.thyroid-lp__case-toggle-icon {
  position: relative;
  flex-shrink: 0;
  width: 1.77vw;
  height: 1.77vw;
  margin-left: 0.96vw;
}

.thyroid-lp__case-toggle-icon::before,
.thyroid-lp__case-toggle-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
}

.thyroid-lp__case-toggle-icon::before {
  width: 100%;
  height: 0.1vw;
}

.thyroid-lp__case-toggle-icon::after {
  width: 0.1vw;
  height: 100%;
  transition: transform 0.2s ease;
}

.thyroid-lp__case-toggle[aria-expanded='true'] .thyroid-lp__case-toggle-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.thyroid-lp__case-plus img {
  display: block;
  width: 100%;
}

/* よくある質問（1920px基準 → vw換算） */
.thyroid-lp__faq-title {
  margin: 0;
  line-height: 0;
}

.thyroid-lp__faq-title img {
  display: block;
  width: 26vw;
  margin: 3vw auto 0;
}

.thyroid-lp__faq-inner {
  padding: 5vw 16vw;
}

.thyroid-lp__faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.04vw;
}

.thyroid-lp__faq-item {
  width: 100%;
}

.thyroid-lp__faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65vw 1vw;
  border: none;
  background-color: #f3edde;
  cursor: pointer;
  text-align: left;
}

.thyroid-lp__faq-label {
  flex-shrink: 0;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.75vw;
  font-weight: 700;
  line-height: 1;
}

.thyroid-lp__faq-label--q {
  color: #95700f;
}

.thyroid-lp__faq-label--a {
  color: #1f4f5e;
}

.thyroid-lp__faq-question-text {
  flex: 1;
  min-width: 0;
  margin: 0 0.75vw;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.2vw;
  font-weight: 400;
  line-height: 1.6;
  color: #95700f;
}

.thyroid-lp__faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 1.1vw;
  height: 1.1vw;
}

.thyroid-lp__faq-icon::before,
.thyroid-lp__faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: #95700f;
  transform: translate(-50%, -50%);
}

.thyroid-lp__faq-icon::before {
  width: 100%;
  height: 0.15vw;
  min-height: 2px;
}

.thyroid-lp__faq-icon::after {
  width: 0.15vw;
  min-width: 2px;
  height: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.thyroid-lp__faq-question[aria-expanded='false'] .thyroid-lp__faq-icon::after {
  opacity: 1;
  transform: translate(-50%, -50%) scaleY(1);
}

.thyroid-lp__faq-question[aria-expanded='true'] .thyroid-lp__faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.thyroid-lp__faq-answer[hidden] {
  display: none !important;
}

.thyroid-lp__faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 0.85vw;
  padding: 1vw;
  background-color: #fffffe;
  border: 0.052vw solid #ede7d5;
  border-top: none;
}

.thyroid-lp__faq-answer-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95vw;
  font-weight: 400;
  line-height: 1.6;
  color: #242729;
}

/* フローティングボタン（813px基準 → vw換算） */
.thyroid-lp__floating {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.52vw;
  padding: 0 1.04vw 1.04vw 0;
}

.thyroid-lp__floating-btn {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.thyroid-lp__floating-btn img {
  display: block;
  width: 19.84vw;
  height: auto;
}

.thyroid-lp__floating-btn--sp-link {
  display: none;
}

/* SP（767px以下・1125px基準） */
@media screen and (max-width: 767px) {
  .thyroid-lp__img-group--pc {
    display: none;
  }

  .thyroid-lp__img-group--sp {
    display: block;
  }

  .thyroid-lp__images .thyroid-lp__img--sp-only {
    display: block;
  }

  .thyroid-lp__img-7 {
    margin-top: -11vw;
  }

  .thyroid-lp__case {
    background-image: var(--case-bg-sp);
  }

  .thyroid-lp__case-inner {
    padding: 5vw 4vw;
  }

  .thyroid-lp__case-toggle {
    width: 90%;
    padding: 3.2vw 2.4vw;
    font-size: 4.27vw;
  }

  .thyroid-lp__case-toggle-icon {
    width: 4.27vw;
    height: 4.27vw;
    margin-left: 2.13vw;
  }

  .thyroid-lp__case-toggle-icon::before {
    height: 0.27vw;
    min-height: 2px;
  }

  .thyroid-lp__case-toggle-icon::after {
    width: 0.27vw;
    min-width: 2px;
  }

  /* CTA（1125px基準・1列・ボタン1幅に統一） */
  .thyroid-lp__cta--triple .thyroid-lp__cta-btn--1,
  .thyroid-lp__cta--triple .thyroid-lp__cta-btn--2,
  .thyroid-lp__cta--triple .thyroid-lp__cta-btn--3 {
    left: 50%;
    transform: translateX(-50%);
    width: 94.93vw;
  }

  .thyroid-lp__cta--triple .thyroid-lp__cta-btn--3 {
    bottom: 6.2vw;
  }

  .thyroid-lp__cta--triple .thyroid-lp__cta-btn--2 {
    bottom: 32.44vw;
  }

  .thyroid-lp__cta--triple .thyroid-lp__cta-btn--1 {
    bottom: 56.68vw;
  }

  .thyroid-lp__cta-bottom-space {
    height: 50px;
  }

  .thyroid-lp__faq-title img {
    width: 60vw;
    margin: 5vw auto 0;
  }

  .thyroid-lp__faq-inner {
    padding: 5vw 4vw;
  }

  .thyroid-lp__faq-list {
    gap: 2.67vw;
  }

  .thyroid-lp__faq-question {
    padding: 2.67vw 2.13vw;
  }

  .thyroid-lp__faq-label {
    font-size: 4.27vw;
  }

  .thyroid-lp__faq-question-text {
    margin: 0 2.13vw;
    font-size: 3.2vw;
  }

  .thyroid-lp__faq-icon {
    width: 3.2vw;
    height: 3.2vw;
    min-width: 12px;
    min-height: 12px;
  }

  .thyroid-lp__faq-answer {
    gap: 2.13vw;
    padding: 2.67vw 2.13vw;
  }

  .thyroid-lp__faq-answer-text {
    font-size: 2.93vw;
  }

  .thyroid-lp__floating {
    gap: 4.07vw;
    padding: 0 2.13vw 2.13vw 0;
  }

  .thyroid-lp__floating-btn--pc-link {
    display: none;
  }

  .thyroid-lp__floating-btn--sp-link {
    display: block;
  }

  .thyroid-lp__floating-btn img {
    width: 34.31vw;
  }

  .thyroid-lp__floating-btn--3 img {
    width: 16.62vw;
  }

  .page-thyroid-lp .smooth-back-to-top-button.btn-right-side {
    right: 10px;
    bottom: 90px;
  }
}

/* このページのみ：トップへ戻るボタン位置調整（PC） */
.page-thyroid-lp .smooth-back-to-top-button.btn-right-side {
  right: 15px;
  bottom: 110px;
}
