@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){
  /*必要ならばここにコードを書く*/
}

/* ==================================================
   NOKOSU DESIGN
   Home page
   ================================================== */


/* ---------- 基本 ---------- */

.home #main {
  background: #fff;
  border: 0;
  box-shadow: none;
}

.home .entry-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 18px 64px;
  color: #20282d;
  line-height: 1.9;
}


/* HOMEという固定ページタイトルを非表示 */

.home .entry-title {
  display: none;
}


/* トップページの不要な表示 */

.home .date-tags,
.home .sns-share,
.home .sns-follow,
.home .author-box,
.home .toc,
.home .breadcrumb {
  display: none !important;
}


/* ---------- 最初のキャッチコピー ---------- */

.home .entry-content > h2:first-of-type {
  background: none;
  border: 0;
  padding: 0;
  margin: 20px 0 24px;
  color: #20282d;
  font-size: 2rem;
  line-height: 1.45;
  letter-spacing: .02em;
}


/* ---------- 通常見出し ---------- */

.home .entry-content h2 {
  background: none;
  border: 0;
  padding: 0;
  color: #20282d;
  font-size: 1.55rem;
  line-height: 1.45;
  margin: 58px 0 22px;
  letter-spacing: .03em;
}

.home .entry-content h3 {
  background: none;
  border: 0;
  padding: 0;
  color: #20282d;
}


/* ---------- FEATURED ---------- */

.home .featured-card {
  margin: 20px 0 42px;
  padding: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 18px;
  box-shadow: 0 7px 25px rgba(25, 43, 50, .06);
}

.home .featured-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 18px 18px 0 0;
}

.home .featured-card h2,
.home .featured-card h3 {
  margin: 22px 22px 12px;
  font-size: 1.45rem;
  line-height: 1.45;
}

.home .featured-card p {
  margin: 0 22px;
  color: #59666c;
}

.home .featured-card a {
  color: #17647a;
  text-decoration: none;
}


/* ---------- BUY / USE / SELL / PLUS ---------- */

/* スマホでも2列×2段 */
.home .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.home .wp-block-column {
  min-width: 0;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(25, 43, 50, .045);
}

.home .wp-block-column h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.home .wp-block-column p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.65;
}


/* ---------- NEW ARTICLES ---------- */

.home .wp-block-latest-posts {
  margin: 0;
  padding: 0;
}

.home .wp-block-latest-posts li {
  margin: 0 0 18px;
  padding: 14px;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 14px;
}

.home .wp-block-latest-posts__featured-image img {
  border-radius: 10px;
}

.home .wp-block-latest-posts a {
  color: #20282d;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}

.home .wp-block-latest-posts__post-date {
  margin-top: 6px;
  color: #7b878c;
  font-size: .82rem;
}


/* ---------- ABOUT NOKOSU ---------- */

.home h2:last-of-type + p {
  padding-top: 4px;
}

.home h2:last-of-type {
  margin-top: 64px;
}


/* ---------- リンク ---------- */

.home a {
  color: #17647a;
}


/* ---------- スマホ ---------- */

@media screen and (max-width: 768px) {

  .home .entry-content {
    padding: 24px 18px 58px;
  }

  .home .entry-content > h2:first-of-type {
    font-size: 1.8rem;
    margin-top: 12px;
  }

  .home .entry-content h2 {
    font-size: 1.35rem;
    margin-top: 48px;
  }

  .home .featured-card h2,
  .home .featured-card h3 {
    margin: 18px 18px 10px;
    font-size: 1.3rem;
  }

  .home .featured-card p {
    margin-left: 18px;
    margin-right: 18px;
  }

  .home .wp-block-column {
    padding: 18px 14px;
  }

  .home .wp-block-column h3 {
    font-size: 1.15rem;
  }

  .home .wp-block-column p {
    font-size: .88rem;
  }
}


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

@media screen and (min-width: 769px) {

  .home #main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }

  .home .entry-content {
    padding: 50px 42px 90px;
  }
}


/* ==================================================
   NOKOSU DESIGN
   Home page
   ================================================== */


/* ---------- 基本 ---------- */

.home #main {
  background: #fff;
  border: 0;
  box-shadow: none;
}

.home .entry-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 18px 64px;
  color: #20282d;
  line-height: 1.9;
}


/* HOMEという固定ページタイトルを非表示 */

.home .entry-title {
  display: none;
}


/* トップページの不要な表示 */

.home .date-tags,
.home .sns-share,
.home .sns-follow,
.home .author-box,
.home .toc,
.home .breadcrumb {
  display: none !important;
}


/* ---------- 最初のキャッチコピー ---------- */

.home .entry-content > h2:first-of-type {
  background: none;
  border: 0;
  padding: 0;
  margin: 20px 0 24px;
  color: #20282d;
  font-size: 2rem;
  line-height: 1.45;
  letter-spacing: .02em;
}


/* ---------- 通常見出し ---------- */

.home .entry-content h2 {
  background: none;
  border: 0;
  padding: 0;
  color: #20282d;
  font-size: 1.55rem;
  line-height: 1.45;
  margin: 58px 0 22px;
  letter-spacing: .03em;
}

.home .entry-content h3 {
  background: none;
  border: 0;
  padding: 0;
  color: #20282d;
}


/* ---------- FEATURED ---------- */

.home .featured-card {
  margin: 20px 0 42px;
  padding: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 18px;
  box-shadow: 0 7px 25px rgba(25, 43, 50, .06);
}

.home .featured-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 18px 18px 0 0;
}

.home .featured-card h2,
.home .featured-card h3 {
  margin: 22px 22px 12px;
  font-size: 1.45rem;
  line-height: 1.45;
}

.home .featured-card p {
  margin: 0 22px;
  color: #59666c;
}

.home .featured-card a {
  color: #17647a;
  text-decoration: none;
}


/* ---------- BUY / USE / SELL / PLUS ---------- */

/* スマホでも2列×2段 */
.home .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.home .wp-block-column {
  min-width: 0;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(25, 43, 50, .045);
}

.home .wp-block-column h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.home .wp-block-column p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.65;
}


/* ---------- NEW ARTICLES ---------- */

.home .wp-block-latest-posts {
  margin: 0;
  padding: 0;
}

.home .wp-block-latest-posts li {
  margin: 0 0 18px;
  padding: 14px;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 14px;
}

.home .wp-block-latest-posts__featured-image img {
  border-radius: 10px;
}

.home .wp-block-latest-posts a {
  color: #20282d;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}

.home .wp-block-latest-posts__post-date {
  margin-top: 6px;
  color: #7b878c;
  font-size: .82rem;
}


/* ---------- ABOUT NOKOSU ---------- */

.home h2:last-of-type + p {
  padding-top: 4px;
}

.home h2:last-of-type {
  margin-top: 64px;
}


/* ---------- リンク ---------- */

.home a {
  color: #17647a;
}


/* ---------- スマホ ---------- */

@media screen and (max-width: 768px) {

  .home .entry-content {
    padding: 24px 18px 58px;
  }

  .home .entry-content > h2:first-of-type {
    font-size: 1.8rem;
    margin-top: 12px;
  }

  .home .entry-content h2 {
    font-size: 1.35rem;
    margin-top: 48px;
  }

  .home .featured-card h2,
  .home .featured-card h3 {
    margin: 18px 18px 10px;
    font-size: 1.3rem;
  }

  .home .featured-card p {
    margin-left: 18px;
    margin-right: 18px;
  }

  .home .wp-block-column {
    padding: 18px 14px;
  }

  .home .wp-block-column h3 {
    font-size: 1.15rem;
  }

  .home .wp-block-column p {
    font-size: .88rem;
  }
}


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

@media screen and (min-width: 769px) {

  .home #main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }

  .home .entry-content {
    padding: 50px 42px 90px;
  }
}


/* =====================================
   NOKOSU visual upgrade
   ===================================== */

/* 全体背景を真っ白から少し暖かい色へ */
body.home,
.home #container,
.home .content {
  background: #F4F2ED !important;
}

/* ヘッダー */
.home #header-container,
.home .header-container {
  background: #F8F6F1 !important;
  border-bottom: 1px solid #E4E1DA;
}

/* メインエリア */
.home #main {
  background: transparent !important;
}

/* 本文 */
.home .entry-content {
  color: #1F2A30;
}

/* トップの大見出し */
.home .entry-content > h2:first-of-type {
  color: #1F2A30;
  font-weight: 700;
  letter-spacing: .02em;
}

/* FEATURED */
.home .featured-card {
  background: #fff;
  border: 1px solid #E4E1DA;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 14px 35px rgba(31,42,48,.07),
    0 2px 8px rgba(31,42,48,.04);
}

/* カテゴリーカード */
.home .wp-block-column {
  background: #FFFFFF !important;
  border: 1px solid #E4E1DA !important;
  border-radius: 18px !important;
  box-shadow:
    0 8px 22px rgba(31,42,48,.05) !important;
}

/* BUY / USE / SELL / PLUS */
.home .wp-block-column h3 {
  color: #1F2A30;
  font-weight: 700;
  letter-spacing: .04em;
}

/* NEW ARTICLESカード */
.home .wp-block-latest-posts li {
  background: #FFFFFF !important;
  border: 1px solid #E4E1DA !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 20px rgba(31,42,48,.045);
}

/* ABOUT */
.home h2:last-of-type + p {
  background: #ECE9E2;
  border-radius: 18px;
  padding: 24px;
}

/* フッターも濃すぎない色に */
.home .footer,
.home #footer {
  background: #233A43 !important;
}

/* スマホ下部メニュー */
.mobile-footer-menu-buttons {
  background: rgba(248,246,241,.96) !important;
  border-top: 1px solid #E4E1DA !important;
}

/* ==============================
   NOKOSU brand refinement
   ============================== */

/* ヘッダーのサイト名 */
.logo-text {
  font-weight: 700;
  letter-spacing: .18em;
}

/* トップのメインコピー */
.home .entry-content > h2:first-of-type {
  font-size: 2.15rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 22px;
}

/* FEATUREDラベルを英字らしく */
.home .entry-content h2:not(:first-of-type) {
  letter-spacing: .08em;
}

/* FEATURED画像 */
.home .featured-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* カテゴリーカード */
.home .wp-block-column {
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* PCではわずかに浮く */
@media (hover:hover) {
  .home .wp-block-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(31,42,48,.08) !important;
  }
}

/* BUY / USE / SELL / PLUS */
.home .wp-block-column h3 {
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: #17647A;
  margin-bottom: 12px;
}

/* 説明文 */
.home .wp-block-column p {
  color: #4D5B61;
  line-height: 1.7;
}


/* =========================================================
   NOKOSU HOME v2
   ========================================================= */

body:has(.nokosu-v2) {
  background: #f1efe9;
  color: #20282d;
}

/* Cocoon感をHOME v2では極力消す */
body:has(.nokosu-v2) #main {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:has(.nokosu-v2) .entry-title,
body:has(.nokosu-v2) .date-tags,
body:has(.nokosu-v2) .sns-share,
body:has(.nokosu-v2) .sns-follow,
body:has(.nokosu-v2) .author-box,
body:has(.nokosu-v2) .toc,
body:has(.nokosu-v2) .breadcrumb {
  display: none !important;
}

body:has(.nokosu-v2) .entry-content {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* =========================
   HERO
   ========================= */

.nokosu-v2 {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.nokosu-hero-v2 {
  padding: 80px 0 72px;
}

.nokosu-kicker {
  margin: 0 0 34px !important;
  color: #17647a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
}

.nokosu-hero-v2 h1 {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: #17242a;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.nokosu-lead {
  max-width: 590px;
  margin: 34px 0 0 !important;
  color: #677278;
  font-size: 1rem;
  line-height: 2;
}

/* =========================
   SECTION LABEL
   ========================= */

.nokosu-section-label {
  margin: 0 0 18px !important;
  color: #17647a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
}

/* =========================
   FEATURED
   ========================= */

.nokosu-feature-section {
  margin: 0 0 88px;
}

.nokosu-feature-card {
  display: block;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 48px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.20), transparent 35%),
    linear-gradient(135deg, #173844 0%, #1e5967 55%, #102b33 100%);
  box-shadow: 0 24px 65px rgba(26, 41, 47, .16);
  color: #fff !important;
  text-decoration: none !important;
}

.nokosu-feature-card:after {
  content: "18 PRO";
  position: absolute;
  right: -8px;
  bottom: -30px;
  color: rgba(255,255,255,.055);
  font-size: 8rem;
  font-weight: 800;
  letter-spacing: -.06em;
}

.nokosu-feature-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.nokosu-feature-text > span {
  display: inline-block;
  margin-bottom: 95px;
  color: rgba(255,255,255,.67);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.nokosu-feature-text h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.17;
  letter-spacing: -.035em;
}

.nokosu-feature-text p {
  max-width: 500px;
  margin: 0 0 34px !important;
  color: rgba(255,255,255,.74);
  line-height: 1.8;
}

.nokosu-feature-text small {
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
}

/* =========================
   CATEGORY
   ========================= */

.nokosu-category-section {
  margin-bottom: 92px;
}

.nokosu-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.nokosu-category-card {
  display: block;
  min-height: 220px;
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid #e1ded6;
  border-radius: 22px;
  color: #20282d !important;
  text-decoration: none !important;
  box-shadow: 0 7px 24px rgba(31,42,48,.035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.nokosu-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(31,42,48,.08);
}

.nokosu-category-card > span {
  display: block;
  margin-bottom: 40px;
  color: #9aa2a5;
  font-size: .68rem;
  letter-spacing: .12em;
}

.nokosu-category-card h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #17647a !important;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: .06em;
}

.nokosu-category-card p {
  margin: 0 0 8px !important;
  color: #26343a;
  font-weight: 600;
}

.nokosu-category-card small {
  color: #8a9498;
  font-size: .72rem;
  line-height: 1.5;
}

/* =========================
   ABOUT
   ========================= */

.nokosu-about-v2 {
  margin-bottom: 88px;
  padding: 50px;
  background: #dfdbd1;
  border-radius: 28px;
}

.nokosu-about-v2 h2 {
  margin: 0 0 28px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #20282d !important;
  font-size: 2rem;
  line-height: 1.35;
}

.nokosu-about-v2 p:not(.nokosu-section-label) {
  max-width: 680px;
  color: #59656a;
  line-height: 1.9;
}

/* =========================
   NEW ARTICLES
   ========================= */

body:has(.nokosu-v2) .entry-content > .wp-block-heading {
  max-width: 940px;
  margin: 0 auto 22px !important;
  padding: 0 24px !important;
  background: none !important;
  border: 0 !important;
  color: #20282d !important;
  font-size: 1.35rem;
  letter-spacing: .06em;
}

body:has(.nokosu-v2) .wp-block-latest-posts {
  max-width: 940px;
  margin: 0 auto 90px !important;
  padding: 0 24px !important;
}

body:has(.nokosu-v2) .wp-block-latest-posts li {
  overflow: hidden;
  margin-bottom: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e1ded6;
  border-radius: 18px;
  box-shadow: none;
}

body:has(.nokosu-v2) .wp-block-latest-posts__featured-image img {
  border-radius: 12px;
}

body:has(.nokosu-v2) .wp-block-latest-posts a {
  color: #20282d;
  font-weight: 650;
  text-decoration: none;
}

body:has(.nokosu-v2) .wp-block-latest-posts__post-date {
  margin-top: 6px;
  color: #929a9d;
  font-size: .72rem;
}

/* =========================
   MOBILE
   ========================= */

@media screen and (max-width: 768px) {

  .nokosu-v2 {
    padding: 0 18px 58px;
  }

  .nokosu-hero-v2 {
    padding: 52px 0 54px;
  }

  .nokosu-kicker {
    margin-bottom: 24px !important;
  }

  .nokosu-hero-v2 h1 {
    font-size: 2.65rem;
    line-height: 1.07;
  }

  .nokosu-lead {
    margin-top: 25px !important;
    font-size: .91rem;
    line-height: 1.9;
  }

  .nokosu-feature-section {
    margin-bottom: 66px;
  }

  .nokosu-feature-card {
    min-height: 410px;
    padding: 30px 26px;
    border-radius: 24px;
  }

  .nokosu-feature-text > span {
    margin-bottom: 110px;
  }

  .nokosu-feature-text h2 {
    font-size: 2rem;
  }

  .nokosu-feature-text p {
    font-size: .88rem;
  }

  .nokosu-feature-card:after {
    right: -12px;
    bottom: -14px;
    font-size: 5rem;
  }

  .nokosu-category-section {
    margin-bottom: 68px;
  }

  .nokosu-category-grid {
    gap: 10px;
  }

  .nokosu-category-card {
    min-height: 180px;
    padding: 19px 16px;
    border-radius: 18px;
  }

  .nokosu-category-card > span {
    margin-bottom: 29px;
  }

  .nokosu-category-card h3 {
    font-size: 1.38rem;
  }

  .nokosu-category-card p {
    font-size: .83rem;
  }

  .nokosu-category-card small {
    font-size: .63rem;
  }

  .nokosu-about-v2 {
    margin-bottom: 65px;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .nokosu-about-v2 h2 {
    font-size: 1.55rem;
  }

  body:has(.nokosu-v2) .entry-content > .wp-block-heading,
  body:has(.nokosu-v2) .wp-block-latest-posts {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* ===== FEATURED 修正版 ===== */

.nokosu-feature-card {
  display: flex !important;
  align-items: flex-end;
  width: 100% !important;
  min-height: 420px;
  box-sizing: border-box;
  padding: 34px !important;
  overflow: hidden;
}

.nokosu-feature-text {
  display: block !important;
  width: 100% !important;
  max-width: 560px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nokosu-feature-text > span {
  display: block;
  margin: 0 0 18px !important;
}

.nokosu-feature-text h2 {
  margin: 0 0 14px !important;
}

.nokosu-feature-text p {
  margin: 0 0 24px !important;
}

@media screen and (max-width: 768px) {
  .nokosu-feature-card {
    min-height: 390px;
    padding: 26px !important;
  }
}

/* ==================================================
   NOKOSU TOP - MONOCHROME DESIGN
   ================================================== */

body:has(.nokosu-top) {
  background: #f3f4f4;
  color: #191c1e;
}

body:has(.nokosu-top) #main {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:has(.nokosu-top) .entry-title,
body:has(.nokosu-top) .date-tags,
body:has(.nokosu-top) .sns-share,
body:has(.nokosu-top) .sns-follow,
body:has(.nokosu-top) .author-box,
body:has(.nokosu-top) .toc,
body:has(.nokosu-top) .breadcrumb {
  display: none !important;
}

body:has(.nokosu-top) .entry-content {
  margin: 0;
  padding: 0;
}

.nokosu-top {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 90px;
}

/* HERO */

.nk-hero {
  padding: 80px 0 90px;
}

.nk-brand {
  margin: 0 0 42px !important;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  color: #6e7477;
}

.nk-hero h1 {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #111315 !important;
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.nk-lead {
  max-width: 560px;
  margin: 34px 0 0 !important;
  color: #747a7d;
  font-size: .95rem;
  line-height: 2;
}

/* SECTION HEAD */

.nk-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid #cfd2d3;
  color: #555b5e;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
}

/* FEATURED */

.nk-feature {
  margin-bottom: 100px;
}

.nk-feature-card {
  display: block;
  overflow: hidden;
  background: #fff;
  color: #111315 !important;
  text-decoration: none !important;
  border-radius: 4px;
}

.nk-feature-photo {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #0c0d0e 0%, #25292b 60%, #474d50 100%);
  color: #7b8082;
  font-size: .68rem;
  letter-spacing: .22em;
}

.nk-feature-body {
  padding: 34px 36px 38px;
}

.nk-meta {
  margin: 0 0 18px !important;
  color: #73797c;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.nk-feature-body h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #121416 !important;
  font-size: 2.3rem;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.nk-feature-body > p:not(.nk-meta) {
  max-width: 600px;
  margin-bottom: 28px !important;
  color: #686f72;
  line-height: 1.8;
}

.nk-read {
  color: #111315;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
}

/* CATEGORY */

.nk-explore {
  margin-bottom: 105px;
}

.nk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: #cfd2d3;
  border: 1px solid #cfd2d3;
}

.nk-category {
  display: block;
  min-height: 210px;
  padding: 28px;
  background: #fff;
  color: #171a1c !important;
  text-decoration: none !important;
}

.nk-number {
  display: block;
  margin-bottom: 38px;
  color: #9a9fa1;
  font-size: .65rem;
}

.nk-category h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #111315 !important;
  font-size: 1.7rem;
  letter-spacing: .06em;
}

.nk-category p {
  margin: 0 0 16px !important;
  color: #373c3e;
  font-weight: 600;
}

.nk-category > span:last-child {
  color: #969b9d;
  font-size: .62rem;
  letter-spacing: .08em;
}

/* ABOUT */

.nk-about {
  padding: 55px 0 25px;
}

.nk-about h2 {
  max-width: 650px;
  margin: 38px 0 28px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #111315 !important;
  font-size: 2.6rem;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.nk-about > p:last-child {
  max-width: 620px;
  color: #697073;
  line-height: 1.95;
}

/* MOBILE */

@media screen and (max-width: 768px) {

  .nokosu-top {
    padding: 0 18px 70px;
  }

  .nk-hero {
    padding: 52px 0 66px;
  }

  .nk-brand {
    margin-bottom: 28px !important;
  }

  .nk-hero h1 {
    font-size: 2.75rem;
    line-height: 1.07;
  }

  .nk-lead {
    margin-top: 26px !important;
    font-size: .87rem;
    line-height: 1.9;
  }

  .nk-feature {
    margin-bottom: 72px;
  }

  .nk-feature-photo {
    height: 300px;
  }

  .nk-feature-body {
    padding: 25px 22px 28px;
  }

  .nk-feature-body h2 {
    font-size: 1.65rem;
  }

  .nk-explore {
    margin-bottom: 76px;
  }

  .nk-category {
    min-height: 165px;
    padding: 20px 16px;
  }

  .nk-number {
    margin-bottom: 25px;
  }

  .nk-category h3 {
    font-size: 1.35rem;
  }

  .nk-category p {
    font-size: .82rem;
  }

  .nk-category > span:last-child {
    font-size: .55rem;
  }

  .nk-about h2 {
    font-size: 1.85rem;
  }
}

/* FEATURED写真を少しダークに */
.nk-feature-photo {
  position: relative;
}

.nk-feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);
}

/* NOKOSU TOP 最終調整 01 */

/* セクション間を詰める */
.nk-feature {
  margin-bottom: 65px !important;
}

.nk-explore {
  margin-bottom: 65px !important;
}

.nk-about {
  padding-top: 35px !important;
}

/* フッターをモノトーンへ */
body:has(.nokosu-top) #footer,
body:has(.nokosu-top) .footer {
  background: #17191a !important;
  color: #ffffff !important;
}

body:has(.nokosu-top) #footer a,
body:has(.nokosu-top) .footer a {
  color: #ffffff !important;
}

/* =========================================
   NOKOSU TOP - NEW ARTICLES
   ========================================= */

/* NEW ARTICLES 見出し */
body:has(.nokosu-top) .entry-content > .wp-block-heading {
  max-width: 920px;
  margin: 0 auto 16px !important;
  padding: 0 24px 11px !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid #cfd2d3 !important;
  color: #555b5e !important;
  font-size: .68rem !important;
  font-weight: 700;
  letter-spacing: .18em;
  position: relative;
}

body:has(.nokosu-top) .entry-content > .wp-block-heading::after {
  content: "03";
  position: absolute;
  right: 24px;
  color: #555b5e;
}

/* 記事一覧全体 */
body:has(.nokosu-top) .wp-block-latest-posts {
  max-width: 920px;
  margin: 0 auto 80px !important;
  padding: 0 24px !important;
}

/* 記事1件 */
body:has(.nokosu-top) .wp-block-latest-posts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-rows: auto auto;
  column-gap: 15px;
  row-gap: 5px;

  margin: 0 0 10px !important;
  padding: 12px !important;

  background: #fff;
  border: 1px solid #d7d9da;
  list-style: none;
}

/* 写真 */
body:has(.nokosu-top) .wp-block-latest-posts__featured-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0 !important;
}

body:has(.nokosu-top) .wp-block-latest-posts__featured-image img {
  display: block;
  width: 110px !important;
  height: 78px !important;
  object-fit: cover;
}

/* 記事タイトル */
body:has(.nokosu-top) .wp-block-latest-posts li > a {
  grid-column: 2;
  grid-row: 1;
  align-self: end;

  color: #151719 !important;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none !important;
}

/* 日付 */
body:has(.nokosu-top) .wp-block-latest-posts__post-date {
  grid-column: 2;
  grid-row: 2;

  margin: 0 !important;
  color: #8a8f91;
  font-size: .66rem;
}

/* スマホ */
@media screen and (max-width: 480px) {

  body:has(.nokosu-top) .entry-content > .wp-block-heading,
  body:has(.nokosu-top) .wp-block-latest-posts {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body:has(.nokosu-top) .entry-content > .wp-block-heading::after {
    right: 18px;
  }

  body:has(.nokosu-top) .wp-block-latest-posts li {
    grid-template-columns: 92px 1fr;
    column-gap: 12px;
  }

  body:has(.nokosu-top) .wp-block-latest-posts__featured-image img {
    width: 92px !important;
    height: 70px !important;
  }

  body:has(.nokosu-top) .wp-block-latest-posts li > a {
    font-size: .82rem;
  }
}

/* =========================================
   NOKOSU MOBILE BOTTOM NAV
   ========================================= */

/* PCでは表示しない */
.nk-mobile-nav {
  display: none;
}

/* スマホだけ表示 */
@media screen and (max-width: 768px) {

  .nk-mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    background: rgba(255,255,255,.96);
    border-top: 1px solid #d7d9da;
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);

    padding-bottom: env(safe-area-inset-bottom);
  }

  .nk-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 58px;

    color: #202326 !important;
    text-decoration: none !important;

    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
  }

  .nk-mobile-nav a + a {
    border-left: 1px solid #eceeef;
  }

  /* ナビでページ最下部が隠れないようにする */
  body:has(.nokosu-top) {
    padding-bottom: 65px;
  }
} 

/* =========================================
   NOKOSU MOBILE NAV - ICON VERSION
   ========================================= */

@media screen and (max-width: 768px) {

  .nk-mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    height: 66px;
    background: rgba(255,255,255,.97);
    border-top: 1px solid #d9dcdd;
    box-shadow: 0 -4px 18px rgba(0,0,0,.045);

    padding-bottom: env(safe-area-inset-bottom);
  }

  .nk-mobile-nav a {
    height: 66px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    color: #171a1c !important;
    text-decoration: none !important;
    border-left: 0 !important;

    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .02em;
  }

  .nk-mobile-nav svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nk-mobile-nav a:first-child svg {
    fill: #171a1c;
    stroke: #171a1c;
  }

  .nk-mobile-nav span {
    line-height: 1;
  }

  body:has(.nokosu-top) {
    padding-bottom: 72px;
  }
} 

/* =========================================
   NOKOSU ARTICLE DESIGN
   投稿ページ共通
   ========================================= */

/* 記事ページ全体 */
.single-post {
  background: #f5f5f5;
  color: #202326;
}

/* 記事本体 */
.single-post #main {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  box-shadow: none;
  border: 0;
}

/* 記事本文の幅 */
.single-post .article {
  max-width: 760px;
  margin: 0 auto;
  padding: 55px 24px 90px;
}

/* 記事タイトル */
.single-post .entry-title {
  margin: 0 0 22px;
  padding: 0;
  background: none;
  border: 0;

  color: #111315;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
}

/* 日付など */
.single-post .date-tags {
  margin-bottom: 26px;
  color: #858a8c;
  font-size: .72rem;
}

/* アイキャッチ画像 */
.single-post .eye-catch {
  margin: 0 0 48px;
}

.single-post .eye-catch img {
  width: 100%;
  height: auto;
}

/* 本文 */
.single-post .entry-content {
  color: #303538;
  font-size: 1rem;
  line-height: 2;
}

.single-post .entry-content p {
  margin-bottom: 1.8em;
}

/* H2：Cocoonの青緑バーをやめる */
.single-post .entry-content h2 {
  margin: 68px 0 28px;
  padding: 4px 0 4px 18px;

  background: none !important;
  border: 0 !important;
  border-left: 4px solid #181b1d !important;

  color: #111315;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.45;
}

/* H3 */
.single-post .entry-content h3 {
  margin: 46px 0 20px;
  padding: 0 0 10px;

  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid #d6d8d9 !important;

  color: #171a1c;
  font-size: 1.3rem;
  font-weight: 700;
}

/* リンク */
.single-post .entry-content a {
  color: #202326;
  text-decoration-color: #9ca1a3;
  text-underline-offset: 3px;
}

/* 表 */
.single-post .entry-content table {
  border-color: #d9dbdc;
}

.single-post .entry-content th {
  background: #f1f2f2;
  color: #171a1c;
}

/* スマホ */
@media screen and (max-width: 768px) {

  .single-post .article {
    padding: 36px 18px 75px;
  }

  .single-post .entry-title {
    font-size: 1.9rem;
    line-height: 1.35;
  }

  .single-post .eye-catch {
    margin-bottom: 36px;
  }

  .single-post .entry-content {
    font-size: .96rem;
    line-height: 1.95;
  }

  .single-post .entry-content h2 {
    margin-top: 54px;
    font-size: 1.4rem;
    padding-left: 14px;
  }

  .single-post .entry-content h3 {
    margin-top: 40px;
    font-size: 1.2rem;
  }
}

/* NOKOSU 記事タイトル スマホ調整 */
@media screen and (max-width: 768px) {
  .single-post .entry-title {
    font-size: 1.55rem !important;
    line-height: 1.4 !important;
    letter-spacing: -0.02em;
    margin-bottom: 22px !important;
  }
} 

/* NOKOSU TOP スマホ見出し調整 */
@media screen and (max-width: 768px) {
  .nk-hero h1 {
    font-size: 2.3rem !important;
    line-height: 1.08 !important;
  }
}  

/* =========================================
   NOKOSU 記事末尾 モノトーン統一
   ========================================= */

/* BUYなどカテゴリーラベル */
.single-post .cat-label,
.single-post .cat-link,
.single-post .entry-categories-tags a {
  background: #1b1e20 !important;
  color: #ffffff !important;
  border-color: #1b1e20 !important;
}

/* 著者名・記事末尾リンク */
.single-post .author-info a,
.single-post .author-name,
.single-post .author-name a {
  color: #34393c !important;
  text-decoration-color: #9a9ea0 !important;
}

/* フッター */
.single-post #footer,
.single-post .footer {
  background: #202326 !important;
  color: #d9dcdd !important;
}

/* フッター内リンク */
.single-post #footer a,
.single-post .footer a {
  color: #ffffff !important;
}

/* パンくず */
.single-post .breadcrumb,
.single-post .breadcrumb a {
  color: #777d80 !important;
}  

/* =========================================
   NOKOSU 記事末尾の余白をコンパクトに
   ========================================= */

.single-post .article {
  padding-bottom: 30px !important;
}

.single-post .article-footer {
  margin-top: 20px !important;
  padding-bottom: 20px !important;
}

.single-post .breadcrumb {
  margin-top: 25px !important;
  margin-bottom: 20px !important;
}

/* 空のフッターをコンパクトに */
.single-post #footer,
.single-post .footer {
  min-height: 0 !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}  
/* NOKOSU 記事末尾をさらにコンパクトに */

/* 著者名を非表示 */
.single-post .author-info,
.single-post .post-author {
  display: none !important;
}

/* 記事末尾 */
.single-post .article-footer {
  margin-top: 14px !important;
  padding-bottom: 0 !important;
}

/* パンくずを少し上へ */
.single-post .breadcrumb {
  margin-top: 18px !important;
  margin-bottom: 16px !important;
}

/* フッターを低く */
.single-post #footer,
.single-post .footer {
  min-height: 0 !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
} 

/* =========================================
   NOKOSU 下部レイアウト統一
   ========================================= */

/* 固定ページに残っている著者表示を消す */
.page .author-info,
.page .post-author {
  display: none !important;
}

/* スマホのフッターを全ページ共通サイズに */
@media screen and (max-width: 768px) {

  #footer,
  .footer {
    min-height: 0 !important;
    padding-top: 28px !important;

    /* 固定下部ナビに文字が隠れないための余白 */
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }

  #footer .footer-in,
  .footer .footer-in {
    min-height: 0 !important;
  }
}  

/* =========================================
   NOKOSU 記事フッターをHOMEと統一
   ========================================= */

@media screen and (max-width: 768px) {

  .single-post #footer,
  .single-post .footer {
    min-height: 0 !important;
    padding-top: 28px !important;
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
}

/* NEW ARTICLES 見出しを記事カードと揃える */
@media screen and (max-width: 768px) {
  #new-articles {
    margin-left: 34px !important;
    margin-right: 34px !important;
    width: auto !important;
  }
}

/* ABOUT NOKOSU をカードと同じ左右位置に揃える */
@media screen and (max-width: 768px) {
  .nk-about {
    padding-left: 34px !important;
    padding-right: 34px !important;
  }

  .nk-about .nk-section-head {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}