/*
Theme Name: Twenty Twenty-Five Child
Theme URI:  https://example.com/
Description: Child theme for Twenty Twenty-Five — custom CSS goes here.
Author:      remoteassist
Template:    twentytwentyfive
Version:     1.0.0
*/

/* ---------- サイト全体：リンクの下線を消す ---------- */
a,
a:visited {
  text-decoration: none;      /* 下線を消す */
  border-bottom: none;        /* テーマが border-bottom で下線付けている場合に備える */
  background-image: none;     /* 一部テーマで使われる下線表現を消す */
}

/* ホバーでは色変化で「リンクらしさ」を出す（必要に応じて色を調整） */
a:hover,
a:active {
  text-decoration: none;
  color: inherit; /* テーマのリンク色に合わせたい場合は別途カラーハンドリング */
  opacity: 0.88;  /* 軽い視覚フィードバック（任意） */
}

/* キーボード利用者のためのフォーカス可視化（必ず残す） */
a:focus-visible {
  outline: 3px solid #ffd166;   /* フォーカスの色はブランドやアクセシビリティ要件に合わせて変更 */
  outline-offset: 3px;
  border-radius: 4px;
}


/* ヘッダーの固定 */
header.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}


/* 法人向けページ */
body.single-for_business h2 {
  padding: 0.5em;
  color: #010101; /* 黒文字で十分コントラスト確保 */
  background: #E7F4EC; /* 薄い緑 */
  border-bottom: solid 3px #076530; /* 既存の深緑を下線に */
}

/*Biz Assist Xページ */
body.single-for_business .bizassistx-page h2 {
  padding: 0.5em;
  color: #010101;
  background: #FDECEC;
  border-bottom: solid 3px #C62828;
}



/* ロゴの上のサブタイトルの文字 */
.subtitle {
  font-size: 1.25rem; /* 20px */
  display: block;
}

/* チェックマーク付きのリスト */
.check-list ul,
.check-list {
  list-style: none; /* 点を消す */
  padding-left: 1.2em;
}

.check-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.3em;
}

/* 疑似要素でチェックアイコンを表示 */
.check-list li::before {
  content: "✔"; /* チェックマーク */
  position: absolute;
  left: 0;
  top: 0;
  color: #076530; /* お好みの色（今のアクセシビリティ色） */
  font-size: 1em;
  line-height: 1;
}

@media (max-width: 768px) {
  /* スマホ向け見出し調整 */
  h1 {
    font-size: 1.75rem;
  } /* 28px */
  h2 {
    font-size: 1.375rem;
  } /* 22px */
  h3 {
    font-size: 1.125rem;
  } /* 18px */
  h4 {
    font-size: 1rem;
  } /* 16px */
  h5 {
    font-size: 1rem;
  } /* 16px */

  /* 段落のフォントサイズを調整 */
  p {
    font-size: 1rem !important;
  } /* 16px */

  /* リストのフォントサイズを調整 */
  ul li,
  ol li {
    font-size: 1rem !important; /* 16px */
  }

  /* ロゴの上のサブタイトルの文字 */
  .subtitle {
    font-size: revert; /* デフォルトに戻す */
  }

  /* チェックマーク付きのリスト */
  .check-list ul,
  .check-list {
    padding-left: 0em;
  }

}
