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

/* SAKUSHIRU article presentation tokens */
:root {
  --sakushiru-accent: #1473e6;
  --sakushiru-soft-bg: #eef6ff;
  --sakushiru-border: #bcdcff;
  --sakushiru-muted: #667085;
}

/* Standard article sections */
.entry-content .sakushiru-article-section {
  margin: 2.4rem 0;
}

.entry-content .sakushiru-article-section > h2 {
  margin: 0 0 1rem;
  padding: 0.25rem 0 0.25rem 0.8rem;
  border: 0;
  border-left: 4px solid var(--sakushiru-accent);
  border-radius: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Main SAKUSHIRU quick-reading UX */
.entry-content .sakushiru-quick-summary {
  margin: 2.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--sakushiru-border);
  border-radius: 8px;
  background: var(--sakushiru-soft-bg);
}

.entry-content .sakushiru-quick-summary > h2 {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1.45;
}

.entry-content .sakushiru-quick-summary > ul {
  margin: 0;
  padding-left: 1.4rem;
}

.entry-content .sakushiru-quick-summary > ul > li {
  margin: 0.55rem 0;
  padding-left: 0.15rem;
  line-height: 1.65;
}

.entry-content .sakushiru-quick-summary > ul > li::marker {
  color: var(--sakushiru-accent);
  content: "✓  ";
  font-weight: 700;
}

/* Quiet evidence/source section */
.entry-content .sakushiru-sources {
  margin: 2.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sakushiru-border);
  color: var(--sakushiru-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.entry-content .sakushiru-sources > h2 {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.45;
}

.entry-content .sakushiru-sources > ul {
  margin: 0;
  padding-left: 1.25rem;
}

.entry-content .sakushiru-sources > ul > li {
  margin: 0.65rem 0;
  overflow-wrap: anywhere;
}

.entry-content .sakushiru-sources a {
  color: var(--cocoon-text-color, #333);
  font-size: 1.05em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 480px) {
  .entry-content .sakushiru-article-section {
    margin: 2rem 0;
  }

  .entry-content .sakushiru-article-section > h2 {
    font-size: 1.18rem;
  }

  .entry-content .sakushiru-quick-summary {
    margin: 2rem 0;
    padding: 1rem;
  }

  .entry-content .sakushiru-quick-summary > h2 {
    font-size: 1.15rem;
  }
}

/* SAKUSHIRU accent emphasis */
.entry-content .sakushiru-article-section > h2 {
  color: #16324f;
}

.entry-content .sakushiru-quick-summary {
  border-left: 5px solid var(--sakushiru-accent);
}

.entry-content .sakushiru-quick-summary > h2 {
  color: var(--sakushiru-accent);
  font-weight: 700;
}

.entry-content .sakushiru-sources > h2 {
  color: #52606d;
}


/* ==================================================
   SAKUSHIRU Desktop Header v1
   ================================================== */

@media screen and (min-width: 1024px) {
  .header-container-in.hlt-top-menu {
    justify-content: flex-start;
    align-items: center;
  }

  .header-container-in.hlt-top-menu .header {
    flex: 0 0 auto;
  }

  .header-container-in.hlt-top-menu .navi {
    flex: 0 0 auto;
    width: auto;
    margin-left: 24px;
  }

  .header-container-in.hlt-top-menu .navi-in > ul {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .header-container-in.hlt-top-menu .navi-in > ul > li {
    display: flex;
    align-items: center;
    width: auto;
    height: 60px;
    line-height: 1.5;
  }

  .header-container-in.hlt-top-menu .navi-in > ul > li > a {
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #0F205B;
  }

  .header-container-in.hlt-top-menu .navi-in > ul > li.current-menu-item > a,
  .header-container-in.hlt-top-menu .navi-in > ul > li > a[aria-current="page"],
  .header-container-in.hlt-top-menu .navi-in a:hover,
  .header-container-in.hlt-top-menu .navi-in a:focus-visible {
    color: #1677E8;
    background-color: transparent;
  }
}


/* ==================================================
   SAKUSHIRU Homepage foundation
   ================================================== */

body.home.blog #content-in {
  display: block;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

body.home.blog #main.main {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

/*
 * ACT 1から維持。
 * Sidebar DOMは残すが、Homepageでは視覚的に非表示。
 */
body.home.blog #sidebar {
  display: none;
}

body.home.blog .sakushiru-homepage {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 64px;
}


/* ==================================================
   SAKUSHIRU Homepage Brand Hero — ACT 2
   ================================================== */

body.home.blog .sakushiru-home-hero {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 60px 64px;
  border: 1px solid #cfe3ff;
  border-radius: 16px;
  background: #e8f2ff;
}

body.home.blog .sakushiru-home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  min-width: 0;
}

body.home.blog .sakushiru-home-hero__title {
  margin: 0;
  color: #0f205b;
  font-size: clamp(2.375rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.home.blog .sakushiru-home-hero__title span {
  display: block;
  color: #1677e8;
}

body.home.blog .sakushiru-home-hero__description {
  margin: 20px 0 0;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.home.blog .sakushiru-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.home.blog .sakushiru-home-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

body.home.blog .sakushiru-home-hero__link--primary {
  background: #1677e8;
  color: #fff;
}

body.home.blog .sakushiru-home-hero__link--secondary {
  border-color: #1677e8;
  background: #fff;
  color: #1677e8;
}

body.home.blog .sakushiru-home-hero__link:hover {
  opacity: 0.88;
}

body.home.blog .sakushiru-home-hero__link:focus-visible {
  outline: 3px solid #0f205b;
  outline-offset: 3px;
}

/* ==================================================
   Homepage responsive
   ================================================== */

@media screen and (max-width: 834px) {
  body.home.blog .sakushiru-homepage {
    padding: 32px 24px 48px;
  }

  body.home.blog .sakushiru-home-hero {
    padding: 48px;
  }
}

@media screen and (max-width: 480px) {
  body.home.blog .sakushiru-homepage {
    padding: 24px 16px 40px;
  }

  body.home.blog .sakushiru-home-hero {
    padding: 36px 24px;
    border-radius: 12px;
  }

  body.home.blog .sakushiru-home-hero__title {
    font-size: 1.875rem;
  }

  body.home.blog .sakushiru-home-hero__description {
    margin-top: 16px;
    font-size: 1rem;
  }

  body.home.blog .sakushiru-home-hero__actions {
    flex-direction: column;
    margin-top: 24px;
  }

  body.home.blog .sakushiru-home-hero__link {
    width: 100%;
  }
}

/* ==================================================
   SAKUSHIRU Homepage Brand Hero — ACT 2.1
   ================================================== */

body.home.blog .sakushiru-home-hero__title,
body.home.blog .sakushiru-home-hero__description {
  overflow-wrap: normal;
  word-break: normal;
}

body.home.blog .sakushiru-home-hero__nowrap {
  white-space: nowrap;
}

body.home.blog .sakushiru-home-hero__title-accent {
  display: block;
  color: #1677e8;
}

body.home.blog .sakushiru-home-hero__decoration {
  position: absolute;
  top: 50%;
  right: 72px;
  width: 168px;
  height: 168px;
  border: 1px solid rgba(22, 119, 232, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
  transform: translateY(-50%);
}

body.home.blog .sakushiru-home-hero__decoration::before,
body.home.blog .sakushiru-home-hero__decoration::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

body.home.blog .sakushiru-home-hero__decoration::before {
  top: 27px;
  left: 27px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(22, 119, 232, 0.16);
}

body.home.blog .sakushiru-home-hero__decoration::after {
  top: 22px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: #1677e8;
  box-shadow:
    -30px 120px 0 2px rgba(22, 119, 232, 0.42),
    22px 48px 0 -1px #ffc107,
    -50px 8px 0 -2px #ffc107;
}

@media screen and (max-width: 834px) {
  body.home.blog .sakushiru-home-hero__decoration {
    right: 36px;
    width: 128px;
    height: 128px;
    opacity: 0.72;
  }

  body.home.blog .sakushiru-home-hero__decoration::before {
    top: 20px;
    left: 20px;
    width: 86px;
    height: 86px;
  }

  body.home.blog .sakushiru-home-hero__decoration::after {
    top: 17px;
    right: 14px;
    transform: scale(0.82);
    transform-origin: top right;
  }
}

@media screen and (max-width: 480px) {
  body.home.blog .sakushiru-home-hero {
    padding: 36px 24px;
  }

  body.home.blog .sakushiru-home-hero__title {
    font-size: 1.75rem;
    line-height: 1.45;
  }

  body.home.blog .sakushiru-home-hero__description {
    margin-top: 16px;
    font-size: 1rem;
  }

  body.home.blog .sakushiru-home-hero__decoration {
    display: none;
  }
}
/* SAKUSHIRU Hero final emphasis */
body.home.blog .sakushiru-home-hero__title .sakushiru-home-hero__nowrap {
  color: #0F205B;
}

body.home.blog .sakushiru-home-hero__title .sakushiru-home-hero__title-accent {
  color: #1677E8;
}

/* ==================================================
   SAKUSHIRU Homepage Featured Article — ACT 3
   ================================================== */

body.home.blog .sakushiru-home-featured {
  margin-top: 48px;
}

body.home.blog .sakushiru-home-featured__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0f205b;
  font-size: 1.5rem;
  line-height: 1.5;
}

body.home.blog .sakushiru-home-featured__heading::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc107;
  content: "";
}

body.home.blog .sakushiru-home-featured__article {
  min-width: 0;
  margin-top: 20px;
  border: 1px solid #cfe3ff;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

body.home.blog .sakushiru-home-featured__link {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body.home.blog .sakushiru-home-featured__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: #e8f2ff;
  overflow: hidden;
}

body.home.blog .sakushiru-home-featured__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home.blog .sakushiru-home-featured__media-fallback {
  position: absolute;
  inset: 0;
  background: #e8f2ff;
}

body.home.blog .sakushiru-home-featured__media-fallback::before,
body.home.blog .sakushiru-home-featured__media-fallback::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

body.home.blog .sakushiru-home-featured__media-fallback::before {
  top: 24%;
  right: 24%;
  width: 10px;
  height: 10px;
  background: #ffc107;
}

body.home.blog .sakushiru-home-featured__media-fallback::after {
  bottom: 22%;
  left: 24%;
  width: 24px;
  height: 24px;
  background: rgba(22, 119, 232, 0.26);
}

body.home.blog .sakushiru-home-featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 32px;
}

body.home.blog .sakushiru-home-featured__category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #1677e8;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
}

body.home.blog .sakushiru-home-featured__title {
  margin: 16px 0 0;
  color: #0f205b;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.home.blog .sakushiru-home-featured__date {
  margin-top: 16px;
  color: #667085;
  font-size: 0.875rem;
  line-height: 1.5;
}

body.home.blog .sakushiru-home-featured__link:hover .sakushiru-home-featured__title {
  color: #1677e8;
}

body.home.blog .sakushiru-home-featured__link:focus-visible {
  outline: 3px solid #0f205b;
  outline-offset: -3px;
}

@media screen and (max-width: 834px) {
  body.home.blog .sakushiru-home-featured {
    margin-top: 40px;
  }

  body.home.blog .sakushiru-home-featured__link {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home.blog .sakushiru-home-featured__content {
    padding: 28px;
  }
}

@media screen and (max-width: 480px) {
  body.home.blog .sakushiru-home-featured {
    margin-top: 32px;
  }

  body.home.blog .sakushiru-home-featured__heading {
    font-size: 1.25rem;
  }

  body.home.blog .sakushiru-home-featured__article {
    margin-top: 16px;
    border-radius: 12px;
  }

  body.home.blog .sakushiru-home-featured__content {
    padding: 24px;
  }

  body.home.blog .sakushiru-home-featured__title {
    margin-top: 14px;
    font-size: 1.375rem;
  }

  body.home.blog .sakushiru-home-featured__date {
    margin-top: 14px;
  }
}

/* ==================================================
   SAKUSHIRU Homepage Latest Articles — ACT 4
   ================================================== */

body.home.blog .sakushiru-home-latest {
  margin-top: 56px;
}

body.home.blog .sakushiru-home-latest__heading {
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 4px solid #1677e8;
  color: #0f205b;
  font-size: 1.5rem;
  line-height: 1.5;
}

body.home.blog .sakushiru-home-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

body.home.blog .sakushiru-home-latest__article {
  min-width: 0;
  border: 1px solid #cfe3ff;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

body.home.blog .sakushiru-home-latest__link {
  display: block;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

body.home.blog .sakushiru-home-latest__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: #e8f2ff;
  overflow: hidden;
}

body.home.blog .sakushiru-home-latest__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home.blog .sakushiru-home-latest__media-fallback {
  position: absolute;
  inset: 0;
  background: #e8f2ff;
}

body.home.blog .sakushiru-home-latest__media-fallback::before,
body.home.blog .sakushiru-home-latest__media-fallback::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

body.home.blog .sakushiru-home-latest__media-fallback::before {
  top: 24%;
  right: 22%;
  width: 8px;
  height: 8px;
  background: #ffc107;
}

body.home.blog .sakushiru-home-latest__media-fallback::after {
  bottom: 20%;
  left: 20%;
  width: 20px;
  height: 20px;
  background: rgba(22, 119, 232, 0.26);
}

body.home.blog .sakushiru-home-latest__content {
  min-width: 0;
  padding: 20px;
}

body.home.blog .sakushiru-home-latest__category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #1677e8;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

body.home.blog .sakushiru-home-latest__title {
  margin: 12px 0 0;
  color: #0f205b;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.home.blog .sakushiru-home-latest__date {
  display: block;
  margin-top: 12px;
  color: #667085;
  font-size: 0.8125rem;
  line-height: 1.5;
}

body.home.blog .sakushiru-home-latest__link:hover .sakushiru-home-latest__title {
  color: #1677e8;
}

body.home.blog .sakushiru-home-latest__link:focus-visible {
  outline: 3px solid #0f205b;
  outline-offset: -3px;
}

@media screen and (max-width: 834px) {
  body.home.blog .sakushiru-home-latest {
    margin-top: 48px;
  }

  body.home.blog .sakushiru-home-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 480px) {
  body.home.blog .sakushiru-home-latest {
    margin-top: 40px;
  }

  body.home.blog .sakushiru-home-latest__heading {
    padding-left: 10px;
    font-size: 1.25rem;
  }

  body.home.blog .sakushiru-home-latest__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
  }

  body.home.blog .sakushiru-home-latest__content {
    padding: 18px;
  }
}
