/* ========================================
   Feature LP 専用CSS
   page-feature.php で使用するスタイル
   ======================================== */

/* --- feature-hero --- */
.feature-hero {
  padding: 60px 4% 50px;
  background: #ffffff;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .feature-hero {
    padding: 40px 4% 30px;
  }
}
.feature-hero__wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.feature-hero__title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  color: #1c2b61;
  margin-bottom: 20px;
}
.feature-hero__text {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 2;
  color: #555;
}

/* --- feature (5 reasons) --- */
.feature {
  padding: 80px 4%;
  background-color: #ffffff;
}
@media screen and (max-width: 750px) {
  .feature {
    padding: 50px 4%;
  }
}
.feature__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.feature__items {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
@media screen and (max-width: 750px) {
  .feature__items {
    gap: 50px;
  }
}
.feature__item {
  display: flex;
  gap: 40px;
  align-items: center;
}
.feature__item--reverse {
  flex-direction: row-reverse;
}
@media screen and (max-width: 750px) {
  .feature__item {
    flex-direction: column;
    gap: 24px;
  }
}
.feature__text-inner {
  flex: 1;
}
.feature__item-title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  color: #1c2b61;
  margin-bottom: 20px;
}
.feature__item-subtitle {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  color: #004ea1;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature__item-text {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 2;
  color: #555;
}

/* --- feature chart/image area --- */
.feature__image-container {
  flex-shrink: 0;
  width: 560px;
  background: #f8f8f8;
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
@media screen and (max-width: 900px) {
  .feature__image-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}
.feature__chart-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #004ea1;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 78, 161, 0.3);
}
.feature__chart-badge--accent {
  background: linear-gradient(135deg, #ffa800, #ff544f);
}
.feature__chart-badge--savings {
  background: #22c55e;
}
.feature__chart-inner {
  height: 300px;
  position: relative;
}
.feature__chart-inner--side {
  height: 380px;
  min-width: 420px;
}
/* --- Reason 04 Age Chart (static image) --- */
.feature__age-img {
  width: 100%;
  height: auto;
}
.chart-caption {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}
.chart-source {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}

/* --- feature chart with legend --- */
.feature__chart-with-legend {
  display: flex;
  gap: 16px;
  align-items: center;
}
@media screen and (max-width: 490px) {
  .feature__chart-with-legend {
    flex-direction: column;
  }
}
.feature__legend-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.feature__legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}
.feature__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feature__legend-name {
  flex: 1;
  font-weight: 500;
}
.feature__legend-val {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #333;
  font-size: 12px;
}

/* --- feature icon cards --- */
.feature__icons-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature__icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* --- feature schedule & simulation --- */
.feature__schedule-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature__schedule-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.feature__schedule-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #004ea1;
}
.feature__schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature__schedule-list li {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature__schedule-month {
  display: inline-block;
  background: #004ea1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  min-width: 36px;
  text-align: center;
}
.feature__sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13px;
  color: #555;
}
.feature__sim-val {
  font-weight: 600;
  color: #004ea1;
}
.feature__sim-result {
  margin-top: 12px;
  padding: 12px;
  background: #eef4ff;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  color: #004ea1;
}
.feature__sim-result strong {
  font-size: 18px;
}

/* --- feature docs visual --- */
.feature__docs-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
  height: 100%;
  min-height: 230px;
}
.feature__doc {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature__doc-label {
  font-size: 13px;
  font-weight: 700;
  color: #004ea1;
  margin-top: 8px;
  text-align: center;
}

.feature__icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon-label {
  font-size: 12px;
  font-weight: 700;
  color: #1c2b61;
}

/* --- Comparison table --- */
.comparison-table {
  padding: 80px 4%;
  background-color: #f1f8ff;
}
@media screen and (max-width: 750px) {
  .comparison-table {
    padding: 50px 4%;
  }
}
.comparison-table__wrapper {
  max-width: 1024px;
  margin: 0 auto;
}
.comparison-table__header {
  text-align: center;
  margin-bottom: 40px;
}
.comparison-table__label {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.2em;
  color: #004ea1;
  font-weight: 700;
  margin-bottom: 12px;
}
.comparison-table__title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  color: #1c2b61;
  margin-bottom: 16px;
}
.comparison-table__desc {
  font-size: clamp(13px, 1.3vw, 15px);
  color: #555;
  line-height: 1.8;
}
.comparison-table__container {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.comparison-table__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  background: #ffffff;
}

/* --- thead --- */
.comparison-table__th {
  padding: 20px 24px;
  text-align: center;
  vertical-align: bottom;
}
.comparison-table__th--category {
  background: #f8f8f8;
  width: 160px;
  text-align: left;
}
.comparison-table__th--other {
  background: #f0f0f0;
}
.comparison-table__th--resolute {
  background: linear-gradient(135deg, #1c2b61, #004ea1);
  color: #ffffff;
  position: relative;
}
.comparison-table__th-label {
  font-size: 11px;
  color: #999;
  display: block;
  margin-bottom: 4px;
}
.comparison-table__th-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.comparison-table__th-sub {
  font-size: 11px;
  color: #737373;
  margin-bottom: 4px;
}
.comparison-table__th-sub--light {
  color: rgba(255, 255, 255, 0.7);
}
.comparison-table__th-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.comparison-table__th-name--white {
  color: #ffffff;
}
.comparison-table__badge {
  display: inline-block;
  background: linear-gradient(to right, #ffa800, #ff544f);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* --- tbody --- */
.comparison-table__td {
  padding: 20px 24px;
  vertical-align: top;
  border-top: 1px solid #ededed;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.8;
}
.comparison-table__td--category {
  background: #f8f8f8;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 700;
  color: #1c2b61;
  width: 160px;
  vertical-align: middle;
}
.comparison-table__td--other {
  background: #fafafa;
}
.comparison-table__td--resolute {
  background: #f6faff;
  position: relative;
}
.comparison-table__accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #004ea1;
}
.comparison-table__cell-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.comparison-table__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.comparison-table__icon--gray {
  color: #999;
}
.comparison-table__icon--blue {
  color: #004ea1;
}
.comparison-table__cell-title {
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  color: #333;
}
.comparison-table__cell-title--blue {
  color: #004ea1;
}
.comparison-table__cell-text {
  font-size: clamp(12px, 1.1vw, 14px);
  color: #555;
  line-height: 1.8;
}
.comparison-table__underline {
  text-decoration: underline;
  text-decoration-color: #ff544f;
  text-underline-offset: 3px;
}
.comparison-table__highlight {
  background: linear-gradient(transparent 60%, #fff3b0 60%);
  padding: 0 2px;
  font-weight: 700;
}
.comparison-table__bold-blue {
  color: #004ea1;
}

/* --- scroll hint (mobile) --- */
.comparison-table__scroll-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 12px;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 750px) {
  .comparison-table__scroll-hint {
    display: flex;
  }
}
.comparison-table__scroll-hint svg {
  flex-shrink: 0;
}

/* --- 共通セクションタイトル --- */
.lp-section-title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  color: #1c2b61;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 20px;
}
.lp-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #004ea1;
  border-radius: 2px;
}
.lp-section-title__en {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.2em;
  color: #004ea1;
  margin-bottom: 8px;
  font-weight: 700;
}

/* --- マーカー蛍光ペン風 --- */
.marker {
  background: linear-gradient(transparent 60%, #fff3b0 60%);
  padding: 0 2px;
}

/* --- LP Container --- */
.lp-container {
  overflow: hidden;
}

/* --- lp-intro --- */
.lp-intro {
  padding: 80px 4% 60px;
  background-color: #ffffff;
}
@media screen and (max-width: 750px) {
  .lp-intro {
    padding: 50px 4% 40px;
  }
}
.lp-intro__wrapper {
  max-width: 1024px;
  margin: 0 auto;
}
.lp-intro--center {
  text-align: center;
}
.lp-intro__title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  color: #1c2b61;
  margin-bottom: 32px;
}
.lp-intro__title-sub {
  display: block;
  font-size: clamp(12px, 1.3vw, 16px);
  color: #004ea1;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-intro__content {
  display: flex;
  gap: 40px;
  align-items: center;
}
@media screen and (max-width: 750px) {
  .lp-intro__content {
    flex-direction: column;
    gap: 24px;
  }
}
.lp-intro__text-box {
  flex: 1;
}
.lp-intro__text {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 2.2;
  color: #333;
}
@media screen and (max-width: 750px) {
  .lp-intro__text {
    text-align: left;
  }
}
.lp-intro__image-box {
  flex-shrink: 0;
  width: 300px;
}
@media screen and (max-width: 750px) {
  .lp-intro__image-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* --- Intro graph --- */
.intro-graph {
  background: none;
  padding: 0;
  text-align: center;
}
.intro-graph__title {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  color: #1c2b61;
  margin-bottom: 20px;
}
.intro-graph__chart-area {
  margin-bottom: 12px;
}
.intro-graph__bar-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
  height: 180px;
}
.intro-graph__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.intro-graph__bar {
  width: 56px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.intro-graph__bar--survival {
  background: #6b7d8e;
  height: 20%;
  overflow: visible;
}
.intro-graph__bar--survival .intro-graph__value {
  color: #6b7d8e;
  position: absolute;
  top: -30px;
}
.intro-graph__bar--fail {
  background: #a3b1bf;
  height: 90%;
}
.intro-graph__bar--fail .intro-graph__value {
  color: #fff;
}
.intro-graph__value {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.intro-graph__label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-top: 8px;
}
.intro-graph__caption {
  font-size: 11px;
  color: #999;
  margin-top: 8px;
}

/* --- Timeline Bar Chart (生存率) --- */
.intro-graph__timeline-bars {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
  height: 200px;
  padding-top: 30px;
}
.intro-graph__timeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.intro-graph__timeline-value {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #004ea1;
  margin-bottom: 6px;
}
.intro-graph__timeline-value--red {
  color: #e53e3e;
}
.intro-graph__timeline-bar {
  width: 50px;
  background: #004ea1;
  border-radius: 4px 4px 0 0;
}
.intro-graph__timeline-bar--red {
  background: #e53e3e;
}
.intro-graph__timeline-label {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin-top: 8px;
}
