/* =========================================================
   Top.css（完成版 / スマホSafariでも崩れない）
   - ✅ CSSネスト(入れ子)を全廃（iPhoneで後半が無効になる原因）
   - ✅ 文字化け(центр)を修正
   - ✅ 余計な未閉じコメント等を整理
========================================================= */

/* ==================================
   Global Reset
================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* ==================================
   Slick Hero Slider（PC）
================================== */
.slickall {
  position: relative;
  background-color: #000;
}

/* 予約バナー */
.yoyaku {
  position: absolute;
  width: 23%;
  top: 80%;
  right: 80px;
}

/* スライドの裏写り防止 */
.caption,
.slick-slide::before,
.slick-slide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 黒のオーバーレイ（少し暗くする） */
.slick-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.2;
  z-index: 1;
}

/* フルワイドスライダー本体 */
.full-wide-slider {
  position: relative;
  width: 100%;
  height: 65vw;
  min-height: 8vw;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 1.2s ease;
}

/* slick 初期化後にふわっと表示 */
.full-wide-slider.slick-initialized {
  opacity: 1;
  visibility: visible;
}

/* 各スライド枠 */
.slick-slide {
  position: relative;
  height: 65vw;
}

/* 動画（mp4）：画面いっぱいにフィット */
.slick-slide video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

/* iframe（YouTube / Vimeo） */
.slick-slide iframe {
  position: relative;
  pointer-events: none; /* JS制御都合 */
}

/* figure 全体 */
.slick-slide figure {
  position: relative;
  height: 100%;
}

/* 共通 slide-image（動画以外のメディア枠） */
.slick-slide .slide-image {
  background-color: #000;
  opacity: 0; /* デフォ非表示（アニメ用） */
  height: 100%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.8s ease;
}

/* JS から .show が付いたらフェードイン */
.slick-slide .slide-image.show {
  opacity: 1;
}

/* 中に仕込んだ img の初期値 */
.slick-slide .image-entity {
  width: 100%;
  height: auto;
  opacity: 1;
}

/* Loading テキスト */
.slick-slide .loading {
  position: absolute;
  top: 44%;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* メディアのぼかしアニメ（デフォルト） */
.slick-slide .slide-media {
  animation: slideOut 0.4s cubic-bezier(0.4, 0.29, 0.01, 1);
}

/* アクティブスライド */
.slick-slide.slick-active {
  z-index: 1;
}

/* アクティブ時のメディアアニメーション */
.slick-slide.slick-active .slide-media {
  animation: slideIn 2.4s cubic-bezier(0.4, 0.29, 0.01, 1);
}

/* アクティブ時、キャプションを出す */
.slick-slide.slick-active .caption {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s cubic-bezier(0.32, 0.34, 0, 1.62) 0.6s;
}

/* 16:9 比率でスライドを切り抜くベース */
.full-wide-slider .slide-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

/* その中の img を全面フィット */
.full-wide-slider .slide-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* キャプション（白文字大きめ） */
.item .caption {
  position: absolute;
  top: 35%;
  left: 5%;
  text-align: left;
  padding: 20px;
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  opacity: 0;
  z-index: 2;
}

/* スライド説明（左側テキスト） */
.setumei {
  width: 80%;
  display: block;
  font-size: 1.5em;
  color: #fff;
  line-height: 1.4;
  position: absolute;
  top: 60%;
  left: 5%;
  text-align: left;
  z-index: 2;
}

/* スライダー下中央の小さい説明 */
.setumei1 {
  position: absolute;
  left: 47%;
  bottom: 16px;
  transform: translateX(-50%);
  width: auto;
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  text-align: center;
  z-index: 50;
  pointer-events: none;
}

/* ドットナビゲーション */
.slick-dots {
  text-align: center;
  background-color: transparent;
  bottom: 20px !important;
}
.slick-dots li {
  display: inline-block;
  vertical-align: top;
  margin: 0 8px;
}
.slick-dots li button {
  width: 16px;
  height: 16px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 transparent;
  vertical-align: middle;
  color: #fff;
  background-color: #fff;
  transition: all 0.3s ease;
  opacity: 0.2;
}
.slick-dots li button:focus {
  outline: none;
}
.slick-dots li button:hover {
  opacity: 1;
}
.slick-dots li.slick-active button {
  border-color: #2d3042;
  box-shadow: 0 0 0 2px #fff;
  opacity: 0.6;
}

/* お知らせセクション微調整 */
.sec_top_news {
  margin-top: -30px;
}

/* フェード系共通クラス */
.fade-out {
  opacity: 0;
  transition: all 1s;
}
.fade-in {
  opacity: 1;
}

/* 下からふわっと上がる */
.fadeIn2s {
  animation-name: fadeIn2s;
  animation-delay: 2s;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
  transform: translateY(-50px);
  opacity: 0;
}

/* slick slider youtubeカバー変更 */
.yt-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.yt-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none; /* 自動再生を邪魔しない */
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.yt-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item.youtube.is-playing .yt-cover {
  opacity: 0;
  visibility: hidden;
}
/* slick slider youtubeカバー変更end */

@keyframes fadeIn2s {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* スライドイン・アウトのぼかし */
@keyframes slideIn {
  from {
    filter: blur(15px);
  }
  to {
    filter: blur(0);
  }
}
@keyframes slideOut {
  from {
    filter: blur(0);
  }
  to {
    filter: blur(15px);
  }
}

/* スマホ時のキャプション調整 */
@media only screen and (max-width: 800px) {
  .slick-slide.slick-active .caption {
    top: 5% !important;
    left: 5% !important;
    font-size: 1.8em !important;
  }
  .slick-slide.slick-active .setumei {
    bottom: 0% !important;
    left: 5% !important;
    font-size: 1em !important;
  }
}

/* コピーライト用 */
.copyright1 {
  width: 100%;
  display: block;
  font-size: 1em;
  color: #fff;
  line-height: 1.4;
  position: absolute;
  bottom: 0;
  left: 5%;
  text-align: left;
  z-index: 2;
}

/* ▼ 静止画像スライドの上書き ▼ */
.full-wide-slider .item.image .slide-image {
  background: none;
  opacity: 1;
}
.full-wide-slider .item.image .image-entity {
  opacity: 1;
}
/* 余計な <p class="slick-slide"> などを除外 */
.full-wide-slider .slick-slide:not(.item) {
  display: none !important;
}

/* ==================================
   SP ヒーロー Swiper（動画/静止画）
================================== */
@media (max-width: 768px) {
  .sp-hero-swiper {
    position: relative;
    overflow: hidden;
    height: 100vh;
  }
  .sp-hero-swiper .swiper-wrapper {
    height: 100%;
  }
  .sp-hero-swiper .swiper-slide,
  .sp-hero-swiper .sp-hero-slide {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #000;
  }

  /* バックグラウンド画像（動画・静止画共通） */
  .sp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .sp-hero-slide.is-active {
    transform: scale(1);
  }

  .sp-hero-overlay {
    display: none !important;
  }

  .sp-hero-content {
    position: absolute;
    inset: auto 16px 24px 16px;
    padding: 16px 18px;
    border-radius: 18px;
    backdrop-filter: blur(18px);
    background: linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.88),
      rgba(20, 20, 20, 0.92)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.03);
    color: #fff;
  }

  .sp-hero-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5ae3ff;
    margin-bottom: 4px;
  }
  .sp-hero-title {
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 0 0 8px;
  }
  .sp-hero-text {
    font-size: 0.83rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 12px;
  }
  .sp-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #020617;
    background: linear-gradient(135deg, #0cf5b6, #5ae3ff);
    box-shadow: 0 4px 18px rgba(12, 245, 182, 0.45);
  }
  .sp-hero-cta::after {
    content: "↗";
    font-size: 0.9em;
    margin-left: 6px;
  }

  /* Swiper ドット */
  .sp-hero-pagination.swiper-pagination {
    position: static;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }
  .sp-hero-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    opacity: 0.5;
    background: rgba(148, 163, 184, 0.7);
    transition: all 0.25s ease;
  }
  .sp-hero-pagination .swiper-pagination-bullet-active {
    width: 24px;
    opacity: 1;
    background: linear-gradient(135deg, #0cf5b6, #5ae3ff);
  }
}

/* PCでは SP ヒーローは非表示 */
@media (min-width: 769px) {
  .sp-hero-swiper {
    display: none;
  }
}

/* SP 静止画像ヒーロー（単純版） */
.sp-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}
.sp-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==================================
   top-lux-logo
================================== */
.top-lux-logo p {
  font-size: 2.5rem;
  text-align: center;
  color: rgb(88, 190, 230);
  padding-top: 2rem;
}
.top-lux-logo img {
  text-align: center;
  width: 30%;
  margin: auto;
  display: block;
  padding-top: 3rem;
}
@media (max-width: 980px) {
  .top-lux-logo img {
    width: 40%;
  }
}

/* ==================================
   今月のお知らせカード
================================== */
.kongetu-osirase {
  background: linear-gradient(120deg, #101419 0%, #262c38 100%);
  width: 100%;
  min-height: 40vh;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  margin: 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.notice-card {
  max-width: 80%;
  margin: 20px auto;
  background: rgba(24, 27, 34, 0.98);
  border-radius: 22px;
  box-shadow: 0 8px 40px #000a, 0 2px 8px #2b314044;
  overflow: hidden;
  border: 1.5px solid #292d38;
  position: relative;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
}

.notice-header {
  display: flex;
  align-items: center;
  padding: 32px 32px 18px 32px;
  background: linear-gradient(90deg, #232935 70%, #232b34 100%);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  position: relative;
  overflow: hidden;
}
.notice-header h3 {
  font-size: 1.5rem;
  color: #e6e7ef;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 16px #56ffe7aa;
  opacity: 0.5;
}
.notice-header .icon {
  width: 36px;
  height: 36px;
  display: inline-block;
  margin-right: 8px;
  filter: drop-shadow(0 4px 8px #00fff6aa);
}

.notice-date {
  position: absolute;
  top: 18px;
  right: 32px;
  background: linear-gradient(to right, #32f6c1cc 19.33%, #0068f6);
  color: #151d18;
  font-weight: bold;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 12px #0cf5b6aa;
  border: none;
  letter-spacing: 0.09em;
  text-shadow: 0 2px 8px #fff8;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
}

.notice-content {
  padding: 28px 32px 36px 32px;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  line-height: 2;
  background-size: cover;
  background-position: right top;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  position: relative;
  z-index: 1;
}
.notice-content p {
  display: inline-block;
  text-align: center;
  opacity: 0.5;
}
.notice-content a {
  color: #fff;
  text-decoration: none;
}

/* 背景の上に乗る黒グラデ（hover 時にON） */
.notice-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.957) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

/* ホバー中だけ黒グラデをON */
.notice-card:hover .notice-content::before {
  opacity: 1;
}

/* テキストをオーバーレイより前面に */
.notice-content > * {
  position: relative;
  z-index: 1;
}

/* ✅ CSSネスト禁止：スマホSafari対策 */
.notice-card:hover .notice-content p,
.notice-card:hover .notice-header h3 {
  opacity: 1;
}
.notice-card:hover {
  box-shadow: 0 12px 64px #0cf5b666, 0 2px 8px #2b314088;
  border-color: #0cf5b6d1;
  transform: translateY(-2px);
}

/* アクセントライン */
.accent-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #0cf5b6 0%, #3fcbef 50%, #232935 100%);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  z-index: 2;
}

/* サイドの控えめな光 */
.glow {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #0cf5b633 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .notice-header h3 {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .notice-header,
  .notice-content {
    padding: 16px 10px;
  }
  .notice-date {
    top: 12px;
    right: 12px;
    font-size: 0.96rem;
    padding: 4px 8px;
  }
}

/* ==================================
   会社PR（lux-catch）
================================== */
.lux-catch {
  text-align: center;
  padding: 34px 14px;
  color: #fff;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  background: radial-gradient(
      900px 520px at 20% 20%,
      rgba(64, 160, 255, 0.2),
      transparent 24.79%
    ),
    radial-gradient(
      800px 520px at 85% 30%,
      rgba(255, 64, 113, 0.22),
      transparent 29.41%
    ),
    radial-gradient(
      900px 640px at 55% 95%,
      rgba(80, 255, 160, 0.36) 5.04%,
      transparent 26.05%
    ),
    linear-gradient(247deg, #000000, rgba(10, 15, 34, 0.89) 44.54%, #060912);

  position: relative;
  overflow: hidden;
 /* border-radius: 18px;*/
}

/* ✅ iOSでも安定する疑似ノイズ */
.lux-catch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 5px
    );
  mix-blend-mode: overlay;
}

.lux-catch-title {
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.08;
  font-size: clamp(1.7rem, 5.2vw, 2.4rem);
  position: relative;
  z-index: 1;
}

.lux-catch-line {
  display: block;
}

/* 真ん中のグラデ文字 */
.lux-catch-grad {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(
    to right,
    #ff3b7a 33.61%,
    #4fe36a 48.32%,
    #4aa9ff 66.39%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lux-catch-sub {
  display: inline-block;
  margin: 0;
  padding: 0.55em 1em;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  background: rgb(167 0 0);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .lux-catch {
    padding: 26px 12px;
    /*border-radius: 16px;*/
  }
  .lux-catch-sub {
    margin-top: 6px;
  }
}

/* ==================================
   YouTube モーダル用カード一覧
================================== */
.videoflexcontainer {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 32px;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}

.video-list {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  padding: 0;
  width: 400px;
  text-align: center;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.video-list .video-list__text h3 {
  color: #fff !important;
}
.video-list .video-list__text a {
  text-decoration: none;
}
.video-list:hover {
  box-shadow: 0 4px 24px rgba(62, 102, 132, 1);
}
.p-video-list__thumbnail img {
  width: 100%;
  display: block;
}

@media (max-width: 1270px) {
  .videoflexcontainer {
    flex-wrap: wrap;
    justify-content: center; /* ✅ 文字化け修正 */
    margin: 0 auto;
    gap: 32px;
    width: 90%;
    max-width: 1270px;
  }
}
@media (max-width: 830px) {
  .videoflexcontainer {
    max-width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .video-list {
    width: 90vw;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }
}
.video-list.dummy {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
@media (max-width: 600px) {
  .video-list.dummy {
    display: none;
  }
}

/* YouTube 再生ボタンアイコン */
.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 42px;
  background: url("https://www.freepnglogos.com/uploads/youtube-play-red-logo-png-transparent-background-6.png")
    no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* YouTube 下のコピー */
.p-news-list-ti {
  font-weight: bolder;
  padding-top: 2rem;
  width: 60%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.gothiclogo {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==================================
   縦書きテキスト
================================== */
.vertical-center-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40vh;
  width: 90vw;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0);
  border-radius: 12px;
  font-size: 1.3em;
  line-height: 3;
  font-weight: bolder;
  letter-spacing: 0.1em;
  font-family: "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN",
    "MS PMincho", serif;
  padding: 2rem 0;
}
@media (max-width: 800px) {
  .vertical-center-text {
    height: 60vw;
    font-size: 1em;
    line-height: 2;
  }
}

/* ==================================
   top お知らせ4件
================================== */
.news-section {
  width: 90vw;
  max-width: 1100px;
  margin: 0 auto 80px auto;
  padding-top: 48px;
}

.news-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  letter-spacing: 0.1em;
}

.news-title .news-sub {
  color: #29b6f6;
  font-size: 1.2rem;
  margin-left: 12px;
  position: relative;
  font-weight: 400;
  display: inline-block;
  border-bottom: 2px solid #29b6f6;
}

.news-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.news-card {
  display: flex;
  background: #fffbe3;
  border-radius: 12px;
  overflow: hidden;
  width: 44%;
  min-width: 320px;
  max-width: 520px;
  box-shadow: 0 3px 16px #0001;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.news-card:hover {
  box-shadow: 0 10px 24px #29b6f660;
  transform: translateY(-4px) scale(1.03);
}

.news-thumb {
  min-width: 160px;
  max-width: 180px;
  height: 120px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-meta {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  color: #888;
  font-size: 0.99rem;
  margin-bottom: 8px;
}

.news-title-txt {
  font-weight: 500;
  font-size: 1.09rem;
  line-height: 1.3;
}

.news-more {
  margin: 32px auto 0 auto;
  text-align: center;
}

.news-more-link {
  display: inline-block;
  border: 2px solid #29b6f6;
  color: #29b6f6;
  padding: 12px 46px;
  border-radius: 7px;
  font-size: 1.08rem;
  background: #fff;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px #29b6f615;
}
.news-more-link:hover {
  background: #29b6f6;
  color: #fff;
}

@media (max-width: 800px) {
  .news-cards {
    flex-direction: column;
    gap: 18px;
  }
  .news-card {
    width: 96%;
    min-width: unset;
    max-width: unset;
  }
  .p-news-list-ti {
    width: 92%;
  }
}

/* ==================================
   USE CASE（LED）
================================== */
.led-section-head {
  max-width: 1080px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.led-section-head h2 {
  margin-left: 10%;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #048ead;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.led-section-head h2 span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}
.led-section-head-center {
  text-align: center;
}
.led-section-head-center h2 {
  justify-content: center;
}

.led-usecase {
  padding: 40px 16px 32px;
}
.led-usecase-grid {
  max-width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.led-card {
  background: radial-gradient(
    circle at top left,
    rgba(34, 211, 238, 0.22),
    rgba(15, 23, 42, 0.95)
  );
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
}
.led-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.led-card-body {
  padding: 16px 16px 18px;
}
.led-card-body h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #e5f2ff;
}
.led-card-body p {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5f5;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .led-usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .led-usecase-grid {
    grid-template-columns: 1fr;
  }
  .led-usecase {
    padding-top: 32px;
  }
}

/* ==================================
   pro-center-wrap / home-btn（CTAボタン復活）
================================== */
.pro-center-wrap{
  text-align: center;
  margin: 40px 0;
}

.home-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;

  padding: 0.9em 2.4em;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;

  background: linear-gradient(90deg, #2256ff 0%, #02c6fd 100%);
  border-radius: 999px;

  box-shadow:
    0 4px 24px rgba(34, 86, 255, 0.20),
    0 1.5px 0 rgba(255,255,255,.16) inset;

  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ハイライト光 */
.home-btn::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events:none;
}

.home-btn:hover,
.home-btn:focus{
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.05);
  background: linear-gradient(90deg, #fd297b 0%, #02c6fd 100%);
  box-shadow:
    0 12px 36px rgba(253, 41, 123, 0.22),
    0 2px 0 rgba(255,255,255,.18) inset;
  text-decoration: none;
}
.home-btn:hover::after,
.home-btn:focus::after{
  opacity: 1;
}

.mb-100{ margin-bottom: 100px; }

/* SP最適化（押しやすい・はみ出さない） */
@media (max-width: 768px){
  .pro-center-wrap{ margin: 26px 0; }
  .home-btn{
    width: min(92vw, 420px);
    padding: 0.95em 1.4em;
    font-size: 1rem;
    letter-spacing: 0.06em;
  }
  .mb-100{ margin-bottom: 64px; }
}

/* ==================================
   お問い合わせ / 会社案内カード
================================== */
.top-company.t-bg {
  padding: 60px 0 54px 0;
}

.company-card-row a {
  text-decoration: none;
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 34px;
  color: #133352;
}

.section-title span {
  display: inline-block;
  color: #25a5e1;
  font-size: 1.1rem;
  margin-left: 12px;
  font-weight: 400;
  border-bottom: 2px solid #25a5e1;
}

.company-card-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.company-card {
  background: #caf7f7;
  border-radius: 16px;
  box-shadow: 0 2px 18px #14b6ff0c;
  width: 320px;
  min-width: 260px;
  max-width: 340px;
  padding: 32px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.15s;
  text-align: center;
  border:solid 3px;
}

.company-card-toi {
  width: 70%;
  background: #caf7f7;
  border-radius: 16px;
  box-shadow: 0 2px 18px #14b6ff0c;
  padding: 32px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.15s;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.company-card:hover,
.company-card-toi:hover {
  box-shadow: 0 6px 32px #25a5e188;
  transform: translateY(-3px) scale(1.03);
}

.company-card h3 {
  font-size: 1.22em;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.company-card-en {
  font-size: 1.6rem;
  color: #ffbf00;
  margin-bottom: 14px;
  font-family: "Montserrat", "Arial", sans-serif;
  letter-spacing: 0.03em;
}

.company-card p {
  font-size: 1em;
  color: #ffffff;
  margin: 0;
}

.company-btn-row {
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 1016px) {
  .company-card-row {
    flex-direction: column;
    gap: 22px;
  }
  .company-card {
    width: 98%;
    max-width: 420px;
    margin: 0 auto;
  }
  .company-card-toi {
    width: 92%;
  }
}

/* SP ヒーロー下キャプション（必要なら） */
.sp-hero-caption {
  position: relative;
  margin-top: -3rem;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ==================================
   セクション背景の半円ライン
================================== */
#osirase-bk,
#kaisya-bk,
#otoi-bk {
  position: relative;
  overflow: visible;
  /*isolation: isolate;  擬似要素のz-indexを安定させる */
}
#osirase-bk::before {
  content: "";
  position: absolute;
  left: 120%;
  top: -120%;
  transform: translate(-50%, -50%) rotate(180deg);
  width: 140vw;
  max-width: 1400px;
  aspect-ratio: 1 / 1;
  border: 1.5px solid #e36e6e;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
#kaisya-bk::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -50%;
  transform: translate(-50%, -50%);
  width: 140vw;
  max-width: 1400px;
  aspect-ratio: 1 / 1;
  border: 1.5px solid #6ee73e;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
#otoi-bk::before {
  content: "";
  position: absolute;
  left: 120%;
  top: -50%;
  transform: translate(-50%, -50%);
  width: 140vw;
  max-width: 1400px;
  aspect-ratio: 1 / 1;
  border: 1.5px solid #3e90e7;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
/* 発光円弧 
#otoi-bk::before{
  content:"";
  position:absolute;
  left:120%;
  top:-50%;
  transform: translate(-50%, -50%);
  width:140vw;
  max-width:1400px;
  aspect-ratio:1 / 1;
  border-radius:50%;
  z-index:-1;
  pointer-events:none;*/

  /* ① 左半分だけ“青く光る”角度グラデ（円弧の範囲） 
  background: conic-gradient(
    from 90deg,
    transparent 0deg,
    rgba(120, 220, 255, 0.00) 10deg,
    rgba(120, 220, 255, 0.90) 40deg,
    rgba(120, 220, 255, 0.90) 140deg,
    rgba(120, 220, 255, 0.00) 170deg,
    transparent 180deg,
    transparent 360deg
  );*/

  /* ② “リング形状”だけ残す（内外にフェードしたマスク）
  -webkit-mask: radial-gradient(
    circle,
    transparent 56%,
    rgba(0,0,0,0.25) 60%,
    #000 66%,
    #000 72%,
    rgba(0,0,0,0.25) 78%,
    transparent 82%
  );
  mask: radial-gradient(
    circle,
    transparent 56%,
    rgba(0,0,0,0.25) 60%,
    #000 66%,
    #000 72%,
    rgba(0,0,0,0.25) 78%,
    transparent 82%
  ); */

  /* ③ ぼかしで“発光”っぽく 
  filter: blur(10px);
  opacity: 0.95;
}*/

/* ==================================
   YouTube モーダル
================================== */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.yt-modal.is-open {
  display: flex;
}
.yt-modal__content {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  width: min(960px, 94vw);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
}
.yt-modal__body {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.yt-modal__player-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.yt-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.yt-modal__close {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10001;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.yt-modal__close:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}
@media (max-width: 768px) {
  .yt-modal__content {
    width: 96vw;
    max-height: calc(100vh - 60px);
  }
  .yt-modal__body {
    padding-top: 56.25%;
  }
  .yt-modal__close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
}

/* ==================================
   SP ヒーローを強制フルスクリーンに（最後に置く）
================================== */
@media (max-width: 768px) {
  body .sp-hero-swiper {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  body .sp-hero-swiper .swiper-wrapper,
  body .sp-hero-swiper .swiper-slide {
    width: 100vw;
    height: 100vh !important;
  }
  body .sp-hero-swiper .sp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    display: block;
  }
  body .sp-hero-swiper .sp-hero-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 24px;
  }
}

/* ==================================
   ヒーロースライダー内だけ明朝に統一
================================== */
.slickall,
.slickall * {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "Yu Mincho", "YuMincho", "MS PMincho", "MS Mincho", serif !important;
}

/* 会社案内カード：背景画像ベース */
#kaisya-bk .company-card-row a{
  display: block; /* a全体をカードとして扱いやすく */
}

#kaisya-bk .company-card{
  position: relative;
  overflow: hidden;
  border-radius: 18px; /* 好みで */
  min-height: 220px;   /* 写真が映える高さ。必要に応じて調整 */

  /* 背景画像の共通設定 */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  
}

/* 文字の上に暗幕（読めるように） */
#kaisya-bk .company-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(12 143 255 / 45%), rgb(0 0 0 / 39%));
  z-index: 0;
}

/* 文字を前面に */
#kaisya-bk .company-card > *{
  position: relative;
  z-index: 1;
}

/* 1枚目 */
#kaisya-bk .company-card-row a:nth-child(1) .company-card{
  background-image: url("/wp-content/themes/la-lux/img/top/company3/company01.webp");
}

/* 2枚目 */
#kaisya-bk .company-card-row a:nth-child(2) .company-card{
  background-image: url("/wp-content/themes/la-lux/img/top/company3/company02.webp");
}

/* 3枚目 */
#kaisya-bk .company-card-row a:nth-child(3) .company-card{
  background-image: url("/wp-content/themes/la-lux/img/top/company3/company03.webp");
}

/* hoverでちょいカッコよく（任意） */
#kaisya-bk .company-card{
  transition: transform .18s ease, filter .18s ease;
}
#kaisya-bk .company-card-row a:hover .company-card{
  transform: translateY(-2px);
  filter: saturate(1.05);
}