/*
Theme Name: 株式会社関東サイン
Version: 1.0
Author: CREATEONE
*/

/* /////////////////////////////////
    管理画面初期化
///////////////////////////////// */
html{
    font-size: 62.5%;
}
.editor-styles-wrapper{
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo","ＭＳ Ｐゴシック", "Helvetica Neue", "Helvetica", "Arial", sans-serif!important;
}
.mceContentBody .mce-content-body{
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo","ＭＳ Ｐゴシック", "Helvetica Neue", "Helvetica", "Arial", sans-serif!important;
    font-size: 16px;
    line-height: 1.6;
    padding: 8px;
    box-sizing: border-box;
}
.wp-block-heading{
  box-sizing: border-box;
}


/* /////////////////////////////////
    見出しスタイル
///////////////////////////////// */
/* h2：左線＋下線（text-5xl） */
h2.wp-block-heading {
  position: relative;
  font-size: 3rem; /* Tailwind: text-5xl */
  line-height: 3.6rem; /* 行間ゆったり目 */
  font-weight: bold;
  color: #111;
  border-left: 5px solid #DB4B1C;
  padding-left: 0.7em;
  margin: 1.5em 0 1em; /* 上をやや広めに */
}

/* h3：左線のみ（text-4xl） */
h3.wp-block-heading {
  font-size: 2.25rem; /* Tailwind: text-4xl */
  line-height: 2.8rem;
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #DB4B1C;
  padding-bottom: 0.5em;
  margin: 1.4em 0 1em;
}

/* h4：点線下線（text-3xl） */
h4.wp-block-heading {
  font-size: 1.875rem; /* Tailwind: text-3xl */
  line-height: 2.4rem;
  font-weight: 500;
  color: #111;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.4em;
  margin: 1.2em 0 0.8em;
}

/* === レスポンシブ対応（767px以下） === */
@media (max-width: 767px) {
  h2.wp-block-heading {
    font-size: 2.25rem; /* Tailwind: text-4xl */
    line-height: 2.8rem;
    padding-left: 0.8em;
    margin: 1.3em 0 1em;
  }

  h3.wp-block-heading {
    font-size: 1.875rem; /* Tailwind: text-3xl */
    line-height: 2.4rem;
    padding-bottom: 0.4em;
    margin: 1.3em 0 1em;
  }

  h4.wp-block-heading {
    font-size: 1.5rem; /* Tailwind: text-2xl */
    line-height: 2rem;
    padding-bottom: 0.3em;
    margin: 1.1em 0 0.8em;
  }
}

/* === リスト（ul / ol） === */
ul.wp-block-list,
ol.wp-block-list {
  list-style-position: outside;
  padding-left: 2rem; /* Tailwind: pl-8 */
  margin-bottom: 2rem;
  margin-left: 0.5rem;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #1f2937; /* text-gray-800 */
}

ul.wp-block-list li {
  list-style-type: disc!important;
}

ol.wp-block-list li {
  list-style-type: decimal!important;
}



/* === 引用ブロック === */
.wp-block-quote {
  border-left: 6px solid #DB4B1C;
  background-color: #FCF6E0;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #374151; /* text-gray-700 */
}

.wp-block-quote cite {
  display: block;
  text-align: right;
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #6b7280; /* text-gray-500 */
}


/* === テーブル === */
.wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 1.6rem;
  color: #1f2937;
}

.wp-block-table thead {
  background-color: #fefefe;
  border-bottom: none;
}

.wp-block-table thead th {
  text-align: left;
  font-weight: bold;
  padding: 1rem 1.5rem;
  border: 1px solid #DB4B1C;
  border-bottom: none;
  color: white;
  background-color: #DB4B1C;

}

.wp-block-table tbody td {
  border: 1px solid #d1d5db;
  padding: 1rem 1.5rem;
}

.wp-block-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.wp-block-table tbody tr:hover {
  background-color: #FEF7F0;
}


/* === コードブロック === */
pre.wp-block-code {
  background-color: #f3f4f6;
  border-left: 6px solid #333;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  overflow-x: auto;
  font-family: Menlo, Consolas, monospace;
  font-size: 1.4rem;
  color: #111827;
  line-height: 1.7;
}
