@charset "Shift_jis";
:root {
  --primary-text-color: #0063b5;
  --secondary-text-color: #3c3c3c;
  --primary-white: #ffffff;
  --progress-bar-background: #e0f0ff;
  --question-background: #e1f7fd;
  --question-box-shadow: #a3e1f4;
  --submit-button-background: #064a95;
  --disabled-button-background: #b0b0b0;
  --progress-fill-start: #04a4c8;
  --progress-fill-end: #74e3fc;
  --question-button-start: #00a5d4;
  --question-button-end: #50c6db;
  --text-dark-gray: #555;
  --message-text-color: #333;
  --strong-text-color: #000;
  --table-th-color: #f7f7f7;
  --table-text-color: #4b4b4b;
  --table-border-color: #dadada;
  --table-td-bg-color: #ffffff;
  --table-title-color: #3C3C3C;
}

/*********************************************
              Common
*********************************************/

.text-center {
  text-align: center !important;
}

.d-none {
  display: none !important;
}

@media (max-width: 767.8px) {
  .sp-none {
    display: none;
  }
}

@media (min-width: 767.8px) {
  .pc-none {
    display: none;
  }
}

.hover:hover {
  opacity: 0.8;
}
.hover:disabled:hover {
  opacity: 1;
}

.bold {
  font-weight: bold !important;
}

.bg-white {
  background-color: #ffffff !important;
}

/* spacing */
.mb-1 {
  margin-bottom: 8px !important;
}

.mb-2 {
  margin-bottom: 16px !important;
}

.mb-3 {
  margin-bottom: 24px !important;
}

.mb-4 {
  margin-bottom: 32px !important;
}

.mb-5 {
  margin-bottom: 40px !important;
}

.w-100 {
  width: 100% !important;
}

.w-75 {
  width: 75% !important;
}

.w-50 {
  width: 50% !important;
}

.w-25 {
  width: 25% !important;
}

.w-10 {
  width: 10% !important;
}


.text-decoration-none {
  text-decoration: none !important;
}

.border-none {
  border: none !important;
}

/* animation */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }
}

/*********************************************
              Layout
*********************************************/
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", Osaka, "MS PGothic",
    sans-serif;
}

.main {
  background-image: url("../img/main-bg.png");
  background-repeat: repeat;
  background-position: center 0;
  padding: 82px 0 32px;
}

.mainFP {
  max-width: 767px;
  margin: 0 auto;
}

.fpnav-container {
  max-width: 658px;
  box-sizing: content-box;
  padding: 0 120px;
  margin: 0 auto;
}
@media (max-width: 767.8px) {
  .fpnav-container {
    padding: 0 16px;
  }
}

.chat-section {
  margin-bottom: 32px;
}

.question-section {
  padding: 24px;
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--question-background);
  box-shadow: 0px 0px 10px 0px var(--question-box-shadow) inset;
  margin-bottom: 40px;
  margin-right: auto;
  margin-left: auto;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFade 0.5s 1.3s;
  animation-fill-mode: both;
  margin-top: 32px;
}

/* 文字化けしているのでコメントアウト */
/* #FooterArea03 {
  font-family: "???C???I", Meiryo, "?q???M?m?p?S Pro W3",
    "Hiragino Kaku Gothic Pro", Osaka, "?l?r ?o?S?V?b?N", "MS PGothic",
    sans-serif;
} */

/*********************************************
                   Header
*********************************************/
.head-section {
  text-align: center;
  max-width: 642px;
  width: auto;
  margin: 0 auto;
  margin-top: 37px;
  margin-bottom: 56px;
}

.head-title {
  font-weight: 700;
  font-size: 54px;
  color: var(--primary-text-color);
  line-height: 150%;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.head-subtitle {
  font-size: 12px;
  color: var(--primary-text-color);
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 10%;
}

.head-subscription {
  color: var(--secondary-text-color);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.exist-login-btn {
    float: right;
    position: absolute;
    font-size: 11px!important;
    top: 25px;
    right: 0px;
}
@media (max-width: 767.8px) {
  .exist-login-btn {
      font-size: 8px!important;
      padding: 4px 6px;
      top: -30px;
  }
}

.exist-login-btn .sub-text {
  /* Forces this element onto its own line */
  display: contents; 
  /* Makes the font size smaller relative to the main text (80% of its parent's font size) */
  font-size: 0.8em; 
  /* Sets the font weight back to normal (not bold) */
  font-weight: normal; 
  /* Adds a small space above the sub-text */
  margin-top: 5px; 
}

#FooterArea03 .text {
  margin-bottom: 20px;
  font-size: 69.2%;
  line-height: 1.5;
}

#FooterArea03 .text sup {
  vertical-align: baseline;
  top: -0.5em;
}

#FooterArea03 .text img {
  vertical-align: baseline;
}

#FtCopyright {
  text-align: right;
  font-size: 69.2%;
}

@media (max-width: 767.8px) {
  #MainArea {
    padding: 0 16px;
  }

  .head-section {
    margin: 32px 0;
    padding: 0 16px;
  }

  .head-subscriptions {
    flex-direction: column;
  }

  .head-title {
    font-size: 38px;
    line-height: 125%;
    letter-spacing: 0.1em;
  }

  .progress {
    gap: 8px;
  }

  .head-section-2 {
    gap: 16px;
  }
}

/*********************************************
                  Components
*********************************************/
/* button */
.btn {
  color: var(--primary-white, #fff);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: 0px 4px 4px 0px rgba(70, 69, 69, 0.15);
  border: none;
  text-decoration: none;
  outline: none;
}
.btn:visited {
  color: var(--primary-white, #fff);
}

.btn:disabled {
  background: var(--disabled-button-background) !important;
  color: var(--text-dark-gray) !important;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-xs{
  color: white;
  font-size: 5px;
  line-height: 1.25;
  padding: 4px 8px;
  border-radius: 8px;
  background-color: #064A95;

}

.btn-s{
  color: white;
  font-size: 16px;
  line-height: 1.5;
  min-width: 96px;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #064A95;
}
.btn-s.external:after{
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("./images/external-icon-white.svg");
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

.btn-m {
  color: var(--text-dark-gray);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%; /* 16.1px */
  min-width: 288px;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: var(--primary-white);
}
.btn-m:visited {
  color: var(--text-dark-gray);
}

.btn-l {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 32px */
  min-width: 288px;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--submit-button-background);
}

.round-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 20px;
  font-weight: bold;
  line-height: 120%;
  color: var(--primary-white);
  width: calc(50% - 8px);
  min-height: 56px;
  border-radius: 100vh;
  padding: 16px 48px;
  border: none;
}
@media (max-width: 767.8px) {
  .round-btn {
    width: 100%;
  }
}

.round-btn.text-small {
  font-size: 16px;
  line-height: 125%;
}

.round-btn .sub-text {
  font-size: 10px;
  line-height: 120%;
  color: var(--text-dark-gray);
}

.round-btn.selected::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: url("./images/check-icon-white.svg") no-repeat center center;
}

.round-btn.primary {
  background-image: linear-gradient(
    to right,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
}

.round-btn.secondary {
  background-color: var(--primary-white);
  color: var(--text-dark-gray);
}
/* .round-btn.secondary.selected::before {
  background: url("./images/check-icon-blue.svg") no-repeat center center;
} */

.round-btn.selected .check-icon {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 16px;
}

@media (max-width: 767.8px) {
  .btn-group {
    padding: 0;
    width: 100%;
  }
}

.text-link{
  font-size: 14px;
  line-height: 140%;
  color: #1E00FF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link.external:after{
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("./images/external-icon-blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

/* table */
.border-table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.border-table th{
  border-bottom: 1px solid #DADADA;
  padding: 8px;
  font-size: 14px;
  line-height: 150%;
  font-weight: 700;
  background-color: white;
  text-align: left;
}
.border-table td{
  border-bottom: 1px solid #DADADA;
  padding: 8px;
  font-size: 14px;
  line-height: 150%;
  background-color: white;
  text-align: left;
}

/* progress */
.progress {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progress-bar {
  flex-grow: 1;
  height: 18px;
  background-color: var(--progress-bar-background);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-fill {
  width: 10%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    var(--progress-fill-start) 0%,
    var(--progress-fill-end) 100%
  );
  transition: width 0.4s ease-in-out;
}

.progress-percentage {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-text-color);
  flex-shrink: 0;
  line-height: 100%;
}

.progress-label {
  font-size: 12px;
  color: var(--secondary-text-color);
  display: flex;
  font-weight: 700;
}

/* note */
.note {
  margin: 0 auto 16px;
  width: 100%;
  background-color: #fbeec1;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0px 0px 10px 0px #f4d595 inset;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFade 0.5s 0.8s;
  animation-fill-mode: both;
}

.note-title {
  color: #e56f00;
  font-size: 20px;
  line-height: 140%;
  font-weight: bold;
  padding-left: 30px;
  background: url("./images/lightbulb.svg") 0 0 no-repeat;
  margin-bottom: 16px;
}
.note-title.icon-none {
  padding-left: 0;
  background: none;
}

.note-content .note-subtitle {
  font-size: 18px;
  line-height: 135%;
  margin-bottom: 16px;
}

.note-content {
  background: #fff9e4;
  border-radius: 8px;
  padding: 16px;
}

.note-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 8px;
}

.note-content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 175%;
  margin-bottom: 16px;
}

.note-content ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.th {
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  background-color: var(--table-th-color);
  color: var(--table-text-color);
  border-bottom: 1px solid var(--table-border-color);
}

.td {
  padding: 8px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 160%;
  max-height: 112px;
  vertical-align: middle;
  color: var(--table-text-color);
  background-color: var(--table-td-bg-color);
  border-bottom: 1px solid var(--table-border-color);
}

.note-content.note-table p{
  margin-bottom: 0;
}

.table-container {
  width: 100%;
}

@media (max-width: 767.8px) {
  .td b {
    font-size: 14px;
  }

  .note-content.sp {
    gap: 8px;
  }

  .table-title {
    font-size: 14px;
    color: var(--table-title-color);
  }

  .note-content.note-table {
    gap: 8px;
  }
}

/* chat message */
.chat-messages {
  width: 100%;
  position: relative;
  min-height: 50px;
  margin: 0 auto;
  padding-right: 5px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFade 0.5s 0.8s;
  animation-fill-mode: both;
  margin-bottom: 16px;
}
.chat-messages::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  position: absolute;
  top: 0;
  left: -126px;
  border: 3px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  background-size: 100%;
  background-color: #edfafd;
  background-image: url("./images/avatar_1.png");
  background-repeat: no-repeat;
  background-position: 0 9px;
}
@media (max-width: 767.8px) {
  .chat-messages {
    margin-left: 84px;
    width: calc(100% - 84px);
  }

  .chat-messages::before {
    left: -84px;
    width: 52px;
    height: 52px;
    background-position: 0 6px;
  }
}

.message-bubble {
  background-color: var(--primary-white);
  border-radius: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  width: 100%;
  min-height: 74px;
  padding: 24px;
  font-size: 16px;
}

.message-bubble::before {
  content: "";
  position: absolute;
  top: 50px;
  left: -15px;
  width: 22px;
  height: 17px;
  background-image: url("../img/vector.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

/* course-list */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.course-list::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 100%;
  background-color: #A1B8D2;
  position: absolute;
  top: 0;
  left: 24px;
  z-index: -1;
}

.course-item {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
  padding: 24px 16px;
}
.course-item::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../img/ico_circle.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.course-item.checked::before {
  background-image: url("../img/ico_circle_checked.svg");
}

@media (min-width: 767.8px) {
  .course-list{
    padding: 0 16px;
  }
  .course-list::before {
    left: 110px;
  }
  .course-item {
    padding: 24px 100px;
  }
}
