@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.8
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/


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

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/

}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

@charset "UTF-8";

/* 
 * ==========================================================================
 * Project: igaramu.com 
 * Title: Optimized Readable Style (Psychology & Ergonomics based)
 * Version: 1.0.0
 * Reference: manablog.org / Golden Ratio (1.618)
 * ========================================================================== 
 */

/* 
 * --------------------------------------------------------------------------
 * 1. 基本設定 (Variables & Reset)
 * --------------------------------------------------------------------------
 * 心理学的に「選択の負担」を減らすため、カラーパレットとフォントサイズを最小限に絞ります。
 * 黄金比 (Φ = 1.618) をベースに、余白や行間を調整します。
 */

:root {
  /* カラー：コントラストを重視しつつ、目に優しい配色 */
  --color-text: #333333;       /* メインテキスト：純粋な黒(#000)より読みやすい */
  --color-text-light: #666666; /* サブテキスト */
  --color-bg: #ffffff;         /* 背景：白 */
  --color-accent: #2974bb;     /* アクセント：信頼感のある青（既存踏襲） */
  --color-border: #eeeeee;     /* 境界線：極めて薄く */
  
  /* 黄金比に基づいたサイズ設計 (Base: 16px) */
  --font-size-base: 16px;      /* 人間工学的にPCで最も読みやすい基準サイズ */
  --line-height-base: 1.618;   /* 黄金比：視線移動の負担を最小化 */
  --space-unit: 1rem;
  --space-golden: 1.618rem;
}

/* ボックスモデルの正規化 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
}

/* 
 * --------------------------------------------------------------------------
 * 2. タイポグラフィ (Typography)
 * --------------------------------------------------------------------------
 * 階層構造を明確にすることで、脳が情報を処理しやすくします（認知負荷の低減）。
 */

h1, h2, h3, h4 {
  line-height: 1.3;
  margin-top: calc(var(--space-golden) * 2);
  margin-bottom: var(--space-golden);
  font-weight: 700;
}

h1 { font-size: 2.25rem; text-align: center; } /* 36px相当 */
h2 { 
  font-size: 1.75rem; /* 28px相当 */
  border-left: 4px solid var(--color-accent);
  padding-left: 0.8rem;
  margin-top: 3rem;
}
h3 { font-size: 1.375rem; } /* 22px相当 */
h4 { font-size: 1.125rem; } /* 18px相当 */

p {
  margin-top: 0;
  margin-bottom: var(--space-golden); /* 段落間に黄金比の余白 */
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* 
 * --------------------------------------------------------------------------
 * 3. レイアウト (Layout)
 * --------------------------------------------------------------------------
 * 1行あたりの文字数を40文字前後に制限するのが、日本語において最も読みやすいとされています。
 */

.container {
  max-width: 1100px; /* 全体幅 */
  margin: 0 auto;
  padding: 0 var(--space-unit);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* メインコンテンツ（黄金比に近い比率で設計） */
.main-content {
  width: 100%;
  max-width: 720px; /* 読みやすさを重視した1行の幅 */
  margin: 0 auto;
}

/* 
 * --------------------------------------------------------------------------
 * 4. 記事装飾 (Article Elements)
 * --------------------------------------------------------------------------
 * 装飾は最小限にし、コンテンツへの集中を促します。
 */

/* 引用 */
blockquote {
  margin: 2rem 0;
  padding: 1rem var(--space-golden);
  border-left: 2px solid #ccc;
  color: var(--color-text-light);
  font-style: italic;
}

/* リスト（箇条書き） */
ul, ol {
  margin-bottom: var(--space-golden);
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 4px; /* わずかな角丸で柔らかい印象に */
}

/* 
 * --------------------------------------------------------------------------
 * 5. ボタン・パーツ (UI Components)
 * --------------------------------------------------------------------------
 */

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  margin: 1rem 0;
}

.btn:hover {
  text-decoration: none;
  background-color: #1e5a92;
}

/* 
 * --------------------------------------------------------------------------
 * 6. レスポンシブ (Responsive)
 * --------------------------------------------------------------------------
 */

@media screen and (max-width: 768px) {
  :root {
    --font-size-base: 15px; /* スマホでは少し小さめに調整 */
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .main-content {
    padding: 0 0.5rem;
  }
}

/* 
 * --------------------------------------------------------------------------
 * 7. 特定のクラス（Cocoonなどのテーマ対応用）
 * --------------------------------------------------------------------------
 */

/* 記事コンテンツ全体の余白 */
.entry-content {
  letter-spacing: 0.05em; /* 文字間をわずかに広げて可読性向上 */
}

/* 記事タイトル */
.entry-title {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  line-height: 1.4;
}


.widget-above-page-content-title-title{
  display: none;
}


.post-4221 .entry-title{
  display: none;
}
.post-4221 .entry-date{
  display: none;
}
.post-4221 .fa{
  display: none;
}