@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template:   cocoon-master
Version:    1.1.3
*/

/* ------------------------------------
   🧩 基本構造
------------------------------------ */

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
}

/*834px以下*/
@media screen and (max-width: 834px){
}

/*480px以下*/
@media screen and (max-width: 480px){
}



/* ------------------------------------
   🌟 サイドバー：診断カルーセル（#omatsuCarousel）
------------------------------------ */

#omatsuCarousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 10px auto 20px;
  background: linear-gradient(160deg, #f7faff 0%, #eef3ff 100%);
  border-radius: 14px;
  padding: 8px 6px 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.omatsu-carousel-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
}

.omatsu-carousel-card {
  flex: 0 0 95%;
  max-width: 95%;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.omatsu-carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(77, 124, 255, 0.15);
}

.omatsu-carousel-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.omatsu-carousel-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.omatsu-carousel-card:hover .thumb img {
  transform: scale(1.05);
}

.omatsu-carousel-card .info {
  padding: 10px 8px 14px;
  background: #fff;
}

.omatsu-carousel-card .badge {
  display: inline-block;
  background: linear-gradient(135deg, #4d7cff, #7aa9ff);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 30px;
  padding: 3px 9px;
  margin-bottom: 5px;
  box-shadow: 0 2px 6px rgba(77, 124, 255, 0.25);
}

.omatsu-carousel-card .info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a3a;
  margin-bottom: 4px;
}

.omatsu-carousel-card .info p {
  font-size: 12.5px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* --- 矢印 --- */
.omatsu-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  color: #4d7cff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(77,124,255,0.25);
  transition: all 0.3s ease;
  z-index: 10;
}

.omatsu-arrow:hover {
  background: linear-gradient(135deg, #4d7cff, #7aa9ff);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.omatsu-arrow.prev { left: 4px; }
.omatsu-arrow.next { right: 4px; }

/* --- モバイル --- */
@media (max-width: 768px) {
  .omatsu-carousel-card {
    flex: 0 0 90%;
    max-width: 90%;
  }
}


/* ===============================
   Omatsu393：単枚スライダー（1枚表示）
   =============================== */

.omatsu-single-slider {
  position: relative;
  width: 100%;
  max-width: 900px;       /* ✅ 全体幅 */
  margin: 30px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  background: #fff;
}

/* --- スライド1枚のみ中央 --- */
.omatsu-single-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.recommend-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.recommend-thumb {
  width: 100%;
  height: 460px;           /* ✅ 大きく見せる */
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.swiper-slide-active .recommend-thumb {
  transform: scale(1.03);
}

/* --- ボタン --- */
.omatsu-single-slider .swiper-button-prev,
.omatsu-single-slider .swiper-button-next {
  color: #4d7cff;
  background: rgba(255,255,255,0.9);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

.omatsu-single-slider .swiper-button-prev:hover,
.omatsu-single-slider .swiper-button-next:hover {
  background: linear-gradient(135deg, #4d7cff, #7aa9ff);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.omatsu-single-slider .swiper-button-prev { left: 15px; }
.omatsu-single-slider .swiper-button-next { right: 15px; }

/* --- スマホ --- */
@media (max-width: 768px) {
  .recommend-thumb {
    height: 260px;
  }
  .omatsu-single-slider .swiper-button-prev,
  .omatsu-single-slider .swiper-button-next {
    width: 36px;
    height: 36px;
  }
}