/*
Theme Name: 欅産業株式会社
Version: 1.1
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 */
  font-weight: bold;
  color: #111;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1.5rem;
  border-bottom: 4px solid #eee;
}

h2.wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 4rem;         /* 下線の長さ */
  height: 4px;         /* 下線の太さ */
  background-color: #b2c71e; /* 赤系カラー */
}

/* h3：左線のみ（text-4xl） */
h3.wp-block-heading {
  font-size: 2.25rem;      /* Tailwind: text-4xl */
  line-height: 2.5rem;
  font-weight: 600;
  color: #111;
  border-left: 5px solid #b2c71e;
  padding-left: 0.6em;
  margin: 1.6em 0 1em;
}

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

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

  h3.wp-block-heading {
    font-size: 1.875rem;   /* Tailwind: text-3xl */
    line-height: 2.25rem;
    padding-left: 0.7em;
  }

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

/* === リスト（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 #b2c71e;
  background-color: #f6fae3;
  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 #b2c71e;
  border-bottom: none;
  color: white;
  background-color: #b2c71e;

}

.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: #f6fae3;
}


/* === コードブロック === */
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;
}
