@charset "utf-8";
/*
Theme Name: ANGEL child
Theme URI:https://tcd-theme.com/tcd047
Description:WordPressテーマ「ANGEL」の子テーマ
Template:angel_tcd047
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
body{
background-color: #F9FAFB;
color: #333;
padding-top: 80px !important; /* ヘッダーの高さ分、コンテンツを下げる */
}
*, *::before, *::after {
    box-sizing: border-box;
}
a:hover{
color:#073763 !important;
}
h1,h2,h3,h4,h5,h6{
font-family:'Shippori Mincho', serif;
}
.post_content h1, .post_content h2, .post_content h3, .post_content h4, .post_content h5, .post_content h6 {
font-weight: 700 !important;
}

#return_top a {
    display: block;
    height: 50px;
    width: 50px;
    text-decoration: none;
    background: #0e1133;
    border-radius: 0;
    z-index: 100;
}


#main_contents {
    background: transparent;
    margin:1rem 0 3rem 0;
}
#bread_crumb {
    margin: 0 auto 1rem;
max-width: 1216px;
}
#bread_crumb li.home a:before {
    font-size: 18px;
top:4px;
    width: 20px;
    height: 20px;
}
#bread_crumb li:after {
    font-size: 10px;
    left: -20px;
    top: 6px;
    height: 9px;
}
#main_col {
    width: 1216px;

}
#index_recent_post, #archive_post {
    
    margin-right: 0;
}

/*画像を角丸*/
.post_list .item .image {
    border-radius: 0.5rem;
}
.post_list .item .image img {
    border-radius: 0.5rem;
}
.styled_post_list2 .image {
    border-radius: 0.5rem;
}
.styled_post_list1 .image {
    border-radius: 0.5rem;
}
.styled_post_list3 .image {
border-radius: 0.5rem 0.5rem 0 0;
}
.styled_post_list3 .image img{
border-radius: 0 0.5rem 0 0;
}


.styled_post_list3 .category a {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}
/* =========================
  HEADER
========================= */
/* 固定ヘッダー */
  #site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0e1133;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 50;
  }

  /* 内部コンテナ */
  #header-inner {
    max-width: 1236px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
box-sizing: border-box;
  }

  /* ====== ロゴ ====== */
  #logo-area {
    display: flex;
    flex-direction: column;
    z-index: 51; /* メニューの上に来るように */
  }
  #logo-area img{
    max-width:100%;
  }
  #logo-link {
    font-family: serif;
    font-weight: bold;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
max-width: 120px;
  }

  #logo-small {
    font-size: 20px;
    margin: 0 2px;
  }

  #logo-subtext {
    font-size: 9px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
    display: none;
    margin-top: 4px;
  }

  @media (min-width: 640px) {
    #logo-link { font-size: 32px;max-width:120px; }
    #logo-small { font-size: 24px; }
    #logo-area {
      flex-direction: row;
      align-items: center;
    }
    #logo-subtext {
      display: inline;
      font-size: 12px;
      margin-left: 8px;
      margin-top: 0;
    }
  }

  /* ====== PCメニュー ====== */
  #header-menu {
    display: none;
  }

  #header-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
  }

  #header-menu a {
    color:#fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.2s;
  }

  #header-menu a:hover {
    color: #052969;
  }

  @media (min-width: 1024px) {
    #header-menu { display: block; }
  }


  /* ====== ハンバーガーボタン（アニメーション化） ====== */
  #mobile-menu-button {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 51; /* メニューより上に配置 */
    padding: 0;
  }

  /* 3本線の共通設定 */
  #mobile-menu-button .line {
    position: absolute;
    left: 10px; /* 中央寄せ用 */
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
  }

  /* 各線の初期位置 */
  #mobile-menu-button .line1 { top: 14px; }
  #mobile-menu-button .line2 { top: 21px; }
  #mobile-menu-button .line3 { top: 28px; }

  /* === JSで is-active が付いた時の「×」アニメーション === */
  #mobile-menu-button.is-active .line1 {
    top: 21px;
    transform: rotate(45deg);
  }
  #mobile-menu-button.is-active .line2 {
    opacity: 0;
    transform: scale(0); /* ふわっと消える */
  }
  #mobile-menu-button.is-active .line3 {
    top: 21px;
    transform: rotate(-45deg);
  }

  @media (min-width: 1024px) {
    #mobile-menu-button { display: none; }
  }


  /* ====== SPメニュー（見栄え・アニメーション向上） ====== */
  #mobile-menu {
    position: fixed;
    top: 80px; /* ヘッダーの高さ分下げる */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px); /* 画面下まで覆う */
    background-color:#0E1133;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 40;
    
    /* display:none ではなく visibility と opacity でリッチに表示 */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px); /* 少し上から降りてくる演出 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; /* メニュー項目が多い場合はスクロール可能に */
  }

  /* JSで open が付いた時に表示 */
  #mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  /* リストのデザイン */
  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #mobile-menu li {
    border-bottom: 1px solid #f3f4f6;
  }

  #mobile-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
  }

  /* 右端に矢印アイコンを追加してタップできる感を追加 */
  #mobile-menu a::after {
    content: "›";
    font-size: 24px;
    color: #fff;
    font-weight: normal;
  }

  #mobile-menu a:hover, 
  #mobile-menu a:active {
    background-color:#141849;
    color: #fff;
  }




/* =========================
   TOP
========================= 


/* ====== カルーセルセクション ====== */
  .main-carousel-section {
    position: relative;
    background-color: #fff;
    padding: 40px 0;
    margin-bottom: 40px;
    overflow: hidden;
  }

  .carousel-wrapper {
    position: relative;
    width: 100%;
  }

  #carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    gap: 16px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
  }

  #carousel-container::-webkit-scrollbar {
    display: none;
  }

  .carousel-slide {
    scroll-snap-align: center;
    flex: 0 0 80%; /* SPで見切れ感を出すために少し縮小 */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1.5 / 1; 
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: brightness(0.5) contrast(0.9);
    text-decoration: none;
    display: block;
  }

  .carousel-slide.is-active {
    filter: brightness(1.15) contrast(1.05);
    z-index: 2;
  }

  @media (min-width: 768px) {
    #carousel-container {
      gap: 24px;
    }
    .carousel-slide {
      flex: 0 0 50%; /* タブレットで見切れ状態を安定化 */
      border-radius: 32px;
      aspect-ratio: 16 / 9;
      max-height: 70vh;
    }
  }

  @media (min-width: 1200px) {
    .carousel-slide {
      flex: 0 0 42%; /* PCで3つ並び（中央+左右見切れ）が綺麗に出るサイズ */
    }
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slide-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .carousel-slide.is-active .slide-content {
    opacity: 1;
  }

  .category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    width: fit-content;
  }

  .slide-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: bold;
    margin: 0 0 8px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }

  .slide-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
  }

  @media (min-width: 768px) {
    .slide-title { font-size: 1.85rem; }
    .slide-meta { font-size: 13px; }
  }

  /* ====== ナビゲーションボタン (CSSのみで矢印を作成) ====== */
  .nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
    color: #1a1a1a;
  }

  .nav-btn::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
  }

  #prevBtn::before {
    transform: translateX(4px) rotate(-135deg);
  }

  #nextBtn::before {
    transform: translateX(-4px) rotate(45deg);
  }

  @media (min-width: 1024px) { .nav-btn { display: flex; } }

  .nav-btn:hover { 
    background: #fff; 
    color: #2563eb; 
  }
  
  #prevBtn { left: 4%; }
  #nextBtn { right: 4%; }

/* =========================================
   スライダー
   ========================================= */
/* =========================================
   【爆速表示版】1枚目だけ即出し・2枚目以降は背後に隠蔽
   ========================================= */

/* 1. 全体の枠を確保（これで下のコンテンツが跳ねない） */
#header_slider_wrap {
    overflow: hidden;
    position: relative;
    min-height: 500px;
}

/* 2. 1枚目（slick-currentが付いたもの）は常に表示 */
#header_slider .item.slick-current {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    display: block !important;
    z-index: 2; /* 1枚目を最前面に */
}

/* 3. Slick起動前：2枚目以降を1枚目の「真後ろ」に強制移動して隠す */
#header_slider:not(.slick-initialized) .item:not(.slick-current) {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0 !important; /* 縦に並ぶのを防ぎ、かつ見せない */
    z-index: 1;
}

/* 4. Slick起動後：Slickの自由なレイアウト（横並び）に戻す */
#header_slider.slick-initialized .item {
    position: relative !important;
    opacity: 1 !important;
    z-index: auto;
}


/* --- スライダーの外枠（白い背景と余白） --- */
#header_slider_wrap { 
  width: 100% !important;
  background: #fff !important; /* 背景を白に */
  margin: 30px 0 !important;   /* 前後のコンテンツとの間隔 */
  padding: 40px 0 !important;  /* 【重要】スライダー上下の白い余白 */
  height: auto !important;     /* 中身に合わせて高さを自動調整 */
  overflow: hidden;            /* 浮いているスライダーを包み込む */
  min-width: 0 !important;     /* 親の制限を解除 */
}

/* --- スライダー本体の調整 --- */
#header_slider { 
  width: 100% !important;      /* 820px固定を解除して横いっぱいに */
  height: auto !important;     /* 500px固定を解除 */
  float: none !important;      /* floatを解除して中央に配置 */
  margin: 0 auto !important;   /* 左右中央寄せ */
  background: transparent !important; /* 二重背景を防止 */
}

/* --- 1. テキスト（キャプション）全体を左下に配置 --- */
#header_slider .caption {
    bottom: 8% !important;      /* 下から8%の位置（画像が縮めば一緒に上がる） */
    left: 30px !important;      /* 画像の左端から30px内側 */
    right: auto !important;     /* 右側の固定を解除 */
    top: auto !important;       /* 上側の固定を解除 */
    transform: none !important; /* 中央寄せなどの計算をリセット */
    width: auto !important;     /* 幅を自動にして左に寄せる */
    max-width: 90% !important;  /* 画面が狭い時に右に突き抜けないよう制限 */
    text-align: left !important;/* 中の文字も左寄せに統一 */
    z-index: 20 !important;
}

/* --- 2. アイコンやカテゴリー名、タイトルを縦に並べる --- */
/* これでアイコンだけが取り残されるのを防ぎます */
#header_slider .caption .category,
#header_slider .caption .title,
#header_slider .caption .icon { /* アイコンのクラス名は適宜合わせてください */
    display: block !important;  /* 縦に並べる */
    margin-bottom: 5px !important; /* 要素間の隙間 */
    opacity: 1 !important;      /* 消えないように強制表示 */
}

/* --- 3. ブラウザを縮めた時（スマホ・タブレット） --- */
@media screen and (max-width: 768px) {
    #header_slider .caption {
        left: 20px !important;  /* スマホでは左端の余白を少し詰めると綺麗 */
        bottom: 12% !important; /* 画面が極端に低い時は少し上に持ち上げる */
    }
}
@media screen and (max-width:550px) {
  #header_slider_wrap { padding:0; margin:-24px 0 30px; border-bottom:none !important; }
}
/* =========================================
   スライド本体
   ========================================= */
#header_slider .item {
  position: relative;
  margin-right: 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 最後のスライド余白削除 */
#header_slider .slick-slide:last-child .item {
  margin-right: 0;
}

/* 画像（背景でも保険で指定） */
#header_slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =================
   画像の見栄え
   =================== */
#header_slider .item {
  margin-right: 0;
}
#header_slider .slick-slide {
  padding: 0 30px;
}

/* =================
   画像の見栄え（決定版）
   =================== */

/* 1. 基本設定：すべてのスライド（見切り）をドス黒くする */
/* slick-slideクラスを持っている要素の ::after を真っ黒（0.7）に染めます */
#header_slider .slick-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7) !important; /* しっかり暗く */
  pointer-events: none;
  border-radius: 20px;
  z-index: 1;
  transition: all 0.6s ease;
}

/* 2. 中央設定：中央（slick-center）だけグラデーションに塗り替える */
/* 同じタグにクラスが並んでいるので、スペースを空けずに繋げて書きます */
#header_slider .slick-slide.slick-center::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,   /* 下部は文字のために暗く */
    rgba(0, 0, 0, 0.1) 50%,  /* 中間は薄く */
    transparent 80%          /* 上部80%は透明（＝画像の色が出る） */
  ) !important;
}

/* 3. キャプションを最前面へ */
#header_slider .caption {
  z-index: 20 !important;
}

/* 4. サイズのメリハリ（維持） */
#header_slider .slick-slide {
  padding: 0 30px;
  transform: scale(0.9);
  transition: transform 0.6s ease;
}

#header_slider .slick-center {
  transform: scale(1);
}
/* =========================================
   キャプション（文字）のメリハリ
   ========================================= */

/* 1. 基本設定：見切りの文字を薄く（暗く）する */
#header_slider .slick-slide .caption {
  opacity: 0.4; /* ここで文字の「沈み具合」を調整（0.3〜0.5がおすすめ） */
  transition: opacity 0.6s ease;
}

/* 2. 中央設定：中央に来た時だけ、文字をハッキリ白くする */
#header_slider .slick-slide.slick-center .caption {
  opacity: 1; /* 100%の白に戻す */
}

/* 3. 文字をさらに読みやすく（中央のみ） */
#header_slider .slick-slide.slick-center .caption .title {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 影をつけて浮き立たせる */
}
/* =========================================
   全面クリックリンク（核）
   ========================================= */
#header_slider .item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

/* =========================================
   キャプション
   ========================================= */
#header_slider .caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 24px 0 24px;
  color: #fff;
  background: transparent !important;
  pointer-events: none; /* ←これが重要 */
}

/* キャプション内リンクだけ有効化 */
#header_slider .caption a {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

/* =========================================
   タイトル
   ========================================= */
#header_slider .caption .title {
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.4;
  font-weight: bold;
  word-break: keep-all;
}

#header_slider .caption .title a {
  color:#fff !important;
  font-size: 24px !important;
}

/* =========================================
   メタ
   ========================================= */
#header_slider .meta {
  color: rgba(255,255,255,0.85);
  margin-top: 6px;

  display: flex;
  gap: 8px;
  align-items: center;
}

/* =========================================
   ボタン
   ========================================= */
#header_slider .button {
  display: inline-block;
  padding: 4px 12px;
  background: #0e1133 !important;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 999px;
  margin-bottom: 8px;
  align-self: flex-start;
}
#header_slider .caption .button {
    padding: 0 25px;
    height: 30px;
    line-height: 30px;
  
}

/* 矢印消す */
#header_slider .caption .button:after {
  display: none !important;
}

/* =========================================
   Slick対策
   ========================================= */
#header_slider .slick-slide {
  pointer-events: auto !important;
}
/* =========================================
   親テーマの白ボックスを完全打ち消し
   ========================================= */
#header_slider .caption .title {
  background: transparent !important;
  padding: 0 !important;
  width: 100% !important;
}

#header_slider .caption .title span {
  background: transparent !important;
}

#header_slider .caption .title a {
  display: inline; /* ブロック化されてるのを戻す */
}
/* =========================================
   タイトル幅の制限を完全解除
   ========================================= */
#header_slider .caption .title {
  width: 100% !important;
  max-width: none !important;
}

#header_slider .caption .title a,
#header_slider .caption .title span {
  display: inline !important;
  width: auto !important;
}

/* 改行の不自然さ防止 */
#header_slider .caption .title span {
  white-space: normal !important;
font-size:1.5rem;
}


/* =========================================
   カテゴリ（タグ）の色固定
   ========================================= */


/* hoverしても変えない */
#header_slider .meta a:hover {
  color: #fff !important;
}
/* =========================================
   親テーマのcaption固定幅を完全解除
   ========================================= */
#header_slider .caption {
  width: 100% !important;
  left: 0 !important;
  top: 0 !important;
max-width:99% !important;
}


/* =========================================
   矢印
   ========================================= */
#header_slider .slick-prev,
#header_slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 48px;
  height: 48px;

  /* 背景：薄いグレー */
  background: rgba(255,255,255,0.85);

  border-radius: 9999px;

  /* 枠を消す（これが重要） */
  border: none;

  /* 柔らかい影 */
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);

  /* ぬるっと感 */
  transition: all 0.25s ease;

  /* テキスト消す */
  font-size: 0 !important;
  color: transparent !important;

  /* ほんのりガラス感 */
  backdrop-filter: blur(6px);
}

/* 位置 */

#header_slider .slick-prev {
  left: calc(20% - 24px);
}

#header_slider .slick-next {
  right: calc(20% - 24px);
}

/* デフォルト矢印削除 */
#header_slider .slick-prev:before,
#header_slider .slick-next:before {
  content: '' !important;
}

/* 矢印（グレー） */
#header_slider .slick-prev::after,
#header_slider .slick-next::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid #374151; /* グレー（黒より柔らかい） */
  border-right: 2px solid #374151;
  position: absolute;
  top: 50%;
  left: 50%;
}

/* 左 */
#header_slider .slick-prev::after {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* 右 */
#header_slider .slick-next::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* hover（青を完全殺す） */
#header_slider .slick-prev:hover,
#header_slider .slick-next:hover {
  background: #ffffff !important; /* ← 青防止 */
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}
@media screen and (max-width: 768px) {
    /* 1. 矢印を消す */
    #header_slider .slick-arrow {
        display: none !important;
    }

    /* 2. 【最重要】中央のスライド（.slick-center）の「黒い幕」を確実に剥がす */
    /* セレクタを極限まで長くして、他の設定に絶対負けないようにします */
    #header_slider .slick-list .slick-track .slick-slide.slick-center::after {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.2) 40%,
            transparent 70%
        ) !important;
        opacity: 1 !important;
    }

    /* 3. 【最重要】中央のスライドの「文字」を100%の濃さにする */
    #header_slider .slick-list .slick-track .slick-slide.slick-center .caption {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 4. 見切り（中央以外）の文字は薄いまま、画像も少し暗く */
    #header_slider .slick-slide:not(.slick-center) .caption {
        opacity: 0.3 !important;
    }
    #header_slider .slick-slide:not(.slick-center)::after {
        background: rgba(0, 0, 0, 0.6) !important;
    }

    /* 5. 見切りの幅の微調整（チラ見え具合） */
    #header_slider .slick-slide {
        padding: 0 15px !important; 
        transform: scale(0.9) !important;
        transition: all 0.5s ease;
    }
/* 改行の不自然さ防止 */
#header_slider .caption .title span {
font-size:1.2rem;
}
}
@media screen and (max-width: 550px) {
    /* 1. 外枠を500pxで固定（これで下のボックスを動かさない） */
    #header_slider_wrap {
        height: 500px !important;
        margin: -24px 0 30px !important;
        padding: 0 !important;
    }

    /* 2. 中身の「箱」たちも全部500pxに揃える */
    #header_slider, 
    #header_slider .slick-list, 
    #header_slider .slick-track, 
    #header_slider .slick-slide, 
    #header_slider .item {
        height: 500px !important;
        min-height: 500px !important;
    }

    /* 3. 【最重要】画像が「正方形」に逃げないように、枠を埋め尽くさせる */
    #header_slider .item img {
        width: 100% !important;
        height: 500px !important; /* 横幅無視で高さを優先 */
        object-fit: cover !important; /* アスペクト比を保って隙間を埋める */
    }
}

/***** ----------------------------
記事
----------------------------***** */
/* ----------------------------
共通 記事一覧
---------------------------- */
/*
.top_category{
margin:12px 0 0 0;
}*/
#index_featured_post{
margin:0;
border-bottom: none;
padding:48px 0!important;
}

/* ----------------------------
見出し
---------------------------- */

.post_list_headline{
text-align:center;
margin-bottom:40px;
}

/* 英語タイトル */

.category_en{
display:block;
font-size:12px;
font-weight:700;
letter-spacing:0.18em;
margin-bottom:8px;
}

/* 日本語タイトル */

.category_ja{
font-size:28px;
font-weight:700;
}

/* カテゴリカラー */
/*
.category_en.highschool{
color:#3b82f6;
}

.category_en.junior{
color:#10b981;
}

.category_en.elementary{
color:#8b5cf6;
}*/

/* ----------------------------
カード共通
---------------------------- */

.recommended-card{
display:flex;
flex-direction:column;
gap:14px;
cursor:pointer;
}

.recommended-thumb{
display:block;
position:relative;
overflow:hidden;
border-radius:0.5rem;
/*aspect-ratio:4/3;*/
aspect-ratio: 16 / 9;
background:#f3f4f6;
border:1px solid #f1f1f1;
box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.recommended-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
   object-position: center 30%;
transition: transform 0.3s ease-in-out; 
    backface-visibility: hidden;
}

/* ホバー時の設定 */
.recommended-card:hover .recommended-img {
    transform: scale(1.05);
}

/* タイトル */

.recommended-title{
font-size:18px;
font-weight:700;
line-height:1.8;
font-family: 'Noto Sans JP', sans-serif;
}

.recommended-title a{
color:#333;
text-decoration:none;
transition:color .2s;
}

.recommended-card:hover .recommended-title a{
color:#073763;
}


/* カテゴリーラベルの装飾 */
.archive-cat-label {
    position: absolute;
    top: 0;           /* 角丸に密着させる場合は0、少し離すなら8px程度 */
    left: 0;          /* 角丸に密着させる場合は0 */
    z-index: 10;
    background: #0E1133;      /* ご指定のカラー */
    color: #ffffff;
    font-size: 11px;
    padding: 6px 12px;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-bottom-right-radius: 8px;
    pointer-events: none; /* ラベルをクリックしてもリンクが反応するように */
}
.post_list_headline .category_ja{
text-align:center;
margin-bottom:40px;
color:#333;
}
.post_list_headline .category_en{
font-family: 'Noto Sans JP', sans-serif;
}


.recommended-card a,
.recommended-card a:hover{
text-decoration:none;

}

/* meta横並び */

.recommended-meta{
display:flex;
align-items:center;
gap:10px;
margin: 20px 0 10px 0;
}

/* カテゴリーバッジ */

.recommended-cat{
padding:4px 10px;
border-radius:999px;
font-size:12px;
font-weight:700;
line-height:1;
}

/* カテゴリー色 */

.recommended-cat-highschool{
/*background:#e8f0ff;
color:#2f5fff;*/
background:#0e1133;
color:#fff;
}

.recommended-cat-junior{
/*background:#e9f7ef;
color:#2e8b57;*/
background:#0e1133;
color:#fff;}

.recommended-cat-elementary{
/*background:#f4ecff;
color:#7a4cff;*/
background:#0e1133;
color:#fff;}

/* 日付 */

.recommended-date{
display:flex;
align-items:center;
gap:4px;
font-size:12px;
color:#999;
}

/* 時計アイコン */
.interview-clock{
width:14px;
height:14px;
stroke-width:2;
}


/* ----------------------------
おすすめ記事（3カラム）
---------------------------- */

.recommended-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:32px;
margin-top:40px;
}
.top_category + .top_category{
/*border-top:1px solid #f1f5f9;*/
/*margin-top:72px;*/
padding-top:36px;
}
/* ----------------------------
カテゴリ記事（2カラム）
---------------------------- */

.post_grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:32px;
margin-top:40px;
}

/* ----------------------------
MOREボタン
---------------------------- */

.interview-more{
text-align:center;
padding:2rem 0;
}

.interview-more a{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 32px;
border:1px solid #d1d5db;
border-radius:999px;
font-size:14px;
color:#374151;
background:#fff;
text-decoration:none;
transition:all .2s;
}

.interview-more a:hover{
background:#0e1133;
color:#fff;
}
.more-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 28px;
border:1px solid #ddd;
border-radius:999px;
font-size:14px;
font-weight:600;
color:#333;
background:#fff;
text-decoration:none;
transition:0.2s;
position:relative;
}

.more-btn:hover{
background:#0e1133;
color:#fff !important;
}

/* 矢印 */

.more-btn::after{
content:"";
display:inline-block;
width:6px;
height:6px;
margin-left:8px;
border-top:2px solid #333;
border-right:2px solid #333;
transform:rotate(45deg);
}
.more-btn:hover::after{
border-top:2px solid #fff !important;
border-right:2px solid #fff !important;
}


/*left ad */
.daigaku-ad{
margin-top:48px;
padding-top:48px;
border-top:1px solid #f1f1f1;
text-align:center;
}

.daigaku-ad .label{
display:block;
font-size:11px;
letter-spacing:2px;
font-weight:700;
color:#9ca3af;
margin-bottom:14px;
}

.daigaku-ad a{
display:block;
overflow:hidden;
border-radius:1rem;
border:1px solid #f1f1f1;
background:#f5f5f5;
box-shadow:0 1px 3px rgba(0,0,0,0.05);
transition:box-shadow .25s;
}


.daigaku-ad a:hover{
box-shadow:0 6px 18px rgba(0,0,0,0.1);
}

.daigaku-ad img{
width:100%;
height:auto;
display:block;
object-fit:cover;
aspect-ratio:3.45/1;
transition:transform .5s;
border-radius:1rem;
}

.daigaku-ad img + img,
.daigaku-ad a + a,
.daigaku-ad a + img,
.daigaku-ad img + a{
margin-top:14px;
}
.daigaku-ad a:hover img{
transform:scale(1.05);
}
/* ----------------------------
レスポンシブ
---------------------------- */

@media (max-width:1024px){

.recommended-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:640px){

.recommended-grid,
.post_grid{
grid-template-columns:1fr;
gap:26px;
}

.category_ja{
font-size:24px;
}

}
/***** ----------------------------
front-section インタビュー、実績
----------------------------***** */

#front-section{
margin:0 auto 30px auto;
background:#fff;
border-radius:10px;
max-width:1216px;
padding:0 2rem;
box-sizing: border-box;

}


/* 教授インタビュー Section */
.interview-section {
    padding-top: 2rem; /* pt-16 */
}

.interview-header {
    text-align: center;
    margin-bottom: 2.5rem; /* mb-10 */
}

.interview-label {
    color: #0e1133;
    font-weight: 700;
    letter-spacing: 0.1em; 
    font-size: 0.75rem; /* text-sm */
    margin-bottom: 0.25rem; /* mb-1 */
    text-transform: uppercase;
}

.interview-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    font-family: 'serif', serif; /* font-serif-title */
}
/* グリッド */
.interview-grid {
    display: grid;
    grid-template-columns: 1fr; /* モバイルは1列 */
    gap: 1.5rem; /* カード間の間隔 */
}

@media(min-width: 768px) {
    .interview-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレット以上は2列 */
        gap: 2rem; /* カード間の間隔 */
    }
}
/* カード全体 */
.interview-card {
    display: flex;
    flex-direction: column; /* デフォルトは縦 */
    background-color: #fff;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
text-decoration: none;
    color: inherit;
}
.interview-card,
.interview-card:hover,
.interview-card:focus,
.interview-card:active {
    text-decoration: none;
    color: inherit;
}
.interview-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

@media(min-width: 640px) {
    .interview-card {
        flex-direction: row; /* 横並びにする */
        gap: 1.5rem;
    }
}

/* サムネイルラップ */
.interview-thumb-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden; /* ここで枠からはみ出さないように */
    border-radius: 0.5rem; /* 角丸 */
    aspect-ratio: 4 / 3; /* 高さ固定比率 */
}

@media(min-width: 640px) {
    .interview-thumb-wrap {
        width: 40%; /* 横並び時の幅 */
    }
}

/* 画像だけズーム */
.interview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.interview-card:hover .interview-thumb {
    transform: scale(1.05); /* 画像だけズーム */
}

/* コンテンツ部分 */
.interview-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    padding-top: 0.25rem;
}

@media(min-width: 1024px) {
    .interview-content {
        padding-top: 0.5rem;
    }
}

/* タイトル・本文・日付 */
.interview-post-title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  font-family: 'Noto Sans JP', sans-serif;
    color: #1f2937;
    transition: color 0.3s ease;
}

.interview-card:hover .interview-post-title {
    color: #073763;
}

.interview-excerpt {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.interview-date {
    font-size: 0.75rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.25rem;
margin-top: auto; 
}

.interview-date svg {
    width: 0.875rem;
    height: 0.875rem;
}


/* 合格実績 Section */
.success-section {
    padding-top: 2rem;
}

.success-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.success-label {
    color: #0e1133;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: 'serif', serif;
}

/* グリッド */
.success-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .success-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* カード */
.success-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    /* box-shadow hoverは削除 */
}
.success-card a {
    text-decoration: none;
    color: inherit;
}
.success-card:hover .success-post-title {
    color: #073763;
}
/* サムネイル */
.success-thumb-wrap {
    position: relative;
    width: 100%;
  aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
}

.success-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.success-card:hover .success-thumb {
    transform: scale(1.05); /* 画像だけズーム */
}

/* タグラベル */
.success-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* カード本文 */
.success-content {
    padding: 0.5rem 0;
}

.success-post-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #1f2937;
font-family: 'Noto Sans JP', sans-serif;
}

.success-excerpt {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

/* 特集 Section */
.special-feature-section {
    padding: 2rem 0 0 0;
   /* border-top: 1px solid #f3f4f6;*/
}

.special-feature-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.special-feature-label {
    color: #0e1133;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.special-feature-title {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: 'serif', serif;
}

/* グリッド */
.special-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* カード */
.special-feature-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* サムネイルラップ */
.special-feature-thumb-wrap {
    width: 100%;
    aspect-ratio: 5 / 3;
    position: relative;
}

@media (min-width: 768px) {
    .special-feature-thumb-wrap {
        aspect-ratio: 3 / 1;
    }
}

.special-feature-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.special-feature-card:hover .special-feature-thumb {
    transform: scale(1.05);
}

/* オーバーレイ */
.special-feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4) 60%, transparent);
}

@media (min-width: 768px) {
    .special-feature-overlay {
        padding: 2.5rem;
    }
}

/* タグラベル */
.special-feature-tag {
  display: inline-block; 
    position: relative;
    background-color: #0e1133;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin-bottom: 0.5rem;
    max-width: fit-content;
}

/* タイトル */
.special-feature-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #fff;
}

@media (min-width: 768px) {
    .special-feature-post-title {
        font-size: 1.875rem;
    }
}

/* 抜粋 */
.special-feature-excerpt {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #e5e7eb;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .special-feature-excerpt {
        font-size: 0.875rem;
    }
}

/* 特集記事を読む */
.special-feature-readmore {
    font-size: 0.75rem;
    font-weight: 700;
    color: #dbeafe;
    transition: color 0.3s;
}

.special-feature-card:hover .special-feature-readmore {
    color: #073763;
}


.special-feature-readmore {
    font-size: 0.75rem;
    font-weight: 700;
    color: #dbeafe;
    transition: color 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.special-feature-readmore::after {
    content: '→'; /* 矢印 */
    display: inline-block;
    margin-left: 0.25rem; /* 文字との間隔 */
    font-size: 0.75rem;
    transition: transform 0.3s;
}

/* ホバーで色と矢印も変化 */
.special-feature-card:hover .special-feature-readmore {
    color: #073763;
}

.special-feature-card:hover .special-feature-readmore::after {
    transform: translateX(3px); /* 少し右にスライド */
}



/***** ----------------------------
サイド
----------------------------***** */

/* side-bar */
.side_headline{
	color:#0E1132 !important;
	font-weight: 700;
	margin-bottom: 1.25rem;
	border-bottom:2px solid #0E1132;
	padding-bottom: 0.8rem;
}

.styled_post_list3 .meta {
    border-radius: 0 0 10px 10px;
}
.styled_post_list3 .category a {
border-radius: 10px 0 10px 0;
}
.widget_search #search-box, .widget_search #s, .side_widget.google_search #s {
    border-radius: 10px 0 0 10px;
}

.widget_search #searchsubmit, .side_widget.google_search #searchsubmit {
    border-radius: 0 10px 10px 0;
    background: #0e1133 url(img/common/icon_search.png) no-repeat center;
}
/**archive*/
.tcd_archive_dropdown {
    padding: 0;
    height: 70px;
    position: relative;
    background: #fff;
  border-radius:16px;
  border:1px solid #f1f1f1;
  box-shadow:0 1px 3px rgba(0,0,0,0.05);
}
.tcd_archive_dropdown .side_headline {
border-bottom: none;
}
.tcd_archive_dropdown select {
width: 48%;
border:1px solid #d1d5db;
  border-radius:6px;
box-shadow:0 1px 2px rgba(0,0,0,0.05);
  transition:box-shadow 0.2s, border-color 0.2s;
}

/*共通のサイドバー*/
.side_widget {
     border-radius: 1rem;
     background: #fff;
    border: 1px solid #f1f1f1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
/* 共通：カード装飾削除 */
.side_widget.side_banner,
.widget_media_image{
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: hidden;
    border-radius: 0.5rem;
}

/* 画像設定 */
.side_banner img,
.widget_media_image img{
    width:100%;
    display:block;
    transition: transform .4s ease;
}

/* リンクがある時だけzoom */
.side_banner a:hover img,
.widget_media_image a:hover img{
    transform: scale(1.08);
}

.styled_post_list1_widget .side_headline2 {
color:#0E1132 !important;
	font-weight: 700;
	margin-bottom: 1.25rem;
	border-bottom:2px solid #0E1132;
	padding-bottom: 0.8rem;
}

.styled_post_list3_widget .side_headline2,
.styled_post_list1_widget .side_headline2,
.widget_custom_html .side_headline2{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgb(14,17,50);
    padding-bottom: 0.5rem;
    color: rgb(14,17,50);
    display: inline-block; 
    width: 100%;
}

.tcd_archive_dropdown .side_headline2 {
    position: absolute;
    left: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 45%;
    text-align: left;
	font-size: 20px;
    color: #0E1132;
    font-weight: 700;
}
.styled_post_list1_widget,
.styled_post_list3_widget,
.widget_custom_html{
 padding: 1.5rem;
}
.widget_custom_html ul.tcd_category_list{
list-style: none;
}
.widget_custom_html ul.tcd_category_list li a{
color: rgb(75 85 99 );
font-weight:700;
}
.widget_custom_html ul.tcd_category_list li a:hover{
text-decoration:none;
}
.tcd_category_list > li:last-child {
    width: 100%;
    clear: both;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 1px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem; /* rounded-lg */
    overflow: hidden;
}

.category-grid a {
    display: block;
    background-color: #ffffff;
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700; 
    color: #4b5563 !important;
    text-decoration: none;
    transition: all 0.3s ease;
border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}
/* 右端（2番目、4番目...）のボタンは右線を消す */
.category-grid a:nth-child(even) {
    border-right: none;
}

/* 最後の2つ（3番目と4番目）は下線を消す */
.category-grid a:nth-child(n+3) {
    border-bottom: none;
}
.category-grid a:hover {
    background-color: #f9fafb;
    color: #2563eb;
text-decoration:none;
}

.category-grid a.full-span {
    grid-column: span 2; /* col-span-2 */
}
.styled_post_list1 .title {
    font-weight: 700;
}
.styled_post_list3 .title {
    font-size: 14px;
}
.styled_post_list3 .image {
    display: block;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}
/* =========================
  投稿、固定
========================= */
body.single-post #main_col,
body.page-template-default #main_col{
display: block !important; /* flexを解除して元のブロック要素に戻す */
    gap: 0 !important;         /* 親の15pxを無効化 */
    overflow: visible !important;
}
#left_col {
background:#fff;
border-radius:20px;
padding:48px;
box-sizing: border-box;
}
@media (max-width:1023px){
#left_col {
padding:24px;

}}
#article {
border: none;
}
.page-template-default #article .post_content {
    padding: 42px 0 0 0;
}
.page #post_title_area {
     padding: 0; */
margin-bottom: 0;
}

.single #post_title_area {
padding:0 0 20px 0;
}
.single #article .post_content {
padding: 30px 0 !important;
}
.single #article .category{
margin:5px 0 20px 0;
display:inline-block;
font-weight: bold;
}
.single #article .category a{
color:#fff !important;
border-radius:20px;
padding:5px 15px;
font-size:13px;
margin-bottom:12px;
}
.single #article .category a:hover{
text-decoration:none;
}


#post_title_area .meta{
  display:flex;
  align-items:center;
}
.single #article .meta .date{
  display:flex;
  align-items:center;
  gap:6px;
margin-left: auto;
}

.single #article .interview-clock{
  width:16px;
  height:16px;
}
#post_title_area .meta li {
    font-size: 18px;
    color: #999;
}
#post_title {
font-weight: 700;
}
.single-post #post_title {
  font-size:2rem;
font-weight: 700;
}

.post_content h2 {
font-size: 150% !important;
font-family: "Noto Sans JP", sans-serif;
font-weight: 700;
border-left: 8px solid #0e1133;
padding: 10px 16px !important;
 margin: 56px 0 28px !important;
background: #f8fafc;
border-radius: 0 8px 8px 0;
color: #0e1133;
text-align:left;
}
.post_content h3 {
    font-size: 130% !important;
font-weight: 700;
    margin: 40px 0 20px !important;
    padding-bottom: 10px !important;
    color: #0e1133;
font-family: "Noto Sans JP", sans-serif;
  position: relative;
  padding: 1rem 0;
  border-bottom: 4px solid #e2e8f0;
}

.post_content h3::before {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 10%;
  height: 4px;
  content: '';
  background: #0e1133;
}


.post_content h4 {
    font-size: 110% !important;
    font-weight: 700;
    margin: 28px 0 16px;
    padding: 4px 0 4px 12px !important;
    border-left: 3px solid #cbd5e0;
    color: #2d3748;
font-family: "Noto Sans JP", sans-serif;
}/*
/* 1. 基本ルール：h4の上には広めの余白を作る（リストなどの後に備える） */
.post_content h4 {
    margin-top: 2em !important; 
}

/* 2. 例外ルール：h3 の直後に h4 が来た時だけ、上の余白を小さくする */
/* これで「h3 > h4」のセットの時は、ピタッと綺麗な距離感になります */
.post_content h3 + h4 {
    margin-top: 0 !important; 
}
.post_content p {
    line-height: 1.8 !important;
    margin: 0 0 1.2em 0 !important;
    word-wrap: break-word;
}
.post_content h5,.post_content h6{
font-family: "Noto Sans JP", sans-serif;
}
/* 記事本文内で、リスト(ul/ol)のすぐ次に来た h5 だけに上の余白を追加 */
.post_content ul + h5,
.post_content ol + h5 {
    margin-top: 1.2em !important; /* リストとの間に適切な空間を作ります */
}
/*
.post_content img{
border:1px solid #ddd;padding:10px;
margin-bottom:2em;
box-sizing: border-box;
}*/
#related_post li .title {
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
font-family: "Noto Sans JP", sans-serif;
}
/* 目次 */

/* 1. 通常時と訪問済みの色を「黒(#333)」で統一する */
#ez-toc-container a,
#ez-toc-container a:visited {
    color: #333 !important;
    text-decoration: none !important;
}

/* 2. マウスを乗せた時（ホバー）の設定を「後」に書く */
/* これで訪問済みであっても、マウスを乗せた瞬間だけブルーになります */
#ez-toc-container a:hover {
    color: #2563EB !important; /* お好みのブルー */
    text-decoration: underline !important; /* 下線を表示 */
}

/* 3. その他、余白など */
.ez-toc-list {
    padding: 30px 0 0 0 !important;
}
#ez-toc-container ul li {
    line-height: 2 !important;
}

li.ez-toc-page-1{
}
.p-toc {
    
    background: #f8fafc;
   
background: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            padding: 24px 48px;;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.p-toc-headline {
    display: block;
    color: #000000;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    margin: -0.2em 0 calc(30px - 0.2em);
    text-align: center;
}
.p-toc ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    padding: 0;
    margin: 0;
   list-style: circle;
}

#ez-toc-container {
    background: #f8fafc;
    border: none;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    display: table;
    margin-bottom: 1em;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}
#post_meta_bottom {
    margin: 0 45px 10px!important;
    background: none;
    padding: 0 !important;
}

.single #related_post li .image {
    border-radius: 0.5rem;
position:relative;
}
.single #related_post li .image_area:before {
    content: "";
    display: block;
    padding-top: 0;
}




/* =========================
  アーカイブ
========================= */
#page_header {
    margin: 0 0 40px 0;
     border-top:none;
    padding: 0;
    position: relative;
}

/* ページネーション全体の折り返し */
.pagination_wrap {
    margin: 40px 0;
    text-align: center;
}

.pagination_wrap ul.page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 8px; /* 数字同士の間隔 */
}

/* 数字ひとつひとつのスタイル */
.pagination_wrap ul.page-numbers li a,
.pagination_wrap ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #0E1133;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

/* 現在のページのスタイル（紺色背景に白文字） */
.pagination_wrap ul.page-numbers li span.current {
    background: #0E1133;
    color: #fff;
    border-color: #0E1133;
}

/* ホバーした時 */
.pagination_wrap ul.page-numbers li a:hover {
    background: #0E1133;
    color: #fff;
    border-color: #0E1133;
}

/* 「前へ」「次へ」の幅を少し広げる */
.pagination_wrap ul.page-numbers li a.prev,
.pagination_wrap ul.page-numbers li a.next {
    width: auto;
    padding: 0 15px;
}
/* ===============================
   H1: L字アクセント（固定ページ用）
==================================== */

.page #post_title {
font-size: 2rem !important;
font-weight: 700;
color: #0e1133;
/* 文字と線の間隔 */
padding: 16px 0 16px 36px !important;
margin: 0 0 1rem 0 !important;
line-height: 1.4;
position: relative;
/* 下線全体のベース：グレーの太さを4pxに統一 */
border-bottom: 4px solid #f1f5f9;
}

/* 縦線のベース：上がグレー、下が紺 */
.page #post_title::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 3px;
/* 下線(4px)の底までしっかり伸ばす */
height: calc(100% + 4px);
/* 下から40pxを紺色に設定。横のL字の縦棒部分 */
background: linear-gradient(to bottom, 
#f1f5f9 0%, 
#f1f5f9 calc(100% - 40px), 
#0e1133 calc(100% - 40px), 
#0e1133 100%
);
}

/* 下線のアクセント：紺色（短め） */
.page #post_title::after {
content: '';
position: absolute;
/* 親のborder-bottom(4px)に完全に重ねる */
bottom: -4px;
left: 0;
width: 40px; /* 縦の紺色と同じ40px */
height: 4px; /* グレーの線と同じ4pxに設定 */
background: #0e1133;
}
/* =========================
  FOOTER
========================= */
/* footer */
#footer{
background:#0e1133;
color:#fff;
padding-top:42px !important;
padding-bottom:32px !important;
width:100%;
}

/* inner container */
.footer-inner{
max-width:1280px;
margin:0 auto;
padding-left:24px;
padding-right:24px;
}

/* grid layout */
.footer-grid{
display:grid;
grid-template-columns:1fr;
gap:48px;
margin-bottom:48px;
}

@media (min-width:768px){
.footer-grid{
grid-template-columns:5fr 7fr;
gap:64px;
}
}

/* brand area */
.footer-brand-area{
max-width:450px;
}

.footer-brand-title{
margin-bottom:20px;

}
.footer-brand-title img{
width:100%;
max-width:200px;
}
.footer-logo{
font-size:40px;
font-weight:700;
font-family:serif;
color:#fff;
line-height:1;
text-decoration:none;
}

.logo-small{
font-size:28px;
margin:0 2px;
}

.footer-tagline{
font-size:14px;
color:#9ca3af;
font-weight:700;
letter-spacing:.1em;
display:block;
margin-top:1rem;
}

.footer-description{
color:#9ca3af;
font-size:14px;
line-height:1.8;
}

/* links area */
.footer-links{
display:flex;
flex-wrap:wrap;
gap:64px;
margin-top:18px;
}

.footer-menu{
min-width:160px;
}

.footer-menu h4{
font-size:18px;
font-weight:700;
margin-bottom:16px;
padding-bottom:8px;
border-bottom:1px solid #374151;
}

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

.footer-menu li{
margin-bottom:12px;
}

.footer-menu a{
color:#9ca3af;
text-decoration:none;
font-size:14px;
transition:color .2s;
}

.footer-menu a:hover{
color:#fff;
}

/* bottom area */
.footer-copyright{
border-top:1px solid #1f2937;
margin-top:32px;
padding-top:24px;
text-align:center;
color:#6b7280;
font-size:14px;
}

/* =========================
  SP系の調整
========================= */


 @media screen and (max-width: 770px) {
#left_col {
padding: 20px !important;
}
#post_header {
margin: 0 !important;
}
}
@media screen and (max-width: 550px) {
.footer-brand-title {
    flex-direction: column;
}
}


/* =========================
 tinyオリジナル
========================= */

/* アコーディオン全体 */
.js-accordion {
    border: 1px solid #E5E7EB; /* 枠線を少し薄いグレーにして影を目立たせる */
    margin-bottom: 1.5em;
    border-radius: 8px; /* 角丸を少し大きくして柔らかい印象に */
    overflow: hidden;
    background: #fff; /* 背景色を白に固定 */
    transition: box-shadow 0.3s ease; /* 影の変化をスムーズに */

    /* --- ここに影（ボカシ）を追加 --- */
    /* 横ズレ:0, 縦ズレ:4px, ボカシ:6px, 色:青みグレー(透明度10%) */
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
}

/* ホバー時（マウスを乗せた時）に影を少し強くして、クリック感を出す */
.js-accordion:hover {
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
}

/* タイトル部分（影に合わせて背景色を調整） */
.acc-title {
    padding: 15px 45px 15px 20px; /* 余白を少し広げてゆったりと */
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: background 0.3s;
    background: #fff; /* タイトルも白ベースに */
    display: flex;
    align-items: center;
}



/* 矢印（V字）の色をタイトルと合わせる */
.acc-title::after {
    /* 線の色を濃い青（#1D4ED8）にして引き締める */
    border-right: 2px solid #1D4ED8; 
    border-bottom: 2px solid #1D4ED8;
}

/* タイトル内の画像設定 */
.acc-title img {
    border: none;
    max-width: 100%; /* 親の幅からはみ出さない */
    height: auto;
    display: block;
}
/* 矢印アイコン（V字をCSSで作成） */
.acc-title::after {
    content: ''; /* 文字は入れない */
    position: absolute;
    right: 20px;
    top: 50%;
    /* V字の形を作る */
    width: 8px;
    height: 8px;
    border-right: 2px solid #2563EB; /* 線の太さと色 */
    border-bottom: 2px solid #2563EB;
    /* 初期状態は下向き（45度回転） */
    transform: translateY(-70%) rotate(45deg); 
    transition: transform 0.3s ease; /* アニメーション */
    transform-origin: center;
}

/* 開いている時の矢印（is-openが付いたとき） */
.acc-title.is-open::after {
    /* 225度回転させて上向き（^）にする */
    transform: translateY(-30%) rotate(225deg);
}


/* 中身（最初は隠す） */
.acc-content {
    display: none;
    padding: 15px;
    border-top: 1px solid #2563EB;
    background: #fff;
}

.acc-content img {
    border: none;
    max-width: 100%;
    height: auto;
}

/* 中身のPタグの余白を調整 */
.acc-content p:last-child {
    margin-bottom: 0;
}

.post_content ul {
  
margin-left: 0 !important;
}
.post_content ul, .post_content ol, .post_content dl {
     margin-bottom: 0 !important;
}

/* 共通の余白設定（これをベースにする） */
.list-default, .list-order, .list-check {
    padding-left: 1.5em;
    line-height: 1.8;
margin-left:0 !important;
}

/* 1. 普通の箇条書き：丸の色を変えるなどの調整 */
.list-default li {
    list-style-type: disc;
    color: #333;
}

/* 2. 番号付きリスト：数字のデザインを少し強調 */
.list-order li {
    list-style-type: decimal;
    font-weight: 500;
}

/* 3. チェックリスト：以前作成したチェックマークのデザイン */
.list-check {
    list-style: none;
    padding-left: 0;
}
.list-check li {
    position: relative;
    padding-left: 1.8em;
}
.list-check li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #2563EB; /* 目次ホバーと同じ青 */
    font-weight: bold;
}
/* テーブル全体の囲い（スマホで横スクロールさせる） */
.scroll-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2em;
}

/* テーブルの基本デザイン */
.scroll-table table {
    width: 100%;
    min-width: 500px; /* スマホで潰れすぎないように最低幅を確保 */
    border-collapse: collapse;
    border: 1px solid #ddd;
    line-height: 1.5;
}

/* 見出し部分 */
.scroll-table th {
    background: #f9f9f9;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
}

/* データ部分 */
.scroll-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    background: #fff;
}

/* 1行おきに色を変える（読みやすさアップ） */
.scroll-table tr:nth-child(even) td {
    background: #fafafa;
}
/* 1. 控えめな左線ボックス */
.simple-left-border {
padding: 2px 0 2px 16px;
border-left: 4px solid #e2e8f0; 
margin: 1.5em 0;
}
.simple-title {
font-weight: bold;
font-size: 1.05rem;
margin-bottom: 8px;
display: block;
color: #0e1133;
}
.simple-left-border p{
margin:0 !important;
}
/* 2. ラベル付きボックス (共通スタイル) */
.label-box {
position: relative;
margin: 2em 0 1em;
padding: 45px 20px 20px;
border-radius: 4px;
border: none;
}
.label-box .box-title {
position: absolute;
display: inline-block;
top: 0;
left: 0;
padding: 0 15px;
height: 30px;
line-height: 30px;
font-size: 0.9rem;
color: #ffffff;
font-weight: bold;
border-radius: 4px 0 4px 0;
}

/* イエロー系スタイル (ふち取りあり) */
        .box-style-yellow {
            background-color: #eee; 
        }
        .box-style-yellow .box-title {
            background: #0e1133;
        }

/* ブルー系スタイル */
.box-style-blue {
background-color: #eff6ff; 
}
.box-style-blue .box-title {
background: #0e1133;
}
.point-textblue{
display: block;
font-weight: bold;
font-size: 1.1rem;
letter-spacing: 0.08em;
margin-bottom: 12px;
padding-left: 22px; /* 丸の分だけ余白 */
position: relative;
}
.point-textblue::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 10px;
height: 10px;
background-color: #0e1133;
/*background-color: #2563eb;*/
border-radius: 50%;
}
.box-bg-blue{
background-color: #eff6ff; 
padding:20px;
margin: 0 0 2em 0;
border: 1px solid #ddebfc;
box-shadow: 0 1px 3px 0 rgba(195, 195, 195, 0.3);
}
.box-bg-gray{
background-color: #fcfcfc; 
padding:20px;
margin: 0 0 2em 0;
border: 1px solid #cdcdcd;
box-shadow: 0 1px 3px 0 rgba(195, 195, 195, 0.3);
}
.box-bg-blue p,.box-bg-gray p,box-bg_dot-blue p,box-bg_dot-gray p{
margin:0 !important;
}
.box-bg-gray p{
margin:0 !important;
}
.box-bg_dot-blue{
background-color: #eff6ff; 
padding:20px;
margin: 0 0 2em 0;
border: 1px dashed #afd3fa;
box-shadow: 0 1px 3px 0 rgba(195, 195, 195, 0.3);
}
.box-bg_dot-gray{
background-color: #fcfcfc; 
padding:20px;
margin: 0 0 2em 0;
border: 1px dashed #cdcdcd;
box-shadow: 0 1px 3px 0 rgba(195, 195, 195, 0.3);
}


/* --- 共通：勝手に入った空Pタグを完全に無視・消滅させる --- */
.label-box p:empty,
.label-box > p,
.simple-left-border p:empty,
.point-box-blue p:empty,
.point-box-blue > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}

/* --- タイトルと中身を密着させる設定 --- */
.box-title {
    display: inline-block !important; /* 文字の長さに合わせる */
    vertical-align: top;
    padding: 8px 15px;
    font-weight: bold;
    color: #fff;
    width: auto !important;
    margin: 0 !important;
}

/* ラベルの後に強制改行（これがないとリストが横に並ぼうとする場合がある） */
.box-title::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

/* 青丸ポイントのタイトルもブロック化して密着 */
.point-textblue {
    display: block !important;
    margin-bottom: 5px !important; /* リストとの隙間をここで調整 */
}

/* コンテンツエリアの余白をゼロに固定 */
.box-content, 
.point-box-blue .list-default {
    display: block !important;
    margin-top: 0 !important;
    clear: both;
}
.point-box-blue{
margin: 0 0 2em 0;
}
@media screen and (max-width: 1206px) {
.footer-tagline{
display:block;
margin-top:10px;
}
}



@media screen and (max-width: 550px) {
  .post_list_headline {
  border-top: none !important;
   
        }
    }