/* これらのプロパティが入る際は全部打ち消して書き直すこと
    border: 0;
    font-size: 100%;
    font: inherit;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
*/
/* TailWindCSSのプロパティ上書き */
.mx-auto {
  margin-inline: auto;
}

.px-4 {
  padding-inline: calc(var(--spacing) * 4);
}

.font-bold {
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
}

.border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
}

.shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.mb-0 {
  margin-bottom: 0;
}

.py-3 {
    padding-block: calc(var(--spacing) * 3);
}

.px-12 {
    padding-inline: calc(var(--spacing) * 12);
}

.border-gray-300 {
    border-color: var(--color-gray-300);
}

.border {
    border-style: var(--tw-border-style);
    border-width: 1px;
}

.mb-12 {
    margin-bottom: calc(var(--spacing) * 12);
}

.mb-16 {
    margin-bottom: calc(var(--spacing) * 16);
}

.leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
}

.pt-\[120px\] {
    padding-top: 120px;
}

.py-10 {
    padding-block: calc(var(--spacing) * 10);
}

.-mt-24 {
    margin-top: calc(var(--spacing) * -24);
}

.border-l-transparent {
    border-left-color: transparent;
}

.border-r-transparent {
    border-right-color: transparent;
}

.border-t-\[\#000033\] {
    border-top-color: #000033;
}

.border-l-\[24px\] {
    border-left-style: var(--tw-border-style);
    border-left-width: 24px;
}

.border-r-\[24px\] {
    border-right-style: var(--tw-border-style);
    border-right-width: 24px;
}

.border-t-\[24px\] {
    border-top-style: var(--tw-border-style);
    border-top-width: 24px;
}

.py-20 {
    padding-block: calc(var(--spacing) * 20);
}

.p-5 {
    padding: calc(var(--spacing) * 5);
}

.mt-1 {
    margin-top: calc(var(--spacing) * 1);
}

.p-6 {
    padding: calc(var(--spacing) * 6);
}

.py-10 {
    padding-block: calc(var(--spacing) * 10);
}

.mb-10 {
    margin-bottom: calc(var(--spacing) * 10);
}

.pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
}

.border-gray-200 {
    border-color: var(--color-gray-200);
}

.border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
}

.mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
}

.mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
}

.mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
}

.py-5 {
    padding-block: calc(var(--spacing) * 5);
}

.px-10 {
    padding-inline: calc(var(--spacing) * 10);
}

.border-gray-100 {
    border-color: var(--color-gray-100);
}

.mr-4 {
    margin-right: calc(var(--spacing) * 4);
}

.text-2xl {
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
    color: #50505a;
}
/* 共通カラーの設定 */
.text-brand-red { color: #d7003a; }
.bg-brand-red { background-color: #d7003a; }
.border-brand-red { border-color: #e6002d; }
.bg-brand-navy { background-color: #00004c; }
.bg-light-gray { background-color: #f7f7f7; }

.btn-hover {
  transition: all 0.3s ease;
}
.btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 診断選択肢のホバーエフェクト */
.option-btn {
    transition: all 0.2s ease;
    border: 3px solid #f3f3f5;
    border-radius: 12px;
  
}
.option-btn:hover {
    border-color: #d7003a;
    background-color: #fffafb;
}
.option-btn:hover .option-label {
    background-color: #d7003a;
    color: white;
}
.option-btn:hover .option-text {
    color: #d7003a;
}

.dxd_first-view {
  background: #f3f3f5;
  padding: 160px 0 0;
  position: relative;
  height: fit-content;
  margin: 0;
}

.dxd_first-view h1 {
  font-size: 54px;
  line-height: 64px;
  margin: 0 auto 20px;
}

.dxd_first-view h1 + p {
  font-size: 16px;
  line-height: 20px;
}

.dxd_first-view-cnt {
  margin: 0 auto 36px;
}

.dxd_apeal {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.dxd_apeal p {
  font-size: 16px;
  line-height: 23.64px;
}

.dxd_cta-button {
  display: grid;
  place-content: center;
  margin: 0 auto;
  width: 250px;
  height: 46px;
  padding-left: 37px;
  border-radius: 23px;
  border: 1px solid #d7003a;
}

.dxd_cta-button a {
  font-size: 14px;
}

.dxd_cta-button a::after {
  display: inline-block;
  content: "";
  width: 11.25px;
  height: 9.75px;
  background-color: #d7003a;
  clip-path: polygon(50% 9.75px, 0% 0%, 11.25px 0%);
  margin-left: 30px;
}

.dxd_first-view-bg {
  width: 100%;
  aspect-ratio: 586 / 97;
  background: #f3f3f5 url("https://www.members.co.jp/hubfs/lp/dx-diagnosis/images/img_1.png") no-repeat;
  background-size: cover;
  margin: 0 auto 70px;
}

.speech-bubble {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid #d7003a;
  background-color: #fff;
  padding: 0 28px;
  margin: 0 0 48px;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 24px 6px 0 6px;
  border-color: #d7003a transparent transparent;
  translate: -50% 100%;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 27px 6px 0 6px;
  border-color: #ffffff transparent transparent;
  translate: -63% 100%;
}

.speech-bubble h2, .speech-bubble h2 span {
  font-size: 26px;
  line-height: 78px;
}

.dxd_card-wrap {
  display: grid;
  place-content: center;
  place-items: center;
}

.dxd_card {
  width: 250px;
  padding: 36px 16px;
  border-radius: 12px;
  box-shadow: 0 5px 10px 5px rgba(132, 132, 133, 0.3);
}

.dxd_card p {
  font-size: 14px;
}

.dxd_card-wrap:first-of-type .dxd_card-img {
  background: url("https://www.members.co.jp/hubfs/lp/dx-diagnosis/images/img_2.png") no-repeat;
  height: 150px;
  width: 100%;
  background-position: center;
  margin-top: -39px;
}

.dxd_card-wrap:nth-of-type(2) .dxd_card-img {
  background: url("https://www.members.co.jp/hubfs/lp/dx-diagnosis/images/img_3.png") no-repeat;
  height: 150px;
  width: 100%;
  background-position: center;
  margin-top: -39px;
}

.dxd_card-wrap:nth-of-type(3) .dxd_card-img {
  background: url("https://www.members.co.jp/hubfs/lp/dx-diagnosis/images/img_4.png") no-repeat;
  height: 150px;
  width: 100%;
  background-position: center;
  margin-top: -39px;
}

.dxd_banner {
  width: 756px;
  margin: -96px auto 0;
  padding: 20px 207px;
  border-radius: 45px;
}

.dxd_banner h3 {
  font-size: 18px;
  margin-bottom: 0;
  line-height: 23px;
}

.dxd_banner h3 span {
  font-size: 16px;
  line-height: 23px;
}

.dxd_main {
  margin-top: calc(-113px / 2);
  padding-top: 150px;
}

#diagnosis-container {
  border-radius: 12px;
}

.dxd_main-h2 {
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 10px;
}

.dxd_main-lead {
  font-size: 14px;
  line-height: 26px;
}

.dxd_start-button {
  margin: 0 auto 24px;
  border-radius: 32px;
  font-size: 14px;
  cursor: pointer;
}

.dxd_start-annotation {
  font-size: 12px;
}

#question-text {
  font-size: 24px;
  line-height: 26px;
}

#result-screen h2 {
  font-size: 24px;
}

#result-title {
  margin-bottom: 0;
  font-size: 36px;
}

.mktoHtmlText h3 span {
  display: block;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  width: calc(100% + 48px);
}

.mktoHtmlText h3 + div strong span {
  display: block;
}

input, select {
  background: #fff;
}

@media only screen and (max-width: 950px) {
  .dxd_first-view h1 {
    font-size: 48px;
  }
}


@media only screen and (max-width: 874px) {
  .dxd_first-view {
    padding: 190px 0 0;
    height: fit-content;
  }

  .dxd_first-view-cnt {
    margin: 0;
  }

  .dxd_first-view-bg {
    background-position: 30% bottom;
    background-size: auto;
    padding: 0 0 250px;
  }

  .dxd_first-view h1 {
    font-size: 34px;
    line-height: 41px;
  }

  .dxd_first-view h1 + p {
    font-size: 14px;
    line-height: 20px;
  }

  .dxd_apeal p {
    font-size: 16px;
    line-height: calc(47.27px / 2);
  }

  .speech-bubble {
    padding: 40px 28px;
  }


  .speech-bubble h2, .speech-bubble h2 span {
    font-size: 26px;
    line-height: 30px;
  }

  .dxd_cards {
    place-content: center;
  }

  .dxd_card-wrap {
    place-items: flex-end;
    grid-template-rows: 1fr 15px;
  }

  .dxd_card-wrap:nth-of-type(odd) {
    grid-template-columns: 1fr 12px 92px;
  }

  .dxd_card-wrap:nth-of-type(odd) .dxd_card {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
  
  .dxd_card-wrap:nth-of-type(odd) .dxd_card-img {
    grid-row: 2 / 3;
    grid-column: 2 / 4;
    background-position: center bottom;
  }

  .dxd_card-wrap:nth-of-type(even) {
    grid-template-columns: 32.4% 12px 1fr;
  }

  .dxd_card-wrap:nth-of-type(even) .dxd_card {
    grid-row: 1 / 2;
    grid-column: 2 / 4;
  }

  .dxd_card-wrap:nth-of-type(even) .dxd_card-img {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    background-position: center bottom;
  }

  .dxd_card-wrap:nth-of-type(2) .dxd_card-img {
    background: url("https://www.members.co.jp/hubfs/lp/dx-diagnosis/images/img_3-sp.png") no-repeat;
    margin-right: -27px;
  }

  .dxd_banner {
    margin: 0 auto;
    padding: 20px 13.5px;
    border-radius: 12px;
    width: 83%;
  }

  .dxd_banner h3 span {
    font-size: 14px;
    line-height: 21px;
  }

  .dxd_banner h3 {
    font-size: 18px;
    line-height: 23px;
  }

  .dxd_main {
    margin-top: calc(-132px / 2);
  }

  #question-screen {
    height: calc(1267px / 2);
    padding: 21px;
    position: relative;
  }

  #options-container {
    position: absolute;
    bottom: 52px;
    left: 0;
  }

  .option-btn {
    padding: 24px;
  }

}