@charset "UTF-8";

/* =========================================
   ベース設定
   ========================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #45555f;
  background-color: #f5f9fb;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* =========================================
   メインビジュアル (MV)
   ========================================= */
.mv-wide {
  position: relative;
  width: 100%;
  height: clamp(350px, 45vh, 450px); 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mv-wide-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.mv-wide-images::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #2d8db4;
  mix-blend-mode: soft-light;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.mv-bg-image {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.mv-bg-left {
  background-image: url('../images/list_MV01.jpg');
  background-position: left center; 
}

.mv-bg-center {
  background-image: url('../images/list_MV02.jpg');
}

.mv-bg-right {
  background-image: url('../images/list_MV03.jpg');
  background-position: right center;
}

.mv-wide-text-area {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  width: 90%;
  max-width: 800px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(69, 85, 95, 0.12);
}

.mv-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.mv-title-en {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #2d8db4;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mv-title-en::before {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  background-color: #2d8db4;
  margin-bottom: 16px;
}

.mv-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  color: #45555f;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0;
  padding-top: 0;
  text-shadow: none;
}

.mv-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #45555f;
  margin: 0;
}

/* =========================================
   スキップメニュー
   ========================================= */
.category-nav-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 40px auto 0;
}

.category-nav {
  padding: 0 20px;
}

.category-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.category-nav-list a {
  display: block;
  text-decoration: none;
  color: #7a8c96;
  background-color: #ffffff;
  border: 1px solid #bddfee;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(69, 85, 95, 0.05);
}

.category-nav-list a:hover {
  background-color: #2d8db4;
  color: #ffffff;
  border-color: #2d8db4;
  transform: translateY(-2px);
}

/* =========================================
   セクションと見出し
   ========================================= */
.category-section {
  padding-top: 40px;
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.category-section + .category-section {
  padding-top: 40px;
}

.category-section:last-child {
  margin-bottom: 64px;
}

.section-title {
  display: block; 
  width: 100%; 
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  color: #45555f;
  font-weight: 500;
  
  letter-spacing: 0.1em; 
  text-indent: 0.1em; 
  
  margin-top: 0;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  
  position: relative;
  padding: 0 20px;
  border-bottom: none;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #2d8db4;
  margin: 16px auto 0;
}

/* =========================================
   一覧レイアウト・カードデザイン
   ========================================= */
.campaign-list {
  display: grid;
  gap: 32px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campaign-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(69, 85, 95, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.campaign-card a:hover {
  transform: translateY(-4px); 
  box-shadow: 0 15px 35px rgba(69, 85, 95, 0.12); 
}

.card-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.card-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #2d8db4;
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.campaign-card a:hover .card-image-wrapper::after {
  opacity: 0;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.campaign-card a:hover .card-image-wrapper img {
  transform: scale(1.03);
}

.card-content {
  padding: 16px 24px;
}

.card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 8px 0;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #45555f;
}

.card-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #8a9ba5;
  margin: 0;
}

/* =========================================
   レスポンシブ調整 (タブレット用：1024px以下)
   ========================================= */
@media screen and (max-width: 1024px) {
  .campaign-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   レスポンシブ調整 (タブレット縦・大きめスマホ用：768px以下)
   ========================================= */
@media screen and (max-width: 768px) {
  
  /* --- MV（メインビジュアル） --- */
  .mv-wide {
    height: auto;
    padding: 60px 20px;
    flex-direction: column;
    justify-content: center;
  }
  .mv-wide-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .mv-bg-left {
    flex: 100%;
    background-position: center;
  }
  .mv-bg-center,
  .mv-bg-right {
    display: none; 
  }
  .mv-wide-text-area {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 30px 20px;
    box-sizing: border-box;
  }
  .mv-title {
    font-size: 24px;
  }
  .mv-desc {
    font-size: 12px;
  }
  .mv-desc br {
    display: none; 
  }

  /* --- スキップメニュー --- */
  .category-nav-wrapper {
    margin: 16px 0;
  }
  .category-nav-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px; 
    height: 100%;
    background: linear-gradient(to right, rgba(245, 249, 251, 0) 0%, rgba(245, 249, 251, 1) 100%);
    pointer-events: none; 
    display: none; 
  }
  .category-nav {
    margin: 0; 
    padding: 0; 
  }
  .category-nav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center; 
    padding: 0 20px; 
    gap: 12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .category-nav-list::after {
    content: "";
    display: block;
    padding-right: 1px;
  }
  .category-nav-list::-webkit-scrollbar {
    display: none;
  }
  .category-nav-list li {
    flex-shrink: 0; 
  }
  .category-nav-list a {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 18px;
  }

  /* --- セクションと見出し --- */
  .category-section {
    padding-top: 16px;
    margin-bottom: 16px;
    scroll-margin-top: 60px; 
  }
  .section-title {
    font-size: 20px;
    padding: 0;
  }

  /* --- 一覧レイアウト・カード --- */
  .campaign-list {
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px; 
  }
  .card-content {
    padding: 16px;
  }
  .card-title {
    font-size: 18px;
    color: #45555f;
    text-align: left;
    margin: 0 0 8px 0;
    padding-top: 0;
    letter-spacing: normal;
  }
  .card-desc {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* =========================================
   レスポンシブ調整 (完全なスマートフォン用：599px以下)
   ========================================= */
@media screen and (max-width: 599px) {
  
  .category-nav-wrapper::after {
    display: block; 
  }
  .category-nav-list {
    justify-content: flex-start; 
    padding: 0 40px 0 20px; 
  }

  .campaign-list {
    grid-template-columns: 1fr;
  }
}