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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: Consolas, monospace;
  background-color: #f9f9f9;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto; /* 横スクロールも許可（必要なら） */
}

/* ページ全体の背景に薄いグラデーションをかける */
body {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* タグページのコンテンツ本体にカード感を出す */
.tag-page-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px 20px;
  margin: 40px auto 24px auto;
  box-shadow: none;
  max-width: 860px;
}

/* 見出し */
.tag-page-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333333;
}

/* リード文など本文 */
.tag-page-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 1.2rem;
}

/* 最後の段落は余白を少し減らす */
.tag-page-content p:last-child {
  margin-bottom: 0;
}

/* FAQ装飾 */
.faq-list li {
  line-height: 1.7;
  list-style: none;
  position: relative;
  padding-left: 2em; /* ← Q. 分のスペースを確保 */
  padding-right: 1em;
}

.faq-list li::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0;
  color: #8a6d3b;
  font-weight: bold;
  width: 1.5em; /* ← 横幅指定で余白を作る */
  display: inline-block; /* ← インラインブロックにすることで幅有効に */
}

.faq-list li strong {
  display: block;
  margin-top: 0.5em;
  color: #333;
  font-weight: normal;
  line-height: 1.7;
}

.faq-list li + li {
  margin-top: 2em;
}

/* 決算分析のまとめ */

.summary-box {
  background-color: #fffef7;
  border: 2px solid #f5d36d;
  border-radius: 8px;
  padding: 1.5em 1.5em 1.2em;
  margin-top: 2em;
  line-height: 1.8;
  font-size: 1em;
  color: #333;
}

.summary-box ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.summary-box p:last-child {
  margin-top: 1.5em;
  font-size: 0.9em;
  color: #666;
}

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

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

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