@charset "UTF-8";

/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Theme URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.4
*/

:root {
  --aoki-navy: #253e59;
  --aoki-navy-deep: #182d43;
  --aoki-blue: #4f83b5;
  --aoki-sky: #dcecfb;
  --aoki-soft: #f3f7fb;
  --aoki-ink: #17212b;
  --aoki-muted: #66717c;
  --aoki-line: #dfe7ef;
  --aoki-green: #2ca56a;
  --aoki-radius: 24px;
  --aoki-shadow: 0 18px 50px rgba(37, 62, 89, 0.10);
}

html { scroll-behavior: smooth; }
body {
  color: var(--aoki-ink);
  background: #f6f8fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #6da9e0;
  outline-offset: 3px;
}

/* Header */
.header-container {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--aoki-navy) !important;
  background: rgba(255,255,255,.9) !important;
  border-bottom: 1px solid rgba(37,62,89,.08);
  box-shadow: 0 8px 30px rgba(37,62,89,.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.header-in { min-height: 58px; height: 58px; }
.logo { padding: 14px 20px 8px; }
.site-name-text-link, .site-name-text-link:hover { color: var(--aoki-navy) !important; text-decoration: none; }
.header-container .site-name-text {
  color: var(--aoki-navy) !important;
  font-size: clamp(18px, 2.2vw, 24px) !important;
  font-weight: 750;
  letter-spacing: -.025em;
}
.navi, .navi-in { background: transparent !important; }
.navi-in > ul { gap: 4px; justify-content: center; }
.navi-in > ul > li { width: auto; }
.navi-in > ul > li > a {
  min-height: 50px;
  padding: 10px 18px;
  color: #4d5c69 !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.navi-in > ul > li > a:hover,
.navi-in > ul > li.current-menu-item > a {
  color: var(--aoki-navy) !important;
  background: var(--aoki-soft) !important;
}

/* Layout */
.footer-bottom-logo { display: none; }
.page .breadcrumb { display: none; }
#content-in.content-in {
  display: block;
  max-width: 1160px;
  margin-inline: auto;
}
#main.main {
  float: none;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}
#sidebar, #slide-in-sidebar, .sidebar-menu-button { display: none !important; }
#main.main, .article, .entry-content { min-width: 0; }
.article {
  border: 0;
  border-radius: var(--aoki-radius);
  box-shadow: 0 8px 32px rgba(37,62,89,.05);
}
.page-id-6 #content,
.page-id-25 #content,
.page-id-318 #content,
.page-id-9 #content { margin-top: 0; }
.page-id-6 #main.main,
.page-id-25 #main.main,
.page-id-318 #main.main,
.page-id-9 #main.main { max-width: none; padding: 0; }
.page-id-6 .article,
.page-id-25 .article,
.page-id-318 .article,
.page-id-9 .article {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.page-id-6 .entry-title,
.page-id-25 .entry-title,
.page-id-318 .entry-title,
.page-id-9 .entry-title { display: none !important; }
.page-id-6 .entry-content,
.page-id-25 .entry-content,
.page-id-318 .entry-content,
.page-id-9 .entry-content { margin: 0; }

/* Blog archive */
.blog-hero {
  margin: 10px 0 42px;
  padding: clamp(48px,7vw,78px) 28px;
  border-radius: 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 0,#dcecff,transparent 62%),#fff;
}
.blog-hero span { color: var(--aoki-blue); font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.blog-hero h1 {
  margin: 12px 0 16px !important;
  padding: 0 !important;
  color: var(--aoki-navy) !important;
  background: none !important;
  border: 0 !important;
  font-size: clamp(31px,4.4vw,50px) !important;
  line-height: 1.35 !important;
  letter-spacing: -.045em;
}
.blog-hero p { margin: 0; color: var(--aoki-muted); font-size: 16px; }
.archive-title, .list-title {
  margin: 28px 0 34px !important;
  padding: 0 !important;
  color: var(--aoki-navy) !important;
  background: none !important;
  border: 0 !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  letter-spacing: -.04em;
}
.entry-card-wrap {
  margin-bottom: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--aoki-line);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37,62,89,.06);
}
.entry-card-wrap:hover { transform: translateY(-3px); box-shadow: var(--aoki-shadow); }
.entry-card { padding: 18px; }
.entry-card-thumb { border-radius: 14px; overflow: hidden; }
.entry-card-title { color: var(--aoki-navy); font-size: clamp(18px,2.2vw,24px); line-height: 1.55; }
.entry-card-snippet { color: var(--aoki-muted); line-height: 1.8; }

/* Footer */
.footer { margin-top: 72px; color: #dce6ef; background: var(--aoki-navy-deep); }
.footer a { color: #f3f7fb; }
.footer-in { padding-top: 42px; padding-bottom: 34px; }
.footer-bottom-content { color: #acbac7; }

/* Shared motion */
.site-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1);
}
.site-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 834px) {
  #content, #content-in.content-in, #main.main, .article, .entry-content {
    width: 100%; max-width: 100%; min-width: 0;
  }
  .header-container { position: relative; }
  .header-in { min-height: 60px; height: 60px; }
  .logo { padding: 17px 54px 14px; }
  .header-container .site-name-text { color: var(--aoki-navy) !important; font-size: 17px !important; line-height: 1.45; white-space: normal; }
  .mobile-header-menu-buttons { background: rgba(255,255,255,.96) !important; border-bottom: 1px solid var(--aoki-line); }
  .mobile-menu-buttons .menu-button > a { color: var(--aoki-navy) !important; }
  .article { border-radius: 0; }
  .blog-hero { margin: 0 14px 30px; padding: 42px 20px; border-radius: 20px; text-align: left; }
  .blog-hero h1 { font-size: 32px !important; }
  .footer { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .site-reveal { opacity: 1; transform: none; }
}
