/* ==========================
  Theme Info
========================== */
Theme Name: Fukasawa Child
Template: fukasawa
Description: Fukasawaの子テーマ
Version: 1.0


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ◤ 全体設定 ◢
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ==========================
  基本のスタイル
========================== */

/*---------------html/body---------------*/
html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
}


body {
  background-position: center;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 17px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

/*---------------content---------------*/

  body.single-post .content,
  body.single-post .content-thin {
    margin: 0 auto !important;
  }

.content {
  width: 70%;
  max-width: 820px;
  margin: 0 auto;
  background-color: #fff;
  padding: 1% 2% 0 2%; /* ← 上に10pxの余白 */
}

.content p {
  font-weight: 400;
  color: #333;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;/*段落間（p）の行間*/
}

.content p strong,
.content p b {
  font-weight: 700;
  color: #111;
}

.entry-content > p {
  max-width: 90%; /*直下のみに限定、再帰的に狭くなるのを防ぐ*/
}

.entry-content ul {
  padding-left: 2em; /* 必要に応じて調整 */
  list-style-position: inside; /* 箇条書きマークを内側に */
  width: 90%;
}

/*タブレット表示・スマホ表示のとき*/
@media (max-width: 1000px) {
  .content {
    width: 100% !important;
  }
}


@media (max-width: 767px) {
  body {
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  }

  .entry-content ul {
    padding-left: 0em;
  }

  body.single-post .content-thin {
    width: 100% !important;
    max-width: 97% !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .content p {
    margin-bottom: 3em;/*段落間（p）の行間*/
  }

}



/*---------------LINK---------------*/

/* 投稿ページ（single）だけにリンク色を適用 */
body.single .content a:not(.custom-toc__list a):not(.custom-toc__list .toc-h3 a) {
  color: #005bbb;
}

/* リンクの字間を通常に（英数潰れ対策） */
body.single .content a {
  letter-spacing: normal;  /* ← 本文0.04emの影響をキャンセル */
}

body.single .content a:hover {
  color: #003f80;
  text-decoration: underline;
}

body.single .content a:active {
  color: #00d0ff;
}

/*---------------list---------------*/

body.single .post-content > .wp-block-list {
  margin-bottom: 2em;
}

.wp-block-list li {
  margin-bottom: 0.1em; /*リスト内のマージボトム指定*/
  padding-left: 1em;
  text-indent: -1.2em;   /* 行頭の「・」分だけネガティブインデント */
}

@media (max-width: 767px) {
  .wp-block-list {
    padding: 0.5em 1em 0.5em 0em;
  }

  .wp-block-list li {
    padding-left: 2.2em;
  }
}

/*---------------has background---------------*/
body.single .post-content > .has-background {
  border: 2px dashed #d6cfa3; /* やや太めの破線で見やすく */
  margin-left: 2.2em;
}

body.single .post-content > .has-background li,
body.single .post-content > .has-background li strong {
  letter-spacing: 0.01em; /* 気持ち狭く */
  font-size: 0.95em;
  font-weight: 450;
}



@media (max-width: 767px) {
  body.single .post-content > .has-background {
    margin-left: 1.5em;
    padding: 1.5em;
  }

.wp-block-list.has-background li {
  margin-left: -1em; /* 好きな値に調整 */
}

}

/*---------------image---------------*/
.wp-block-image {
  margin: 0rem auto;
}

.entry-content > .wp-block-image{
  margin-bottom: 2em;
}

/*---------------table---------------*/
.wp-block-table {
  width: 90%;
  margin: 0em auto 2em auto;
}

/*---------------columns---------------*/
 .wp-block-columns{
  margin-left: auto;
  margin-right: auto;
}

.wp-block-column p.heading:not(:first-child) {
  margin-top: 2.5em;/*行間の調整*/
}

.wp-block-column > p {
  border: 0px solid blue;
  margin-bottom: 2em; /*カラム内の行間*/
}

/*ハイライト*/
mark {
  background: none !important;
  box-shadow: inset 0 -0.3em 0 #ffec99;
}

/* ==========================
   見出し（h2以下）
=========================== */

/* h2 */
.post-content h2 {
  font-size: 1.8em;
  font-weight: 700;
  background: linear-gradient(135deg, #6666CC, #3880C1, #FF3366);
  color: #fff;
  padding: 14px 16px;
  text-align: center;
  line-height: 1.35;          /* 見出しはやや詰める */
  letter-spacing: 0.04em;     /* 1px固定→相対値に修正 */
  border-radius: 8px;         /* 角丸で視認性UP（任意） */
  margin-top: 3em; /* 行間の調整 */
}

/* 最初の h2 のみマージントップを 0 に */
.post-content h2:first-of-type {
  margin-top: 0;
}

/* h3 */
.post-content h3 {
  font-size: 1.4em;
  color: #111;
  background-color: #f7f7f7;
  padding: 0.5em 0.85em;      /* ほんの少し広げて安定 */
  border-left: 7px solid #dc6161;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  box-sizing: border-box;
  line-height: 1.35;          /* 見出しはやや詰める */
  margin-top: 3em; /* 行間の調整 */
  margin-bottom: 1em; /* 行間の調整 */
}

/* h4 */
.post-content h4 {
  font-size: 1.12em;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  padding: 0 0 0.25em 1.2em;
  position: relative;
  line-height: 1.35;          /* 見出しはやや詰める */
  margin-left: 2em;/*インデントの調整*/
  margin-top: 3em; /* 行間の調整 */
  margin-bottom: 1em; /* 行間の調整 */
}

.post-content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6em;
  height: 0.6em;
  background-color: #dc6161;
  border-radius: 2px;
}

.post-content h4::after {
  content: "";
  position: absolute;
  left: 0em; /* 左余白分＋アイコン分 */
  right: 50px; /* 右端を短くする分 */
  bottom: -6px; /* 下にずらして隙間を広げる */
  border-bottom: 2px dashed #dc6161;
}


/* ====== モバイル最適化 ====== */
@media (max-width: 767px) {
  .post-content h2 {
    font-size: 1.45em;        /* h3との差を維持しつつ縮小 */
    padding: 12px 14px;
    margin-bottom: 0.8em;
    margin-top: 4em; /* 行間の調整 */
  }

  .post-content h3 {
    font-size: 1.22em;        /* 既存1.2emを微増で視認性UP */
    padding: 0.45em 0.65em;
    margin-top: 4em; /* 行間の調整 */
  }

  .post-content h4 {
    font-size: 1.04em;        /* 既存1.05→ほんの少し整理 */
    margin-left: 0.4em;
    padding-left: 1em;
    margin-top: 4em; /* 行間の調整 */
  }

  .post-content h4::after {
    right: 1em;
  }
}



/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ◤   サイドバー ◢
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 5px 0 15px -5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  z-index: 1000;
}

.site-tagline {
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 30px;
  font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
}


/* PC用グローバルメニューの文字サイズを大きくする */
.main-menu li a {
  font-size: 15px;
  font-weight: 650;
}

.main-menu .current-menu-item::before,
.mobile-menu .current-menu-item::before {
  content: '▶';
  margin-top: 2px;
  margin-right: 5px;
  color: #3880C1; /* お好みの色に */
  font-size: 1.1em;
}

/* バナー広告 */
.header-banner {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

.header-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 1000px) {
  .sidebar{
    padding: 0.5em 1em 1.2em 1em;
    justify-content: center;
    background-color:		#f5f5f5;
  }

  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    flex-wrap: wrap;
  }

  .sidebar-header .blog-logo img {
    width: 160px;
    height: auto;
  }

  .sidebar-header .site-tagline {
    font-size: 12px;
    color: #555;
    margin: 0;
    flex: 1;
    text-align: left;
    line-height: 1.3;
    text-indent: 2em;
  }

  .sidebar-header .nav-toggle {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    padding: 0;
  }

  .nav-toggle .bars {
    transform: scale(0.8);
  }

  .nav-toggle p {
    display: none;
  }

  .header-banner {
    display: none;
  }

  .blog-logo a {
    display: inline-block;       /* ← 幅いっぱいを防ぐ */
    width: auto;
    padding: 0;
  }

  .blog-logo img {
    display: block;              /* 不要な余白防止 */
    height: auto;
    max-width: 100%;
  }
}

#wpadminbar {
  display: none !important;
}

@media (max-width: 1000px) {
  .sidebar {
    position: relative;
    height: auto;
    overflow-y: visible;
    box-shadow: none;
  }
}


/* モバイルメニュー（スマホ表示時）も大きくする */
.mobile-menu li a {
  font-size: 14px;
  font-weight: 500;
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ◤ front-page ◢
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* ==========================
  Hero Slider（FVスライダー）
========================== */
.swiper0 {
  background-image: url('https://sales.delight-hub.jp/wp-content/uploads/2023/10/background-05.png');
  height: 300px;
}

.hero-slider__slide {
  width: 250px !important;
  height: auto !important;
  padding: 3px;
}

.hero-slider__image img {
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgb(150, 150, 150);
}


/* ==========================
  Testimonial Slider（お知らせスライダー）
========================== */
.news-slider {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #6666CC, #3880C1, #FF3366);
  box-shadow: 0 0 10px #999;
  min-height: 2em;
  max-height: 5em;
  margin: 10px auto 10px auto;
  padding: 0 10px;  
}

.news-slider__label {
  flex-shrink: 0;
  padding: 0 12px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,0.4);
  margin-right: 10px;
  white-space: nowrap;
  display: flex;
  height: 100%;
}

.testimonial-slider {
  overflow: hidden;
  display: flex;         /* ← 念のため明示 */
  align-items: center;   /* ← これが中央揃え */
  height: 100%;          /* ← 高さを持たせるのが重要 */
  position: relative;    /* ← 浮き出しを防ぐため */
}

.swiper-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.swiper-slide{
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;    /* ← absoluteによるズレを防ぐ */
  box-sizing: border-box;
}

.testimonial-slider__text {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-style: italic;
  color: #fff;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.testimonial-slider__text p {
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* ==========================
  カテゴリメニュー
========================== */
.category-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}

.category-menu__item {
  background: #fff;
  border: 2px solid gray; /* 元々の枠 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(16.666% - 10px);
  padding: 0% 2% 0% 2%;
}

.category-menu__thumbnail img {
  object-fit: contain;
}

.category-menu__label {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.category-menu__item:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}


/* スマホ（～767px）*/
@media (max-width: 767px) {
  .category-menu__item {
    flex: 0 0 calc(33.3% - 10px);
  }

  .category-menu__label {
  margin-bottom: 0.5em !important;
}

}

/* ==========================
  検索ボックス
========================== */

.blog-search-section {
  text-align: center;
  margin: 50px auto;
  padding: 30px 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-search-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.blog-search-form {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

.blog-search-input {
  width: 100%;
  padding: 12px 20px;
  padding-right: 55px; /* アイコンボタン分のスペース */
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.blog-search-input:focus {
  border-color: #3880C1;
  box-shadow: 0 0 0 3px rgba(56, 128, 193, 0.2);
}

.blog-search-button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background-color: #3880C1;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.blog-search-button:hover {
  background-color: #2d6fa6;
}


/* ==========================
  記事セクション
========================== */
.card-section {
  margin: 60px 0;
  padding: 0 20px;
}
.card-section__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  justify-content: space-between;
}

.card-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  max-width: 300px;
  overflow: hidden;
  transition: transform 0.3s ease;
  width: calc(25% - 10px);
  margin-bottom: 24px; /* ← ここを追加 */
}


.card-item:hover {
  transform: translateY(-5px);
}
.card-item__image {
  position: relative;
  overflow: hidden;
  display: block;
}
.card-item__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.card-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.card-item__new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}
.card-item__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #0073aa;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}
.card-item__content {
  padding: 15px;
}
.card-item__title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.33;
}
.card-item__date {
  color: #888;
  font-size: 14px;
}
.card-section__more {
  text-align: right;
  margin-top: 20px;
}
.card-section__button {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.card-section__button:hover {
  background: #005f8d;
}

@media (max-width: 767px) {
  .card-section__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .card-item {
    width: calc(50% - 4px);
    max-width: 100%;
  }

  .card-item__content {
    padding: 10px;
  }
}


/* ==========================
  Features Section
========================== */
.features {
  width: 67%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.features__item,
.features__description {
  float: left;
  width: 33.33%;
  box-sizing: border-box;
  text-align: center;
}
.features__item {
  padding: 20px 20px 5px 20px;
}
.features__description {
  padding: 0 20px 20px 20px;
  font-size: 15px;
}
.features__label {
  border: 2px solid #0A2630;
  padding: 5px 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #3880C1, #6466CB);
  color: white;
  font-weight: bold;
}

/* ==========================
  Signup Section
========================== */
.signup__image {
  display: block;
  margin: 0 auto;
  width: 66%;
  box-shadow: 0 0 10px #555;
}
/* ==========================
    告知セクション（デバッグ線付き）
========================== */
.promo-section {
  padding: 10px 10px 50px 10px;
  max-width: 1000px;
  margin: 60px auto;
  margin-bottom: 0;
}

.promo-section__inner {
  background: #f0f8ff; /* アリスブルー */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.promo-section__content {
  flex: 1 1 55%;
  min-width: 300px;
}

.promo-section__title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #0073aa;
  margin-bottom: 10px;
}

.promo-section__logo {
  width: 300px;
  height: auto;
  margin-right: 10px;
}

.promo-section__lead {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.promo-section__desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.promo-section__button {
  display: inline-block;
  background-color: #0073aa;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

.promo-section__button:hover {
  background-color: #005f8d;
}

.promo-section__image {
  flex: 1 1 40%;
  text-align: center;
}

.promo-section__image img {
  max-width: 100%;
  height: auto;
}


/* ==========================
  セクション区切り線
========================== */
.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.section-header__line--blue,
.section-header__line--red {
  height: 2px;
  flex-grow: 1;
}

.section-header__line--blue {
  background: linear-gradient(135deg, #3880C1, #3880C1);
}

.section-header__line--red {
  background: linear-gradient(135deg, #DC6262, #DC6262);
}

.section-header__title {
  margin: 0 10px;
  color: #333;
  font-size: 25px;
  font-weight: bold;
}

.section-header__title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ==========================
  footer
========================== */

.site-footer-links {
  background-color: #f0f8ff;
  border-top: 2px solid #0073aa;
  padding: 40px 0px 40px 0px;
}

.site-footer-links .wrapper {
  width: 80%; /* contents幅と同じ */
  max-width: 800px; /* contents幅と同じ */
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 20%; /* ここを調整 */
  min-width: 0; /* ← これが重要！ */
  max-width: 100%;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0073aa;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  font-size: 12px;
  color: #777;
  margin-top: 30px;
  padding-bottom: 20px;
}

.footer-bottom p {
  text-align: center;
  color: #3880C1; /* 信頼感・清潔感のある青 */
}

.footer-logo-area {
  text-align: center;
  margin: 20px 0 20px;
}

.footer-logo {
  width: 50%;
  max-width: 300px;
  height: auto;
  margin-top: 30px;
}

.footer-tagline {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  text-align: center;
}

@media (max-width: 767px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 20px;
    justify-items: center;
  }

  .footer-column {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer-column h4 {
    margin-top: 10px;
    margin-bottom: 6px;
  }

  .footer-column ul li {
    margin-bottom: 4px;
  }

  .footer-logo-area {
    margin-top: 30px;
  }

  .footer-logo {
    width: 70%;
  }

  .footer-tagline {
    font-size: 13px;
    margin-top: 10px;
  }

  .footer-bottom p {
    font-size: 12px;
    margin-top: 15px;
  }
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ◤ single.php（投稿ページ） ◢
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* ==========================
   ページ全体
=========================== */

.post-inner{
  max-width: 100%;
  width: 1000px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
}

@media (max-width: 767px) {
  .post-inner{
    margin-top: -2em;
  }
}

/* ==========================
   post-header
=========================== */
/* h1 */
.post-header h1 {
  font-size: 2em !important;
  font-weight: bold;
  background: linear-gradient(135deg, #6666CC, #3880C1, #FF3366);
  color: #fff;
  padding: 20px;
  text-align: center;
  letter-spacing: 1px;
}

.post-meta{
  text-align: right;
}

@media (max-width: 767px) {
  .post-header{
    margin-bottom: 0em;
  }

  .post-header h1 {
    font-size: 1.5em !important;
    padding: 15px;
  }

  .post-meta{
    margin-top: -1em;
    font-size: 0.9em !important;
  }
}

/* ==========================
   パンくずリスト
=========================== */

.breadcrumb {
  font-size: 14px;
  margin-bottom: 1em;
  color: #555;
}

.breadcrumb a {
  color: #0073aa;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 1em;
    color: #555;
  }
}


/* ==========================
   FV
=========================== */
.featured-media clear{
}

.featured-media {
  background-color: #efefef;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.featured-media img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px; /* お好みで角丸も */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 軽い影をつける */
  margin: 30px 0; /* 上下に余白 */
  display: inline-block; /* ← ブロック要素だと中央寄せされないためインライン要素に */
}

@media (max-width: 767px) {
  .featured-media img {
    max-width: 280px;
    width: 100%;
    margin: 1em 0 0.5em 0;
  }
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  目次
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.custom-toc {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1em 1.2em;
  margin: 0em auto 2em auto;
  width: 80%;
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.4; /* 行間を詰める */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.custom-toc.show {
  opacity: 1;
  transform: none;
}

.custom-toc__title {
  font-weight: bold;
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 0.6em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.2em;
}

.custom-toc__list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 0.4em 0;
  padding: 0 0 0 1.2em;
  position: relative;
}

/* === h2項目 === */
.custom-toc__list > li {
  padding-bottom: 0.4em;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 1.2em;
  list-style: none;
}

.custom-toc__list > li:last-child {
  border-bottom: none;
}

.custom-toc__list > li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #14385c;
  font-size: 0.75em;
  top: 0.2em;
}

.custom-toc__list > li > a {
  color: #14385c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-toc__list > li > a:hover {
  color: #2c5f8d;
  text-decoration: underline;
}

/* スマホ（～767px）*/
@media (max-width: 767px) {

  .custom-toc__list > li::before {
    left: -2em;
  }

  .custom-toc__list > li {
    padding-left: 0em;
  }
}

/* === h3項目 === */
.custom-toc__list .toc-h3 {
  margin-left: -3em;
  font-size: 1rem;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  position: relative;
  padding-left: 1em;
  list-style: none;
  display: list-item;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.custom-toc__list .toc-h3::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.3em;
  color: #888;
  font-size: 0.6em;
}

.custom-toc__list .toc-h3 > a {
  color: #3880C1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-toc__list .toc-h3 > a:hover {
  color: #2c5f8d;
  text-decoration: underline;
}

/* スマホ（～767px）*/
@media (max-width: 767px) {
  .custom-toc {
    width: 100%;
  }

  .custom-toc__list .toc-h3 {
  margin-left: -1em;
  }

}

/* ==========================
   リード文・クロージング文
=========================== */

/*---------------リード文全体のカラム---------------*/
.custom-columns__container {
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-columns {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 2rem auto 5rem auto;
  width: 80%;
}

.custom-columns__main {
  flex: 0 0 150px;
  text-align: center;
}

.custom-columns__sidebar {
  flex: 1;
}

/*---------------営業マン/吹き出し---------------*/
.custom-columns__main img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.salesman-name {
  font-size: 0.95rem;
  font-weight: bold;
  color: #444;
}

/* 吹き出し全体 */
.balloon {
  position: relative;
  background: #fefefe;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 0;
  color: #333;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.balloon p {
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* 吹き出しのしっぽ */
.balloon::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: -15px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right: 12px solid #fefefe;
}

@media (max-width: 767px) {
  .custom-columns {
    flex-direction: column;
    align-items: center;
    margin: 1em auto;
  }

  .custom-columns__main {
    margin-bottom: 1rem;
  }

  .balloon {
    position: relative;
    margin: -2em auto;
  }

  .balloon p {
  font-size: 15px;
  }

  .balloon::before {
    top: auto;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    border-right-color: transparent;
    border-top-color: #fefefe; /* 背景色に合わせる */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: none;
    border-top: 12px solid #fefefe;
  }
}

/*---------------視線誘導---------------*/
.custom-columns-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 20px solid #dc6161;
  margin: -3em auto 0.5em auto;
}

@media (max-width: 767px) {

  .custom-columns-arrow {
    margin-top: 3em;
  }

}

/*---------------このような疑問を解決します---------------*/
.custom-columns-text {
  width: 90%;
  margin: 2em auto 0 auto;
  text-align: center;
}

.custom-columns-text span {
  display: inline-block;
  background: linear-gradient(transparent 70%, #ffec99 70%);
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}

@media (max-width: 767px) {

  .custom-columns-text span {
  font-size: 1.2rem;
  }

}

.custom-columns-text p {
  margin: 0 auto;
  text-align: center;
}

/*---------------リード画像---------------*/
.custom-columns-image img {
  width: 80%;
  margin: 1rem auto 1rem auto;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  display: block;
}

.custom-columns-caption {
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  margin-top: -1em;
  line-height: 1.4;
  font-style: italic;
}



  /* ==========================
    WPカラム（blue1）
  =========================== */
/* parent */
.wp-block-columns:has(.blue1) {
  width: 90%;
  border: 1px solid #b0d4e9;
  gap: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #edf7ff;
}

/* child */
.wp-block-column.blue1 {
  border: 0px dashed #0bfa2b;
  padding: 2em;
}

.wp-block-column.blue1 > * {
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}

/* grandchild */
.wp-block-column.blue1 .heading {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #0073aa;
  padding-left: 0.5em;
}

.wp-block-column.blue1 > figure {
  border: 0px dashed #ff00ae;
  max-width: 100%;
}

/* grandchild(2) */
.wp-block-column.blue1 .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px dashed #000000;
  margin-top: 0px;
  max-width: 100%;
}

.wp-block-column.blue1 .wp-block-image img {
  border: 0px solid red;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

.wp-block-column.blue1 > p {
  border: 0px solid blue;
  padding-left: 1em;
}

@media (max-width: 767px) {

  .wp-block-column.blue1 {
    border: 0px dashed #0bfa2b;
    padding: 2em 2em 2em 1.5em;
  }

  .wp-block-column.blue1 li {
    margin-left: -1em; /* 好きな値に調整 */
  }

}

  /* ==========================
    WPカラム（blue2）
  =========================== */
.wp-block-columns.blue2 .wp-block-column ul {
  width: 90%;
  padding-left: 0em; /* 必要に応じて調整 */
}

/* parent */
.wp-block-columns.blue2 {
  width: 90%;
  border: 1px solid #b0d4e9;
  gap: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #edf7ff;
}

/* child */
.wp-block-columns.blue2 .wp-block-column {
  border: 0px dashed #2b6cfb;
  padding: 2em 0em 2em 2em;
}

.wp-block-columns.blue2 .wp-block-column > * {
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}

.wp-block-columns.blue2 .wp-block-column .heading {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #0073aa;
  padding-left: 0.5em;
}

.wp-block-columns.blue2 .wp-block-column > p {
  margin-bottom: 1em;/*デフォルトよりも狭く*/
  padding-left: 1em;
}

.wp-block-columns.blue2 .wp-block-column > figure {
  border: 0px dashed #ae00ff;
  max-width: 100%;
  margin: 0;
}

.wp-block-columns.blue2 .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px dashed #000000;
  margin-top: 0px;
  max-width: 100%;
}

.wp-block-columns.blue2 .wp-block-image img {
  border: 0px solid red;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

.wp-block-columns.blue2 .wp-block-column figure {
  background: linear-gradient(135deg, #edf7ff, #e6f0fa);
  border-radius: 8px;
  padding: 8px;
}

@media (max-width: 767px) {
  .wp-block-columns.blue2 .wp-block-column > p {
    padding-right: 1em;
  }
}



  /* ==========================
    WPカラム（white2-third）
  =========================== */
/* parent */
.wp-block-columns.white2-third {
  width: 90%;
  gap: 10px;
 }

/* child */
.wp-block-columns.white2-third .wp-block-column {
  border: 0px dashed #2b6cfb;
  padding: 0;
}

.wp-block-columns.white2-third .wp-block-column > figure {
  border: 0px dashed #ae00ff;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.wp-block-columns.white2-third .wp-block-image img {
  border: 0px solid red;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}


@media (max-width: 767px) {
  .white2-third .wp-block-column:nth-child(2) {
    margin-top: 1.5em; /* ← 任意で調整。例：1em〜2em程度 */
  }
}

 /* ==========================
    WPカラム（white2-half）
  =========================== */
  
/* parent */
.wp-block-columns.white2-half {
  width: 90%;
  gap: 10px;
  display: flex;
  align-items: flex-start;
 }

/* child */
.wp-block-columns.white2-half .wp-block-column {
  border: 0px dashed #2b6cfb;
  padding: 0;
}

.wp-block-columns.white2-half .wp-block-column > figure {
  border: 0px dashed #ae00ff;
  max-width: 100%;
  padding: 0;
}

.wp-block-columns.white2-half .wp-block-image img {
  border: 0px solid red;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .white2-half .wp-block-column:nth-child(2) {
    margin-top: 1.5em; /* ← 任意で調整。例：1em〜2em程度 */
  }
}

 /* ==========================
    WPカラム（has-background）
  =========================== */
.wp-block-columns.has-background{
  padding-inline-start: 1.25rem !important;
  width: 90%;
  padding-top: 1em;
  padding-right: 1em;
}

.wp-block-columns.has-background :where(ul, ol){
  margin: 0;                    /* 外側余白の暴れ防止 */
  padding-inline-start: 1.1em;  /* 箇条書きの字下げは少し残す */
  width: 100%;
}


.wp-block-columns.has-background > .wp-block-column > :first-child{
  margin-block-start: 0;        /* 先頭要素だけ上ズレしないように */
}

/* スマホ時はさらに少し詰めたい場合（任意） */
@media (max-width: 767px){
  .wp-block-columns.has-background{
    padding-inline-start: 1rem !important;
    width: 90%;
  }

  .wp-block-columns.has-background :where(ul, ol){
  padding-inline-start: 0em;  /* 箇条書きの字下げは少し残す */
  }
}

 /* ==========================
    WPカラム（黄色・左右リスト）
  =========================== */

.wp-block-columns.has-background .heading {
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(transparent 60%, #ffec99 60%);
  display: inline-block; /* テキスト部分だけ帯をつける */
}


.wp-block-columns.has-background .heading mark {
  background: none !important;
  box-shadow: none !important;
}

.wp-block-columns.has-background .supplement {
  padding: 0.5em 0;
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  font-size: 0.95em;
  margin-top: 2em;
  margin-left: 1.5em;
  margin-right: 1em;
}

 /* ==========================
    補足カラム
  =========================== */
.wp-block-columns.box--supplement {
  background-color: #f6fff7;
  border: 2px solid #a5d6a7;
  padding: 4em 3em 1.5em 3em; /* 上に余白を追加 */
  margin: 2em auto;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
  width: 90%;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
  position: relative; /* ::before のため */
}

.wp-block-columns.box--supplement::before {
  content: "📝 補足情報";
  position: absolute;
  top: 0em;
  left: 0em;
  background: linear-gradient(135deg, #66bb6a, #388e3c);
  color: white;
  padding: 0.3em 1em;
  font-size: 1.0rem;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  letter-spacing: 0.05em;
  z-index: 2;
}

.wp-block-columns.box--supplement .heading {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #a5d6a7;;
  padding-left: 0.5em;
  margin: 0 0 1em;
}

/* ==========================
    WPカラム
  =========================== */

.float-right {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  max-width: 250px;
}

/* ==========================
   関連記事（Refactor）
========================== */

/* parent */
.related-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid #ddd;
  width: 100%;
  max-width: 90%;
  margin: 0 auto 24px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  min-width: 0; /* ← モバイルでの横スクロール防止（min-width:600pxを撤廃） */
}

.related-card a {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* image */
.related-card__img-wrapper { position: relative; display: inline-block; }

.related-card img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* content */
.related-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -0.5rem; /* もともとの -20px を少し弱める */
}

/* meta */
.related-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.related-card__label {
  font-size: 0.75rem; /* 12px相当 */
  background-color: #0073aa;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}

.related-card__content .date {
  font-size: 0.875rem; /* 14px相当 */
  color: #777;
  margin: 0;
}

/* title（カード内のh4は本文見出し装飾をリセット） */
.related-card h4 {
  all: unset;                 /* まずリセット */
  display: block;
  font-size: 1rem;            /* 16〜17px相当：本文とバランス良し */
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #333;
}

.related-card h4::before { content: none; }

/* hover（モーション弱め ＆ 低モーション環境に配慮） */
.related-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.related-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

/* 子要素が押し出さないように常に許容（重要） */
.related-card__content { min-width: 0; }

/* 長いタイトルの折返し保険（英数・URLなど） */
.related-card h4 { overflow-wrap: anywhere; word-break: normal; }

/* スマホで縦並び＆幅ぴったりに */
@media (max-width: 767px) {
  .related-card {
    max-width: 200px;            /* 90% → 100% に */
    width: 100%;
    flex-direction: column;     /* 横→縦 */
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
    overflow: hidden;           /* 角丸内に影や画像を収める */
  }
  .related-card a {
    flex-direction: column;     /* リンクの中も縦に */
    gap: 10px;
  }
  .related-card img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0; /* 上部角丸と揃える */
  }
  .related-card__content {
    margin-top: 0;              /* 上のマイナス余白を解除 */
    padding: 0 12px 12px;
  }
  .related-card h4 {
    font-size: 0.95rem;         /* ほんの少しだけ縮める */
    line-height: 1.45;
    margin: 0 0 6px;
  }
}


/* ==========================
   引用
=========================== */
.wp-block-quote.is-layout-flow {
  background-color: #efefef;
  max-width: 90%;
  width: 90%;
  padding: 1.5rem 3rem 1.5rem 3rem;
  text-align: center;
  font-size: 11px;
  border-radius: 8px; /* ← 角丸 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* ← 立体感 */
  border: 1px solid #c8c8c8; /* ← 色味を揃えた薄い枠線もあると◎ */
  margin-left: auto;
  margin-right: auto;
}

.wp-block-quote p {
  text-align: left;
}

.wp-block-quote.is-layout-flow::before {
  font-size: 1.7rem;
  line-height: 1;
  color: #888;
  padding: 0.5em 0.2em 0 0;
}

@media (max-width: 767px) {
  .wp-block-quote.is-layout-flow {
    padding: 1.5rem 3rem 1.5rem 1.5rem;
  }
}


/* ==========================
   執筆者
=========================== */

/* 全体の装飾 */
.author-box {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 8px;
  font-family: sans-serif;
}

/* ①バッジ部分（常に上） */
.author-box__badge-container {
  margin-bottom: 16px;
}

/* ②＋③を横並び（PC時） */
.author-box__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 顔写真 */
.author-box__avatar img {
  border-radius: 50%;
  width: 96px;
  height: 96px;
}

/* その他情報 */
.author-box__info {
  flex: 1;
}

/* 各要素 */

.author-box__badge {
  background-color: #0073aa;
  color: #fff;
  font-size: 1em;
  padding: 4px 14px;
  border-radius: 12px;
}

p.author-box__role {
  font-size: 0.95em;
  color: #666;
  line-height: 1.2;
  margin-bottom: 8px !important;
}

p.author-box__name {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.2;
  margin-bottom: 1em;
}

.author-box__links {
  margin-bottom: 1em;
}

.author-box__links a {
  display: block;
  color: #0073aa;
  text-decoration: none;
  font-size: 0.9em;
  margin-bottom: 0px;
}

.author-box__bio p {
  font-size: 0.95em;
  color: #333;
  margin: 1em;
  line-height: 1.4;
}

/* ================================
   ▼スマホ表示の時の調整
================================ */
@media (max-width: 767px) {
  .author-box__inner {
    flex-direction: column;
    gap: 16px;
  }

  .author-box__avatar {
    margin: 0 auto;
  }

  .author-box__info {
    width: 100%;
  }
}

/* ==========================
   その他
=========================== */

.post-navigation {
  display: flex;
  justify-content: space-between;
  background: #f7f7f7;
  padding: 16px 24px;
  margin-top: 40px;
  border-radius: 6px;
}

.post-nav-prev,
.post-nav-next {
  font-size: 0.95em;
  color: #0073aa;
  text-decoration: none;
}

.post-navigation {
  display: none;
}

.edit-link {
  display: none;
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  カテゴリページ
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ==========================
   アイキャッチ画像
========================== */
.category-banner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
}

/* ==========================
   サブカテゴリ
========================== */

.subcategories {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategory-link {
  padding: 8px 16px;
  background-color: #f0f8ff;
  color: #0073aa;
  text-decoration: none;
  border: 1px solid #0073aa;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.2s;
}

.subcategory-link:hover {
  background-color: #0073aa;
  color: #fff;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  パターンのスタイル
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ==========================
  サマリーボックス
========================== */

/* コンテナ部分 */
.wp-block-columns .wp-block-column.summary-box {
  flex: 0 0 90%;
  max-width: 90%;
  border: 5px solid #f5c2cb;
  padding: 3em 0em 2em 0em;
  border-radius: 12px;
  margin: 2rem auto 0 auto !important;
  position: relative;
  background-color: #fff0f3;
  box-shadow: 0 4px 12px rgba(245, 194, 203, 0.6); /* 枠色に近い淡い影 */
  line-height: 2;
}



.wp-block-columns .wp-block-column.summary-box::before {
  content: "セクションのポイント整理";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #e36f7e 0%, #dc6161 100%); /* 上から下にグラデ */
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 0.2em 1em;
  border-top-left-radius: 8px;      /* 左上だけ丸く */
  border-bottom-right-radius: 6px;  /* 少し柔らかい印象に */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4), /* 内側上部の光沢 */
    0 3px 6px rgba(0,0,0,0.15);          /* 外側の落ち影 */
}

/* リスト部分 */
.summary-box ul {
  list-style: none; /* デフォルトの「・」を消す */
  padding-left: 1em;  /* 左の余白もリセット */
}

.summary-box li {
  padding: 0.6em 0;
  border-bottom: 1px dashed rgba(0,0,0,0.15); /* 各行間の点線 */
  letter-spacing: 0.01em; /* 気持ち狭く */
  font-size: 0.95em;
  font-weight: 450;
}

.summary-box li::before {
  content: "📝";
  margin-right: 0.4em;  /* 本文との間隔 */
}

@media (max-width: 767px) {
  .summary-box li {
    padding-left: 0em;
    margin-bottom: 0.5em; /* 少し詰めても可読性OK */
  }
}

/* ==========================
  table-column2（可読性改善版）
========================== */

.wp-block-table.table-column2 {
  overflow-x: auto; /* スマホ対策 */
  width: 90%;
}

.wp-block-table.table-column2 table {
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.95em;             /* 少しだけ大きめで読みやすく */
  table-layout: auto;            /* 内容に応じて配分 */
}

/* セル共通 */
.wp-block-table.table-column2 th,
.wp-block-table.table-column2 td {
  border: 1px solid #d9d9d9;     /* やや薄めにして圧迫感を軽減 */
  padding: 1.5em;                 /* 14px→12px（PCでの視線移動がしやすい） */
  text-align: left;
  vertical-align: top;
  line-height: 1.7;              /* 1.8→1.7で密度を適正化 */
  letter-spacing: 0.015em;       /* 表内は字間をやや控えめに */
  word-break: break-word;        /* 長い語のはみ出し防止 */
}

/* ヘッダー行の視認性アップ */
.wp-block-table.table-column2 thead th {
  background-color: #f0f5f9;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid #bbb; /* ヘッダーの下を強調 */
}

/* 奇数行にごく淡いゼブラで横見失い防止 */
.wp-block-table.table-column2 tbody tr:nth-child(odd) td {
  background-color: #f5f5f5;
}

/* 1列目＝ラベル列：強すぎない強調（色＋中太） */
.wp-block-table.table-column2 td:first-child,
.wp-block-table.table-column2 th:first-child {
  background-color: #fff;        /* 背景は白のままでもOK。少しだけ差を出すなら #fffdfd 程度に */
  width: 30%;                    /* 固定50%を解除 → 情報量に応じて自然に */
  min-width: 14em;               /* ラベルが潰れない下限 */
}

/* 2列目＝内容列：自動幅で広く取る */
.wp-block-table.table-column2 td:nth-child(2),
.wp-block-table.table-column2 th:nth-child(2) {
  width: auto;
}

/* テーブル周辺余白（本文との密度を揃える） */
figure.wp-block-table.table-column2 { margin-top: 0; }
.content p + figure.wp-block-table { margin-top: 0; }
.content p:has(+ figure.wp-block-table) { margin-bottom: 0; }

/* スマホ最適化 */
@media (max-width: 767px) {
  .wp-block-table.table-column2 th,
  .wp-block-table.table-column2 td {
    padding: 10px;               /* 指のタップ余白を保ちつつ圧縮 */
    line-height: 1.7;
    font-size: 0.95em;           /* 15px相当。本文より少し小さめで収める */
  }
  .wp-block-table.table-column2 td:first-child,
  .wp-block-table.table-column2 th:first-child {
    min-width: 10em;             /* モバイル下限を少し小さく */
  }
}


/* ==========================
  table-column3（番号列固定＋他自動幅）
========================== */

.wp-block-table.table-column3 {
  overflow-x: auto; /* スマホ対策 */
  width: 90%;
}

.wp-block-table.table-column3 table {
  border-collapse: collapse;
  min-width: 600px; /* スマホ用の横スクロール基準 */
  font-size: 0.9em;
  table-layout: auto; /* 自動幅配分 */
}

.wp-block-table.table-column3 th,
.wp-block-table.table-column3 td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* ヘッダー行（1行目だけ色変更） */
.wp-block-table.table-column3 thead tr:first-child th {
  background-color: #e9f3ff; /* 淡いブルー例 */
  color: #333;              /* 文字色はやや濃いグレー */
}


/* ヘッダー行 */
.wp-block-table.table-column3 thead th {
  background-color: #f0f5f9;
  font-weight: bold;
  text-align: center;
}

/* 番号列だけ固定幅 */
.wp-block-table.table-column3 th:first-child,
.wp-block-table.table-column3 td:first-child {
  background-color: #ffffff;
  text-align: center;
  width: 6%; /* 固定 */
  min-width: 3em; /* 最低幅確保（スマホ対策） */
  font-weight: bold;
  font-size: 1.2em;
}

/* 2列目以降は幅自動 */
.wp-block-table.table-column3 td:nth-child(n+2),
.wp-block-table.table-column3 th:nth-child(n+2) {
  background-color: #ffffff;
  width: auto;
}

@media (max-width: 767px) {
  .wp-block-table.table-column3 th,
  .wp-block-table.table-column3 td {
    padding: 10px;
    line-height: 1.7;
    font-size: 15px;
  }
}


/* ==========================
  画像挿入
========================== */

/*---------------横幅100%---------------*/
.wp-block-image.width100 {
  width: 95%;
  display: block;
  min-width: 600px;
}

@media (max-width: 767px) {
.wp-block-image.width100 {
  min-width: 0;
  width: 100%;
}
}

/*---------------横幅90%---------------*/
.wp-block-image.width90 {
  width: 90%;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  display: block;
}

.wp-block-image.width90 img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

@media (max-width: 767px) {
  .wp-block-image.width90 {
    width: 100%;
}
}

@media (max-width: 767px) {
  .white2-third .wp-block-column:nth-child(2) img {
    width: 50% !important;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .white2-third .wp-block-column:nth-child(2) figure {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .blue2 .wp-block-column:nth-child(2) figure {
    margin: 0 auto;
  }

  .blue2 .wp-block-column:nth-child(2) img {
    width: 50% !important;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .white2-half .wp-block-column:nth-child(2) img {
    width: 90% !important;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .white2-half .wp-block-column:nth-child(2) figure {
    margin: 0 auto;
  }
}

/*---------------横幅70%---------------*/
.wp-block-image.width70{
  width: 70%;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

@media (max-width: 767px) {
.wp-block-image.width70 {
  width: 100%;
}
}

/*---------------横幅50%---------------*/
.wp-block-image.width50{
  width: 50%;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

@media (max-width: 767px) {
.wp-block-image.width50 {
  width: 100%;
}
}

/*---------------横幅30%---------------*/
.wp-block-image.width30{
  width: 30%;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

@media (max-width: 767px) {
.wp-block-image.width30 {
  width: 50%;
}
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  テーブルプレス
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.entry-content .tablepress {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 90%;
  margin: 0 auto;
  max-width: 100%;
  margin-bottom: 20px;
}

/* テーブルのセル内の余白と文字サイズ */
.tablepress td,
.tablepress th {
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: normal; /* セル内折り返しOK */
  word-break: break-word;
}

/* ヘッダー背景色とフォント色調整（好みに応じて） */
.tablepress thead th {
  background-color: #f0f5f9;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* テーブル枠線のスタイル調整 */
.tablepress td,
.tablepress th {
  border: 1px solid #ddd;
}

/* 奇数行の背景色を淡くする */
.tablepress tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* TablePress ID=1 カラム幅調整 */
.tablepress-id-1 tbody td:first-child,
.tablepress-id-1 thead th:first-child {
  width: 30%;
  min-width: 150px;
}

.tablepress-id-1 tbody td:nth-child(n+2),
.tablepress-id-1 thead th:nth-child(n+2) {
  width: 17.5%;
  min-width: 80px;
  text-align: center;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  グーグルマップ埋め込み
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.map-embed {
  position: relative;
  width: 60%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 2rem auto;
  border: 4px solid #ddd;
  border-radius: 4px;
}


.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-map-caption {
  font-size: 0.8em;
  color: #666;
  width: 80%;
  margin: -2em auto 0 auto;
  text-align: center;
  font-style: italic;
}

@media (max-width: 767px) {

.map-embed {
  width: 90%;
}

.wp-block-column.blue1 .map-embed {
  width: 105%;
  max-width: none;
  position: relative;
  left: 0%;
}

}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  編集用
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
