@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** たのまえ　見た目の調整（2026-11-30）
** 入れた所：子テーマ cocoon-child-master の style.css の末尾（この区切りから下が全部）
** 色：主 #1d5c4d／差し #ffd84a／字 #22272b／うすい字 #5a646b／線 #dde2e6／うすい地 #f2f4f6／外の地 #f6f7f5／うすい緑 #eef5f1
** 外の画像・外のフォントは読み込まない。絵は inline SVG と、CSS の中の data: の SVG だけ。
** 動きは、上に乗せた時の 0.15秒だけ。
************************************/

/* ---------- 全体 ---------- */
body,
body.ff-hiragino {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  color: #22272b;
  background-color: #f6f7f5;
}
a {
  color: #1d5c4d;
  text-decoration: none;
}
a:hover {
  color: #1d5c4d;
  text-decoration: underline;
}
.main,
.sidebar {
  border-radius: 8px;
}

/* ---------- ヘッダー ---------- */
#header-container,
#header-container .navi,
.header {
  background-color: #ffffff;
}
#header-container {
  border-top: 4px solid #ffd84a;
  border-bottom: 1px solid #dde2e6;
}
.header .header-in {
  min-height: 0;
}
.logo-header {
  padding: 30px 0 4px;
}
.logo-header .site-name-text {
  display: inline-flex;
  align-items: center;
  color: #1d5c4d;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0.08em;
}
/* ロゴ（F：はんこ。Cocoon 設定のロゴの画像。字の名前は出ない） */
.logo-header .site-logo-image {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.logo-header a:hover {
  text-decoration: none;
}
.header .tagline {
  color: #5a646b;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0.4em 1em 1.3em;
}

/* メニュー */
#navi .navi-in > ul li {
  height: 52px;
}
#navi .navi-in a {
  color: #22272b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.15s, color 0.15s;
}
#navi .navi-in a:hover {
  background-color: #f2f4f6;
  color: #1d5c4d;
  text-decoration: none;
}
#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current-menu-ancestor > a,
#navi .navi-in > ul > li.current-category-ancestor > a,
#navi .navi-in > ul > li.current-post-ancestor > a,
#navi .navi-in > ul > li.current-menu-parent > a {
  box-shadow: inset 0 -3px 0 #ffd84a;
  color: #1d5c4d;
}

/* ---------- トップ（インデックスリストトップのウィジェット） ---------- */
.widget-index-top.widget_block {
  margin-bottom: 2em;
}
body.paged .tm-home {
  display: none;
}
.tm-home h2,
.tm-home p,
.tm-home ul,
.tm-home ol {
  margin-top: 0;
}

/* ヒーロー */
.tm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: center;
  background-color: #eef5f1;
  background-image: radial-gradient(rgba(29, 92, 77, 0.13) 1px, transparent 1.4px);
  background-size: 16px 16px;
  border-radius: 18px;
  padding: 36px 34px;
  margin-bottom: 28px;
}
.tm-hero .tm-hero-lead {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: #22272b;
  margin: 0 0 0.6em;
}
.tm-mark {
  background: linear-gradient(transparent 60%, #ffd84a 60%, #ffd84a 92%, transparent 92%);
  padding: 0 0.1em;
  white-space: nowrap;
}
.tm-hero .tm-hero-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #3d474e;
  margin: 0 0 1.2em;
}
.tm-hero .tm-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tm-hero .tm-hero-chips li {
  margin: 0;
  padding: 0.3em 0.9em 0.3em 0.75em;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: #1d5c4d;
  background: #ffffff;
  border: 1px solid #c9ddd3;
  border-radius: 999px;
}
.tm-hero .tm-hero-chips li::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.3em;
  margin: 0 0.45em 0.2em 0;
  border-left: 2px solid #1d5c4d;
  border-bottom: 2px solid #1d5c4d;
  transform: rotate(-45deg);
}
.tm-hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 3つの入口のカード */
.tm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tm-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dde2e6;
  border-top: 3px solid #1d5c4d;
  border-radius: 10px;
  padding: 20px 18px 18px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.tm-card:hover {
  transform: translateY(-3px);
  border-color: #1d5c4d;
  box-shadow: 0 4px 12px rgba(29, 92, 77, 0.08);
}
.tm-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #eef5f1;
  margin-bottom: 12px;
}
.tm-card-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}
.tm-home .tm-card .tm-card-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.45em;
  padding: 0;
  background: none;
  border: 0;
  color: #1d5c4d;
}
.tm-card .tm-card-title a {
  color: #1d5c4d;
}
.tm-card .tm-card-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #5a646b;
  margin: 0 0 1em;
}
.tm-card .tm-card-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tm-card .tm-card-links li {
  margin: 0;
  padding: 0;
}
.tm-card .tm-card-links a {
  display: inline-block;
  padding: 0.2em 0.75em;
  font-size: 13px;
  line-height: 1.7;
  color: #22272b;
  background: #ffffff;
  border: 1px solid #dde2e6;
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s;
}
.tm-card .tm-card-links a:hover {
  border-color: #1d5c4d;
  color: #1d5c4d;
  text-decoration: none;
}

/* たのまえの記事の作り方 */
.tm-how {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid #dde2e6;
  border-radius: 12px;
  padding: 24px 26px 8px;
}
.tm-home .tm-how .tm-how-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: #22272b;
  margin: 0 0 1em;
  padding: 0;
  background: none;
  border: 0;
}
.tm-how .tm-how-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.4em;
  background: #ffd84a;
  border-radius: 2px;
}
.tm-how .tm-how-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tmhow;
}
.tm-how .tm-how-list li {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 0 2.7em;
  font-size: 14px;
  line-height: 1.8;
  color: #22272b;
}
.tm-how .tm-how-list li::before {
  counter-increment: tmhow;
  content: counter(tmhow);
  position: absolute;
  left: 0;
  top: 0;
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  background: #1d5c4d;
  border-radius: 50%;
}

/* 記事が0本の間：トップでは「NOT FOUND」を出さない。ほかのページでは英語の見出しだけ外す */
.home .posts-not-found {
  display: none;
}
.posts-not-found h2 {
  display: none;
}
.posts-not-found p {
  color: #5a646b;
  font-size: 15px;
}
/* カテゴリーのページで記事がまだ無い時の文 */
.category .posts-not-found p {
  display: none;
}
.category .posts-not-found::after {
  content: "このカテゴリーの記事は、まだありません。";
  display: block;
  padding: 1.2em 0;
  color: #5a646b;
  font-size: 15px;
}

/* ---------- カテゴリーのページ ---------- */
.archive-title {
  font-size: 24px;
  color: #22272b;
}
.archive-title .fa {
  color: #1d5c4d;
}
.main .category-content {
  background-color: #eef5f1;
  background-image: radial-gradient(rgba(29, 92, 77, 0.1) 1px, transparent 1.4px);
  background-size: 16px 16px;
  border-radius: 14px;
  padding: 22px 26px 10px;
  margin-bottom: 1.8em;
}
.category-content .archive-title {
  margin: 0 0 0.4em;
}
.category-content .category-page-content {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #3d474e;
}
.cat-label {
  background-color: #1d5c4d;
  border-color: #1d5c4d;
  border-radius: 3px;
}
/* 記事のカード（一覧） */
.entry-card-wrap,
.related-entry-card-wrap {
  background: #ffffff;
  border: 1px solid #dde2e6;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}
.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  background: #ffffff;
  border-color: #1d5c4d;
  text-decoration: none;
}
.entry-card-title,
.related-entry-card-title {
  color: #22272b;
  font-weight: 700;
}
.entry-card-thumb img,
.related-entry-card-thumb img {
  border-radius: 6px;
}

/* ---------- 記事と固定ページ ---------- */
.entry-title {
  font-size: 28px;
  line-height: 1.5;
  color: #22272b;
}
.article {
  line-height: 1.9;
}
.main .article h2 {
  background: none;
  color: #22272b;
  font-size: 24px;
  line-height: 1.5;
  padding: 0 0 0.45em;
  margin: 2.6em 0 1.1em;
  border: 0;
  border-bottom: 2px solid #1d5c4d;
  border-radius: 0;
}
.main .article h3 {
  background: none;
  color: #22272b;
  font-size: 20px;
  line-height: 1.5;
  padding: 0.15em 0 0.15em 0.75em;
  margin: 2.2em 0 0.9em;
  border: 0;
  border-left: 4px solid #1d5c4d;
  border-radius: 0;
}
.main .article h4,
.main .article h5,
.main .article h6 {
  background: none;
  color: #22272b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  padding: 0;
  margin: 1.8em 0 0.6em;
  border: 0;
}

/* 箇条書き */
.article ul li,
.article ol li {
  line-height: 1.85;
  margin-bottom: 0.45em;
}
.article .toc ul li,
.article .toc ol li {
  margin-bottom: 0.2em;
}

/* 表（ふつうの表） */
.article table {
  border-collapse: collapse;
  font-size: 0.94em;
  line-height: 1.7;
}
.main .article th,
.main .article td {
  border: 1px solid #dde2e6;
  padding: 0.6em 0.9em;
}
.main .article th,
.main .article thead th,
.main .article thead td {
  background-color: #f2f4f6;
  color: #22272b;
  font-weight: 700;
}
.article .wp-block-table thead {
  border-bottom: 1px solid #dde2e6;
}
.article tr:nth-of-type(2n+1) {
  background-color: transparent;
}
.wp-block-table,
.scrollable-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 引用 */
.article blockquote,
.article .wp-block-quote {
  background-color: #f2f4f6;
  border: 0;
  border-left: 4px solid #b9c2c9;
  border-radius: 0;
  padding: 1em 1.4em;
  color: #22272b;
}
.article blockquote::before,
.article blockquote::after {
  content: none;
  display: none;
}
.article blockquote cite {
  display: block;
  margin-top: 0.6em;
  font-size: 13px;
  font-style: normal;
  color: #5a646b;
}

/* 広告の表示の文 */
.pr-label-l {
  font-size: 13px;
  line-height: 1.7;
  color: #5a646b;
  background-color: #f2f4f6;
  border: 1px solid #dde2e6;
  border-radius: 6px;
  padding: 0.6em 1em;
  text-align: left;
}

/* 目次 */
.main .toc {
  background-color: #f8f9fa;
  border: 1px solid #dde2e6;
  border-radius: 8px;
  padding: 1.1em 1.6em 1.2em;
  font-size: 0.92em;
}
.toc .toc-title {
  color: #22272b;
  font-weight: 700;
}
.toc a {
  color: #22272b;
}
.toc a:hover {
  color: #1d5c4d;
}

/* 日付と書き手 */
.date-tags,
.date-tags .post-date,
.date-tags .post-update {
  font-size: 13px;
  color: #5a646b;
}
.author-info,
.author-info a {
  font-size: 13px;
  color: #5a646b;
}

/* パンくず */
.breadcrumb {
  font-size: 13px;
  color: #5a646b;
}
.breadcrumb a {
  color: #5a646b;
}
.breadcrumb a:hover {
  color: #1d5c4d;
}

/* ---------- 記事の部品（使い方は 記事の部品の使い方.md） ---------- */
.article .tm-summary,
.article .tm-memo,
.article .tm-caution {
  position: relative;
  border-radius: 8px;
  margin: 2em 0;
  padding: 1.1em 1.4em;
  font-size: 0.96em;
}
.article .tm-summary > :last-child,
.article .tm-memo > :last-child,
.article .tm-caution > :last-child {
  margin-bottom: 0;
}
.article .tm-box-title {
  margin: 0 0 0.5em;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
/* この記事で分かる事 */
.article .tm-summary {
  background: #eef5f1;
  border: 1px solid #c9ddd3;
  padding-top: 1.6em;
}
.article .tm-summary .tm-box-title {
  position: absolute;
  top: -0.85em;
  left: 1.1em;
  margin: 0;
  padding: 0.1em 0.8em;
  font-size: 13px;
  color: #ffffff;
  background: #1d5c4d;
  border-radius: 4px;
}
/* メモ */
.article .tm-memo {
  background: #fffbe8;
  border-left: 4px solid #ffd84a;
  border-radius: 0 8px 8px 0;
}
.article .tm-memo .tm-box-title {
  color: #6b5a12;
}
/* 注意（赤は使わない） */
.article .tm-caution {
  background: #f2f4f6;
  border-left: 4px solid #4a545b;
  border-radius: 0 8px 8px 0;
}
.article .tm-caution .tm-box-title {
  color: #22272b;
}
/* チェックの箇条書き */
.article ul.tm-check {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.article ul.tm-check > li {
  position: relative;
  padding-left: 1.8em;
}
.article ul.tm-check > li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.5em;
  width: 0.75em;
  height: 0.4em;
  border-left: 3px solid #1d5c4d;
  border-bottom: 3px solid #1d5c4d;
  transform: rotate(-45deg);
}
/* 出どころの注 */
.article .tm-source {
  margin: 1.2em 0 1.6em;
  padding-top: 0.6em;
  border-top: 1px solid #dde2e6;
  font-size: 13px;
  line-height: 1.7;
  color: #5a646b;
}
.article .tm-source a {
  color: #5a646b;
  text-decoration: underline;
}
/* 番号つきの手順 */
.article ol.tm-steps {
  list-style: none;
  counter-reset: tmstep;
  margin: 1.6em 0;
  padding-left: 0;
}
.article ol.tm-steps > li {
  position: relative;
  margin: 0;
  padding: 0.1em 0 1.3em 3em;
}
.article ol.tm-steps > li::before {
  counter-increment: tmstep;
  content: counter(tmstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: #1d5c4d;
  border-radius: 50%;
}
.article ol.tm-steps > li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 2.2em;
  bottom: 0.2em;
  width: 2px;
  background: #c9ddd3;
}
.article ol.tm-steps > li:last-child {
  padding-bottom: 0.2em;
}
.article ol.tm-steps > li:last-child::after {
  display: none;
}
.article ol.tm-steps strong {
  display: block;
  color: #1d5c4d;
}
/* 比べる表 */
.main .article .tm-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
}
.main .article .tm-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.main .article .tm-table th,
.main .article .tm-table td {
  border: 1px solid #dde2e6;
  padding: 0.65em 0.9em;
}
.main .article .tm-table thead th,
.main .article .tm-table thead td {
  background-color: #1d5c4d;
  border-color: #1d5c4d;
  color: #ffffff;
  font-weight: 700;
}
.main .article .tm-table tbody tr:nth-of-type(2n) {
  background-color: #f2f4f6;
}
.main .article .tm-table tbody th {
  background-color: #eef5f1;
  color: #22272b;
}
/* 申し込みのボタン */
.tm-btn-wrap {
  text-align: center;
  margin: 2em 0 0.4em;
}
.article a.tm-btn,
a.tm-btn {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  min-width: 300px;
  max-width: 100%;
  padding: 0.95em 2.6em 0.95em 2em;
  background-color: #1d5c4d;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 0 #123b31;
  transition: background-color 0.15s;
}
.article a.tm-btn::after,
a.tm-btn::after {
  content: "";
  position: absolute;
  right: 1.2em;
  top: 50%;
  width: 0.45em;
  height: 0.45em;
  margin-top: -0.25em;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
}
.article a.tm-btn:hover,
a.tm-btn:hover {
  background-color: #174a3e;
  color: #ffffff;
  text-decoration: underline;
}
.article .tm-btn-note {
  margin: 0.2em 0 2em;
  text-align: center;
  font-size: 13px;
  color: #5a646b;
}

/* ---------- サイドバー ---------- */
.sidebar h2,
.sidebar h3 {
  background: none;
  color: #22272b;
  font-size: 16px;
  font-weight: 700;
  padding: 0 0 0.5em;
  margin: 1.6em 0 0.8em;
  border: 0;
  border-bottom: 2px solid #1d5c4d;
  border-radius: 0;
}
/* 記事が0本の間、「新しい記事」は見出しごと出さない（記事が入れば出る） */
.sidebar .widget:has(.wp-block-latest-posts:empty) {
  display: none;
}
.sidebar .wp-block-categories,
.sidebar .wp-block-latest-posts {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.sidebar .wp-block-categories li,
.sidebar .wp-block-latest-posts li {
  font-size: 15px;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}
.sidebar .wp-block-categories a,
.sidebar .wp-block-latest-posts a {
  display: block;
  padding: 0.3em 0.2em;
  color: #22272b;
}
.sidebar .wp-block-categories a:hover,
.sidebar .wp-block-latest-posts a:hover {
  color: #1d5c4d;
  background: none;
}
.sidebar .wp-block-categories > li {
  margin-top: 0.3em;
  font-weight: 700;
}
.sidebar .wp-block-categories .children {
  list-style: none;
  margin: 0 0 0.4em 0.4em;
  padding-left: 0.8em;
  border-left: 1px solid #dde2e6;
}
.sidebar .wp-block-categories .children li {
  font-weight: 400;
  font-size: 14px;
}
.sidebar .wp-block-categories .children a {
  padding: 0.15em 0.2em;
}
.sidebar .wp-block-search__label {
  font-size: 15px;
  font-weight: 700;
}
.sidebar .wp-block-search__input {
  border: 1px solid #dde2e6;
  border-radius: 6px;
}
.sidebar .wp-block-search__button {
  background-color: #1d5c4d;
  color: #ffffff;
  border: 0;
  border-radius: 6px;
}

/* ---------- 404 のページ ---------- */
.error404 .entry-title {
  font-size: 24px;
}
.error404 img.not-found {
  display: none;
}
.tm-404-links {
  margin: 1.6em 0 0;
}
.tm-404-links .tm-404-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 0.6em;
}
.tm-404-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tm-404-links li {
  margin: 0;
  padding: 0;
}
.tm-404-links a {
  display: inline-block;
  padding: 0.5em 1.2em;
  font-size: 15px;
  line-height: 1.6;
  white-space: nowrap;
  font-weight: 700;
  color: #1d5c4d;
  background: #eef5f1;
  border: 1px solid #c9ddd3;
  border-radius: 999px;
  transition: border-color 0.15s;
}
.tm-404-links a:hover {
  border-color: #1d5c4d;
  text-decoration: none;
}

/* ---------- フッター ---------- */
#footer {
  background-color: #1d5c4d;
  color: #ffffff;
  border-top: 4px solid #ffd84a;
}
#footer a,
#footer .site-name-text {
  color: #ffffff;
}
.footer-bottom.fdt-up-and-down .footer-bottom-logo {
  display: block;
  position: static;
  float: none;
  text-align: center;
  margin: 8px 0 14px;
}
.logo-footer .site-name-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
/* フッターのロゴは、緑の地の上なので、白い角丸の札に載せる（はんこの丸の中が白いため、色を抜くと潰れる） */
.logo-footer .site-logo-image {
  display: block;
  box-sizing: content-box;
  height: 34px;
  width: auto;
  margin: 0 auto;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 10px;
}
.footer-bottom-logo .logo-footer::after {
  content: "頼む前に、確かめておく事。";
  display: block;
  margin-top: 0.5em;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}
.navi-footer-in > .menu-footer li {
  border-color: rgba(255, 255, 255, 0.5);
}
.navi-footer-in > .menu-footer li a {
  font-size: 14px;
}
.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/************************************
** スマホ・タブレット
************************************/
@media screen and (max-width: 834px) {
  .tm-hero {
    grid-template-columns: 1fr;
    padding: 26px 20px 22px;
    gap: 14px;
    border-radius: 14px;
  }
  .tm-hero .tm-hero-lead {
    font-size: 22px;
  }
  .tm-hero-art {
    max-width: 120px;
    margin: 0 auto;
  }
  /* スマホのヘッダー：上のボタンの帯の名前と、3つのメニューを1行に */
  .mobile-header-menu-buttons .logo-menu-button a {
    color: #1d5c4d;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.06em;
  }
  .mobile-header-menu-buttons .logo-menu-button img,
  .mobile-header-menu-buttons .logo-menu-button .site-logo-image {
    height: 34px;
    width: auto;
    max-width: none;
    max-height: none;
  }
  /* ロゴが、上のボタンの帯と、その下のヘッダーで二重に出ないよう、帯のロゴは見せない（ヘッダーのロゴ 36px を残す） */
  .mobile-header-menu-buttons .logo-menu-button {
    visibility: hidden;
  }
  #navi .navi-in > .menu-mobile {
    flex-wrap: nowrap;
  }
  #navi .navi-in > .menu-mobile li {
    width: 33.333%;
    height: 44px;
  }
  #navi .navi-in > .menu-mobile a {
    font-size: 14px;
  }
  #navi-footer .navi-footer-in > .menu-footer {
    justify-content: center;
  }
  #navi-footer .navi-footer-in > .menu-footer li {
    width: auto;
  }
  #navi-footer .navi-footer-in > .menu-footer li a {
    padding: 0.2em 0.8em;
  }
  .tm-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tm-how {
    padding: 20px 18px 6px;
  }
  .tm-how .tm-how-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .logo-header {
    padding: 16px 0 2px;
  }
  .logo-header .site-name-text {
    font-size: 28px;
  }
  .logo-header .site-logo-image {
    height: 36px;
  }
  .main .category-content {
    padding: 18px 18px 6px;
  }
  .entry-title {
    font-size: 23px;
  }
  .main .article h2 {
    font-size: 21px;
  }
  .main .article h3 {
    font-size: 18px;
  }
  .main .article h4,
  .main .article h5,
  .main .article h6 {
    font-size: 17px;
  }
  .article a.tm-btn,
  a.tm-btn {
    min-width: 0;
    width: 100%;
  }
}

/* 表のマスの折り返し（2026-11-30 直し）
** Cocoon の「表を横に動かせる」（.scrollable-table）は、マスを nowrap にするので、長い文が折り返さず、
** パソコンの幅でも表がはみ出していた。幅を問わず折り返す形に戻し、マスが細くなりすぎない幅だけ決める。
** スマホで表が本文より広くなった時は、今までどおり横に動かせる。 */
.main .article .scrollable-table th,
.main .article .scrollable-table td,
.main .article .tm-table th,
.main .article .tm-table td {
  white-space: normal;
}
.main .article .scrollable-table td,
.main .article .tm-table td {
  min-width: 7em;
}
.main .article .scrollable-table th,
.main .article .tm-table th {
  min-width: 5em;
}
