@charset "utf-8";
/* トップページ固有スタイル */
.hero_slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 400px;
  background: #000 url('uploads/2026/02/main_visual.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.hero_slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.hero_catch {
  position: relative;
  z-index: 1;
  font-family: 游明朝, "Yu Mincho", serif;
  font-size: 38px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.q_about_wabigaku {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 2;
}
.banner_section {
  position: relative;
  padding: 80px 20px;
  background: #000 url('uploads/2026/02/catch_bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  margin: 60px 0 0;
}
.banner_section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.banner_section h2 {
  position: relative;
  z-index: 1;
  font-family: 游明朝, "Yu Mincho", serif;
  font-size: 28px;
  margin: 0;
}
.nav_cards {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.nav_card {
  position: relative;
  height: 250px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.nav_card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.nav_card:hover img {
  transform: scale(1.05);
}
.nav_card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
}
.nav_card_content {
  position: relative;
  z-index: 1;
}
.nav_card_label {
  background: #000;
  font-size: 13px;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 5px;
}
.nav_card_title {
  font-size: 20px;
  font-family: 游明朝, "Yu Mincho", serif;
}
.category_feature {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}
.category_box {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}
.category_box.reverse {
  flex-direction: row-reverse;
}
.category_img {
  flex: 1;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}
.category_info {
  flex: 1;
}
.category_info .sub_tag {
  color: #C6A957;
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}
.category_info h3 {
  font-size: 24px;
  font-family: 游明朝, "Yu Mincho", serif;
  margin-top: 0;
}
.category_info p {
  color: #555;
  line-height: 1.8;
}
.clm {
  display: grid;
}
.clm-2col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.clm .col a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  color: #fff;
  text-decoration: none;
  font-family: 游明朝, "Yu Mincho", serif;
  font-size: 24px;
  transition: opacity 0.3s;
}
.clm .col a:hover {
  opacity: 0.8;
}
.bg-grad--red {
  background-image: linear-gradient(0deg, rgba(198, 104, 104, 1), rgba(105, 17, 17, 1));
}
.bg-grad--yellow {
  background-image: linear-gradient(0deg, rgba(193, 168, 91, 1), rgba(93, 70, 3, 1));
}
/* コンセプトエリア全体 */
.q_about_wabigaku {
  padding: 100px 20px;
  background-color: #faf9f6;
}
/* テキストのスタイル */
.concept_inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: #333;
}
.concept_inner p {
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.15em;
  margin-bottom: 60px;
  /* フェードインアニメーションの初期状態 */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpText 1.5s ease forwards;
}
/* 最後の段落は下の余白をなくす */
.concept_inner p:last-child {
  margin-bottom: 0;
}
/* 段落ごとに少しずつ遅れて（順番に）ふわっと表示させる */
.concept_inner p:nth-child(1) {
  animation-delay: 0.2s;
}
.concept_inner p:nth-child(2) {
  animation-delay: 0.8s;
}
.concept_inner p:nth-child(3) {
  animation-delay: 1.4s;
}
.concept_inner p:nth-child(4) {
  animation-delay: 2.0s;
}
/* フェードイン用のアニメーション定義 */
@keyframes fadeUpText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スマートフォン表示時の調整 */
@media screen and (max-width: 768px) {
  .q_about_wabigaku {
    padding: 60px 15px;
  }
  .concept_inner p {
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 40px;
  }
}
@media (max-width: 750px) {
  .hero_catch {
    font-size: 26px;
  }
  .category_box, .category_box.reverse {
    flex-direction: column;
    gap: 20px;
  }
  .category_img {
    width: 100%;
    height: 200px;
  }
}

/* ==========================================================================
   スマホ表示時のメインビジュアル高さ調整
   ========================================================================== */
@media (max-width: 750px) {
  .hero_slider {
    height: 60vh !important;
    min-height: 300px !important;
  }

  .hero_catch {
    font-size: 22px;
    line-height: 1.6;
    padding: 0 15px;
  }
}