@charset "utf-8";

body {
  max-width: 414px;
  margin: 0 auto !important;
}

@media screen and (min-width: 415px) {/* for PC */
  body {
    box-shadow: 0 0 10px rgba(95, 94, 94, 0.3);
  }

  ul.nl li:nth-child(2n) a {
    border-right: none;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* top-area */
.top-area {
  text-align: center;
  background: #f7f7f7;
}

.question-section {
  padding: 15px;
  background: #f7f7f7;
}

.question-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
}

.progress-percent {
  font-size: 12px;
  color: #6b7280;
  display: none; /* パーセンテージ表示を非表示 */
}

.progress-section {
  margin-bottom: 8px;
}

.question-counter {
  background: #f7f7f7;
  font-size: 12px;
  color: #6b7280;
}

/* ナビゲーションセクション */
.navigation-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

/* 次の質問へボタン */
.next-button {
  background: #301e5d;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  height: 58px;
  width: 96%;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.next-button:hover:not(:disabled) {
  background: #241649 !important;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-1px);
}

.next-button:active:not(:disabled) {
  background: #1a0f35;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

.next-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

/* 前の質問に戻るリンクコンテナ */
.prev-link-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 前の質問に戻るリンク */
.prev-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b7280 !important;
  text-decoration: none !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.prev-link::before {
  content: '';
  width: 8px;
  height: 13px;
  background-image: url('../../../images/campaign/mentalpersonality/link-arrow-back.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
  display: inline-block;
  vertical-align: center;
  transform: translateY(1px);
}

.prev-link:hover {
  color: #4f3987 !important;
  text-decoration: none !important;
}

.prev-link:visited {
  color: #6b7280 !important;
  text-decoration: none !important;
}

.prev-link:active {
  color: #4f3987 !important;
  text-decoration: none !important;
}

.prev-link:link {
  color: #6b7280 !important;
  text-decoration: none !important;
}

.question-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.6;
  min-height: 51px;
  display: flex;
  align-items: center;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* オプションボタン */
.option-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  height: 58px;
  border: 1px solid #c2c8d1;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: normal;
  box-sizing: border-box;
}

/* Hover状態 - 薄紫背景（selected状態でない場合のみ） */
.option-button:hover:not(.selected) {
  background: #f0ecfa !important;
  border-color: #c2c8d1 !important;
  color: #333 !important;
  opacity: 0.7 !important;
}

/* Press状態 - 紫ボーダー（selected状態でない場合のみ） */
.option-button:active:not(.selected) {
  background: white !important;
  border-color: #8c7bb4 !important;
  color: #4f3987 !important;
  opacity: 0.7 !important;
}

/* Selected状態 - 紫ボーダー、紫テキスト、シャドウ */
.option-button.selected {
  background: white !important;
  border-color: #4f3987 !important;
  color: #4f3987 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  box-shadow: 0 2px 6px 0 rgba(57, 48, 109, 0.13) !important;
}

/* Selected状態のhover - 選択状態を維持 */
.option-button.selected:hover {
  background: white !important;
  border-color: #4f3987 !important;
  color: #4f3987 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  box-shadow: 0 4px 10px 0 rgba(57, 48, 109, 0.2) !important;
}

/* オプションボタンのコンテンツ - 左揃えのテキスト表示 */
.option-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.option-text {
  color: inherit;
  line-height: 1.4;
  font-size: inherit;
  font-weight: inherit;
  width: 100%;
  text-align: left;
}

.option-letter,
.arrow-icon {
  display: none;
}

.progress-info {
  padding: 0 2%;
}

.progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #301e5d, #5cb5c4);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* 結果画面のスタイル */
.result-section {
  display: none;
}

.result-description {
  font-size: 14px;
  line-height: 1.7;
}

.result-header {
  background: linear-gradient(to right, #6366f1, #06b6d4);
  color: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.result-type {
  font-size: 2rem;
  font-weight: bold;
}

.result-content {
  display: flex;
  flex-direction: column;
}

.result-item {
  text-align: center;
  margin-top: 24px;
}

.result-content > .result-item:first-child {
  margin-top: 0;
}

.result-item h3 {
  background: #301e5d;
  color: white;
  border-radius: 100px;
  padding: 5px 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  display: inline-block;
  line-height: 1.2;
  width: 80%;
}

.result-item p {
  line-height: 1.6;
}

/* 画像とコンテンツのレイアウト */
.strengths-section,
.stress-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.overview-section {
  background: #f7f7f7;
  text-align: left;
  padding: 20px 20px 10px;
}

.strengths-section {
  padding: 0 15px;
}

.stress-section {
  padding: 0 15px;
}

.result-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-list li {
  display: flex;
  align-items: flex-start;
}

.list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 12px;
  margin-top: 8px;
  flex-shrink: 0;
}

/* セルフケア上下の調整 */
.selfcare-upper {
  transform: translateY(8px);
}

.selfcare-end {
  transform: translateY(-24px);
  z-index: -10;
  position: relative;
}

/* セルフケアセクション */
.selfcare-section {
  padding: 15px 20px;
  background-color: #f6f3f7;
}

.selfcare-title {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.selfcare-overview {
  margin-bottom: 16px;
}

.selfcare-overview h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.selfcare-overview p {
  line-height: 1.7;
  font-size: 14px;
  text-align: left;
}

.selfcare-items {
  background-color: white;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  position: relative;
  text-align: right;
}

.selfcare-items h4 {
  font-size: 20px;
  font-weight: bold;
  color: #58608a;
  margin-bottom: 0;
  text-align: center;
  position: relative;
  width: 100%;
}

.selfcare-items-inner img {
  display: block;
  margin: 0 auto;
}

.selfcare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-self: flex-start;
  text-align: left;
}

.selfcare-items span {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  margin: 0;
  position: relative;
  padding-left: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.selfcare-items span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #301e5d, #3d5861);
  border-radius: 2px;
}

.selfcare-items p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding-left: 25px;
  text-align: left;
}

/* Professional Help Section */
.professional-help-section {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid #f59e0b;
}

.professional-help-section p {
  color: #92400e;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-container {
  margin-top: 20px;
}

.cta-button {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  text-decoration: none;
  display: inline-block;
}

.cta-button:visited {
  color: white !important;
  text-decoration: none !important;
}

.cta-button:link {
  color: white !important;
  text-decoration: none !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white !important;
  text-decoration: none !important;
}

.cta-button:active {
  transform: translateY(0);
  color: white !important;
  text-decoration: none !important;
}

.reset-button {
  background: #fff;
  color: #301e5d;
  border: 1px solid #301e5d;
  border-radius: 50px;
  padding: 16px 32px;
  height: 58px;
  max-width: 300px;
  width: 90%;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reset-button:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.button-section {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* SNS共有ボタンのスタイル */
.action-section {
  padding: 0 15px;
  text-align: center;
}

.share-section {
  position: relative;
  padding: 20px 40px;
}

.share-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
  margin-top: -10px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: auto;
}

.share-title::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%) rotate(-30deg);
  width: 2px;
  height: 20px;
  background-color: #6b7280;
  border-radius: 2px;
}

.share-title::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
  width: 2px;
  height: 20px;
  background-color: #6b7280;
  border-radius: 2px;
}

.share-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  height: 58px;
  min-width: 139px;
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

.share-x {
  background: #000;
  width: 139px;
}

.share-line {
  background: #06c755;
  width: 148px;
}

.share-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.share-line .share-icon {
  width: 36px;
  height: 36px;
}

/* btn-wrap-img 中央揃え */
.btn-wrap-img {
  text-align: center;
}

/* LINEお友達追加セクション */
.line-add-section {
  background-color: #eafaf3;
  padding: 30px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.line-add-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: 321px;
  max-width: 100%;
}

.line-friend-image {
  width: 321px;
  height: 161px;
  position: relative;
  text-align: center;
  max-width: 100%;
}

.line-friend-image img {
  width: 90%;
  height: auto;
  max-width: 100%;
}

.line-description {
  text-align: center;
  line-height: 1.7;
  color: #0ca795;
  font-weight: 500;
  padding: 0 0 15px;
}

.line-description .line-green {
  color: #0ca795;
  font-weight: 600;
}

.line-register-button {
  background: #06c755;
  border-radius: 5px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px;
  width: 96%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}

.line-button-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.line-button-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.line-icon {
  width: 35px;
  height: 38px;
  flex-shrink: 0;
}

.line-button-text {
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
  white-space: nowrap;
}

.line-button-sub {
  font-size: 11px;
  color: white;
  text-align: center;
  margin: 2px 0 0 0;
  font-weight: normal;
}

.line-register-button:hover {
  background: #05b84d;
  text-decoration: none;
  color: white;
}

.line-register-button:visited,
.line-register-button:link,
.line-register-button:active {
  color: white !important;
  text-decoration: none !important;
}

/* カウンセラーセクション */
.counselor-section {
  background: white;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.counselor-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.counselor-title {
  text-align: center;
  position: relative;
}

.counselor-title p {
  font-size: 18px;
  font-weight: bold;
  color: #0ca795;
  line-height: normal;
  margin: 0;
  white-space: nowrap;
}

.counselor-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 3px;
  border-bottom: 3px dashed #0ca795;
}

.counselor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0 11px 0;
}

.counselor-text {
  padding: 16px 0 20px;
  max-width: 90%;
  text-align: center;
}

.counselor-text p {
  line-height: 1.7;
  margin: 0;
}

.counselor-image {
  text-align: center;
  max-width: 100%;
}

.counselor-image img {
  width: 90%;
  height: auto;
  max-width: 100%;
}

.m-btn-cv {
  background: #0ca795;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  display: block;
  padding: 16px 0;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  width: 90%;
}

.m-btn-cv:link,
.m-btn-cv:visited,
.m-btn-cv:hover,
.m-btn-cv:active {
  text-decoration: none !important;
  color: #fff !important;
}

.btn-wrap {
  padding: 0 20px 20px;
}

.btn-wrap-img img {
  width: 90%;
  height: auto;
  max-width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 350px) {
  .line-button-text {
    font-size: 16px;
  }
}

/* カウンセラー一覧
--------------------------------------------------------- */
.counselor-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.counselor-list > li {
  width: 48%;
  margin: 0 0 25px !important;
}

.counselor-list > li:nth-child(n+3) {
  margin-top: 15px;
}

.counselor-list > li.is-hidden {
  display: none;
}

a.counselor-box {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  font-size: 11px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

a.counselor-box:hover {
  opacity: 0.8;/* for PC */
  text-decoration: none;/* for PC */
}

a.counselor-box .status {
  display: inline-block;
  line-height: 1;
  margin-bottom: 0;
  position: absolute;
  top: 0;
  left: 0;
}

a.counselor-box .status > span {
  background: none;
  border: none;
  color: #fff;
}

a.counselor-box .status > span::before {
  content: "";
  border: 30px solid transparent;
  border-top: 30px solid #bfbfbf;
  border-left: 30px solid #bfbfbf;
  border-radius: 7px 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
}

a.counselor-box .status > span .text {
  transform: rotate(-45deg);
  background: none;
  border: none;
  color: #fff;
  position: absolute;
  top: 11px;
  left: -16px;
  padding: 0;
  min-width: 76px;
  line-height: 16px;
}

a.counselor-box .status > span.staOn::before {
  border-top-color: #d5e5f3;
  border-left-color: #d5e5f3;
}

a.counselor-box .status > span.staOn .text {
  color: #354994;
}

a.counselor-box .status > span.staStd::before {
  border-top-color: #354994;
  border-left-color: #354994;
}

a.counselor-box .status > span.staOut::before {
  border-top-color: #bfbfbf;
  border-left-color: #bfbfbf;
}

a.counselor-box p {
  color: #404040;
}

a.counselor-box .photo {
  width: 65px;
  height: 65px;
  border-radius: 999em;
  margin: 0 auto 10px;
  overflow: hidden;
}

a.counselor-box .photo img {
  max-width: 100%;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

a.counselor-box .name {
  font-size: 14px;
  font-weight: bold;
}

a.counselor-box .catchcopy {
  background: #f9f9f9;
  padding: 10px;
  margin-top: 10px;
  line-height: 1.5;
  text-align: left;
}

.ac-btn-more {
  color: #515151;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.ac-btn-more:link,
.ac-btn-more:visited,
.ac-btn-more:hover,
.ac-btn-more:active {
  color: #515151 !important;
  text-decoration: none !important;
}

.ac-btn-more:hover {
  opacity: 0.8;/* for PC */
}

.connect-ttl {
  color: #76a43b;
  text-align: center;
}

.connect-ttl span {
  border-bottom: 4px solid rgb(171, 209, 122);
  font-weight: bold;
}

/* 強み・魅力とストレスの詳細説明のスタイル */
.strengths-detail,
.stress-detail {
  padding: 0 20px;
}

.strengths-detail p,
.stress-detail p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-top: 8px;
  text-align: left;
}
