@charset "utf-8";
/*
Template: hello-elementor
Theme Name: hello_child
Description: WordPressテーマ「hello-elementor」の子テーマ
Author:unlimited
Version: 1.0
*/

@import url("../hello-elementor/style.css");

body, input, textarea {
	font-family: Arial, "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
	color: #54595F;
}
a {
	color: #39A6C1;
}
.catelis_li a{
	color: #39A6C1;
}
ul.catelis_ul{
	list-style: none;
	margin-left: -2em;
}
.ul_archive_title{
	text-align: center;
	font-weight: bold;
}
/* タグクラウド */
.tagcloud a {
  background-color: #fff;
  border: 1px solid rgba(33, 31, 64, 0.5);
  border-radius: 3px;
  text-decoration: none;
  padding: 0.2em 1em;
  color: rgba(33, 31, 64, 0.5)!important;
  display: inline-block;
  margin-top: 3px;
}
.tagcloud a:hover {
    color: #0e59ca;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

.tagslistrink a {
 color: rgba(23, 90, 121, 0.5);
 padding: 0 1em;
}
.tagcloud a:hover,.tagslistrink a:hover {
    color: #0e59ca;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

/* ============================================
   WordPress 投稿用CSS - Hello Elementor テーマ
   セレクタ: #column_post 配下
   アクセントカラー: #3096B4
   ============================================ */

/* -------------------------------------------
   1. 投稿コンテナ
   ------------------------------------------- */
#column_post {
  margin: 0 auto;
  padding: 0 20px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* -------------------------------------------
   2. 見出し（H1〜H6）
   ------------------------------------------- */
#column_post h1 {
  font-size: 2em;
  font-weight: 700;
  margin: 2em 0 1em;
  padding-bottom: 0.4em;
  border-bottom: 3px solid #3096B4;
  color: #1a1a1a;
  line-height: 1.4;
}

#column_post h2 {
  font-size: 1.6em;
  font-weight: 700;
  margin: 2em 0 0.8em;
  padding: 0.5em 0.8em;
  background: #eef7fa;
  border-left: 5px solid #3096B4;
  color: #1a1a1a;
  line-height: 1.4;
}

#column_post h3 {
  font-size: 1.35em;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #e2e8f0;
  color: #1a1a1a;
  line-height: 1.4;
}

#column_post h4 {
  font-size: 1.15em;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  color: #1a1a1a;
  line-height: 1.5;
  position: relative;
  padding-left: 1em;
}

#column_post h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 6px;
  height: 6px;
  background: #3096B4;
  border-radius: 50%;
}

#column_post h5 {
  font-size: 1.05em;
  font-weight: 700;
  margin: 1.2em 0 0.4em;
  color: #555;
  line-height: 1.5;
}

#column_post h6 {
  font-size: 0.95em;
  font-weight: 700;
  margin: 1em 0 0.4em;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* -------------------------------------------
   3. 段落・テキスト
   ------------------------------------------- */
#column_post p {
  margin: 0 0 1.5em;
}

#column_post strong,
#column_post b {
  font-weight: 700;
  color: #1a1a1a;
}

#column_post em,
#column_post i {
  font-style: italic;
}

#column_post mark {
  background: linear-gradient(transparent 60%, #fef08a 60%);
  padding: 0 0.2em;
}

#column_post small {
  font-size: 0.85em;
  color: #777;
}

#column_post sup,
#column_post sub {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

#column_post sup {
  top: -0.5em;
}

#column_post sub {
  bottom: -0.25em;
}

/* -------------------------------------------
   4. リンク
   ------------------------------------------- */
#column_post a {
  color: #3096B4;
  text-decoration: underline;
  text-decoration-color: rgba(48, 150, 180, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

#column_post a:hover {
  color: #267a94;
  text-decoration-color: #267a94;
}

#column_post a:visited {
  color: #6b21a8;
}

/* -------------------------------------------
   5. リスト（箇条書き・番号付き）
   ------------------------------------------- */
#column_post ul,
#column_post ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

#column_post ul {
  list-style: disc;
}

#column_post ul ul {
  list-style: circle;
  margin-bottom: 0;
}

#column_post ul ul ul {
  list-style: square;
}

#column_post ol {
  list-style: decimal;
}

#column_post ol ol {
  list-style: lower-alpha;
  margin-bottom: 0;
}

#column_post ol ol ol {
  list-style: lower-roman;
}

#column_post li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

#column_post li > ul,
#column_post li > ol {
  margin-top: 0.5em;
}

/* -------------------------------------------
   6. 引用（Blockquote）
   ------------------------------------------- */
#column_post blockquote {
  margin: 1.5em 0;
  padding: 1.2em 1.5em;
  background: #f8f9fa;
  border-left: 4px solid #94a3b8;
  color: #555;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

#column_post blockquote p:last-child {
  margin-bottom: 0;
}

#column_post blockquote cite {
  display: block;
  margin-top: 0.8em;
  font-size: 0.85em;
  color: #888;
  font-style: normal;
}

#column_post blockquote cite::before {
  content: "— ";
}

/* -------------------------------------------
   7. 画像・メディア
   ------------------------------------------- */
#column_post img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5em 0;
}

#column_post figure {
  margin: 1.5em 0;
  text-align: center;
}

#column_post figcaption,
#column_post .wp-caption-text {
  font-size: 0.85em;
  color: #888;
  margin-top: 0.5em;
  text-align: center;
  line-height: 1.5;
}

#column_post .wp-caption {
  max-width: 100%;
  margin: 1.5em auto;
}

/* WordPress画像配置 */
#column_post .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#column_post .alignleft {
  float: left;
  margin: 0.5em 1.5em 1em 0;
}

#column_post .alignright {
  float: right;
  margin: 0.5em 0 1em 1.5em;
}

#column_post .alignnone {
  display: block;
  margin: 1.5em 0;
}

/* -------------------------------------------
   8. テーブル
   ------------------------------------------- */
#column_post table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  overflow-x: auto;
  display: block;
}

@media (min-width: 768px) {
  #column_post table {
    display: table;
  }
}

#column_post thead {
  background: #3096B4;
  color: #fff;
}

#column_post th {
  padding: 0.8em 1em;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

#column_post td {
  padding: 0.7em 1em;
  border-bottom: 1px solid #e2e8f0;
}

#column_post tbody tr:nth-child(even) {
  background: #f8fafc;
}

#column_post tbody tr:hover {
  background: #eef7fa;
}

/* -------------------------------------------
   9. コード・プレフォーマット
   ------------------------------------------- */
#column_post code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
  background: #f1f5f9;
  color: #e11d48;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

#column_post pre {
  margin: 1.5em 0;
  padding: 1.2em 1.5em;
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.6;
}

#column_post pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
}

#column_post kbd {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85em;
  background: #f1f5f9;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.1em 0.4em;
  box-shadow: 0 1px 0 #d1d5db;
}

/* -------------------------------------------
   10. 区切り線（HR）
   ------------------------------------------- */
#column_post hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #cbd5e1, transparent);
  margin: 2.5em 0;
}

/* -------------------------------------------
   11. 定義リスト
   ------------------------------------------- */
#column_post dl {
  margin: 1.5em 0;
}

#column_post dt {
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 1em;
}

#column_post dd {
  margin: 0.3em 0 0 1.5em;
  color: #555;
}

/* -------------------------------------------
   12. Gutenberg ブロック
   ------------------------------------------- */

/* ボタン */
#column_post .wp-block-button .wp-block-button__link {
  display: inline-block;
  padding: 0.7em 2em;
  background: #3096B4;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

#column_post .wp-block-button .wp-block-button__link:hover {
  background: #267a94;
  transform: translateY(-1px);
  color: #fff;
}

/* カラム */
#column_post .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin: 1.5em 0;
}

#column_post .wp-block-column {
  flex: 1;
  min-width: 200px;
}

/* セパレータ */
#column_post .wp-block-separator {
  border: none;
  height: 2px;
  background: #e2e8f0;
  margin: 2em 0;
}

#column_post .wp-block-separator.is-style-dots {
  background: none;
  text-align: center;
  height: auto;
}

#column_post .wp-block-separator.is-style-dots::before {
  content: "···";
  font-size: 1.5em;
  letter-spacing: 1em;
  color: #94a3b8;
}

/* グループ */
#column_post .wp-block-group {
  margin: 1.5em 0;
  padding: 1.5em;
}

#column_post .has-background {
  padding: 1.5em;
  border-radius: 8px;
}

/* プルクオート */
#column_post .wp-block-pullquote {
  border-top: 3px solid #3096B4;
  border-bottom: 3px solid #3096B4;
  padding: 1.5em 0;
  margin: 2em 0;
  text-align: center;
}

#column_post .wp-block-pullquote blockquote {
  border-left: none;
  background: transparent;
  padding: 0;
  font-size: 1.2em;
}

/* ギャラリー */
#column_post .wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5em 0;
  list-style: none;
  padding: 0;
}

#column_post .wp-block-gallery .wp-block-image {
  flex-grow: 1;
  margin: 0;
}

/* 埋め込み（YouTube等） */
#column_post .wp-block-embed {
  margin: 1.5em 0;
}

#column_post .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

#column_post .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* -------------------------------------------
   13. 補足ボックス（カスタム装飾）
   ------------------------------------------- */
#column_post .notice-box,
#column_post .wp-block-group.has-pale-cyan-blue-background-color {
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
  border-radius: 8px;
  border-left: 4px solid;
}

#column_post .notice-info {
  background: #eef7fa;
  border-left-color: #3096B4;
}

#column_post .notice-warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
}

#column_post .notice-danger {
  background: #fef2f2;
  border-left-color: #ef4444;
}

#column_post .notice-success {
  background: #f0fdf4;
  border-left-color: #22c55e;
}

/* -------------------------------------------
   14. 目次風スタイル（任意使用）
   ------------------------------------------- */
#column_post .toc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
}

#column_post .toc-box::before {
  content: "目次";
  display: block;
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 0.8em;
  color: #1a1a1a;
}

#column_post .toc-box ol {
  margin-bottom: 0;
}

/* -------------------------------------------
   15. レスポンシブ対応
   ------------------------------------------- */
@media (max-width: 768px) {
  #column_post {
    font-size: 15px;
    padding: 0 16px;
    line-height: 1.85;
  }

  #column_post h1 {
    font-size: 1.6em;
  }

  #column_post h2 {
    font-size: 1.35em;
    padding: 0.4em 0.7em;
  }

  #column_post h3 {
    font-size: 1.2em;
  }

  #column_post h4 {
    font-size: 1.05em;
  }

  #column_post blockquote {
    padding: 1em 1.2em;
    margin: 1em 0;
  }

  #column_post pre {
    padding: 1em;
    font-size: 0.85em;
  }

  #column_post table {
    font-size: 0.88em;
  }

  #column_post th,
  #column_post td {
    padding: 0.5em 0.7em;
  }

  #column_post .alignleft,
  #column_post .alignright {
    float: none;
    display: block;
    margin: 1em auto;
  }

  #column_post .wp-block-columns {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  #column_post {
    font-size: 14px;
  }

  #column_post h2 {
    font-size: 1.25em;
  }
}

/* -------------------------------------------
   16. 印刷用スタイル
   ------------------------------------------- */
@media print {
  #column_post {
    font-size: 12pt;
    color: #000;
    max-width: 100%;
  }

  #column_post a {
    color: #000;
    text-decoration: underline;
  }

  #column_post a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  #column_post img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  #column_post h2,
  #column_post h3 {
    page-break-after: avoid;
  }

  #column_post pre {
    background: #f5f5f5;
    color: #000;
    border: 1px solid #ccc;
  }
}
