@charset "UTF-8";

/* CSSインデント指定打ち消し用コラム記事本文用クラス */
.column-text-indent{
   text-indent: 0em;
   padding : 20px 50px 20px 50px;
}

.indent1{
   font-size: 24px;
   text-indent: 1em;
   line-height: 1.2em;
}

.indent2{
   font-size: 16px;
   text-indent: 2em;
}

.indent3{
   font-size: 16px;
   text-indent: 3em;
}

.indent4{
   font-size: 16px;
   text-indent: 4em;
}

.p-indent1{
   text-indent: 1em;
}

.p-indent2{
   text-indent: 2em;
}

.p-indent3{
   text-indent: 3em;
}

.p-indent4{
   text-indent: 4em;
}

.contents{
   padding-top: 100px;
}

.contents_innner{
   padding-top: 40px;
   margin-top:-40px;
}

.bottom-fixed-banner {
   position: fixed;
   bottom: 0;
   width: 100%;
   height: 80px;
   padding-top: 8px;
   text-align: center;
   background: skyblue;
   border-top: 4px solid #fff;
   opacity: 0; /* 初期状態は透明 */
   transform: translateY(50px); /* 下に隠す */
   transition: opacity 0.5s ease, transform 0.5s ease, height 1s ease; /* フェードインアニメーション */
}

.bottom-fixed-banner.show {
   opacity: 1; /* 表示 */
   transform: translateY(0); /* 元の位置 */
}

.bottom-fixed-banner button {
   font-size: 24px;
   cursor: pointer;
  vertical-align: middle;
}

.bottom-fixed-banner button:hover {
   opacity: 0.8;
}

.bottom-fixed-banner.minimized {
   height: 10px; /* 最小化時の高さ */
   background: skyblue; /* 最小化後も背景を維持 */
   opacity: 0.8; /* 半透明にする（オプション） */
}

.minimize-button {
   position: absolute;
   top: -35px; /* バナーの外側に配置 */
   left: 0px; /* 左端に配置 */
   /* bottom: 10px; /* 常にバナーの底から一定距離 */
   background-color: #007bff; /* ボタン背景色 */
   color: white; /* アイコンの色 */
   border: none; /* ボタンの枠線を消す */
   width: 40px; /* ボタンの幅 */
   height: 40px; /* ボタンの高さ */
   display: flex; /* 中央揃えのため */
   align-items: center; /* 縦方向の中央揃え */
   justify-content: center; /* 横方向の中央揃え */
   background: skyblue; /* 背景色 */
   cursor: pointer; /* ポインタを表示 */
   z-index: 1001; /* バナーより前面に表示 */
   transition: transform 0.5s ease;
}

.minimize-button:hover {
   background-color: skyblue; /* ホバー時の色変更 */
}

/* 最小化時の矢印の向き変更 */
.bottom-fixed-banner.minimized .minimize-button {
   transform: translateY(5px); /* バナー縮小時にボタンを下に移動 */
}

#minimizeIcon {
   font-size: 20px; /* アイコンのサイズ */
   display: inline-block; /* 回転に必要な設定 */
   transition: transform 0.5s ease; /* 回転のアニメーション */
}

.bottom-fixed-banner.minimized #minimizeIcon {
   transform: rotate(180deg); /* 180度回転 */
}

.bottom-fixed-banner #bannerContent {
   display: block;
}
 
/* フローティングボタンのアイコンを非表示 */
.floating-button-container a[target="_blank"]:after {
    content: none; /* アイコンを非表示 */
}

/* ボタンのスタイル */
.floating-button {
   position: fixed; /* 固定表示 */
   top: 180px;    /* 画面上からの距離 */
   /* right: 0px;    /* 画面右からの距離 */
   left: 0px;  /* 画面左からの距離 */
   background-color: #007bff; /* ボタンの背景色 */
   color: white;  /* テキストの色 */
   padding: 7px 14px; /* 内側の余白 */
   border: none;  /* 枠線を消す */
   /* border-radius: 5px; /* 角丸効果 */
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影の追加 */
   font-size: 16px; /* 文字サイズ */
   cursor: pointer; /* マウスカーソルをポインターに */
   z-index: 1000; /* 他の要素より前面に表示 */
   opacity: 0; /* 初期状態は透明 */
   transform: translateX(-50px); /* 左に隠す */
   transition: opacity 0.5s ease, transform 0.5s ease; /* フェードインアニメーション */
}

.floating-button2 {
   position: fixed; /* 固定表示 */
   top: 200px;    /* 画面下からの距離 */
   /* right: 0px;    /* 画面右からの距離 */
   left: 0px;  /* 画面左からの距離 */
   background-color: #007bff; /* ボタンの背景色 */
   color: white;  /* テキストの色 */
   padding: 7px 14px; /* 内側の余白 */
   border: none;  /* 枠線を消す */
   /* border-radius: 5px; /* 角丸効果 */
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影の追加 */
   font-size: 16px; /* 文字サイズ */
   cursor: pointer; /* マウスカーソルをポインターに */
   z-index: 1000; /* 他の要素より前面に表示 */
   opacity: 0; /* 初期状態は透明 */
   transform: translateX(-50px); /* 左に隠す */
   transition: opacity 0.5s ease, transform 0.5s ease; /* フェードインアニメーション */}

.floating-button3 {
   position: fixed; /* 固定表示 */
   top: 390px;    /* 画面下からの距離 */
   /* right: 0px;    /* 画面右からの距離 */
   left: 0px;  /* 画面左からの距離 */
   background-color: #007bff; /* ボタンの背景色 */
   color: white;  /* テキストの色 */
   padding: 7px 14px; /* 内側の余白 */
   border: none;  /* 枠線を消す */
   /* border-radius: 5px; /* 角丸効果 */
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影の追加 */
   font-size: 16px; /* 文字サイズ */
   cursor: pointer; /* マウスカーソルをポインターに */
   z-index: 1000; /* 他の要素より前面に表示 */
   opacity: 0; /* 初期状態は透明 */
   transform: translateX(-50px); /* 左に隠す */
   transition: opacity 0.5s ease, transform 0.5s ease; /* フェードインアニメーション */
}

.floating-button.show {
   opacity: 1; /* 表示 */
   transform: translateX(0); /* 元の位置 */
}

.floating-button2.show {
   opacity: 1; /* 表示 */
   transform: translateX(0); /* 元の位置 */
}

.floating-button3.show {
   opacity: 1; /* 表示 */
   transform: translateX(0); /* 元の位置 */
}

.floating-button:hover {
   background-color: #0056b3; /* ホバー時の色変更 */
}

.button_text{
   writing-mode: vertical-lr; /* 文字縦書きに */
   text-orientation: upright; /* 縦書きの文字を正立*/
}

.table {
   border-collapse: collapse;
}
.table th, table td , table tr{
   border: none;
   padding: 10px;
}


/* 目次ボックススタイル */

.menu-box {     /* 基本設定 */
    width: 90%; /* 画面幅の90% */
    margin-left: 10px; /* 左揃え */
    padding: 10px;
    border: 1px solid gray;
    background-color: #FFFFF0;
    box-sizing: border-box;
}

.menu-box {
    overflow-x: auto; /* 横スクロールを有効化 */
}

/* 丹生露魚茶さんプロフィールテキスト */
.profile-title{
   text-indent: 1em;   
}

.profile-text{
   text-indent: 2.5em;
}

/* コンテンツ全体のスタイル */
.content {
  text-align: left; /* 本文を左揃え */
}

/* 内部リンク用サムネイルスタイル */
/* 内部リンク用サムネイル基礎 */
.inner-link-thumbnail {
  position: relative; /* 子要素の絶対位置指定が可能に */
  display: flex;
  justify-content: center; /* 中央配置 */
  margin: 20px auto; /* 上下に余白と中央揃え */
  width: 90%; /* 全体の横幅を80%に */
  max-width: 1000px; /* （オプション）最大幅の設定 */
  border-radius: 12px;
  background-color: #f9f9f9;
  border: 2px solid rgba(55, 162, 237, 1);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時の動作 */
.inner-link-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* 見出し用スタイル */
.inner-link-thumbnail-header {
  position: absolute; /* 絶対位置に */
  top: -15px; /* 上からの距離（調整可能） */
  left: 10px; /* 左端に配置 */
  background-color: rgba(55, 162, 237, 1); /* 見出しの背景色 */
  color: white; /* 見出しの文字色 */
  padding: 0px 8px; /* 見出しの内側の余白 */
  font-size: 14px; /* 見出しのフォントサイズ */
  font-weight: bold; /* 見出しのフォントウェイト */
  border-radius: 4px; /* 角を丸く */
  /*z-index: 1; /* 他の要素より前面に表示 */
}

/* 内部リンク用サムネイルボックス */
.inner-link-thumbnail-box {
  display: flex; /* 横並び */
  align-items: center; /* 縦中央揃え */
  width: 100%; /* ボックスの横幅 */
  padding: 15px; /* 見出しの内側の余白 */
  text-decoration: none;
}

/* has-cta のときだけ外部リンクアイコンを非表示 */
.inner-link-thumbnail-box.has-cta[target="_blank"]::after {
  content: none !important;
  display: none !important;
}

/* 内部リンク用画像 */
.inner-link-thumbnail-box-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px; /* 画像とテキストの間隔 */
}

/* 内部リンク用タイトル（画像の左側・中央揃え） */
.inner-link-thumbnail-box-title {
  font-size: 16px;
  font-weight: bold; 
  color: #333333;
  flex: 1; /* タイトルが適切に広がる */
  text-align: left; /* 左揃え */
}

/* =======================================
   inner-link-thumbnail 追加スタイル
   （小見出し・説明文・擬似CVボタン）
======================================= */

/* 本文テキストラッパー */
.inner-link-thumbnail-box-text {
  flex: 1;
  min-width: 0;
  padding-right: 24px;       /* ← ここを追加（20〜28pxで微調整） */
}

/* 小見出し */
.inner-link-thumbnail-box-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  margin-bottom: 4px;
}

/* 説明文 */
.inner-link-thumbnail-box-desc {
  font-size: 13px;
  margin-top: 10px;          /* 6px → 10px など */
  line-height: 1.7;
  color: #333;
  margin-top: 6px;
}

/* 擬似ボタン */
.inner-link-thumbnail-box-cta {
  margin-left: auto;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: #0a57c6;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .06s ease, background-color .15s ease;
  pointer-events: none; /* クリックは親<a>に集約 */
}

/* hover / active */
.inner-link-thumbnail-box:hover .inner-link-thumbnail-box-cta {
  background: #084db0;
  transform: translateY(-1px);
}
.inner-link-thumbnail-box:active .inner-link-thumbnail-box-cta {
  transform: translateY(0);
}

/* フォーカスリング */
.inner-link-thumbnail-box:focus-visible {
  outline: 3px solid #c7d2fe;
  outline-offset: 2px;
  border-radius: 10px;
}

/* スマホ時は縦積み・ボタン全幅 */
@media (max-width: 736px) {
  .inner-link-thumbnail-box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .inner-link-thumbnail-box-cta {
    width: 100%;
    text-align: center;
  }
}

/* 掲載年月日・更新年月日用スタイル */
.date-info {
    font-size: 1.4rem;
    color: #777777;
    margin-bottom: 5px;
    text-align: right;
}

/* 注意書き用テキストスタイル */
.notice-p{
    color: #777777;
    font-size: 1.4rem;
    margin-top: 5px;
}

#published-date::before {
    font-family: "Font Awesome 5 Free"; /* Font Awesomeのフォント */
    content: "\f073"; /* カレンダーアイコンのUnicode */
    margin-right: 5px; /* アイコンとテキストの間にスペースを追加 */
    font-weight: 900; /* アイコンを太く表示 */
    color :#007bff; /* アイコンのカラーを指定 */
}

#updated-date::before {
    font-family: "Font Awesome 5 Free"; /* Font Awesomeのフォント */
    content: "\f2f1"; /* 更新アイコンのUnicode */
    margin-right: 5px; /* アイコンとテキストの間にスペースを追加 */
    font-weight: 900; /* アイコンを太く表示 */
    color: #007bff; /* アイコンのカラーを指定 */
}

.gallery {
    display: flex;
    flex-wrap: wrap; /* 必要なら折り返し */
    justify-content: flex-start; /* 左揃え */
    row-gap: 10px;
    column-gap: 5px; /* 余白調整（任意） */
    background-color: #EEF6FF;
    /*border-color: #003D98;
    /*border-style: solid; /* 外枠線のスタイル設定 */
    /*border-width: 3px; /* 外枠線の幅設定 */
    border: none;
    border-radius: 0px 10px 10px 10px;
    position: relative;
    z-index: 10;
}

.category-button {
    margin-left: 5px;
    margin-top: 20px;
    /*color: #FFFFFF; */
    background-color: #003D98;
    display: inline-block;
    color: white;
    font-size: 1.4rem;
    padding-bottom: 0px;
    font-weight: bold;
    /*border-color: #003D98;
    /*border-style: solid; /* 外枠線のスタイル設定 */
    /*border-width: 3px; /* 外枠線の幅設定 */
    /*border-bottom-width: 5px; /* 外枠線の幅設定 */
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 9;
    transition: background-color 0.2s, transform 0.1s;
}

.thumbnail {
    opacity: 1;
    transform: translateY(0px); /* 初期状態（下に隠れる） */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* フェードイン（ふわっと上がる） */
.thumbnail-fade-in {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* クリック可能に */
}

/* フェードアウト（消える） */
.thumbnail-fade-out {
    opacity: 0;
    transform: translateY(20px); /* 下に戻る */
    pointer-events: none; /* クリックできない */
}

/* ホバー時の色変更 */
.category-button:hover {
    color: #003D98;
    /* border-bottom-color :#EEF6FF; */
    box-shadow: 2px 0px rgba(0, 0, 0, 0.1);
    background-color: #EEF6FF;
    z-index: 11;
}

/* 選択中のカテゴリーボタン */
.category-button.active {
    color: #003D98;
    /*border-bottom-color :#EEF6FF; */
    box-shadow: 2px 0px rgba(0, 0, 0, 0.1);
    background-color: #EEF6FF;
    z-index: 11;
}


/* クリック時の押下エフェクト */
.trapezoid-btn:active {
    transform: translateY(2px);
}


/*　コラムページヘッド用スタイル　*/
.column-common-heading {
    color: #151515;
    padding: 30px 0;
    background-color: #eef6ff;
}

.column-head {
    max-width: 1080px;
    width: 100%;
    font-size: 3.6rem;
    font-weight: bold;
    line-height: 1.6;
    margin: 0 auto !important;
    padding: 0 20px;
    display: block;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* テキスト強調表示（下線マーカー） */
.markA{
    background: linear-gradient(transparent 65%, #ffff49 0%);
    font-weight: bold;
}

@media screen and (max-width: 768px) { /* タブレット・スマホ画面用スタイル　*/
    .column-text-indent{
       font-size: 14px;
       text-indent: 0em;
       padding : 60px;
    }

    .indent1{
       font-size: 14px;
       text-indent: 1em;
       line-height: 1.2em;
    }

    .indent2{
       font-size: 12px;
       text-indent: 2em;
    }

    .indent3{
       font-size: 12px;
       text-indent: 3em;
    }

    .indent4{
       font-size: 12px;
       text-indent: 4em;
    }
    .menu-box {
        width: 100%; /* モバイルでは画面幅いっぱいに設定 */
        padding: 10px; /* 内側に余白を追加 */
    }

    .floating-button {
       padding: 6px 12px; /* 内側の余白 */
       top: 80px;    /* 画面下からの距離 */
       font-size: 14px; /* 文字サイズ */
    }

    .floating-button2 {
       padding: 6px 12px; /* 内側の余白 */
       font-size: 14px; /* 文字サイズ */
    }

    .floating-button3 {
       padding: 6px 12px; /* 内側の余白 */
       font-size: 14px; /* 文字サイズ */
    }

    .btn.btn-important {
      border: none;
      color: #fff;
      font-size: 14px; /* 文字サイズ */
     }

}