@charset "UTF-8";
/* =============================================
  リセット・全体設定
============================================= */
html {
  background: #ccc;
  line-height: 1.5;
  /* scroll-behavior: smooth; */
}

html,
body {
  min-height: 100vh;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html * {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

body {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fffce9;
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  position: relative;
}

main {
  flex: 1;
  padding-top: 50px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

label {
  display: block;
}

dl,
dt {
  margin: 0;
  padding: 0;
}
dd {
  margin-left: 30px;
}

a {
  color: inherit;
  text-decoration: none;
}

a img {
  border: 0;
}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrapper {
  width: 100%;
}

.hbspt-form {
  display: none;
}

.error-text,
.error-msg.error-text {
  margin-top: 10px;
  color: #a90808;
  font-size: 14px;
  line-height: 1.45;
}

main,
#sec2,
#sec3,
#sec4,
#sec5,
#sec6 {
  overflow-anchor: none;
}

/* =============================================
  ヘッダー
============================================= */
header {
  position: relative;
  z-index: 50;
}

header .logo {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100%);
  height: 50px;
  margin: 0;
  padding: 6px 10px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.logo > a > img {
  width: 110px;
  padding: 7px 0;
}

.header_text {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.3;
  color: #2b2b2b;
}

/* =============================================
  共通セクション
============================================= */
#sec1,
#sec2,
#sec3,
#sec4,
#sec5,
#sec6 {
  width: 100%;
}

#sec2,
#sec3,
#sec4,
#sec5 {
  color: #020652;
  padding-top: 10px;
  padding-bottom: 24px;
}

#sec2 .wrapper,
#sec3 .wrapper,
#sec4 .wrapper,
#sec5 .wrapper {
  margin-top: 30px;
  margin-bottom: 28px;
}

.diagnostic_items {
  padding-left: 30px;
  padding-right: 30px;

}
.formHead {
  display: block;
  color: #020652;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  padding-left: 2.2em;
  text-indent: -1.6em;
}

.formHead span {
  font-weight: 400;
}

/* =============================================
  sec1 トップページ
============================================= */
.topTextBox {
  width: 100%;
}

.topTextBox img {
  display: block;
  width: 100%;
}

.worries {
  position: relative;
  padding: 28px 24px 40px;
  text-align: center;
}

.worries h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #2b2b2b;
}

.worries ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.worries-item {
  display: inline-block;
  padding: 12px 20px;
  background: #1e7b68;
  border-radius: 999px;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.5;
}

.worries-item-big {
  padding: 12px 30px !important;
}

.worries img {
  display: block;
  margin: 12px 0 0 auto;
  width:65%;
}

.reason {
  line-height: 1.9;
  padding-left: 30px;
}

.highlight_1 {
  font-weight: 700;
}

.reason_box_wrap {
  margin: 24px 0 28px;
}

.reason_box_title {
  padding-bottom: 10px;
}
.reason_failure_box {
  display: inline-block;
  padding: 20px 16px 12px;
  margin-right: 30px ;
  border: 2px dashed #d7b24a;
  background-color: #FFF;
}

.reason_failure_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason_failure_list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reason_failure_list li + li {
  margin-top: 18px;
}

.reason_label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 8px 0px;
  background: #2b6b63;
  color: #fff;
  /* font-size: 28px;
  font-weight: 700; */
  line-height: 1;
  white-space: nowrap;
}

.reason_text {
  color: #2b6b63;
  /* font-size: 28px; */
  line-height: 1.6;
}

.highlight_1 {
  position: relative;
  display: inline-block;
  font-size: 1.35em;
  font-weight: 700;
  z-index: 0;
}

.highlight_1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.38em;
  background: #85d8ca;
  z-index: -1;
}

.reason_img img {
  width: 80%;
}

.diagnostic_apl {
  padding: 48px 24px 40px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    #fffce9 0,
    #f4f1df 110px,
    #c0e4de 110px,
    #c0e4de 100%
  );
}

.diagnostic_apl h3 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.35;
  color: #2f2f2f;
}

.diagnostic_apl > div {
  margin-top: 30px;
  line-height: 2;
  color: #2f2f2f;
  position: relative;
  display: inline-block;
  padding-bottom: 24px;
}

.diagnostic_apl > div::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(360px, 100%);
  border-bottom: 2px dotted #f0ab2e;
}

.highlight_org {
  position: relative;
  display: inline-block;
  font-weight: 700;
  z-index: 0;
}

.highlight_org::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.25em;
  width: 100%;
  height: 0.32em;
  background: #ffba3a;
  z-index: -1;
}

.diagnostic_apl ul {
  margin-top: 30px;
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.diagnostic_apl .conditions-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: #2f2f2f;
  text-align: left;
}

.diagnostic_apl .conditions-item img {
  width: 34px;
  flex-shrink: 0;
}

.me-message {
  margin-top: 28px;
  text-align: center;
}

.me-message img {
  width: 90%;
}

/* =============================================
  CTAバナー
============================================= */
.banner_wrapper {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: linear-gradient(to bottom, #ffbd94 0%, #e25a07 100%);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
}

.banner {
  padding: 8px 16px 10px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.45;
}

.banner_1 {
  font-size: 1.45rem;
}

.banner_2 {
  display: inline-block;
  background: linear-gradient(to right, #040850 38%, #7d84ff 87%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.banner_3 {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.banner a img {
  width: 60%;
  padding: 18px 0 4px;
}

/* =============================================
  ラジオボタン（Q1）
============================================= */
.formList {
  display: flex;
  gap: 28px;
  justify-content: flex-start;
  padding-top: 8px;
}

.checkbox {
  display: block;
  text-align: center;
  cursor: pointer;
}

.checkbox input {
  display: none;
}

.checkbox .box {
  display: block;
  min-width: 126px;
  padding: 18px 16px;
  text-align: center;
  background: #e8f6f4;
  color: #0fa898;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 4px 4px 6px rgba(15, 168, 152, 0.22);
  transition: all 0.2s ease;
}

.checkbox input:checked + .box {
  background: #0fa898;
  color: #fff;
  box-shadow: none;
  transform: translateY(2px);
}

/* =============================================
  セレクト共通
============================================= */
.select-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.formSelect {
  width: 100%;
  height: 56px;
  padding: 0 56px 0 18px;
  color: #0fa898;
  background: #f6f3e6;
  border: 2px solid #0fa898;
  border-radius: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  box-shadow: 2px 4px 6px rgba(15, 168, 152, 0.18);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 13px;
  height: 13px;
  border-right: 2px solid #0fa898;
  border-bottom: 2px solid #0fa898;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.formSelect:focus {
  border-color: #11a39a;
  box-shadow: 0 0 0 4px rgba(23, 176, 166, 0.12);
}

.formSelect option {
  color: #17b0a6;
  background: #fff;
  font-weight: 700;
}

/* =============================================
  input共通
============================================= */
.input {
  width: 100%;
  max-width: 360px;
  height: 56px;
  padding: 0 18px;
  background: #f6f3e6;
  border: 2px solid #0fa898;
  border-radius: 16px;
  box-shadow: 2px 4px 6px rgba(15, 168, 152, 0.18);
  outline: none;
  color: #2b2b2b;
  font-size: 1rem;
}

.input::placeholder {
  color: #89cfc7;
}

.input:focus {
  border-color: #11a39a;
  box-shadow: 0 0 0 4px rgba(23, 176, 166, 0.12);
}

/* =============================================
  次へボタン共通
============================================= */
.nextButtons {
  display: flex;
  justify-content: center;
  margin-top: 52px;
  padding-bottom: 8px;
}

.nxt-btn {
  width: 100%;
  max-width: 240px;
  padding: 20px 16px;
  background: linear-gradient(to right, #020652 0%, #040db8 100%);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.22);
  text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nxt-btn:active {
  transform: translateY(2px);
}

.nxt-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* =============================================
  sec3 / sec4 補助表示
============================================= */
.page-note {
  position: relative;
  margin-top: 18px;
}

.remaining-text {
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
  margin: 0 92px 8px 0;
  color: #2b2b2b;
}

.page-note .cheer,
.cheer {
  display: block;
  width: 200px;
  margin-left: auto;
}

/* =============================================
  sec5
============================================= */
.privacy {
  margin-bottom: 12px;
}

.privacy p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.privacy a {
  color: #08b7a8;
  font-weight: 700;
  text-decoration: none;
}

.formButtons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  padding-bottom: 24px;
}

.cta-btn {
  width: 100%;
  max-width: 330px;
  padding: 18px 16px;
  background: linear-gradient(to right, #020652 0%, #040db8 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 999px;
  text-align: center;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.22);
}

.comparison {
  margin-top: 90px;
  margin-bottom: 32px;
  text-align: center;
}

.comparison-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
  text-align: left;
}

.comparison img {
  width: 100%;
  max-width: 470px;
}

.firstname {
  margin-top: 10px;
}

/* =============================================
  sec6 Thanks / 診断結果
============================================= */
#sec6 {
  padding-bottom: 80px;
}

.thanks-message {
  text-align: center;
  padding-top: 34px;
  padding-bottom: 24px;
}

.thanks-title {
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
}

.thanks-text {
  line-height: 1.8;
}

.diagnosis-result {
  background: linear-gradient(
  120deg,
  #020652 0%,
  #040DB8 50%,
  #2c36ff 100%
);
  padding: 27px 24px 34px;
  text-align: center;
}

.diagnosis-heading {
  font-size: 2.5rem;
  font-weight: 300;
  color: #81FFF2;
  line-height: 1.1;
  margin-bottom: 18px;
}

.diagnosis-rank-text {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 28px;
}

.diagnosis-rank {
  display: inline-block;
  margin-left: 10px;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: #f7a226;
}

.diagnosis-notes {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.diagnosis-notes p {
  font-size: 0.8rem;
  color: #fff;
}

.diagnosis-comment {
  padding-top: 18px;
}

.diagnosis-comment-box {
  text-align: center;
}

.diagnosis-comment-box p {
  line-height: 1.8;
  margin: 0;
}

.diagnosis-comment-box strong {
  font-size: 1.6em;
  line-height: 1.5;
  display: inline-block;
  transform: translateY(-0.05em);
}

.diagnosis-comment-box div {
  background: #FFF;
  padding: 20px 10px;
  margin: 0 25px;
}

.diagnosis-comment-box p {
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 700;
  color: #111;
}

.diagnosis-comment-box strong {
  font-size: 1.6rem;
  font-weight: 700;
}

.meeting-guide {
  text-align: center;
  padding: 36px 24px 18px;
}

.meeting-guide p {
  font-size: 1rem;
  color: #222;
}

.meeting-area {
  min-height: 400px;
}

.meetings-iframe-container {
  min-height: 600px;
}
@media (max-width: 768px) {
  .meetings-iframe-container {
    min-height: 500px;
  }
}

/* =============================================
  フッター
============================================= */
footer {
  margin-top: auto;
  z-index: 10;
}

footer .wrapper {
  padding: 10px 0 8px;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.4;
}

footer > .wrapper > ul {
  padding: 0;
  margin-bottom: 4px;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #4BCCBE;
}

/* =============================================
  戻るボタン（将来利用）
============================================= */
.prevBtn {
  margin-top: 24px;
  margin-left: 25px;
  font-size: 0.75rem;
  color: #fff;
}

.dli-chevron-round-left {
  display: inline-block;
  vertical-align: middle;
  color: #737373;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  transform: translateX(25%) rotate(-135deg);
}

.dli-chevron-round-left::before,
.dli-chevron-round-left::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 0.1em;
}

.dli-chevron-round-left::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

.dli-chevron-round-left::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

/* =============================================
  レスポンシブ微調整
============================================= */
@media (max-width: 480px) {
  .logo > a > img{
    width: 80px;
    padding-bottom: 12px;
  }

  .header_text {
    font-size: 0.6rem;
  }

  .thanks-title,
  .worries h2 {
    font-size: 1rem;
  }

  .worries-item {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .worries-item-big {
    padding: 8px 20px !important;
  }

  .reason {
    padding-left: 10px;
    font-size: 0.8rem;
  }

  .reason_box_wrap{
    margin: 10px 0 20px;
  }

  .reason_failure_box{
    padding: 8px 12px;
  }

 .reason_label {
    min-width: 62px;
    padding: 6px 0;
  }

  .reason_failure_list li + li{
    margin-top: 10px;
  }

  .diagnostic_apl h3 {
    font-size: 1.3rem;
  }

  .diagnostic_apl {
    padding: 70px 24px 40px;
  }

  .diagnostic_apl .conditions-item img {
    width: 24px;
  }

  .diagnostic_apl .conditions-item {
    font-size: 1.2rem;
    gap: 10px;
  }

  .diagnostic_apl > div,
  .formHead,
  label,
  .thanks-text, 
  .diagnosis-comment-box p,
  .meeting-guide p{
    font-size: 1rem;
  }

  .checkbox .box{
    padding: 22px 10px;
  }

  .checkbox .box {
    min-width: 120px;
    font-size: 1.1rem;
  }

  .select-wrap {
    max-width: 260px;
  }

  .formSelect{
    height: 48px;
    padding: 0 48px 0 14px;
    font-size: 0.8rem;
  }

  .input {
    height: 48px;
    padding: 0 14px;
    font-size: 0.8rem;
    max-width: 260px;
  }

  .formSelect option {
    font-size: 0.8rem;
  }

  .nxt-btn {
    font-size: 1.25rem;
    max-width: 200px;
    padding: 16px 12px;
  }

  .page-note .cheer, .cheer {
    width: 200px;
  }

  .privacy p {
    font-size: 0.6rem;
    margin-left: 34px;
  }

  .cta-btn {
    font-size: 1.2rem;
    max-width: 250px;
    padding: 12px 0;
  }

  .diagnosis-heading {
    font-size: 2rem;
  }

  .diagnosis-result {
    background: linear-gradient(
    120deg,
    #020652 0%,
    #040DB8 80%,
    #2c36ff 100%
  );
  }

  .diagnosis-notes p {
    font-size: 0.6rem;
  }

  .diagnosis-rank-text {
    font-size: 1.45rem;
  }

  .diagnosis-rank {
    font-size: 2.8rem;
  }

  .diagnosis-comment-box strong {
    font-size: 1.35rem;
  }

  .thanks-text {
    font-size: 0.8rem;
  }

  .banner a img {
    width: 70%;
    padding: 8px 0 0;
  }
  
  .banner,.banner_3 {
    font-size: 0.8rem;
  }
  
  .banner_1, .banner_2 {
    font-size: 1rem;
  }

  footer .wrapper {
    font-size: 0.5rem;
  }
}

/* =============================================
  トップページアニメーション
============================================= */
.worries-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.worries-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

.doctor-img {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.doctor-img.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
  診断アニメーション
============================================= */
.page-note .cheer,
.cheer {
  transform-origin: right bottom;
}

.page-note .cheer.is-wave,
.cheer.is-wave {
  animation: cheerSwing 0.9s ease-in-out 2;
}

@keyframes cheerSwing {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(8deg); }
  40%  { transform: rotate(-6deg); }
  60%  { transform: rotate(5deg); }
  80%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}