@charset "UTF-8";
/* -----------------------------------
   Gutenberg Block Front Style
   表用（ブロックエディターの出力構造を整えるCSS）
----------------------------------- */

/* 基本レイアウト */
.single__content .wp-block {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.single__content .wp-block:not(:last-child) {
  margin-bottom: 2em;
}

/* ------------------------------
   見出し h1～h6
------------------------------ */

.single__content .wp-block-heading h1,
.single__content h1.wp-block-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  border-bottom: 2px solid #87774a;
  padding-bottom: 0.4em;
  margin: 2em 0 1.2em;
}

.single__content .wp-block-heading h2,
.single__content h2.wp-block-heading {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  border-left: 4px solid #87774a;
  padding-left: 0.6em;
  margin: 2em 0 1em;
}

.single__content .wp-block-heading h3,
.single__content h3.wp-block-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #444;
  margin: 1.8em 0 0.8em;
  position: relative;
}
.single__content h3.wp-block-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #87774a;
  margin-top: 0.4em;
}

.single__content .wp-block-heading h4,
.single__content h4.wp-block-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin: 1.5em 0 0.6em;
}

.single__content .wp-block-heading h5,
.single__content h5.wp-block-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  margin: 1.4em 0 0.5em;
}

.single__content .wp-block-heading h6,
.single__content h6.wp-block-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #777;
  margin: 1.2em 0 0.4em;
}

/* ------------------------------
   段落・本文
------------------------------ */

.single__content .wp-block-paragraph p{
  font-size: 1rem;
  line-height: 1.9;
  color: #222;
  margin-bottom: 1.8em;
}

.single__content .wp-block-paragraph p strong {
  font-weight: 700;
  color: #000;
}

.single__content .wp-block-paragraph p em {
  font-style: italic;
  color: #555;
}

.single__content .wp-block-paragraph p a {
  color: #87774a;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.single__content .wp-block-paragraph p a:hover {
  color: #6e633e;
  text-decoration: none;
}

/* ------------------------------
   リスト
------------------------------ */

.single__content .wp-block-list {
  padding-left: 1.5em;
  margin: 1.2em 0;
}
.single__content .wp-block-list li {
  margin-bottom: 0.4em;
  line-height: 1.8;
}

/* ------------------------------
   引用
------------------------------ */

.single__content .wp-block-quote {
  margin: 2em 0;
  padding: 1.2em 1.8em;
  border-left: 4px solid #ccc;
  background: #fafafa;
  color: #555;
  font-style: italic;
}
.single__content .wp-block-quote cite {
  display: block;
  text-align: right;
  margin-top: 0.6em;
  font-size: 0.875rem;
  color: #777;
}

/* ------------------------------
   画像・キャプション
------------------------------ */

.single__content .wp-block-image {
  margin: 2em 0;
  text-align: center;
}
.single__content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.single__content .wp-block-image figcaption {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5em;
}

/* ------------------------------
   ボタンブロック
------------------------------ */

.single__content .wp-block-button__link {
  display: inline-block;
  background-color: #87774a;
  color: #fff;
  padding: 0.8em 2em;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}
.single__content .wp-block-button__link:hover {
  background-color: #6e633e;
  transform: translateY(-2px);
}

/* ------------------------------
   区切り線
------------------------------ */

.single__content hr.wp-block-separator {
  border: none;
  border-bottom: 1px solid #ddd;
  margin: 2.5em auto;
  width: 80%;
}

/* ------------------------------
   グループ・カラム
------------------------------ */

.single__content .wp-block-group {
  margin: 2em 0;
  padding: 1em 1.5em;
  background-color: #f9f7f3;
  border-radius: 8px;
}

.single__content .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 2em 0;
}
.single__content .wp-block-column {
  flex: 1;
  min-width: 280px;
}

/* ------------------------------
   テーブル
------------------------------ */

.single__content .wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}
.single__content .wp-block-table td,
.single__content .wp-block-table th {
  border: 1px solid #ddd;
  padding: 0.8em 1em;
}
.single__content .wp-block-table th {
  background-color: #f0f0f0;
  font-weight: bold;
}

/* ------------------------------
   アラインメント
------------------------------ */

.single__content .alignwide {
  max-width: 1100px;
  margin-inline: auto;
}
.single__content .alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.single__content .aligncenter {
  text-align: center;
}

/* ------------------------------
   埋め込みメディア
------------------------------ */

.single__content .wp-block-embed {
  margin: 2em auto;
  max-width: 760px;
}
.single__content .wp-block-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* ------------------------------
   レスポンシブ
------------------------------ */

@media (max-width: 767px) {
  .single__content .wp-block-columns {
    flex-direction: column;
  }
  .single__content h1.wp-block-heading { font-size: 1.6rem; }
  .single__content h2.wp-block-heading { font-size: 1.4rem; }
  .single__content h3.wp-block-heading { font-size: 1.2rem; }
  .single__content p { font-size: 0.95rem; }
}
