@charset "utf-8";
/*
 Theme Name:   MAG Child
 Template:     mag_tcd036
 Description:  MAG (TCD036) の子テーマ
 Version:      1.0
*/




/* ================================================================
   1. 目次（TOC）プラグインの中央寄せ
   ================================================================ */
#toc_container {
  margin-left: auto;
  margin-right: auto;
}



/* ================================================================
   2. 記事内の画像を中央寄せ
   ================================================================ */
div#article img {
  display: block;
  margin: 0 auto;
}



/* ================================================================
   3. 引用ボックスのデザイン
   ================================================================ */
div.blockquote {
  padding: 22px 15px 50px 40px;
  background-color: #f5f5f5;
  background-image: url("../mag_tcd036/img/common/quote.png");
  background-position: 10px 10px;
  background-repeat: no-repeat;
  color: #333;
  line-height: 1.5em;
  margin: 30px 0;
  font-weight: bold;
  position: relative;
}

span.who {
  float: right;
  font-weight: normal;
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 90%;
}

blockquote p {
  margin-bottom: 0 !important;
}




/* ================================================================
   4. 見出しデザイン（h2 〜 h5）
   ================================================================ */

/* --- h2: ピンク背景 + 吹き出し三角 --- */
#article h2 {
  position: relative;
  padding: 0.6em;
  background: #fcd1d7;
  margin-bottom: 20px;
}

#article h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #fcd1d7;
  width: 0;
  height: 0;
}

/* --- h3: 左線 + 薄ピンク背景 --- */
#article h3 {
  padding: 0.5em;
  color: #000000;
  background: #ffeff1;
  border-left: solid 5px #fcd1d7;
}

/* --- h4: ピンク下線 + オレンジのアクセント線（幅30%） --- */
#article h4 {
  border-bottom: solid 3px #FFB6C1;
  position: relative;
}

#article h4:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #ffc778;
  bottom: -3px;
  width: 30%;
}

/* --- h5: シンプルなピンク下線 --- */
#article h5 {
  padding-bottom: .6em !important;
  border-bottom: 1px solid #FFB6C1;
}



/* ================================================================
   5. 枠線ボックス (.waku)　　※おそらく使っていない
   ================================================================ */
.waku {
  padding: .75em .75em;
  border: 1px solid #FFB6C1;
  border-radius: 4px;
  margin-bottom: 10px;
  background: #fcfcfc;
}

.post_content .waku p {
  line-height: 2;
  margin: 1em 0 1em 0;
}



/* ================================================================
   6. リンクカードの幅調整　※おそらく使っていない
   ================================================================ */
.lkc-internal-wrap {
  display: block !important;
  margin: 0 auto !important;
}




/* ================================================================
   7. 装飾ボックス 4種類 (.box / .box1 / .box2 / .box3)
   ================================================================ */

/* --- box: 水色の枠線 + 上にタブ型タイトル --- */
.box {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 2px #62c1ce;
}

.box .box-title {
  position: absolute;
  display: inline-block;
  top: -27px;
  left: -3px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  vertical-align: middle;
  font-size: 15px;
  background: #62c1ce;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.box p {
  margin: 0;
  padding: 0;
}

/* --- box1: 斜め縞模様の背景（水色系） --- */
.box1 {
  padding: 0.5em 1em;
  margin: 2em 0;
  background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px, #e9f4ff 3px, #e9f4ff 7px);
}

.box1 p {
  margin: 0;
  padding: 0;
}

/* --- box2: 水色の角丸枠 + 枠上にタイトル --- */
.box2 {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 2px #62c1ce;
  border-radius: 8px;
}

.box2 .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 15px;
  background: #FFF;
  color: #62c1ce;
  font-weight: bold;
}

.box2 p {
  margin: 0;
  padding: 0;
}

/* --- box3: ピンクの角丸枠 + 枠上にタイトル --- */
.box3 {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 2px #ffb6c1;
  border-radius: 8px;
}

.box3 .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 15px;
  background: #FFF;
  color: #ffb6c1;
  font-weight: bold;
}

.box3 p {
  margin: 0;
  padding: 0;
}




/* ================================================================
   8. 目次（TOC）プラグインのスタイル
   ================================================================ */
#toc_container li,
#toc_container ul {
  margin: 0;
  padding: 0;
}

#toc_container.no_bullets li,
#toc_container.no_bullets ul,
#toc_container.no_bullets ul li,
.toc_widget_list.no_bullets,
.toc_widget_list.no_bullets li {
  background: 0 0;
  list-style-type: none;
  list-style: none;
}

#toc_container.have_bullets li {
  padding-left: 12px;
}

#toc_container ul ul {
  margin-left: 1.5em;
}

#toc_container {
  background: #f9f9f9;
  border: 1px solid #aaa;
  padding: 10px;
  margin-bottom: 1em;
  width: auto;
  display: table;
  font-size: 95%;
}

#toc_container.toc_light_blue {
  background: #edf6ff;
}

#toc_container.toc_white {
  background: #fff;
}

#toc_container.toc_black {
  background: #000;
}

#toc_container.toc_transparent {
  background: none transparent;
}

#toc_container p.toc_title {
  text-align: center;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

#toc_container.toc_black p.toc_title {
  color: #aaa;
}

#toc_container span.toc_toggle {
  font-weight: 400;
  font-size: 90%;
}

#toc_container p.toc_title + ul.toc_list {
  margin-top: 1em;
}

.toc_wrap_left {
  float: left;
  margin-right: 10px;
}

.toc_wrap_right {
  float: right;
  margin-left: 10px;
}

#toc_container a {
  text-decoration: none;
  text-shadow: none;
}

#toc_container a:hover {
  text-decoration: underline;
}

.toc_sitemap_posts_letter {
  font-size: 1.5em;
  font-style: italic;
}



/* ================================================================
   9. 記事内リンクに下線を表示
   ================================================================ */
.post_content a {
  text-decoration: underline;
}