@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.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/************************************
.entry-title{
  display: none;
}
************************************/

.article h1 {
    padding: 0 0 15px 0;
	color: #000;
	border-bottom: solid 5px #000;
    position: relative;
}

.slick-prev {left: 50px;}
.slick-next {right: 50px;}

.logo-text {
	padding: 0 0 10px;
	font-size: 1em;
}

.article h3 {
	border-right: 0px;
	border-top: 0px;
	border-bottom: 2px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ===== Success Stories - サイドバー非表示 ===== */
body.single-success_story .sidebar,
body.single-success_story .header-container,
body.single-success_story .navi,
body.single-success_story .footer.footer-container {
  display: none !important;
}
body.single-success_story .main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
body.single-success_story .content-in {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ===== Success Stories - スマホ縦並び ===== */
@media screen and (max-width: 768px) {
  body.single-success_story .lmt div[style*="display: flex"]:not([style*="gap: 20px"]) {
    display: block !important;
    width: 100% !important;
  }
  body.single-success_story .lmt div[style*="display: flex"]:not([style*="gap: 20px"]) > div {
    width: 100% !important;
    flex: none !important;
    margin-bottom: 24px !important;
  }
  body.single-success_story .lmt img {
    width: 100% !important;
    height: auto !important;
  }
  body.single-success_story .lmt div[style*="display: flex"][style*="gap: 20px"] {
    display: flex !important;
    flex-direction: row !important;
  }
  body.single-success_story .lmt div[style*="padding: 0 10%"],
  body.single-success_story .lmt div[style*="padding: 0 8%"] {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  body.single-success_story .lmt p[style*="font-size: 48px"] { font-size: 32px !important; }
  body.single-success_story .lmt p[style*="font-size: 22px"] { font-size: 18px !important; }
  body.single-success_story .lmt p[style*="font-size: 14px"] { font-size: 14px !important; line-height: 2 !important; }
}

/* Success Stories - アイキャッチ画像を記事ページで非表示 */
body.single-success_story .eye-catch,
body.single-success_story .eye-catch-content,
body.single-success_story .entry-thumb,
body.single-success_story .post-thumbnail {
  display: none !important;
}
/* test */

/* ==== DICA Library 記事装飾 ==== */
.entry-content h2,
.article-body h2 {
    margin: 2.5em 0 0.8em;
    padding: 0.6em 0 0.6em 0.8em;
    font-size: 1.4em;
    line-height: 1.5;
    border-left: 5px solid #3a8fd6;
    background: #f7faff;
    color: #1a1a1a;
    font-weight: 700;
}
.entry-content h3,
.article-body h3 {
    margin: 2em 0 0.7em;
    padding: 0.4em 0 0.4em 0.7em;
    font-size: 1.18em;
    line-height: 1.5;
    border-left: 4px solid #3a8fd6;
    color: #3a8fd6;
    font-weight: 700;
}
.entry-content h4 {
    margin: 1.6em 0 0.5em;
    font-size: 1.05em;
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: 2px dotted #cfd8e3;
    padding-bottom: 0.3em;
}
.entry-content .info-box,
.article-body .info-box {
    margin: 1.6em 0 0.4em;
    padding: 16px 20px;
    background: #e8f4fa;
    border-left: 4px solid #3a8fd6;
    border-radius: 4px;
    color: #0c5460;
    font-weight: 600;
    line-height: 1.7;
}
.entry-content .info-box + div,
.article-body .info-box + div {
    margin: 0.4em 0 1.2em;
    padding: 14px 20px;
    background: #fafafa;
    border-radius: 4px;
    line-height: 1.85;
}
.entry-content .success-box {
    margin: 1.6em 0;
    padding: 16px 20px;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 4px;
    color: #1b5e20;
    line-height: 1.7;
}
.entry-content .alert-box,
.entry-content .warning-box {
    margin: 1.6em 0;
    padding: 16px 20px;
    background: #fff8e1;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    color: #6d4c41;
    line-height: 1.7;
}
.entry-content .memo-box {
    margin: 1.6em 0;
    padding: 16px 20px;
    background: #f5f5f5;
    border-left: 4px solid #9e9e9e;
    border-radius: 4px;
    color: #333;
    line-height: 1.7;
}
.entry-content .qa-space {
    height: 16px;
}
.entry-content img,
.article-body img {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 100%;
    height: auto;
}
.entry-content p {
    line-height: 1.95;
    margin: 1em 0;
}
.entry-content ul li,
.entry-content ol li {
    line-height: 1.85;
    margin-bottom: 0.4em;
}
@media (max-width: 600px) {
    .dica-supervisor-box > div {
        flex-direction: column !important;
    }
    .dica-supervisor-box img {
        width: 100% !important;
        max-width: 200px !important;
    }
}


/* ==== Library: 記事本文の幅を読みやすく狭める (2026-05-06) ==== */
@media (min-width: 1024px) {
  body.single-post .entry-content,
  body.single-post .entry-title,
  body.single-post .eye-catch-wrap,
  body.single-post #breadcrumb {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* === Header redesign: logo-left + nav-right (teamelite風) — 2026-05-07 === */

/* 1. タグライン非表示 */
.tagline { display: none !important; }

/* 2. ヘッダー全体背景・余白の整理 */
#header-container {
  background: #ffffff !important;
  border-bottom: 1px solid #eee;
  box-shadow: none !important;
  background-image: none !important;
}
#header-container-in.hlt-center-logo {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  background: #ffffff !important;
}

/* 3. ヘッダー（左ロゴ）と navi（右ナビ）を flex 兄弟に + 内部も中央揃え */
#header-container-in.hlt-center-logo > #header {
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
}
#header-container-in.hlt-center-logo > #header > .header-in {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
}
/* h1.logo の余白とブラウザデフォルトを潰す */
#header-container-in.hlt-center-logo h1.logo,
#header-container-in.hlt-center-logo .logo-header {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
}
#header-container-in.hlt-center-logo .logo-header a {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
#header-container-in.hlt-center-logo > #navi {
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
}
#header-container-in.hlt-center-logo > #navi > .navi-in {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
}

/* 4. ロゴサイズ */
.logo-header img.site-logo-image,
.logo-header img.header-site-logo-image {
  height: 32px !important;
  width: auto !important;
}

/* 5. ナビ：横並びコンパクト + li/a を中央寄せ */
#navi .navi-in > .menu-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  min-height: 0 !important;
  height: auto !important;
}
#navi .navi-in > .menu-header > li {
  width: auto !important;
  min-width: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
  height: auto !important;
}
#navi .navi-in > .menu-header > li > a {
  padding: 8px 14px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  min-height: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #2c3e50 !important;
  border: none !important;
}
/* Aggressive hover override (Cocoonの :hover ルールを完全に打ち消し) */
body #navi .navi-in li:hover,
body #navi .navi-in li:focus,
body #navi .navi-in li > a:hover,
body #navi .navi-in li > a:focus,
body #navi .navi-in li:hover > a,
body #navi .navi-in .menu-pc li:hover,
body #navi .navi-in .menu-pc li:hover > a,
body #navi .navi-in .menu-header li:hover,
body #navi .navi-in .menu-header li:hover > a,
body #navi .navi-in .menu-header li > a:hover,
body #navi .navi-in .menu-header li > a:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #3a8fd6 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
#navi .navi-in > .menu-header > li > a .caption-wrap,
#navi .navi-in > .menu-header > li > a .item-label {
  padding: 0 !important;
  margin: 0 !important;
  font-weight: inherit !important;
  font-size: inherit !important;
}

/* 6. モバイル：縦並び・コンパクト */
@media (max-width: 1024px) {
  #header-container-in.hlt-center-logo {
    flex-direction: column;
    padding: 10px 16px;
    gap: 6px;
    min-height: auto;
  }
  #navi .navi-in > .menu-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  #navi .navi-in > .menu-header > li > a {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}
/* === /Header redesign === */

/* === Front page slider 非表示 (2026-05-07) === */
body.home #metaslider-id-85,
body.home .metaslider,
body.home .ml-slider {
  display: none !important;
}
/* === /Front page slider === */

/* === Footer minimal redesign (teamelite風) — 2026-05-07 === */

/* 上部の widget area を非表示 */
.footer-container .footer-widgets,
.footer-container .footer-widgets-mobile,
.footer-container .footer-bottom-logo {
  display: none !important;
}

/* footer-container 全体：ダークネイビー、コンパクト */
.footer-container.footer {
  background: #1a2942 !important;
  background-image: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}
.footer-container .footer-in {
  padding: 18px 24px 14px !important;
  max-width: 1200px;
  margin: 0 auto;
}

/* footer-bottom: メニュー + コピーライト */
.footer-container .footer-bottom {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  text-align: center !important;
}
.footer-container .footer-bottom-content {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  gap: 6px;
  padding: 0 !important;
}

/* HOME を大きく目立たせる */
.footer-container nav#navi-footer {
  width: 100%;
}
/* HOME とプライバシーポリシーは横並び */
.footer-container .menu-footer {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.footer-container .menu-footer > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
/* HOME 項目（絵文字＋テキスト） */
.footer-container .menu-footer > li:first-child > a {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  color: #fff !important;
  text-decoration: none !important;
  padding: 4px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
}
.footer-container .menu-footer > li:first-child > a::before {
  content: "🏠";
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
/* 他の項目（プライバシーポリシー等）は小さく */
.footer-container .menu-footer > li:not(:first-child) > a {
  font-size: 12px !important;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  padding: 4px 8px !important;
  letter-spacing: 0.05em;
}
.footer-container .menu-footer > li > a:hover {
  color: #3a8fd6 !important;
  background: transparent !important;
}

/* コピーライト */
.footer-container .copyright,
.footer-container .source-org {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px !important;
  letter-spacing: 0.05em;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* === /Footer redesign === */
