/*
 * お知らせ（/news/）用スタイル。
 * LP 本体（Studio 書き出し CSS）には依存せず、色とフォントだけ LP に合わせている。
 * モバイル優先で書き、768px 以上で PC 向けに広げる。
 */

:root {
  --teal: #258e93;
  --teal-pale: #f1f9f6;
  --pink: #ec7181;
  --pink-pale: #fff2f5;
  --pink-deep: #a94760;
  --text: #333;
  --text-sub: #5d6868;
  --line: rgba(37, 142, 147, 0.16);
  --white: #fff;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(44, 107, 104, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: Inter, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  overflow-wrap: anywhere;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--teal);
}

/* ---------- ヘッダー ---------- */

.n-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.n-header__inner {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 10px 16px;
}

.n-header__logo img {
  height: 36px;
  width: auto;
}

.n-header__nav {
  align-items: center;
  display: flex;
  gap: 16px;
}

.n-header__link {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.n-header__link:hover {
  color: var(--teal);
}

/* ---------- ボタン ---------- */

.n-btn {
  align-items: center;
  background: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding: 14px 28px;
  text-align: center;
  text-decoration: none;
  transition:
    opacity 0.2s,
    background-color 0.2s,
    color 0.2s;
}

.n-btn:hover {
  opacity: 0.85;
}

.n-btn--teal {
  background: var(--teal);
  border-color: var(--teal);
}

.n-btn--outline {
  background: var(--white);
  border-color: var(--teal);
  color: var(--teal);
}

.n-btn--outline:hover {
  background: var(--teal);
  color: var(--white);
  opacity: 1;
}

.n-btn--sm {
  font-size: 13px;
  padding: 9px 16px;
  white-space: nowrap;
}

/* ---------- 共通レイアウト ---------- */

.n-container {
  margin: 0 auto;
  max-width: 760px;
  padding: 0 20px;
}

.n-breadcrumb {
  color: var(--text-sub);
  font-size: 12px;
  margin: 0;
  padding: 16px 0 0;
}

.n-breadcrumb a {
  color: var(--text-sub);
}

.n-breadcrumb span[aria-hidden] {
  margin: 0 6px;
}

.n-tag {
  background: var(--pink-pale);
  border-radius: 999px;
  color: var(--pink-deep);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  padding: 5px 12px;
}

.n-date {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
}

.n-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(205, 242, 232, 0.72), transparent 30%),
    radial-gradient(circle at 92% 86%, rgba(255, 226, 233, 0.7), transparent 32%), #f8fcfb;
  padding: 8px 0 40px;
}

/* ---------- 一覧 ---------- */

.n-index__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 24px 0 8px;
}

.n-index__lead {
  color: var(--text-sub);
  font-size: 14px;
  margin: 0;
}

.n-list {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 32px 0 64px;
}

.n-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s;
}

.n-card:hover {
  transform: translateY(-2px);
}

.n-card__thumb {
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  width: 100%;
}

.n-card__body {
  padding: 20px;
}

.n-card__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.n-card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 8px;
}

.n-card__excerpt {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 12px;
}

.n-card__more {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- 記事 ---------- */

.n-article__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 14px;
}

.n-article__title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.55;
  margin: 0 0 16px;
}

.n-article__title em {
  background: linear-gradient(transparent 62%, rgba(236, 113, 129, 0.28) 62%);
  display: inline-block; /* 「サロンのホームページ」の途中で改行させない */
  font-style: normal;
}

.n-article__lead {
  font-size: 15px;
  margin: 0;
}

.n-article__body {
  padding-bottom: 64px;
}

.n-section {
  padding-top: 56px;
  scroll-margin-top: 64px;
}

.n-section__title {
  align-items: center;
  display: flex;
  font-size: 22px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0 0 20px;
}

.n-section__title::before {
  background: var(--teal);
  border-radius: 8px;
  content: '';
  flex: none;
  height: 8px;
  width: 32px;
}

.n-section p {
  margin: 0 0 16px;
}

.n-section .n-note,
.n-note {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0 0;
}

/* リード直下の見本 */
.n-figure {
  margin: 32px auto 0;
  max-width: 300px;
}

.n-figure figcaption,
.n-example figcaption {
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 10px;
  text-align: center;
}

.n-phone {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* こんな方におすすめ */
.n-persona {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.n-persona__item {
  background: var(--teal-pale);
  border-radius: 16px;
  padding: 18px 18px 18px 52px;
  position: relative;
}

.n-persona__item::before {
  background: var(--teal);
  border-radius: 50%;
  color: var(--white);
  content: '✓';
  font-size: 13px;
  font-weight: 800;
  height: 24px;
  left: 16px;
  line-height: 24px;
  position: absolute;
  text-align: center;
  top: 20px;
  width: 24px;
}

.n-persona__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 4px;
}

.n-section .n-persona__text {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* メリット */
.n-merit {
  counter-reset: merit;
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.n-merit__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: merit;
  padding: 22px 20px;
}

.n-merit__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 8px;
}

.n-merit__title::before {
  color: var(--pink);
  content: '0' counter(merit);
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.n-section .n-merit__text {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

.n-merit__text strong {
  color: var(--text);
}

/* 設定3ステップ */
.n-steps {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.n-step {
  background: var(--teal-pale);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.n-step__label {
  color: var(--teal);
  font-family: Poppins, Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.n-step__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
  margin: 2px 0 8px;
}

.n-section .n-step__text {
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 16px;
}

.n-step__img {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 auto;
  max-width: 340px;
  width: 100%;
}

/* 実例 */
.n-example {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
}

.n-example figure {
  margin: 0;
}

.n-example .n-phone {
  border-radius: 14px;
}

/* 載せられる内容 */
.n-spec {
  border-top: 1px solid var(--line);
  margin: 0;
}

.n-spec__row {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.n-spec dt {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.n-spec dd {
  font-size: 14px;
  line-height: 1.8;
  margin: 2px 0 0;
}

/* CTA */
.n-cta {
  background: linear-gradient(135deg, #258e93, #4cb8b1 60%, #77d4b8);
  border-radius: var(--radius);
  color: var(--white);
  margin-top: 56px;
  padding: 32px 20px;
  text-align: center;
}

.n-cta__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 20px;
}

.n-cta__grid {
  display: grid;
  gap: 16px;
}

.n-cta__box {
  background: var(--white);
  border-radius: 16px;
  color: var(--text);
  padding: 22px 18px;
}

.n-cta__label {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
}

.n-cta__text {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.n-cta .n-btn {
  width: 100%;
}

.n-back {
  margin: 40px 0 0;
  text-align: center;
}

/* ---------- フッター ---------- */

.n-footer {
  background: var(--teal-pale);
  padding: 32px 20px;
  text-align: center;
}

.n-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-bottom: 16px;
}

.n-footer__nav a {
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}

.n-footer__nav a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.n-footer__copy {
  color: var(--text-sub);
  font-size: 12px;
  margin: 0;
}

/* ---------- PC ---------- */

@media (min-width: 768px) {
  .n-header__inner {
    padding: 14px 32px;
  }

  .n-header__logo img {
    height: 44px;
  }

  .n-header__link {
    font-size: 14px;
  }

  .n-btn--sm {
    font-size: 14px;
    padding: 10px 22px;
  }

  .n-hero {
    padding-bottom: 56px;
  }

  .n-index__title {
    font-size: 38px;
  }

  .n-article__title {
    font-size: 36px;
  }

  .n-article__lead {
    font-size: 17px;
  }

  .n-section {
    padding-top: 72px;
  }

  .n-section__title {
    font-size: 28px;
    gap: 16px;
  }

  .n-section__title::before {
    height: 10px;
    width: 50px;
  }

  .n-card {
    align-items: center;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .n-card__body {
    padding: 24px 28px;
  }

  .n-card__title {
    font-size: 20px;
  }

  .n-persona {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n-merit__item {
    padding: 26px 28px;
  }

  .n-step {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 28px;
  }

  .n-section .n-step__text {
    margin-bottom: 0;
  }

  .n-example {
    gap: 32px;
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
  }

  .n-example .n-phone {
    border-radius: 20px;
  }

  .n-spec__row {
    display: grid;
    gap: 16px;
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .n-spec dd {
    margin: 0;
  }

  .n-cta {
    padding: 44px 36px;
  }

  .n-cta__title {
    font-size: 24px;
  }

  .n-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n-cta__box {
    display: flex;
    flex-direction: column;
  }

  .n-cta__text {
    flex: 1;
  }
}
