/* ==================================================
   SWELL スマホ基本・大人ガーリーCSS
   mobile first
================================================== */

/* ==================================================
   1. 基本カラー
================================================== */
:root {
  --girl-bg: #fff7f8;
  --girl-bg-2: #fffdfb;
  --girl-surface: #ffffff;
  --girl-text: #3b3033;
  --girl-muted: #7e6b70;

  --girl-main: #c96f86;
  --girl-main-dark: #a84e67;
  --girl-accent: #e8a7b6;
  --girl-cream: #f8ead2;

  --girl-line: rgba(201, 111, 134, 0.18);
  --girl-shadow: 0 10px 24px rgba(168, 78, 103, 0.10);
  --girl-shadow-strong: 0 16px 38px rgba(168, 78, 103, 0.14);

  --girl-radius: 18px;
  --girl-radius-sm: 12px;
}

/* ==================================================
   2. サイト全体
================================================== */
body {
  background:
    radial-gradient(circle at top left, rgba(232, 167, 182, 0.25), transparent 34%),
    linear-gradient(180deg, var(--girl-bg), var(--girl-bg-2));
  color: var(--girl-text);
  font-size: 15.8px;
  line-height: 1.9;
  letter-spacing: 0.035em;
}

/* リンク */
a {
  color: var(--girl-main-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--girl-main);
}

/* ==================================================
   3. ヘッダー
================================================== */
.l-header {
  background: rgba(255, 250, 252, 0.96);
  border-bottom: 1px solid var(--girl-line);
  box-shadow: 0 4px 16px rgba(168, 78, 103, 0.08);
}

.l-header__inner {
  padding-left: 14px;
  padding-right: 14px;
}

/* ==================================================
   4. コンテンツ幅・余白
================================================== */
.l-content {
  padding-top: 18px;
}

.l-mainContent__inner {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--girl-line);
  border-radius: var(--girl-radius);
  box-shadow: var(--girl-shadow);
  padding: 22px 18px;
}

/* ==================================================
   5. 本文
================================================== */
.post_content {
  font-size: 15.8px;
  line-height: 1.95;
  padding-left: 2px;
  padding-right: 2px;
}

.post_content p {
  margin-bottom: 1.6em;
}

.post_content img {
  border-radius: 14px;
}

/* ==================================================
   6. ページタイトル
================================================== */
.c-pageTitle {
  color: var(--girl-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.045em;
  margin-bottom: 28px;
}

.c-pageTitle::after {
  content: "";
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(
    90deg,
    var(--girl-main),
    var(--girl-accent),
    var(--girl-cream)
  );
  border-radius: 999px;
}

/* ==================================================
   7. 見出し
================================================== */
.post_content h2 {
  position: relative;
  margin-top: 2.6em;
  margin-bottom: 1.1em;
  padding: 0.85em 0.95em;
  color: var(--girl-main-dark);
  background: linear-gradient(135deg, #fff7fa, #ffffff 60%, #fff3e1);
  border: 1px solid var(--girl-line);
  border-left: 6px solid var(--girl-main);
  border-radius: var(--girl-radius-sm);
  box-shadow: var(--girl-shadow);
  font-size: 21px;
  line-height: 1.45;
}

.post_content h3 {
  margin-top: 2.2em;
  margin-bottom: 0.9em;
  padding: 0 0 0.45em 0.75em;
  color: var(--girl-main-dark);
  border-left: 4px solid var(--girl-accent);
  border-bottom: 2px dashed rgba(201, 111, 134, 0.32);
  font-size: 18.5px;
  line-height: 1.5;
}

.post_content h4 {
  margin-top: 1.8em;
  color: var(--girl-text);
  font-size: 17px;
}

/* ==================================================
   8. ボタン
================================================== */
.wp-block-button,
.swell-block-button {
  text-align: center;
}

.wp-block-button__link,
.swell-block-button__link,
.c-button {
  width: 100%;
  max-width: 340px;
  padding: 0.95em 1.4em;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--girl-main), var(--girl-accent)) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(201, 111, 134, 0.25);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ==================================================
   9. 投稿一覧カード
================================================== */
.p-postList__item {
  background: var(--girl-surface);
  border: 1px solid var(--girl-line);
  border-radius: var(--girl-radius);
  box-shadow: var(--girl-shadow);
  overflow: hidden;
}

.p-postList__title {
  color: var(--girl-text);
  font-weight: 700;
  line-height: 1.55;
}

.p-postList__excerpt {
  color: var(--girl-muted);
}

.p-postList__thumb,
.c-postThumb {
  border-radius: var(--girl-radius-sm);
  overflow: hidden;
}

/* ==================================================
   10. サイドバー・ウィジェット
================================================== */
.l-sidebar .c-widget {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--girl-line);
  border-radius: var(--girl-radius);
  box-shadow: var(--girl-shadow);
  padding: 20px;
}

.c-widget__title {
  color: var(--girl-main-dark);
  font-weight: 800;
  letter-spacing: 0.06em;
  border-bottom: 2px dashed rgba(201, 111, 134, 0.28);
  padding-bottom: 0.5em;
}

/* ==================================================
   11. 引用・表
================================================== */
.post_content blockquote {
  background: #fff7fa;
  border-left: 5px solid var(--girl-accent);
  border-radius: var(--girl-radius-sm);
  color: var(--girl-muted);
  padding: 1.1em 1.2em;
}

.post_content table {
  border-radius: var(--girl-radius-sm);
  box-shadow: var(--girl-shadow);
  overflow: hidden;
}

.post_content th {
  background: #ffe8ef;
  color: var(--girl-main-dark);
}

.post_content td,
.post_content th {
  border-color: var(--girl-line);
}

/* ==================================================
   12. フッター
================================================== */
.l-footer {
  background: linear-gradient(135deg, #8f4d62, #c77991);
  color: #ffffff;
}

.l-footer a {
  color: #ffffff;
}

.l-footer a:hover {
  color: #fff1d6;
}

/* ==================================================
   13. 600px以上：タブレット
================================================== */
@media screen and (min-width: 600px) {
  body {
    font-size: 16.2px;
  }

  .l-content {
    padding-top: 26px;
  }

  .l-mainContent__inner {
    padding: 32px 30px;
    border-radius: 22px;
  }

  .post_content {
    font-size: 16.2px;
    line-height: 2;
    padding-left: 0;
    padding-right: 0;
  }

  .c-pageTitle {
    font-size: 34px;
  }

  .post_content h2 {
    font-size: 25px;
    padding: 0.95em 1.1em;
  }

  .post_content h3 {
    font-size: 21px;
  }

  .wp-block-button__link,
  .swell-block-button__link,
  .c-button {
    width: auto;
    min-width: 260px;
  }
}

/* ==================================================
   14. 960px以上：PC
================================================== */
@media screen and (min-width: 960px) {
  body {
    font-size: 16.5px;
  }

  .l-content {
    padding-top: 34px;
  }

  .l-mainContent {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .l-mainContent__inner {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 46px 50px;
    border-radius: 24px;
    box-shadow: var(--girl-shadow-strong);
  }

  .post_content {
    font-size: 16.5px;
  }

  .c-pageTitle {
    font-size: 42px;
  }

  .post_content h2 {
    font-size: 29px;
  }

  .post_content h3 {
    font-size: 23px;
  }

  .p-postList__item {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .p-postList__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--girl-shadow-strong);
  }

  .wp-block-button__link,
  .swell-block-button__link,
  .c-button {
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .wp-block-button__link:hover,
  .swell-block-button__link:hover,
  .c-button:hover {
    transform: translateY(-2px);
    opacity: 0.94;
  }
}