@charset "UTF-8";

/* ============================================
   LP: 健診を受けないと3つの後悔
   ============================================ */

/* Reset & Base */
.lp-regret *,
.lp-regret *::before,
.lp-regret *::after {
  box-sizing: border-box;
}

/* 親要素の余白リセット */
.mCaseArea.uiTabArea {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.uiTabPanel {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.lp-regret {
  font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.lp-regret .lp-hero {
  margin-top: 0;
}

.lp-regret img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Container */
.lp-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   Hero Section
   ============================================ */
.lp-hero {
  text-align: center;
  padding: 40px 16px;
  background-color: #887EBA;
  background-image: url('img/r_bg.png');
  background-repeat: no-repeat;
  background-position: right top;
}

.lp-hero__label {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.9);
  color: #887EBA;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.lp-hero__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #FFF571;
}

.lp-hero__title-main {
  color: #FFF571;
  font-size: inherit;
}

.lp-hero__title-emphasis {
  color: #fff;
  font-size: inherit;
}

.lp-hero__description {
  font-size: 14px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ============================================
   Regret Cards
   ============================================ */
.lp-regret-section {
  padding: 20px 16px;
  background-color: #DBD7EB;
}

.lp-regret-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lp-regret-card__header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.lp-regret-card__number {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin-right: 12px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.lp-regret-card__number-text {
  font-size: 14px;
  font-weight: 700;
}

.lp-regret-card__number-num {
  font-size: 32px;
  font-weight: 700;
}

.lp-regret-card__title {
  font-size: 16px;
  line-height: 1.4;
  flex: 1;
}

/* Toggle Icon */
.lp-regret-card__toggle {
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s, background-color 0.3s;
}

.lp-regret-card__toggle::before,
.lp-regret-card__toggle::after {
  content: '';
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.lp-regret-card__toggle::before {
  width: 14px;
  height: 3px;
}

.lp-regret-card__toggle::after {
  width: 3px;
  height: 14px;
}

/* Open state - rotate to minus */
.lp-regret-card.is-open .lp-regret-card__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lp-regret-card__header:hover .lp-regret-card__toggle {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Card color variations */
.lp-regret-card--pink .lp-regret-card__header {
  background-color: #e8a090;
}

.lp-regret-card--blue .lp-regret-card__header {
  background-color: #7eb8e0;
}

.lp-regret-card--yellow .lp-regret-card__header {
  background-color: #f5b971;
}

.lp-regret-card__body {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.lp-regret-card.is-open .lp-regret-card__body {
  padding: 16px;
  max-height: 800px;
}

.lp-regret-card__layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-regret-card__content {
  flex: 1;
}

.lp-regret-card__person {
  font-weight: bold;
  margin-bottom: 12px;
}

.lp-regret-card__quote {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.lp-regret-card--pink .lp-regret-card__quote {
  background-color: #fef2f0;
  border: 1px solid #d4726a;
}

.lp-regret-card--blue .lp-regret-card__quote {
  background-color: #eef6fc;
  border: 1px solid #4a9bd9;
}

.lp-regret-card--yellow .lp-regret-card__quote {
  background-color: #fef8ee;
  border: 1px solid #d4943e;
}

.lp-regret-card__quote-text {
  font-size: 14px;
  line-height: 1.8;
}

.lp-regret-card__quote-highlight {
  font-weight: 700;
}

.lp-regret-card--pink .lp-regret-card__quote-highlight {
  color: #d4726a;
}

.lp-regret-card--blue .lp-regret-card__quote-highlight {
  color: #4a9bd9;
}

.lp-regret-card--yellow .lp-regret-card__quote-highlight {
  color: #d4943e;
}

.lp-regret-card__detail {
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
}

.lp-regret-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.lp-regret-card__cta-label {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.lp-regret-card__link {
  text-align: center;
}

.lp-regret-card__link a {
  display: inline-block;
  background-color: #ea535d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 0 #a32d36;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.lp-regret-card__link a:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #a32d36;
  color: #fff;
}

.lp-regret-card__image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.lp-regret-card__image img {
  width: 100%;
  border-radius: 12px;
}

/* ============================================
   Stats Section
   ============================================ */
.lp-stats {
  padding: 40px 16px;
  background-color: #D8ECDA;
}

.lp-stats__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.lp-stats__title-emphasis {
  color: #F0854F;
  font-size: inherit;
}

.lp-stats__description {
  text-align: center;
  margin-bottom: 24px;
}

.lp-stats__note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.lp-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.lp-stats__card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lp-stats__card--pink {
  border-top: 4px solid #e8a090;
}

.lp-stats__card--blue {
  border-top: 4px solid #7eb8e0;
}

.lp-stats__card-label {
  font-weight: bold;
  margin-bottom: 4px;
}

.lp-stats__card-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.lp-stats__card-value {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.lp-stats__card-value-sub {
  font-size: 14px;
  color: #333;
}

.lp-stats__card--pink .lp-stats__card-value {
  color: #e8a090;
}

.lp-stats__card--blue .lp-stats__card-value {
  color: #7eb8e0;
}

/* ============================================
   Risk Section (40歳から)
   ============================================ */
.lp-risk {
  padding: 40px 16px;
  background-color: #D1ECFB;
}

.lp-risk__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lp-risk__title-age {
  color: #e88a5a;
  font-size: inherit;
}

.lp-risk__title-emphasis {
  color: #F0854F;
  font-size: inherit;
}

.lp-risk__description {
  text-align: center;
  margin-bottom: 8px;
}

.lp-risk__note {
  font-size: 12px;
  color: #666;
  text-align: center;
  display: block;
  margin-bottom: 24px;
}

/* 病気カード（4つ横並び/縦並び） */
.lp-risk__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-risk__card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lp-risk__card-label {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.lp-risk__card-image {
  width: 100%;
}

.lp-risk__card-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ============================================
   Early Detection Section
   ============================================ */
.lp-early {
  padding: 40px 16px;
  background-color: #FADBD8;
}

.lp-early__inner {
  background: #fff;
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lp-early__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.lp-early__title-emphasis {
  color: #F0854F;
  font-size: inherit;
}

.lp-early__chart-title {
  font-size: 14px;
  font-weight: 700;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

.lp-early__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.lp-early__chart-area {
  flex: 1;
}

.lp-early__chart-image {
  text-align: center;
  margin-bottom: 0;
}

.lp-early__chart-image img {
  max-width: 100%;
  height: auto;
}

.lp-early__text-area {
  flex: 1;
  display: flex;
  align-items: center;
}

.lp-early__description {
  line-height: 1.8;
}

.lp-early__chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 180px;
  margin-bottom: 24px;
  padding: 0 8px;
}

.lp-early__chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22%;
}

.lp-early__chart-bar {
  width: 100%;
  max-width: 60px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.lp-early__chart-bar--stage1 {
  height: 140px;
  background-color: #66bb6a;
}

.lp-early__chart-bar--stage2 {
  height: 95px;
  background-color: #ffca28;
}

.lp-early__chart-bar--stage3 {
  height: 68px;
  background-color: #ffa726;
}

.lp-early__chart-bar--stage4 {
  height: 20px;
  background-color: #ef5350;
}

.lp-early__chart-value {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.lp-early__chart-bar--stage4 .lp-early__chart-value {
  color: #ef5350;
  position: relative;
  top: -20px;
}

.lp-early__chart-label {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  text-align: center;
}

/* ============================================
   CTA Section
   ============================================ */
.lp-cta {
  padding: 40px 16px;
}

/* 共通ボックススタイル */
.lp-cta__box {
  background: #fff;
  border: 2px solid;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  color: #333;
}

.lp-cta__box + .lp-cta__box {
  margin-top: 24px;
}

/* 枠線カラーバリエーション */
.lp-cta__box--orange {
  border-color: #F19561;
}

.lp-cta__box--purple {
  border-color: #9A91C5;
}

.lp-cta__box-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.lp-cta__box-image {
  width: 60px;
  flex-shrink: 0;
}

.lp-cta__box-image img {
  width: 100%;
  height: auto;
}

.lp-cta__box-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 18px;
  font-weight: 700;
  background-color: #f5f5f5;
  padding: 12px 16px;
  border-radius: 12px;
  position: relative;
  flex: 1;
  text-align: left;
}

/* 吹き出しの三角形 */
.lp-cta__box-title::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 10px 8px 0;
  border-style: solid;
  border-color: transparent #f5f5f5 transparent transparent;
}

/* オレンジ吹き出し */
.lp-cta__box--orange .lp-cta__box-title {
  background-color: #FDEEE6;
}

.lp-cta__box--orange .lp-cta__box-title::before {
  border-color: transparent #FDEEE6 transparent transparent;
}

/* パープル吹き出し */
.lp-cta__box--purple .lp-cta__box-title {
  background-color: #EEEDF6;
}

.lp-cta__box--purple .lp-cta__box-title::before {
  border-color: transparent #EEEDF6 transparent transparent;
}

.lp-cta__box-text {
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: center;
}

.lp-cta__button {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ボタンカラーバリエーション */
.lp-cta__box--orange .lp-cta__button {
  background: linear-gradient(135deg, #F19561 0%, #e07d45 100%);
  color: #fff !important;
}

.lp-cta__box--purple .lp-cta__button {
  background: linear-gradient(135deg, #9b7bb8 0%, #8b6ba8 100%);
  color: #fff !important;
}

/* ============================================
   Responsive: Tablet and above
   ============================================ */
@media screen and (min-width: 641px) {
  .lp-hero {
    padding: 60px 24px;
    background-image: none;
  }

  .lp-hero__label {
    font-size: 16px;
    padding: 8px 28px;
  }

  .lp-hero__title {
    font-size: 44px;
    background-image: url('img/r_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
  }

  .lp-hero__title-emphasis {
    font-size: inherit;
    color: #fff;
  }

  .lp-hero__description {
    font-size: 15px;
  }

  .lp-regret-card__layout {
    flex-direction: row-reverse;
    align-items: flex-start;
  }

  .lp-regret-card__image {
    width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    margin: 0;
  }

  .lp-regret-card__header {
    padding: 14px 20px;
  }

  .lp-regret-card__number-text {
    font-size: 16px;
  }

  .lp-regret-card__number-num {
    font-size: 36px;
  }

  .lp-regret-card__title {
    font-size: 18px;
  }

  .lp-regret-card__body {
    padding: 0 24px;
  }

  .lp-regret-card.is-open .lp-regret-card__body {
    padding: 20px 24px;
  }

  .lp-regret-card__quote-text {
    font-size: 15px;
  }

  .lp-regret-card__cta {
    flex-direction: row;
    justify-content: flex-end;
    gap: 16px;
  }

  .lp-stats__grid {
    grid-template-columns: 1fr 1fr;
  }


  .lp-risk__cards {
    flex-direction: row;
    gap: 16px;
  }

  .lp-risk__card {
    flex: 1;
    padding: 20px;
  }

  .lp-early__inner {
    padding: 32px;
  }

  .lp-early__content {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .lp-early__chart-area {
    flex: 1.2;
  }

  .lp-early__text-area {
    flex: 0.8;
  }

  .lp-early__chart {
    height: 200px;
  }

  .lp-early__chart-bar {
    max-width: 80px;
  }

  .lp-early__chart-bar--stage1 {
    height: 160px;
  }

  .lp-early__chart-bar--stage2 {
    height: 108px;
  }

  .lp-early__chart-bar--stage3 {
    height: 77px;
  }

  .lp-early__chart-bar--stage4 {
    height: 24px;
  }

  .lp-cta__box {
    padding: 40px 48px;
  }

  .lp-cta__box-title {
    font-size: 20px;
  }

  .lp-cta__button {
    font-size: 18px;
    padding: 16px 50px;
  }
}

/* ============================================
   Responsive: Desktop
   ============================================ */
@media screen and (min-width: 960px) {
  .lp-container {
    max-width: 1060px;
  }

  .lp-hero__title {
    font-size: 52px;
  }

  .lp-hero__title-emphasis {
    font-size: inherit;
  }

  .lp-regret-card__image {
    width: 300px;
    max-width: 300px;
  }
}
