/* フォント処理*/
body{
    margin: 0;
    padding: 0;
    -webkit-font-smomthing: subpixel-antialiased;
    font-family: "Noto Sans JP",sans-serif;
    line-height: 2em;
    font-size: 100%;
    word-break: break-all;
}
h1,h2,h3,h4{
    font-weight: 600!important;
    font-family: "Poppins","Noto Sans JP",sans-serif;
}

/* 基本文字大きさ */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.8;
}
p {
    font-size: 16px;
    line-height: 1.8em;
}

body {
  /* 上：淡い青 → 下：白 */
  background: linear-gradient(
    to bottom,
    #eaf4ff 0%,   /* 明るい空色 */
 #ffffff 40%  /* 下は白 */
  );

  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;

  margin: 0;
  padding: 0;
}

/* ▼ 画面変異 -------------------------- */

/* 初期は透明だけ */
body{
  opacity: 0;
  transition: opacity 500ms ease;
}

body.is-loaded{
  opacity: 1;
}

body.is-leaving{
  opacity: 0;
}

@media (prefers-reduced-motion: reduce){
  body{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}





/* ▼ できることスライド -------------------------- */

/* =========================
   flat slider style
   scope: .netflixSlider / .netflix-card
========================= */

.netflixSlider{
  --ns-gap: clamp(16px, 2vw, 34px);
  --ns-card-w: clamp(240px, 28vw, 430px);
  --ns-radius: clamp(18px, 2vw, 28px);

  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 0;
  background: transparent;
}

.netflixSlider.is-dragging{
  cursor: grabbing;
}

.netflixSlider .containerInner{
  display: flex;
  align-items: stretch;
  gap: var(--ns-gap);
  width: max-content !important;
  padding: 0 12px 0 12px;
  will-change: transform;
}

.netflixSlider .netflix-card{
  flex: 0 0 var(--ns-card-w);
  width: var(--ns-card-w);
  max-width: 86vw;
  box-sizing: border-box;
  position: relative;
  transition: transform .3s ease;
}

.netflixSlider .netflix-card,
.netflixSlider .netflix-card *{
  box-sizing: border-box;
}

.netflixSlider .netflix-card:hover{
  transform: translateY(-2px);
}

.netflixSlider .netflix-card .bCustomS,
.netflixSlider .netflix-card .bCustomS-inner,
.netflixSlider .netflix-card .bcu_image,
.netflixSlider .netflix-card .bcu_inner{
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.netflixSlider .netflix-card .bcu_inner{
  text-decoration: none;
  line-height: 0;
}

.netflixSlider .netflix-card img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--ns-radius);
  box-shadow: none;
  border: 1px solid rgba(0,0,0,.04);
  background: #fff;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* タブレット */
@media (max-width: 1024px){
  .netflixSlider{
    --ns-card-w: clamp(220px, 40vw, 360px);
    --ns-gap: 20px;
  }
}

/* スマホ */
@media (max-width: 767px){
  .netflixSlider{
    --ns-card-w: 74vw;
    --ns-gap: 14px;
    --ns-radius: 20px;
  }

  .netflixSlider .containerInner{
    padding: 0 8px;
  }

  .netflixSlider .netflix-card{
    max-width: 78vw;
  }

  .netflixSlider .netflix-card:hover{
    transform: none;
  }
}

/* 極小 */
@media (max-width: 480px){
  .netflixSlider{
    --ns-card-w: 78vw;
  }
}
/* =========================
   ドットナビ
========================= */

.netflixSlider{
  padding-bottom: 34px;
}

.netflixSlider .netflix-dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.netflixSlider .netflix-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cfd6e3;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.netflixSlider .netflix-dot:hover{
  background: #8ea0c2;
}

.netflixSlider .netflix-dot.is-active{
  background: #243b7a;
  transform: scale(1.15);
}

@media (max-width: 767px){
  .netflixSlider{
    padding-bottom: 28px;
  }

  .netflixSlider .netflix-dots{
    gap: 8px;
    margin-top: 12px;
  }

  .netflixSlider .netflix-dot{
    width: 8px;
    height: 8px;
  }
}


/* =========================
   flat slider style
   scope: .netflixSlider02 / .netflix-card02
========================= */

.netflixSlider02{
  --ns-gap: clamp(16px, 2vw, 34px);
  --ns-card-w: clamp(320px, 36vw, 620px);
  --ns-radius: clamp(18px, 2vw, 28px);

  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 0;
  background: transparent;
}

.netflixSlider02.is-dragging{
  cursor: grabbing;
}

.netflixSlider02 .containerInner{
  display: flex;
  align-items: stretch;
  gap: var(--ns-gap);
  width: max-content !important;
  padding: 0 12px 0 12px;
  will-change: transform;
}

.netflixSlider02 .netflix-card02{
  flex: 0 0 var(--ns-card-w);
  width: var(--ns-card-w);
  max-width: 90vw;
  box-sizing: border-box;
  position: relative;
  transition: transform .3s ease;
}

.netflixSlider02 .netflix-card02,
.netflixSlider02 .netflix-card02 *{
  box-sizing: border-box;
}

.netflixSlider02 .netflix-card02:hover{
  transform: translateY(-2px);
}

.netflixSlider02 .netflix-card02 .bCustomS,
.netflixSlider02 .netflix-card02 .bCustomS-inner,
.netflixSlider02 .netflix-card02 .bcu_image,
.netflixSlider02 .netflix-card02 .bcu_inner{
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.netflixSlider02 .netflix-card02 .bcu_inner{
  text-decoration: none;
  line-height: 0;
}

.netflixSlider02 .netflix-card02 img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ns-radius);
  box-shadow: none;
  border: 1px solid rgba(0,0,0,.04);
  background: #fff;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* タブレット */
@media (max-width: 1024px){
  .netflixSlider02{
    --ns-card-w: clamp(300px, 60vw, 500px);
    --ns-gap: 20px;
  }
}

/* スマホ */
@media (max-width: 767px){
  .netflixSlider02{
    --ns-card-w: 88vw;
    --ns-gap: 14px;
    --ns-radius: 20px;
  }

  .netflixSlider02 .containerInner{
    padding: 0 8px;
  }

  .netflixSlider02 .netflix-card02{
    max-width: 92vw;
  }

  .netflixSlider02 .netflix-card02:hover{
    transform: none;
  }
}

/* 極小 */
@media (max-width: 480px){
  .netflixSlider02{
    --ns-card-w: 92vw;
  }
}




/* ▼ 回転アニメーション-------------------------- */

/* 回転アニメーション定義 */
@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* IDごとに回転アニメーションを適用 */
.kaiten img,
.kaiten img,
.kaiten img,
.kaiten img,
.kaiten img {
  animation: rotate-slow 30s linear infinite;
  transform-origin: center center;
  display: inline-block;
}


/* ▼ お知らせ一覧（.news） -------------------------- */

/* お知らせ一覧 */
.news .extCatListUL {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news .extCatListUL > li {
  background: #fafafa;
  border-radius: 24px;
  padding: 24px 40px;
  margin-bottom: 24px;
}

.news .extCatList5Inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 日付 */
.news .extCatList5Date span {
  font-size: 18px;
  color: #555;
  white-space: nowrap;
}

/* 本文部分 */
.news .extCatList5InnerText {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ▼ ラベルを見出しの上に配置＋5px間隔 */
.news .bCatListLabel {
  order: -1; /* 順番を上に変更 */
  margin-bottom: 10px; /* ラベルと見出しの間隔 */
}

.news .bcatlabel {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 999px;
  margin-right: 8px;
}

/* 見出し（タイトル） */
.news .extCatList5InnerText strong {
  display: block;
  margin-bottom: 6px;
}

.news .extCatList5InnerText strong a {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.news .extCatList5InnerText strong a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .news .extCatList5Inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .news .extCatListUL > li {
    padding: 20px 16px;
  }

  .news .extCatList5InnerText strong a {
    font-size: 16px;
  }

  .news .extCatList5Date span {
    font-size: 16px;
  }
}


/* ====== カレンダー ====== */
.cal_main .btable th {
    font-size: 16px;
    font-weight: 600 !important;
    font-family: "Poppins", "Noto Sans JP", sans-serif;
}

.cal_main .btable td {
    font-size: 16px;
    font-weight: 600 !important;
    font-family: "Poppins", "Noto Sans JP", sans-serif;
}

/* ====== メニューアイコン ====== */
/* ふわふわボックス */
.soft-box .bcontainer-inner {
  position: relative;
  border-radius: 20px; /* 角丸 */
  overflow: hidden;    /* 内側の角もぼかしに沿わせる */
  background-color: rgba(244,244,244,1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* ふんわり影 */
  z-index: 0; /* 擬似要素より下にならないようリセット */
}

/* 白フェード（背景にだけ効く） */
.soft-box .bcontainer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none; /* クリック操作を妨げない */
  z-index: 0; /* 背景として配置（中身より下） */
}

/* 内側のコンテンツを上に重ねる */
.soft-box .bcontainer-inner > * {
  position: relative;
  z-index: 1;
}



/* メニューアイコン */
/* 影が切れないように */
.soft-box .bcontainer-inner > .coln{
  overflow: visible !important;
}

/* カード：角丸＋白背景＋ドロップシャドウ */
.menu_icon .bCustomS {
  background: #fff;
  border-radius: 25px;
  box-shadow:
    0 14px 32px rgba(0,0,0,.12),
    0 4px 12px rgba(0,0,0,.06);
  overflow: hidden; /* 角丸内に内容を収めるだけ（影は切れない） */
}

/* カードの周囲に“逃げ”を作って影を見せる */
.menu_icon .containerInner {
  padding: 16px;            /* 既存の margin に加えて内側にも余白 */
  box-sizing: border-box;
}

/* さらに間隔が必要ならカード自体にもマージンを追加（任意） */
.menu_icon .bCustomS {
  margin: 6px;
}


/* コラムの枠・上下左右すべて角丸 */
.maru{
  border-radius: 20px;
  overflow: hidden; /* 中身がはみ出ないように */
}

/* ==== micon内：画像リンクにのみ影 ==== */
.micon .bcu_image a img {
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.06);
  border-radius: 24px; /* アイコンをやわらかく */
}

.kage .coln {
  overflow: visible !important;
}

