/* ===== 共通リセット ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== 汎用ユーティリティ ===== */
.margin_min {
  margin-top: 1px;
  margin-bottom: 1px;
}


/* ===== idジャンプボタンのクラス要素  ===== */
a.idjanp {
  color: #0077cc;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a.idjanp:hover {
  color: #005fa3;
  text-decoration: none;
}


/* ===== CTAボタン・発光リンク ===== */
.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background-color: #2c2c2c;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  margin: 20px auto;
  width: fit-content;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #444;
  transform: scale(1.03);
}

.font_red_r {
  margin: 20px auto;
  padding: 0 10%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 30px #00ffff, 0 0 60px #00ffff;
  animation: soft-glow 2s ease-in-out infinite alternate;
  transform: scale(1.05);
}

.font_red_r:hover {
  box-shadow: 0 0 40px #00ffff, 0 0 80px #00ffff;
  transform: scale(1.08);
}

@keyframes soft-glow {
  from { box-shadow: 0 0 0px #00ffff; }
  to   { box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff; }
}

.font_red_r img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 10px;
}


/* ===== パンくずリスト ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 10px 15px;
  margin: 10px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  font-size: 0.95rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #555;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin: 0 8px;
  color: #bdbaba;
}

.breadcrumb-item a {
  color: #007BFF;
  text-decoration: none;
}

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

.breadcrumb-item.active {
  color: #333;
  font-weight: bold;
  pointer-events: none;

}/* パンくずリスト全体 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 10px 15px;
  margin: 10px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  font-size: 0.95rem;
}

/* パンくずリストの項目 */
.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #555;
}

/* 区切りスラッシュ */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›"; /* → or / でもOK */
  margin: 0 8px;
  color: #bdbaba;
}

/* リンク */
.breadcrumb-item a {
  color: #007BFF;
  text-decoration: none;
}

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

/* 現在のページ */
.breadcrumb-item.active {
  color: #333;
  font-weight: bold;
  pointer-events: none;
}

nav[aria-label="breadcrumb"] .breadcrumb {
  display:flex; gap:.5rem; list-style:none; padding:0; margin:.2rem 0 1rem;
  font-size:.92rem;
}
.breadcrumb li+li::before { content:"›"; opacity:.6; margin:0 .25rem; }
.breadcrumb a { text-decoration:none; }

/* ===== スキップリンクでフォーカス移動 ===== */
/* style.css に追記（目立たないリング） */
#main:focus { outline: none; } /* 通常フォーカスは非表示 */
#main:focus-visible {
  outline: 2px solid rgba(125, 183, 255, 0.45);
  outline-offset: 4px;
}
/* マウス主体の環境ではさらに控えめ（任意） */
@media (pointer: fine) and (hover: hover) {
  #main:focus-visible { outline-color: rgba(125, 183, 255, 0.3); }
}



/* ===== 背景を静止グラデーションに変更 ===== */
html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
  background: linear-gradient(90deg, #c2cfda, #a1e0f0 60%, #64c5cf);
  background-attachment: scroll;   /* fixed → scroll */
  background-size: cover;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* body::before 削除 or 静的パターンにする */


/* ========== ▼ フッター（統一） ========== */
footer {
  background: linear-gradient(to right, #eaf3fa, #d6e3ec);
  border-top: 1px solid #ccdce5;
  text-align: center;
  padding: 1rem .9rem;
  font-size: .9rem;
  line-height: 1.5;
}

.footer-row {
  margin: .4rem 0;
}

/* リンク群 */
.footer-links {
  font-size: .85rem;
  color: #555;
}
.footer-links a {
  margin: 0 .4rem;
  color: #555;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* SNSアイコン */
.footer-sns a {
  font-size: 1.4rem;
  color: #333;
  margin: 0 .5rem;
}
.footer-sns a:hover {
  color: #1da1f2;
}

/* スマホ調整 */
@media (max-width: 768px) {
  footer {
    font-size: .5rem;
    padding: .6rem;
  }
}





/* メインコンテナ */
.container {
  display: flex;
  flex: 1;
  margin-top: 60px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  padding: 20px;
}





/* メインコンテンツ */


main {
  flex: 1;
    background-color: #ffffffcc;
  color: #222;
  padding: 1em;
  overflow-y: auto;
  border-radius: 8px;
  max-width: 1300px;
  margin: 0 auto;
}

.anime-item {
  margin-bottom: 30px;
  padding: 0.9rem 0.9rem;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  margin: 0.6rem 0 0.5rem;
   box-shadow: 0 2px 8px rgba(0,0,0,0.12); /* 標準的な薄い影 */
}

.anime-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.18); /* 少し強調するだけ */
  transform: translateY(-4px);             /* 上昇幅も小さめに */
}

.anime-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #2c3e50;
  border-left: 5px solid #0077cc;
  padding-left: 10px;
}

.anime-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  margin: 15px 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.anime-item ul {
  padding-left: 1.2rem;
  margin-top: 10px;
}

.anime-item li {
  margin-bottom: 20px;
  line-height: 1.5;
  
}

.font_red {
  color: #f32121;
}

.font_blue {
  color: #0672ff;
}

p {
  margin-bottom: 1.5em;
}


a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #f39c12;
}

/* 段落内に段落 */
.session-card{
    border: 1px solid #ccc;
  border-radius: 8px;
  background: #fdfdfd;
  padding: 1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-top: 1px;
 /* 上側に20px間隔をあける */
  margin-right: 1px;
 /* 右側に20px間隔をあける */
  margin-bottom: 10px;
 /* 下側に20px間隔をあける */
  margin-left: 1px;
 /* 左側に20px間隔をあける */
}

/* 横並びdiv */
.field{
  display: flex;
  margin:  0 auto;            /* 中央寄せ */
}

.field-card {
  font-size: small;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fdfdfd;
  padding: 1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-top: 1px;
 /* 上側に20px間隔をあける */
  margin-right: 5px;
 /* 右側に20px間隔をあける */
  margin-bottom: 1px;
 /* 下側に20px間隔をあける */
  margin-left: 5px;
 /* 左側に20px間隔をあける */

}

.field-card h4 {
  margin: 0 0 0.5em;
  font-size: 1.1em;
  border-left: 4px solid #4A90E2;
  padding-left: 0.5em;
}

@media (max-width: 768px) {
    .field{
   overflow: auto; /*スクロールさせる*/
  white-space: nowrap; /*文字の折り返しを禁止*/
}
}

/* 表 */
table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  width: 100%;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead {
  background-color: #005BAC;
  color: white;
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}

td:last-of-type {
  text-align: left;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}


@media (max-width: 768px) {
table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  width: 100%;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead {
  background-color: #005BAC;
  color: white;
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}
th {
  white-space: nowrap
}

td:last-of-type {
  text-align: left;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}
}

/*longテーブル*/
/* デバイス表示切替 */
.only-sp {
  display: none;
}
.only-pc {
  display: block;
}

@media (max-width: 768px) {
  .only-sp {
    display: block;
  }
  .only-pc {
    display: none;
  }
}
/* 1) テーブル外枠の二重線/太線を防ぐ（style.cssの table{border:2px}対策） */
.table-card { border: 0; }

/* 2) 最後の列だけ左寄せにされるのを無効化 */
.table-card td:last-of-type { text-align: center; }

/* 3) 偶数行のストライプを無効化（必要なら） */
.table-card tbody > tr:nth-of-type(even) { background: transparent; }

/* 4) リンクのホバー色を固定（オレンジ化回避） */
.table-card td a:hover {
  color: #067aff;           /* 通常と同色で維持 */
  text-decoration: underline;
}

/* 5) セクション内グローバルimgの幅100%指定よりも強く固定 */
.table-card .cell-flex > img { max-width: none; } /* 既に入れているが念のため */

/* カードスタイル */
.mobile-card-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fdfdfd;
  padding: 1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.item-card h4 {
  margin: 0 0 0.5em;
  font-size: 1.1em;
  border-left: 4px solid #4A90E2;
  padding-left: 0.5em;
}

/*大型のテーブルをスクロールさせたいとき*/
@media (max-width: 768px) {
    .large-table-scroll{
   overflow: auto; /*スクロールさせる*/
  white-space: nowrap; /*文字の折り返しを禁止*/
}

}



/*ページに案内リンク*/
.card-section {
  padding: 2rem 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.card-link:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-link i {
  font-size: 1.5rem;
  color: #4A90E2;
}

.card-link span {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}


/* リストのスタイル */
ul {
  padding-left: 0;
  
}

li {
  list-style: none;
  
}
/* アイコン */
.sns-icons a {
  margin-right: 10px;
  font-size: 1.5em;
  color: #333;
}
.sns-icons a:hover {
  color: #1da1f2;
}

/* 箇条書きを横に並べる */
.order-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.order-list ul {
  flex: 1;
  min-width: 200px;
  list-style: none;
  padding-left: 0;
}



@media screen and (max-width: 768px) {
  /* サイドバー */
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #ccc;
    z-index: 10;
  }

  aside {
    width: 100%;
    margin-top: 1em;
    order: 2;
  }

  /* メインコンテナ */
  .container {
    flex-direction: column;
    width: 100%;
    padding: 0 10px;
  }

  main {
    width: 100%;
    order: 1;
    padding: 1em;
    flex-grow: 1;
  }

 /* ドロップダウンメニュー（スマホ）— アニメを殺さない版 */
.dropdown-content.open {
  /* max-height は JS が scrollHeight を都度入れるので書かない */
  overflow-y: auto;    /* visible → auto に戻す */
}


  /* 文字サイズと可読性 */
  body {
    font-size: 85%;
    line-height: 1.5;
    letter-spacing: 0.03em;
    padding: 0.1em;
  }

  .anime-item p {
    font-size: 0.85rem;
  }

  /* 見出しサイズ */
  .anime-item h1 {
    font-size: 1.4em;
  }
  .anime-item h2 {
    font-size: 1.2em;
  }
  .anime-item h3 {
    font-size: 1.1em;
  }
  .anime-item h4,
  .anime-item h5,
  .anime-item h6 {
    font-size: 1em;
  }
  
  .title {
    font-size: 1.4em;
  }

  /* アニメアイテム領域調整 */
  .anime-item {
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .table{
font-size: 11.5px;
  }

 

}

/* --- セッションカードのコンパクト版 --- */
.session-card--compact{
  padding: .6rem .8rem;
  margin: .6rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

/* 見出しも小さめに */
.anime-title--mini{
  font-size: 1rem;        /* 既定より小さく */
  margin: 0 0 .4rem;
}

/* スマホ最適のミニUL */
.mini-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem;            /* 行間を詰める */
}
.mini-list li{
  font-size: .9rem;
  line-height: 1.35;
  padding: .25rem .4rem;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  background: #fafcff;
}

/* アイコン風の先頭装飾（必要なら） */
.mini-list li::before{
  content: "•";
  color: #067aff;
  font-weight: 700;
  margin-right: .4em;
}

/* スマホはさらに詰める */
@media (max-width: 600px){
  .session-card--compact{ padding: .5rem .6rem; }
  .anime-title--mini{ font-size: .7rem; margin-bottom: .25rem; }
  .mini-list{ gap: .2rem; }
  .mini-list li{ font-size: .86rem; padding: .22rem .36rem; }
}



/* === アフィリエイト画像CTA（比較ページ用・超軽量） === */
/* ===== 画像CTAボタン（共通classを活用） ===== */
.cta-button-hikaku {
  display:block;
  max-width: 320px;      /* スマホでちょうど良い幅。バナー比率で可変 */
  margin:.5rem ;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:transform .1s ease, box-shadow .1s ease;
}
.cta-button-hikaku img {
  display:block;
  width:100%;
  height:auto;
}
.cta-button-hikaku:hover {
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.16);
}


/* モバイル（小画面）は横幅100%にして無駄な余白カット */
@media (max-width:600px){
  .cta-button-hikaku { max-width:100%; border-radius:6px; }
}


/*-------!!!!!サイドバーバグのための記述!!!!!!--------*/
/* --- サイドバー前面化（クリック死守） --- */
#sidebar, #sidebar .sidebar {
  position: relative !important;
  z-index: 9999 !important;
}
#sidebar * { pointer-events: auto !important; }

/* --- 開閉アニメ（PC/スマホ共通）--- */
#sidebar .dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
#sidebar .dropdown-content.open {
  /* max-height は JS が都度 scrollHeight を入れる */
  overflow-y: auto;
}

/* --- スマホ（!important 使わない）--- */
@media (max-width: 768px) {
  #sidebar .dropdown-content.open {
    overflow-y: auto;
  }
}


/*比較ページのtable記述*/
/* === 目的別ジャンプ（.purpose-nav） === */
.purpose-nav{
  display:flex; flex-wrap:wrap; gap:8px; margin:.6rem 0 0;
}
.purpose-nav a{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.45em .75em; min-height:36px; border-radius:8px;
  background:#f0f8ff; border:1px solid #d0d7de; color:#0653a6;
  font-weight:600; text-decoration:none;
}
.purpose-nav a:hover{ background:#e7f2ff; }



/* === 編集部おすすめ（3枠） === */
.recommend-cards{
  display:grid; gap:10px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.recommend-card{
  border:1px solid #d0d7de; border-radius:10px; background:#fff; padding:.9rem;
}
.recommend-card h3{ margin:0 0 .35rem; font-size:1.05rem; }
.recommend-card p{ margin:.35rem 0; }
.recommend-card .btn{
  display:inline-block; margin-top:.3rem; padding:.5em .9em; border-radius:8px;
  background:#067aff; color:#fff; text-decoration:none; font-weight:600;
}
.recommend-card .btn:hover{ opacity:.9; }

/* === 個別紹介カード（強み/弱み/向いている人） === */
.service-card{ border:1px solid #e5e7eb; border-radius:10px; padding:.8rem; background:#fff; }
.service-card .pros,
.service-card .cons{ margin:.2rem 0; padding-left:1.1em; }
.service-card .pros li::marker{ content:"＋ "; color:#1e7a1e; }
.service-card .cons li::marker{ content:"− "; color:#b00020; }
.service-card .who{ margin:.4rem 0; font-weight:600; }
.service-card .btn{
  display:inline-block; padding:.45em .8em; border-radius:8px; background:#f0f8ff; border:1px solid #067aff; color:#067aff; text-decoration:none; font-weight:600;
}
.service-card .btn:hover{ background:#e7f2ff; }

/* === 更新バッジ === */
.update-badge{
  display:inline-flex; gap:.5em; align-items:center;
  background:#f7f7f7; border:1px solid #d0d7de; border-radius:999px;
  padding:.25em .7em; margin:.5rem 0 0;
  font-size:.9rem; color:#333;
}
.update-badge span{ opacity:.8; }



/* === レビューのアイコン === */
.pros-list li > span[aria-hidden="true"],
.cons-list li > span[aria-hidden="true"] { 
  display:inline-block; width:1.2em; text-align:center; 
}
.pros-list li > span[aria-hidden="true"] { color:#1e7a1e; font-weight:700; }
.cons-list li > span[aria-hidden="true"] { color:#b00020; font-weight:700; }






