@charset "UTF-8";


/*子テーマでの追加CSS(統廃合になった学校専用)*/
/* .school_list::after{
	display: none;
} */
/* *{
	border: solid 1px #ccc;
} */

.header{
	position: initial;
}
.breadcrumb_area {
    margin: 1rem 0 2rem;
}

.breadcrumb_area span {
    font-size: 0.8rem;
    line-height: 1.5em;
}

.page-ttl {
    /* border-left-color: #de718a; */
    position: relative;
    margin-bottom: 0.2rem;
    padding: 2rem 1rem 1.5rem;
    background-image: linear-gradient(#0089a778 0 100%), repeating-linear-gradient(45deg, #e9f6f7 0 7px, #ffffff 7px 10px);
    background-repeat: no-repeat;
    background-size: 60px 20px, 100% calc(100% - 0.5rem);
    background-position: center top, bottom;
    color: #353535;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
}
/* インナー */
.inner_wide{
width: calc(100% - 1rem);
max-width: 1400px;
margin: 0 auto;
}

/* 導入文 */
.touhaigou-desc{
	margin-top: 2rem;
}

/* ボタン */
.touhaigou_more .btn_style1{
	background-color: #0089a7;
	margin-top: 2rem;
}


  /* -------------------------
     共通変数・リセット（軽め）
     ------------------------- */
  :root{
    --bg: #f6f7fb;
    --card-bg: #ffffff;
    --text: #222;
    --muted: #2c2c2c;
    --accent: #0089a7;
    --radius: 12px;
    --gap: 18px;
    --transition-speed: 350ms;
  }

  /* *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.45;
    padding:32px;
  }

  h1{
    margin:0 0 18px 0;
    font-size:1.4rem;
  }
  p.lead{
    margin:0 0 28px 0;
    color:var(--muted);
  } */

  /* -------------------------
     レイアウトグリッド
     ------------------------- */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--gap);
    align-items: start;
	margin: 2rem 0 3rem 0;
  }

  /* -------------------------
     カード
     ------------------------- */
  .card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden; /* 画像の拡大をカードの範囲内に収める */
    box-shadow: 0 6px 18px rgba(18,24,40,0.06);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    will-change: transform;
    text-decoration: none;
    color: inherit;
	height: 100%;
  }

  /* カード全体のホバーで軽く持ち上げる（画像拡大と相性よく） */
  .card:focus,
  .card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(18,24,40,0.12);
    outline: none;
  }

  /* 画像ラッパー（クリッピング + アスペクト比固定） */
  .card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10; /* 画像領域の比率を固定 */
    overflow: hidden;
    background: linear-gradient(180deg, #e9eefc 0%, #f6f7fb 100%);
  }

  /* 画像そのもの */
  .card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform var(--transition-speed) cubic-bezier(.2,.9,.3,1);
    will-change: transform;
    display: block;
  }

  /* ホバー時の拡大（画像） */
  .card:hover .card__img,
  .card:focus .card__img,
  .card__media:has(:focus) .card__img { /* :has はまだ一部ブラウザ限定 */
    transform: scale(1.12);
  }

  /* テキスト領域 */
  .card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
	  flex-grow: 1; /* ここで本文部分を伸ばす */
  }

  .card__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
  }

  .card-title-top {
    gap: .75rem;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

  .card__excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
	  flex-grow: 1; /* 抜粋部分を可能な限り伸ばす */

  }

  .card__meta {
    margin-top: auto;
    display:flex;
    gap:8px;
    align-items:center;
    color:var(--muted);
    font-size:0.85rem;
  }

  .badge {
 background: #dff0f3;
    color: #0089a7;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    display: inline;
    font-weight: bold;
  }

  /* フォーカス可視化（キーボードナビ向け） */
  .card:focus-visible{
    box-shadow: 0 0 0 4px rgba(15,98,254,0.12), 0 14px 30px rgba(18,24,40,0.12);
  }

  .cards > a[target="_blank"]:after{
	content: none;
  }

  /* -------------------------
     レスポンシブ微調整
     ------------------------- */
  @media (max-width:520px){
    /* body{padding:20px} */
    .card__body{padding:12px}
  }

  /* -------------------------
     アニメーション軽減（ユーザ設定に従う）
     ------------------------- */
  @media (prefers-reduced-motion: reduce) {
    .card, .card__img {
      transition: none !important;
      transform: none !important;
    }
  }