/* ニュース記事デモ用（ダミーページ） */
.news-detail {
  padding: 40px 0 80px;
  min-height: 60vh;
}

.news-detail__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.news-detail__back {
  display: inline-block;
  margin-bottom: 24px;
  color: #238fdc;
  font-size: 14px;
  text-decoration: none;
}

.news-detail__back:hover {
  text-decoration: underline;
}

.news-detail__back--bottom {
  display: block;
  text-align: right;
  margin-top: 32px;
  margin-bottom: 0;
}

.news-detail__date {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.news-detail__title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e3e3;
}

.news-detail__body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.news-detail__body p {
  margin-bottom: 1.2em;
}

.news-detail__subheading {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 1.5em 0 0.75em;
}

.news-detail__subheading:first-of-type {
  margin-top: 0.5em;
}

.news-detail__body ul,
.news-detail__body ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

.news-detail__body li {
  margin-bottom: 0.4em;
}

/* 無料登録デモ（register.html）・お問い合わせ（contact.html） */
.register-page .register-form,
.contact-page .register-form {
  margin-top: 1.5em;
}

.register-form__field {
  margin-bottom: 1.25em;
}

.register-form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.4em;
}

.register-form__input {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  font-size: 16px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
}

.register-form__input::placeholder {
  color: #999;
}

.register-form__input:focus {
  outline: 2px solid #238fdc;
  outline-offset: 1px;
}

textarea.register-form__input,
.register-form__textarea {
  max-width: 560px;
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.register-form__actions {
  margin-top: 1.75em;
}

.register-form__submit.button,
.detail-page__cta-btn.button {
  width: auto;
  min-width: 200px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.register-form__submit.button {
  margin: 0;
}

.detail-page__cta-btn.button {
  margin: 0 auto;
  text-decoration: none;
  display: inline-flex;
}

.register-form__note {
  font-size: 14px;
  color: #666;
  margin-top: 1.75em;
  line-height: 1.7;
}

select.register-form__input,
.plan-apply-select {
  min-height: 44px;
  cursor: pointer;
}

.news-detail__body code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: #f0f0f0;
  border-radius: 3px;
}

/* detail.html（詳細・できること） */
.detail-page.news-detail {
  padding: 0 0 80px;
}

.detail-page__hero {
  background: linear-gradient(180deg, #eaf4f7 0%, #f8fcff 55%, #ffffff 100%);
  padding: 28px 0 40px;
  border-bottom: 1px solid rgba(35, 143, 220, 0.12);
}

.detail-page__head {
  padding-top: 8px;
}

.news-detail__back--on-hero {
  margin-bottom: 20px;
}

.detail-page__label {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #238fdc;
  margin: 0 0 10px;
}

.detail-page__title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: #333;
  line-height: 1.35;
  margin: 0 0 18px;
  padding-bottom: 0;
  border: none;
}

.detail-page__lead {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  margin: 0;
  max-width: 640px;
}

.detail-page__hero-thumb {
  margin: 28px 0 0;
}

.detail-page__hero-thumb img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(35, 143, 220, 0.14);
}

.detail-page__main {
  padding-top: 44px;
}

.detail-page__section {
  margin-bottom: 48px;
}

.detail-page__section:last-of-type {
  margin-bottom: 0;
}

.detail-page__section-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 4px solid #238fdc;
  line-height: 1.4;
}

.detail-page__section-title-sub {
  font-weight: 400;
  font-size: 0.92em;
  color: #666;
}

.detail-page__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .detail-page__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.detail-page__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(35, 143, 220, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-page__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(35, 143, 220, 0.12);
}

.detail-page__card-thumb {
  margin: 0;
  background: linear-gradient(180deg, #eaf4f7 0%, #f8fcff 100%);
}

.detail-page__card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.detail-page__card-body {
  padding: 16px 18px 20px 20px;
}

.detail-page__card-num {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #2188de 0%, #2bcbc6 100%);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.detail-page__card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.detail-page__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-page__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
  padding-bottom: 20px;
}

.detail-page__step:last-child {
  padding-bottom: 0;
}

.detail-page__step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #2188de 0%, #2bcbc6 100%);
  box-shadow: 0 4px 12px rgba(35, 143, 220, 0.35);
}

.detail-page__step-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  padding-top: 6px;
}

.detail-page__disclaimer {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 40px 0 0;
  padding: 16px 18px;
  background: #f4fbff;
  border-radius: 8px;
  border: 1px solid #e3f2fb;
}

.detail-page__cta {
  margin-top: 32px;
  text-align: center;
}

/* ブログ記事（blog-01〜06.html）— 先頭の戻るリンクのみ */
.blog-detail .news-detail__inner > a.news-detail__back:first-child {
  display: block;
  margin-bottom: 28px;
}

.blog-detail__meta {
  margin: 0 0 16px;
}

.blog-detail__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 0.4em 0.95em;
  margin: 0 0 10px;
  background-color: #2392db;
  color: #fff;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.blog-detail .blog-detail__meta .blog-detail__label {
  margin: 0 0 18px;
}

.blog-detail .blog-detail__meta .news-detail__date {
  display: block;
  margin-top: 0;
  margin-bottom: 12px;
}

/* ブログ記事ページのメイン画像（トップの blog__img と同素材） */
.blog-detail__thumb {
  margin: 0 0 24px;
}

.blog-detail .blog-detail__thumb .blog__img {
  width: 100%;
  max-width: 640px;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}
