@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* =========================
   Site Color Variables
========================= */
:root {
  --color-main: #8C8178;
  --color-sub: #D9CEC3;
  --color-accent: #C98F8A;
  --color-bg: #FAF7F3;
  --color-surface: #FFFFFF;
  --color-heading: #4E4540;
  --color-text: #333333;
  --color-muted: #756B65;
  --color-border: #E4DDD7;
  --color-link: #8A625C;
  --color-link-hover: #6F4C47;
  --color-cta: #B86F64;
  --color-cta-hover: #A75F55;
  --radius-card: 12px;
  --radius-button: 10px;
  --shadow-soft: 0 5px 20px rgba(78, 69, 64, 0.06);
  --content-width: 760px;
}

/* =========================
   Base / Typography
========================= */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.015em;
}

a {
  color: var(--color-link);
  text-decoration-color: rgba(138, 98, 92, 0.45);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-link-hover);
}

#content {
  margin-top: 36px;
}

.main,
.sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.main {
  padding: clamp(26px, 4vw, 48px);
}

.article {
  color: var(--color-text);
}

.article p {
  margin: 0 0 1.65em;
}

.article ul,
.article ol {
  margin: 1.2em 0 1.7em;
  padding-left: 1.6em;
}

.article li {
  margin-bottom: 0.45em;
}

/* =========================
   Header / Site Title
========================= */
.header-container,
.header-container-in,
.navi,
.navi-in {
  background: var(--color-surface);
}

.header-container {
  border-bottom: 1px solid var(--color-border);
}

.header-in {
  min-height: 112px;
}

.logo-text {
  color: var(--color-heading);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.logo-text a,
.logo-text a:hover {
  color: var(--color-heading);
  text-decoration: none;
}

.tagline {
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.navi {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.navi-in > ul > li > a {
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.navi-in > ul > li > a:hover {
  background: var(--color-bg);
  color: var(--color-link-hover);
}

/* =========================
   Headings
========================= */
.entry-title,
.article h1 {
  color: var(--color-heading);
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.45;
  margin-bottom: 1.1em;
}

.article h2 {
  position: relative;
  margin: 2.7em 0 1.25em;
  padding: 0.15em 0 0.15em 1em;
  border: 0;
  border-left: 4px solid var(--color-main);
  background: transparent;
  color: var(--color-heading);
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.55;
}

.article h2::before,
.article h2::after {
  content: none;
}

.article h3 {
  margin: 2.1em 0 1em;
  padding: 0 0 0.45em;
  border: 0;
  border-bottom: 1px solid var(--color-sub);
  background: transparent;
  color: var(--color-heading);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.6;
}

.article h4 {
  color: var(--color-heading);
}

/* =========================
   Meta / Categories
========================= */
.date-tags,
.post-date,
.post-update,
.entry-card-info,
.related-entry-card-info,
.widget-entry-card-date {
  color: var(--color-muted);
  font-size: 13px;
}

.cat-label,
.cat-link,
.entry-category a {
  display: inline-block;
  padding: 0.25em 0.75em;
  border: 0;
  border-radius: 999px;
  background: var(--color-sub);
  color: var(--color-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

/* =========================
   Article Cards
========================= */
.entry-card-wrap,
.related-entry-card-wrap,
.widget-entry-card,
.a-wrap {
  border-color: var(--color-border);
  border-radius: var(--radius-card);
}

.entry-card-wrap,
.related-entry-card-wrap {
  margin-bottom: 22px;
  background: var(--color-surface);
  box-shadow: 0 3px 14px rgba(78, 69, 64, 0.045);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(78, 69, 64, 0.08);
}

.entry-card-title,
.related-entry-card-title {
  color: var(--color-heading);
  line-height: 1.55;
}

.entry-card-snippet {
  color: var(--color-text);
  line-height: 1.75;
}

/* =========================
   Sidebar / Profile
========================= */
.sidebar {
  padding: 26px;
}

.sidebar h2,
.sidebar h3,
.widget-title {
  margin: 0 0 1em;
  padding: 0 0 0.55em;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-heading);
  font-size: 18px;
}

.author-box,
.uchi-profile {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.author-box .author-name,
.uchi-profile__name {
  color: var(--color-heading);
  font-weight: 700;
}

.author-description,
.uchi-profile__text {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.85;
}

/* =========================
   Buttons
========================= */
.btn,
.wp-block-button__link,
a.btn,
button:not(.menu-button),
input[type="submit"] {
  border-radius: var(--radius-button);
}

.btn,
a.btn,
.wp-block-button__link {
  padding: 0.8em 1.5em;
  background: var(--color-main);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(78, 69, 64, 0.1);
}

.btn:hover,
a.btn:hover,
.wp-block-button__link:hover {
  background: var(--color-link-hover);
  color: #fff;
}

/* =========================
   Content Boxes
   使用クラス: uchi-point / uchi-caution / uchi-note
========================= */
.uchi-point,
.uchi-caution,
.uchi-note {
  margin: 2em 0;
  padding: 1.35em 1.5em;
  border: 1px solid;
  border-radius: var(--radius-card);
}

.uchi-point {
  border-color: var(--color-sub);
  background: #F6F0EA;
}

.uchi-caution {
  border-color: var(--color-accent);
  background: #FCF3F2;
}

.uchi-note {
  border-color: var(--color-border);
  background: var(--color-surface);
}

.uchi-point > :last-child,
.uchi-caution > :last-child,
.uchi-note > :last-child {
  margin-bottom: 0;
}

/* =========================
   Revenue CTA
   使用クラス: uchi-cta
========================= */
.uchi-cta {
  margin: 2.4em 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.uchi-cta__title {
  margin: 0 0 0.75em;
  color: var(--color-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
}

.uchi-cta__text {
  margin-bottom: 1.2em;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.8;
}

.uchi-cta__button {
  display: inline-block;
  min-width: min(100%, 270px);
  padding: 0.9em 1.6em;
  border-radius: var(--radius-button);
  background: var(--color-cta);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(184, 111, 100, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.uchi-cta__button:hover {
  background: var(--color-cta-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.uchi-cta__note {
  margin: 1em 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* =========================
   Forms / Separators
========================= */
input,
textarea,
select {
  border-color: var(--color-border);
  border-radius: 8px;
}

hr {
  border-color: var(--color-border);
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 1023px) {
  #content {
    margin-top: 24px;
  }

  .main,
  .sidebar {
    border-radius: 10px;
  }
}

@media screen and (max-width: 834px) {
  body {
    font-size: 16px;
    line-height: 1.9;
  }

  .header-in {
    min-height: 88px;
  }

  .main {
    padding: 28px 22px;
  }

  .sidebar {
    padding: 22px;
  }

  .article h2 {
    margin-top: 2.35em;
  }
}

@media screen and (max-width: 480px) {
  #content {
    margin-top: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .main {
    padding: 24px 18px;
  }

  .logo-text {
    font-size: 25px;
  }

  .tagline {
    font-size: 12px;
  }

  .entry-title,
  .article h1 {
    font-size: 25px;
  }

  .article h2 {
    padding-left: 0.75em;
    border-left-width: 3px;
    font-size: 21px;
  }

  .article h3 {
    font-size: 19px;
  }

  .uchi-point,
  .uchi-caution,
  .uchi-note,
  .uchi-cta {
    padding: 20px 17px;
  }

  .uchi-cta__button {
    display: block;
    width: 100%;
  }
}


/* =========================
   Cocoon Font Size Adjustment
========================= */
body.fz-18px {
  font-size: 17px;
}

/* =========================
   Feminine Editorial Refinement
   大人女性向けのローズベージュ調整
========================= */
:root {
  --color-main: #9A847C;
  --color-sub: #E5D7D0;
  --color-accent: #C88E8B;
  --color-bg: #FBF7F4;
  --color-heading: #514541;
  --color-link: #956863;
  --color-link-hover: #7A514D;
  --color-cta: #BD7770;
  --color-cta-hover: #A9635D;
  --color-rose-pale: #F5E9E6;
  --color-cream: #FFFDFC;
  --radius-card: 14px;
}

.header-container {
  position: relative;
  background: linear-gradient(180deg, var(--color-cream) 0%, #FCF4F1 100%);
  border-top: 4px solid var(--color-accent);
}

.header-container::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -1px;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-sub), transparent);
}

.logo-text {
  letter-spacing: 0.09em;
}

.tagline {
  color: #987D75;
}

.main,
.sidebar {
  border-color: #E9DDD8;
  box-shadow: 0 8px 28px rgba(110, 82, 75, 0.065);
}

.entry-card-wrap,
.related-entry-card-wrap {
  border-left: 3px solid var(--color-sub);
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  border-left-color: var(--color-accent);
}

.entry-card-title::after,
.related-entry-card-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 0.65em;
  border-radius: 2px;
  background: var(--color-accent);
  opacity: 0.7;
}

.article h2 {
  border-left-color: var(--color-accent);
}

.article h3 {
  border-bottom-color: var(--color-sub);
}

.sidebar h2,
.sidebar h3,
.widget-title {
  position: relative;
  border-bottom-color: var(--color-sub);
}

.sidebar h2::after,
.sidebar h3::after,
.widget-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--color-accent);
}

.cat-label,
.cat-link,
.entry-category a {
  background: var(--color-rose-pale);
  color: #765B55;
}

.author-box,
.uchi-profile {
  border-top: 3px solid var(--color-accent);
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF9F7 100%);
}

.search-box input[type="text"],
.search-box input[type="search"] {
  background: var(--color-cream);
}

.search-submit {
  background: var(--color-main) !important;
  color: #fff !important;
}

/* =========================
   Muted SNS Share Buttons
   サービス原色を抑えた共通配色
========================= */
.sns-share-buttons a,
.sns-follow-buttons a,
.share-menu-button {
  border: 1px solid var(--color-sub) !important;
  background-color: #F3ECE8 !important;
  color: #765F58 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease,
              color 0.2s ease, transform 0.2s ease;
}

.sns-share-buttons a:hover,
.sns-follow-buttons a:hover,
.share-menu-button:hover {
  border-color: var(--color-accent) !important;
  background-color: var(--color-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.sns-share-buttons .button-caption,
.sns-follow-buttons .button-caption {
  color: inherit !important;
}

.sns-share-buttons .social-icon,
.sns-follow-buttons .social-icon {
  color: inherit !important;
}

/* 記事上部はすっきり、シェア導線は記事下部に集約 */
.sns-share.ss-top {
  display: none;
}

.sns-share.ss-bottom {
  margin-top: 3em;
  padding-top: 1.5em;
  border-top: 1px solid var(--color-border);
}

@media screen and (max-width: 834px) {
  .header-container {
    border-top-width: 3px;
  }

  .entry-card-wrap,
  .related-entry-card-wrap {
    border-left-width: 2px;
  }
}

