/*vkExUnit_css_customizeに転載*/
/*https://sosei-council.org/wp/wp-admin/admin.php?page=vkExUnit_css_customize*/
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
  font-family: メイリオ, Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-size: 1.125rem;
　letter-spacing: 0.071428571rem;
  line-height: 1.7;
  color: #333333;
}
/*記事用　訴訟コンテナンツに効いていない*/
p {
　text-indent: 1em;
　margin: 0;
　margin-bottom: 0rem;
　padding:0 ;
}
/***** HERO section *****/
.hero-content-style1 h2 {
    font-size: 30px;
    letter-spacing: 3px;
  }
}
@media screen and (min-width: 720px) {
  .hero-content-style1 h2 {
    font-size: 50px;
    letter-spacing: 3px;
  }
}
@media screen and (min-width: 940px) {
  .hero-content-style1 h2 {
    font-size: 55px;
    letter-spacing: 4px;
  }
}
/***** h1 section *****/
.page-header.page--cover .entry-title {
	font-size: 3.0rem;
}
@media screen and (min-width: 720px) {
	font-size: 1.5rem;
}
#features {
	background-color: #f8f9f9;
}
#page-id-26 .page-header.page--cover{
	background-position: center bottom;
}
ol.kakko  li {
  list-style-type: none;
  counter-increment: cnt;
  position: relative;
}
      
ol.kakko li:before {
  content: "(" counter(cnt) ")";
  text-align: right;
  position: absolute;
  top: 0;
  left: -40px; /* 好みで位置の調整 */
}
.home .service-item h4 {
	margin-left: 0;
}
重複のないcssを再挿入
/* youtube 1:1の正方形プレイヤーにする */
.square-embed .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* ←高さ＝幅（正方形） */
}
.square-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ブロックの上下マージンを詰める（必要に応じて調整） */
.square-embed { 
  margin-block-start: 0; 
  margin-block-end: 0;
}

/* 空段落が紛れていた場合の保険（上下の謎の隙間対策） */
.entry-content p:empty { display: none; }

/* テーマや block-gap が余分に空ける場合の最終手段（強め） */
/* :root からのブロック間余白を、この動画に限ってゼロにする */
.square-embed:is(.wp-block-embed) { --wp--style--block-gap: 0; }

/* 1) パラグラフの上マージンを確実にゼロ */
.entry-content p,
.entry-content .wp-block-paragraph {
  margin-top: 0;
  margin-block-start: 0; /* Gutenberg対策 */
}
/* 2) 前要素の下マージンを詰める（必要なものだけ選択） */
.entry-content .wp-block-embed,
.entry-content figure,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin-bottom: .5rem; /* お好みで 0〜 */
}
/* 3) 記事の先頭でのマージン相殺対策（どれか1つでOK） */
.entry-content { padding-top: 1px; }               /* 1pxで相殺を防ぐ */

/* 親を基準にする */
.category .page-header.page--cover{
  position: relative;
  padding: 90px 0 30px;
}

/* ===== Hero（位置はそのまま） ===== */
.category .page-header.page--cover { position: relative; }

/* ヒーローのサブタイトル：常に1行で左右に収める */
.category .page-header.page--cover .reason-hero-sub,
.category .page-header.page--cover .method-hero-sub {
  position: absolute;
  top: 20px; left: 10px; right: 10px;
  margin: 0; z-index: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(1.2rem, 5vw, 2rem);  /* 通常表示（PC・タブレット） */
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* スマホ幅（480px以下）の場合のみ文字を約2倍に */
@media (max-width: 480px) {
  .category .page-header.page--cover .reason-hero-sub,
  .category .page-header.page--cover .method-hero-sub {
    font-size: clamp(2.4rem, 10vw, 4rem);  /* ★ 2倍化したclamp */
  }
}

/* H1（可変・最大3rem） */
.page-header.page--cover .entry-title{
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.2; color: #fff; text-align: center; 
}

/* ===== Tabs（BEM: __item / __label）===== */
.page-header.page--cover nav.reason-tabs,
.page-header.page--cover nav.method-tabs {
  display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:12px;
}

/* a と span の両方に適用（.reason-tabs__item） */
.page-header.page--cover nav.reason-tabs .reason-tabs__item,
.page-header.page--cover nav.method-tabs .method-tabs__item {
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 14px; border:2px solid transparent; border-radius:8px;
  background:rgba(0,0,0,.20);
  line-height:1.2; font-weight:700;
  font-size: clamp(1.2rem, 2vw, 2.5rem);  /* 可変・上限 2.5rem */
  color:#fff; text-decoration:none;
}

/* ラベルは親の指定を継承（.reason-tabs__label） */
.page-header.page--cover nav.reason-tabs .reason-tabs__label,
.page-header.page--cover nav.method-tabs .method-tabs__label {
  font:inherit; color:inherit; line-height:inherit;
}

/* リンク状態の色・装飾を固定（テーマの a:link / :visited より強くするため文脈セレクタで上書き） */
.page-header.page--cover nav.reason-tabs a.reason-tabs__item:link,
.page-header.page--cover nav.reason-tabs a.reason-tabs__item:visited,
.page-header.page--cover nav.method-tabs a.method-tabs__item:link,
.page-header.page--cover nav.method-tabs a.method-tabs__item:visited {
  color:#fff; text-decoration:none;
}

/* ホバー：白背景＋黒文字＋白枠 */
.page-header.page--cover nav.reason-tabs .reason-tabs__item:hover,
.page-header.page--cover nav.method-tabs .method-tabs__item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  border-color: #fff;
}

/* キーボードフォーカス可視化 */
.page-header.page--cover nav.reason-tabs .reason-tabs__item:focus-visible,
.page-header.page--cover nav.method-tabs .method-tabs__item:focus-visible {
  outline:2px solid #fff; outline-offset:2px;
  background:#fff; color:#000; border-color:#fff; color: #000;
}

/* 現在のタブ（span.is-active）は白枠で強調・非クリック */
.page-header.page--cover nav.reason-tabs .reason-tabs__item.is-active,
.page-header.page--cover nav.method-tabs .method-tabs__item.is-active {
  border-color:#fff; background:rgba(255,255,255,.10); color:#fff;
  cursor: default; pointer-events: none;
}

/* ===== 安全策（ホワイトリスト）：reason 系はヒーローを必ず表示 ===== */
body.category-reason  .page-header.page--cover,
body.category-reason01 .page-header.page--cover,
body.category-reason02 .page-header.page--cover,
body.category-reason03 .page-header.page--cover,
body.category-method  .page-header.page--cover,
body.category-method01 .page-header.page--cover,
body.category-method02 .page-header.page--cover,
body.category-method03 .page-header.page--cover {
  display:block !important;
}

/* ====== method・reason・axis カテ用 intro ====== */
/* 共通 */
.intro {
  display: grid;
  gap: 16px;
  padding: 0 30px;      /* 左右余白 */
  margin-bottom: 2rem;
  box-sizing: border-box;
  grid-template-columns: 1fr;   /* モバイルは1カラム */
}

/* 768px?で本文が可変、メディアは中身サイズだけ */
@media (min-width: 768px) {
  .intro {
    grid-template-columns: minmax(0, 1fr) auto; /* ←右は shrink-to-fit */
    align-items: start;
  }

  /* 右カラム（画像/動画）の実サイズをここで規定 */
  .intro__img,
  .intro__video {
    width: clamp(320px, 42vw, 640px);  /* 画面に応じて可変 */
    justify-self: start;               /* 左寄せ（右端に空白を作らない） */
  }
}

/* 画像 */
.intro__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* 動画（aspect-ratio方式） */
.intro__video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
/* 旧 .ratio 方式や旧 before の副作用を消す */
.ratio { position:static !important; height:auto !important; padding:0 !important; }
.ratio > iframe { position:static !important; inset:auto !important; }
.method-intro__media::before,
.reason-intro__media::before { content:none !important; }

.my-dropcap {
  float: left;
  display: inline-block;
  font-size: 2em;
  width: 2em;
  margin: .2em .2em .2em 0;
  line-height: 2em;
  text-align: center;
  overflow: hidden;
  text-transform: uppercase;
  background-color: #666;
  color: #fff;
}
.wp-block-pullquote {font-size: 1em; text-align: left;}

/* WOWで非表示にされないよう強制可視化 */
.wow { visibility: visible !important; animation: none !important; }

.focus-word{
  text-decoration:underline #ff0000;
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}

/*h1ブロックを含むentry-headerはheroブロックの棲み分け整理後削除*/
/* reason系とmethod系のみ h1(entry-header) を非表示 */
.category-reason .entry-header,
.category-reason01 .entry-header,
.category-reason02 .entry-header,
.category-reason03 .entry-header,
.category-method .entry-header,
.category-method01 .entry-header,
.category-method02 .entry-header,
.category-method03 .entry-header {
  display: none;
}

/* Axis tabs */
.page-header.page--cover .axis-tabs{
  display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:12px;
}
.page-header.page--cover .axis-tabs__item{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 14px; border:2px solid transparent; border-radius:8px;
  background:rgba(0,0,0,.20); line-height:1.2; font-weight:700;
  color:#fff; text-decoration:none;
  font-size:clamp(1.2rem, 2vw, 2.5rem);
}
.page-header.page--cover .axis-tabs__item:hover{ background:#fff; color:#000; border-color:#fff; }
.page-header.page--cover .axis-tabs__item.is-active{
  border-color:#fff; background:rgba(255,255,255,.10); cursor:default; pointer-events:none;
}
.page-header.page--cover .axis-tabs__label{ font:inherit; color:inherit; line-height:inherit; }

.entry-meta {
  padding-bottom: 0;
}

#custom_html-7 h4 {
 font-size: 16px;
 text-align: left;
 margin: 0;
}

/*axisカテ一覧の文字修飾*/
.negativehighlight{
background-color:yellow;
font-weight: bold;
color:#000;
padding:0 5px;
margin:0 2px;
}
/*訴状HTML版用*/
.fr {
  float: right;
  margin-left: 0.5em;
  white-space: nowrap;
}