@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;
}

/* かっこいいフォント設定 */
.navbar-brand {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.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;
  }
}
#user-show .hover-pointer:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}
#user-show .text-purple {
  color: #8e44ad;
}
#user-show .sticky-top {
  position: sticky;
  top: 60px;
  /* ← ここを0から60pxなどに変更 */
  z-index: 1030;
  background-color: white;
}

#mypage .hover-pointer:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}
#mypage .text-purple {
  color: #d63384;
}
#mypage .month-selector-wrapper {
  top: 56px;
  /* navbar高さ */
  z-index: 1020;
  padding-top: 5px;
  padding-bottom: 5px;
}
#mypage .user-info-wrapper {
  top: 110px;
  /* selectorの下 */
  z-index: 1010;
}
#mypage .sticky-top {
  position: sticky;
}
#mypage .z-index-sticky {
  z-index: 1030;
}

#sales-index .month-selector-wrapper {
  position: sticky;
  top: 56px;
  /* ナビバーの高さ */
  z-index: 1020;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: white;
}
#sales-index .z-index-sticky {
  z-index: 1030;
}

.dropdown-menu-custom {
  z-index: 99999 !important;
  position: absolute !important;
}

.nav-item.dropdown {
  position: relative !important;
}

.navbar-nav .dropdown-menu {
  z-index: 99999 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
}

.navbar-logo {
  height: 32px;
  width: auto;
  max-width: 40px;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 500;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 28px;
    max-width: 35px;
  }
  .navbar-brand {
    font-size: 1.1rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
#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;
  }
}
.clickable-row:hover {
  background-color: #f8f9fa !important;
}

.incentive-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.incentive-summary-card {
  background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 100%);
  color: #2c3e50;
  border: none;
}
.incentive-summary-card .card-body {
  padding: 2rem;
}
.incentive-summary-card .summary-item {
  text-align: center;
}
.incentive-summary-card .summary-item .summary-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}
.incentive-summary-card .summary-item .summary-value {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0;
}
.incentive-summary-card .summary-item .summary-subvalue {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
}

.incentive-category-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.incentive-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.incentive-category-card .category-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.incentive-category-card .category-amount {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.incentive-category-card .category-count {
  font-size: 0.9rem;
  color: #6c757d;
}

.hierarchy-table .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9ecef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #495057;
  margin-right: 0.5rem;
}
.hierarchy-table .level-badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}
.hierarchy-table .sales-amount {
  font-weight: 600;
  color: #28a745;
}
.hierarchy-table .incentive-amount {
  font-weight: 600;
  color: #007bff;
}

.date-selector-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}
.date-selector-card .quick-select-buttons .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item {
  font-size: 0.9rem;
}
.breadcrumb-custom .breadcrumb-item.active {
  color: #6c757d;
}
.breadcrumb-custom .breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
}
.breadcrumb-custom .breadcrumb-item a:hover {
  text-decoration: underline;
}

.level-history-card .timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.level-history-card .timeline-item:before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #007bff;
  border-radius: 50%;
}
.level-history-card .timeline-item:after {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  width: 1px;
  height: calc(100% - 0.5rem);
  background: #e9ecef;
}
.level-history-card .timeline-item:last-child:after {
  display: none;
}
.level-history-card .timeline-item .timeline-date {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}
.level-history-card .timeline-item .timeline-content {
  font-size: 0.9rem;
}

.export-buttons .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}
.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-state .empty-message {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.empty-state .empty-description {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .incentive-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .incentive-summary-card .card-body {
    padding: 1.5rem;
  }
  .incentive-summary-card .summary-item {
    margin-bottom: 1.5rem;
  }
  .incentive-summary-card .summary-item:last-child {
    margin-bottom: 0;
  }
  .hierarchy-table {
    font-size: 0.9rem;
  }
  .hierarchy-table .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .export-buttons {
    text-align: center;
  }
  .export-buttons .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 576px) {
  .incentive-summary-card .summary-value {
    font-size: 1.5rem;
  }
  .incentive-summary-card .summary-subvalue {
    font-size: 1rem;
  }
  .incentive-category-card .category-amount {
    font-size: 1.3rem;
  }
}
#admin {
  padding: 100px 0;
}

@media (max-width: 768px) {
  #admin {
    padding: 100px 20px;
  }
}
.referral-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
}
.referral-link:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.admin-purchases-edit .page-header {
  margin-top: 40px;
}
.admin-purchases-edit .card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.admin-purchases-edit .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.admin-purchases-edit .form-control-lg {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
}
.admin-purchases-edit .input-group-text {
  font-weight: bold;
  background-color: #e9ecef;
}
.admin-purchases-edit .border-primary {
  border-color: #0d6efd !important;
}
@media (max-width: 768px) {
  .admin-purchases-edit .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .admin-purchases-edit .me-2 {
    margin-bottom: 0.5rem;
    margin-right: 0 !important;
  }
}

.timeline {
  position: relative;
  padding-left: 15px;
  max-width: 100%;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-left: 2px solid #dee2e6;
}
.timeline-item:last-child {
  border-left: none;
  margin-bottom: 0;
}
.timeline-item.current .timeline-content {
  background: #d4edda;
  border-left-color: #28a745;
}

.timeline-marker {
  position: absolute;
  left: -6px;
  top: 5px;
  background: white;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-content {
  margin-left: 10px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #007bff;
  text-align: center;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .edit-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem;
  }
  .edit-title {
    white-space: nowrap !important;
    font-size: 1.3rem !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
    text-align: left !important;
  }
  .edit-buttons {
    display: flex !important;
    gap: 0.75rem !important;
    width: 100%;
  }
  .edit-buttons .btn {
    flex: 1 !important;
    margin-right: 0 !important;
  }
}
/* カスタムナビゲーションバー */
.custom-navbar {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* トップページでも確実にスタイルを適用 */
body .custom-navbar,
html body .custom-navbar {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

/* ナビゲーションブランド */
.navbar-brand,
body .navbar-brand,
html body .navbar-brand {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
}

.navbar-brand:hover,
.navbar-brand:focus,
body .navbar-brand:hover,
body .navbar-brand:focus {
  color: #ffffff !important;
}

/* ナビゲーションリンク */
.navbar-nav .nav-link,
body .navbar-nav .nav-link,
html body .navbar-nav .nav-link {
  font-family: "Inter", "メイリオ", "Meiryo", sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
  transition: all 0.3s ease !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
body .navbar-nav .nav-link:hover,
body .navbar-nav .nav-link:focus {
  transform: translateY(-1px) !important;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ナビゲーションロゴ */
.navbar-logo {
  height: 40px;
  width: auto;
}

/* カスタムドロップダウンメニュー */
.custom-dropdown {
  position: relative;
}

.custom-dropdown-toggle,
body .custom-dropdown-toggle,
html body .custom-dropdown-toggle {
  cursor: pointer;
  text-decoration: none !important;
  font-family: "Inter", "メイリオ", "Meiryo", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.custom-dropdown-toggle:hover,
.custom-dropdown-toggle:focus,
body .custom-dropdown-toggle:hover,
body .custom-dropdown-toggle:focus {
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
}

.custom-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  min-width: 160px;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  /* 初期状態（非表示） */
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.custom-dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.custom-dropdown-menu li {
  margin: 0;
}

.custom-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.375rem 1rem;
  color: #212529;
  text-decoration: none;
  background-color: transparent;
  border: 0;
  transition: all 0.2s ease-in-out;
  font-family: "Inter", sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.2px !important;
}

.custom-dropdown-item:hover {
  background-color: #f8f9fa;
  color: #1e2125;
  text-decoration: none;
  transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .custom-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: #495057;
    border-radius: 0;
  }
  .custom-dropdown-item {
    color: #ffffff;
  }
  .custom-dropdown-item:hover {
    background-color: #6c757d;
    color: #ffffff;
    transform: none;
  }
}
/* ナビゲーショントグラー */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.postal-code-loading .fa-spinner {
  animation: spin 1s linear infinite;
}
.postal-code-loading small {
  font-size: 0.75rem;
  color: #6c757d !important;
}

.postal-code-error small {
  font-size: 0.75rem;
  color: #dc3545 !important;
}
.postal-code-error small .fa-exclamation-triangle {
  margin-right: 0.25rem;
}

.postal-code-input.loading {
  background-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z' fill='%236c757d'/%3e%3cpath d='M8 4c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z' fill='%236c757d'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}
.postal-code-input.success {
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.5 6.5L7 11 4.5 8.5l1-1L7 9l3.5-3.5 1 1z' fill='%23198754'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}
.postal-code-input.error {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.5 10.5L10.5 11.5 8 9l-2.5 2.5L4.5 10.5 7 8 4.5 5.5 5.5 4.5 8 7l2.5-2.5L11.5 5.5 9 8l2.5 2.5z' fill='%23dc3545'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}

.address-input.auto-filled {
  background-color: #f8f9fa;
  border-color: #198754;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 576px) {
  .postal-code-loading small,
  .postal-code-error small {
    font-size: 0.7rem;
  }
  .postal-code-input.loading, .postal-code-input.success, .postal-code-input.error {
    background-size: 14px 14px;
    padding-right: 2.25rem;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.postal-code-loading,
.postal-code-error {
  animation: fadeIn 0.3s ease-out;
}

.form-control.postal-code-input:focus.loading {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}
.form-control.postal-code-input:focus.success {
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}
.form-control.postal-code-input:focus.error {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

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;
  }
}
