@charset "utf-8";
/* =========================================================
   kk.html（価格表）専用CSS：kk-desc-text-area 一式
   ※ bcss2.css から移植
========================================================= */


/* === kk.html：価格ページ SEO テキスト（PC） ================= */
@media screen and (min-width:750px){

  .kk-desc-text-area {
    background-image: url("webp/08.webp");   /* index と同じ背景 */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 60px 0 70px;
  }

  .kk-desc-text-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
    line-height: 1.9;
  }

  /* H2 見出し（中央揃え） */
  .kk-desc-text-inner h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
  }

  /* 導入文 */
  .kk-desc-text-inner > p {
    max-width: 720px;
    margin: 0 auto 32px;
    font-size: 1rem;
  }

  /* 3 カラム全体 */
  .kk-desc-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* 各カード（アニメーション初期状態を付与） */
  .kk-desc-col {
    background: rgba(0, 0, 0, 0.55);
    padding: 24px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);

    /* ▼ アニメーション用（index の .top-desc-col と同じ） */
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 1s ease,
      transform 1s ease,
      box-shadow 0.2s ease;
  }

  /* 画面内に入ったときの状態 */
  .kk-desc-col.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ホバーで少し浮かせる */
  .kk-desc-col.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
  }

  /* ちょっとだけ時間差をつけて順番に出す */
  .kk-desc-col:nth-child(1) { transition-delay: 0.05s; }
  .kk-desc-col:nth-child(2) { transition-delay: 0.18s; }
  .kk-desc-col:nth-child(3) { transition-delay: 0.32s; }

  /* カード内の見出し（h3 テキスト部分） */
  .kk-desc-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;

    min-height: 4.8em;     /* 2行分を確保 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
  }

  /* h3 の下に白いラインを追加 */
  .kk-desc-col h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    margin: 8px;
  }

  /* 本文 */
  .kk-desc-col p {
    font-size: 1rem;
    margin: 0;
  }

  /* リンク */
  .kk-desc-col a {
    color: #ffffff;
    text-decoration: underline;
  }
  .kk-desc-col a:hover {
    opacity: 0.8;
  }
}


/* === kk.html：価格ページ SEO テキスト（スマホ） ====== */
@media only screen and (max-width: 768px){

  .kk-desc-text-area {
    background-image: url("webp/08.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 35px 0 45px;
  }

  .kk-desc-text-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
    color: #ffffff;
    line-height: 1.9;
  }

  /* タイトル */
  .kk-desc-text-inner h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 18px;
    font-weight: 700;
  }

  /* 導入文 */
  .kk-desc-text-inner > p {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  /* スマホではカードを縦に3つ並べる */
  .kk-desc-columns {
    display: block;
  }

  .kk-desc-col {
    margin-bottom: 18px;
    padding: 20px 18px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  }

  .kk-desc-col h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .kk-desc-col p {
    font-size: 0.95rem;
    margin: 0;
  }

  /* スマホ用リンク色調整（紫化防止） */
  .kk-desc-col a {
    color: #ffffff;
    text-decoration: underline;
  }
  .kk-desc-col a:visited {
    color: #ffffff;
  }
  .kk-desc-col a:hover {
    opacity: 0.8;
  }
}




/* 概算リンク注釈：画像の上でも必ず読めるようにする */
body.kk .kk-note{
  max-width: 720px;
  margin: 12px auto 24px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.7;

  color: #111;                    /* ← 文字を濃く */
  background: rgba(255,255,255,.92); /* ← 背景を付ける */
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;

  display: block;                 /* 念のため */
}

body.kk .kk-note a{
  text-decoration: underline;
}

body.kk .kk-note span{
  font-size: 0.85rem;
  color: #555;
}

