@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* ===== 未来配分：固定ページ共通 ===== */
.page #sidebar {
  display: none;
}

.page #main {
  width: 100%;
  float: none;
}

.page .date-tags,
.page .sns-share,
.page .sns-follow,
.page .footer-meta {
  display: none;
}

/* ===== 未来配分：トップページ ===== */
.home .article-header {
  display: none;
}

.home #toc {
  display: none;
}

.home .entry-content {
  margin-top: 0;
}

.mirai-hero {
  padding: 72px 6% 64px;
  margin: 0 0 64px;
  background: #f3f7f5;
  border-radius: 24px;
}

.mirai-kicker {
  margin: 0 0 14px;
  color: #58766e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.mirai-hero h1 {
  margin: 0 0 24px;
  color: #263532;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: .02em;
}

.mirai-lead {
  margin: 0;
  color: #4d5f5a;
  font-size: 17px;
  line-height: 2;
}

.mirai-section-title {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: none;
  color: #263532;
  font-size: 30px;
}

.mirai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 72px;
}

.mirai-card {
  display: flex;
  min-height: 180px;
  padding: 28px;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #dbe7e2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 53, 50, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mirai-card:hover {
  transform: translateY(-3px);
  border-color: #78998f;
  box-shadow: 0 12px 30px rgba(38, 53, 50, .09);
}

.mirai-card-label {
  margin-bottom: 18px;
  color: #58766e;
  font-size: 12px;
  letter-spacing: .12em;
}

.mirai-card strong {
  margin-bottom: 10px;
  color: #35665a;
  font-size: 24px;
}

.mirai-card > span:last-child {
  color: #566762;
  line-height: 1.8;
}

.mirai-card-wide {
  grid-column: 1 / -1;
}

.mirai-principle,
.mirai-how {
  margin: 0 0 64px;
  padding: 48px 6%;
  border-radius: 20px;
}

.mirai-principle {
  background: #35665a;
  color: #fff;
}

.mirai-principle .mirai-kicker {
  color: #d9e8e3;
}

.mirai-principle h2,
.mirai-how h2 {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: none;
}

.mirai-principle h2 {
  color: #fff;
  font-size: 30px;
}

.mirai-principle p {
  line-height: 2;
}

.mirai-how {
  background: #faf8f3;
}

.mirai-how h2 {
  color: #263532;
  font-size: 28px;
}

.mirai-how p {
  color: #4d5f5a;
  line-height: 2;
}

.mirai-more {
  margin-top: 28px;
}

.mirai-more a {
  display: inline-block;
  padding-bottom: 4px;
  color: #35665a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #35665a;
}

/* ===== 未来配分：ヘッダー・ナビ・フッター微調整 ===== */
.header-container {
  background: linear-gradient(180deg, #f3f7f5 0%, #f8fbfa 100%);
}

.header {
  position: relative;
  background: transparent;
}

.header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 2px;
  transform: translateX(-50%);
  background: #78998f;
  opacity: .7;
}

.header-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 30px;
}

.tagline {
  order: 2;
  margin: 10px 0 0;
  color: #58766e;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
}

.logo-header {
  order: 1;
}

.logo-header .site-name-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-header .site-name-text-link::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.9) 47%, rgba(255,255,255,.9) 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255,255,255,.9) 47%, rgba(255,255,255,.9) 53%, transparent 53%),
    #35665a;
  box-shadow: 0 5px 14px rgba(53,102,90,.18);
}

.header .site-name-text {
  color: #173a32 !important;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .1em;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.footer-bottom-logo .site-name-text {
  color: #eaf0ee !important;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: none;
}

.navi {
  background: rgba(255,255,255,.92);
  border-top: 0;
  border-bottom: 1px solid #dce7e3;
  box-shadow: 0 4px 14px rgba(38,53,50,.035);
}

.navi-in > ul {
  justify-content: center;
}

.navi-in > ul > li > a {
  height: 50px;
  padding: 0 19px;
  color: #465853;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}

.navi-in > ul > li > a:hover {
  background: #eef5f2;
  color: #35665a;
}

.home #content {
  margin-top: 36px;
}

.home #content-in,
.page #content-in {
  max-width: 1120px;
}

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

.home .article {
  padding: 0;
}

.home .entry-content {
  max-width: 100%;
}

.footer {
  margin-top: 72px;
  background: #263532;
  color: #eaf0ee;
}

.footer a {
  color: #eaf0ee;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  font-size: 12px;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  .header-in {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .logo-header .site-name-text-link {
    gap: 9px;
  }

  .logo-header .site-name-text-link::before {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 8px;
  }

  .header .site-name-text {
    font-size: 28px;
  }

  .tagline {
    margin-top: 8px;
    font-size: 11px;
  }

  .home #content {
    margin-top: 20px;
  }

  .home #content-in,
  .page #content-in {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mirai-hero {
    padding: 52px 7% 48px;
    margin-bottom: 48px;
    border-radius: 18px;
  }

  .mirai-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 52px;
  }

  .mirai-card-wide {
    grid-column: auto;
  }

  .mirai-card {
    min-height: 0;
    padding: 24px;
  }

  .mirai-principle,
  .mirai-how {
    padding: 36px 7%;
    margin-bottom: 48px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .header .site-name-text {
    font-size: 25px;
  }

  .footer-bottom-logo .site-name-text {
    font-size: 21px;
  }

  .tagline {
    line-height: 1.6;
  }

  .mirai-hero {
    padding: 40px 22px;
  }

  .mirai-hero h1 {
    font-size: 30px;
  }

  .mirai-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .mirai-section-title,
  .mirai-principle h2,
  .mirai-how h2 {
    font-size: 24px;
  }
}
