@charset "UTF-8";
.flash-message {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 15px;
  text-align: center;
}

.notice {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 5px;
}

.alert {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 5px;
}

.carousel-inner img {
  height: 400px;
  object-fit: cover;
}

footer a:hover {
  text-decoration: underline;
}

.extra-padding {
  padding-left: 10rem !important;
  padding-right: 10rem !important;
}
@media (max-width: 768px) {
  .extra-padding {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}

@media (max-width: 768px) {
  #law .title {
    font-size: 20px;
  }
  #terms .title {
    font-size: 20px;
  }
  #privacy .title {
    font-size: 20px;
  }
}
#custom-slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
#custom-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 5s ease-in-out;
  z-index: 0;
  text-align: center;
}
#custom-slider .slide.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}
#custom-slider .slide img {
  width: 100vw;
  height: 66vh;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  max-width: none;
}
#custom-slider .slide .caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#custom-slider .slide .caption h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 1rem;
  white-space: nowrap;
}
#custom-slider .slide .caption p {
  font-size: clamp(1rem, 3vw, 1.8rem);
  white-space: nowrap;
}

@media (max-width: 576px) {
  #custom-slider .slide .caption h2 {
    font-size: 1.6rem;
  }
  #custom-slider .slide .caption p {
    font-size: 1.1rem;
  }
}
#slider-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#slider-dots .dot.active {
  background-color: #b47c4d;
}

#slider-dots {
  background-color: #f8f9fa;
  padding: 12px 0;
}

#works {
  position: relative;
  scroll-margin-top: 300px;
}
#works .works-title {
  margin-bottom: 50px;
}
#works .work-card {
  background-color: white;
  padding: 16px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
#works .work-card:hover {
  background-color: rgba(222, 205, 178, 0.7411764706) !important;
}
#works .work-card img {
  border-radius: 8px;
  margin-bottom: 12px;
}
#works .work-card .work-title {
  font-weight: 600;
  font-size: 1.1rem;
}
#works .work-card .work-description {
  font-size: 0.95rem;
  color: #444;
}

/* ✨ Fadein 基本 */
.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

/* ✨ 表示時 */
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

/* ✨ 順番付き遅延（delay-1 ～ delay-6） */
.fadein.delay-1 {
  transition-delay: 0s;
}

.fadein.delay-2 {
  transition-delay: 0.1s;
}

.fadein.delay-3 {
  transition-delay: 0.2s;
}

.fadein.delay-4 {
  transition-delay: 0.3s;
}

.fadein.delay-5 {
  transition-delay: 0.4s;
}

.fadein.delay-6 {
  transition-delay: 0.5s;
}

/* ✨ Bootstrap Carousel Smooth FadeIn / FadeOut */
.carousel-fade .carousel-inner {
  position: relative;
  background-color: #000;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* 表示中のアイテムにだけ透過解除・上に重ねる */
.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

/* 前後アニメーション中も同様の効果にする */
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.carousel-item img {
  transition: opacity 1.5s ease-in-out;
}

#features p {
  max-width: 220px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
}
#features h4.hover-effect {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
}
#features h4.hover-effect:hover {
  transform: translateY(-3px) scale(1.05);
  color: #b47c4d;
}
@media (max-width: 1000px) {
  #features p {
    font-size: 14px !important;
  }
  #features h4 {
    font-size: 20px !important;
  }
}

.concept-section {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}
.concept-section .section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 40px;
}
.concept-section .concept-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.concept-section .concept-image {
  flex: 1;
  min-width: 320px;
}
.concept-section .concept-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.concept-section .concept-image .concept-caption {
  font-size: 0.95rem;
  margin-top: 10px;
  text-align: left;
}
.concept-section .concept-points {
  flex: 1;
  min-width: 320px;
}
.concept-section .concept-points .point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
  text-align: left;
}
.concept-section .concept-points .point .concept-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-top: 4px;
  flex-shrink: 0;
}
.concept-section .concept-points .point h4 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.concept-section .concept-points .point p {
  margin: 0;
  font-size: 0.95rem;
}

#inquiries, #inquiry, #answer {
  padding: 100px;
}

@media (max-width: 768px) {
  #inquiries, #inquiry, #answer {
    padding: 100px 20px;
  }
}
@media (max-width: 500px) {
  #inquiries, #inquiry, #answer {
    font-size: 10px;
  }
}
#admin {
  padding: 100px 0;
}

@media (max-width: 768px) {
  #admin {
    padding: 100px 20px;
  }
}
body {
  font-family: "メイリオ", "Meiryo", sans-serif !important;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

section {
  padding: 100px 0;
}

/* スライダーには余白を入れない */
#slider {
  margin-top: 0;
}

#law,
#privacy,
#terms {
  margin-top: 100px;
}
#law h2.title,
#privacy h2.title,
#terms h2.title {
  text-align: center;
  padding-bottom: 50px;
}

@media (max-width: 576px) {
  #law table {
    font-size: 0.8rem;
  }
}
