/* 見出しカスタム */
.wp-content {
  line-height: 2.2;
  max-width: 940px;
  margin: 0 auto;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    color: var(--alive-main-color);
    margin-top: 1.25em;
    margin-bottom: 0.625em;
    line-height: 1.8;
  }

  h1 {
    font-size: 4.05vw;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-style: normal;
  }
  h2 {
    font-size: 35px;
    color: #070f29;
    border-bottom: 3px solid #070f29;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 24px;
    font-weight: 500;
  }
  h5 {
    font-size: 20px;
    font-weight: 500;
  }
  h6 {
    font-size: 18px;
    font-weight: 500;
  }
  @media (max-width: 768px) {
  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {  
    font-size: 28px;
  }
  h4 {
    font-size: 22px;
    font-weight: 500;
  }
  h5 {
    font-size: 20px;
    font-weight: 500;
  }
  h6 {
    font-size: 18px;
    font-weight: 500;
  }
  }


  /* リストカスタム */
  ul,
  ol {
    margin: 1em 0;
  }

  ul {
    list-style-type: none;
    padding: 0;
  }
  ol{
    padding-left: 1em;
  }

  ul li::before {
    content: "●";
    margin-right: 0.625em;
  }

  li {
    margin-bottom: 0.3125em;
    font-size: 1rem;
  }

  /* テーブル */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
  }

  th,
  td {
    border: 1px solid #ccc;
    padding: 0.75em;
  }

  th {
    background: #0073aa;
    color: #fff;
  }

  tr:nth-child(even) {
    background: #f8f8f8;
  }

  tr:hover {
    background: #e6f7ff;
  }

  .has-fixed-layout {
    table-layout: fixed;
  }


  /* 画像・メディア */
  .alignleft {
    float: left;
    margin-right: 3em;
  }

  .alignright {
    float: right;
    margin-left: 3em;
  }

  .aligncenter {
    display: block;
    margin: 1em auto;
    text-align: center;
  }

  .wp-image- {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
  }

  /* リンク・ボタン */
  a {
    color: #3580d0;
    text-decoration: none;
    font-weight: 400;
  }
  a:hover {
    opacity: 0.5;
    text-decoration: underline;
  }

  .wp-block-button a {
    display: inline-block;
    padding: 0.625em 1.25em;
    background: #0073aa;
    color: #fff;
    border-radius: 0.3125em;
  }
  .wp-block-button a:hover {
    background: #005f87;
  }

  /* 引用 */
  blockquote,
  .wp-block-quote {
    border-left: 4px solid #0073aa;
    padding: 1em 1em 1em 1.25em;
    background: #f9f9f9;
    color: #555;
    font-style: italic;
  }

  /* デリート（del） */
  del {
    text-decoration: line-through;
    color: #888;
  }

  /*ライン*/
  hr{
    color: var(--alive-main-color);
  }
  
  /* カラーピッカー適用パラグラフ */
  .wp-block-paragraph[style*="color:"] {
    color: inherit !important;
  }

  /* 横並び用ラッパー */
  .image-text-wrapper {
    display: flex;
    align-items: center;
    gap: 1.25em;
  }
}

@media (max-width: 768px) {
  .wp-content {
    line-height: 2.0714285714;

    table {
      display: block;
      overflow-x: auto;
    }


    .image-text-wrapper {
      flex-direction: column;
    }
  }
}


/* ■ フォーカスの強化（uaplusベース継承上書き不要） */
/* シンプルなアクセシビリティ確保 */