/* ヘッダー */
.header {
  background-color: #ffffff;
  height: 6.25rem;
  min-height: 6.25rem;
  max-height: 6.25rem;
  width: 100%;
  /* position: fixed;*/
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 100vw;
  height: 100%;
  min-height: 6.25rem;
  max-height: 6.25rem;
  margin: 0 auto;
  padding: 0 6.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.text-logo:hover {
  color: #666;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  height: 100%;
}

/* マイページボタンのスタイル */
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2c3e50;
  color: #ffffff;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 1.875rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  height: 2.5rem;
  min-width: 6.25rem;
}

.nav-link:hover {
  background-color: #354b60; /* ホバー時の色を少し明るく */
  color: #ffffff;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  html {
    font-size: 12px;
  }
  .navbar {
    padding: 0 1.25rem;
  }

  .text-logo {
    font-size: 1.2rem;
  }
  .nav-link {
    border-radius: 1.875rem;
    height: 2.8rem;
    min-width: 3.75rem;
    padding: 0.625rem 0.875rem;
  }
  .nav-link {
    font-size: 1rem;
  }
}

/* フッター */
.footer {
  background-color: #ffffff;
  height: auto;
  width: 100%;
  margin-top: 3.125rem;
  padding: 5rem 0;
  box-shadow: 0 -0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

.footer-content {
  max-width: 80vw;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* フッター上部ブロック */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex: 1;
  margin-bottom: 1rem;
}

/* SNS紹介ブロック */
.footer-sns {
  flex: 1;
  padding-right: 3.75rem;
}

.footer-sns-main-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
}

.sns-links {
  display: flex;
  gap: 1.25rem;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.sns-link:hover {
  transform: scale(1.05);
}

.sns-icon {
  width: 1.875rem;
  height: 1.875rem;
  object-fit: contain;
}

/* サイトマップブロック */
.footer-sitemap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-left: 12.5rem;
  border-left: none;
}

.sitemap-link {
  color: #000000;
  text-decoration: none;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  padding: 1.875rem 0;
  border: none;
  width: 100%;
  display: block;
  font-weight: 500;
}

.sitemap-link:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.footer-sitemap .sitemap-link:first-child {
  padding-top: 0;
}

/* フッター下部 */
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 0.0625rem solid #b8b8b8;
  text-align: center;
  color: #666;
  font-size: 0.75rem;
}

.footer-logo {
  height: 2.5rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #333;
}

.official-site-btn {
  display: inline-block;
  margin-top: 1.125rem;
  padding: 0.625rem 2rem;
  font-size: 1.125rem;
  color: #e74c3c;
  background: transparent;
  border: 0.0625rem solid #e74c3c;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
}
.official-site-btn:hover {
  background: #e65b4b;
  color: #fff;
}

@media (max-width: 900px) {
  .footer-content {
    max-width: 90vw;
    padding: 0 1rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
  }

  .footer-sns-main-title {
    font-size: 1.5rem;
    text-align: left;
  }

  .footer-sns,
  .footer-sitemap {
    align-items: flex-start !important;
    text-align: left;
    width: 100%;
    padding: 0;
    border: none;
  }
  .footer-sns .sns-links {
    justify-content: flex-start;
    align-items: center;
    height: 4rem;
  }

  .sns-link {
    width: 4rem;
    height: 4rem;
  }

  .sns-icon {
    width: 65%;
    height: 65%;
    object-fit: cover;
  }

  .footer-sitemap {
    margin-top: 2.5rem;
  }
  .footer-bottom {
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

/* === ボタンのdisabled時スタイル追加 === */
.btn[disabled],
.btn:disabled,
.btn-primary[disabled],
.btn-primary:disabled {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
  border: none !important;
  opacity: 1 !important;
  pointer-events: none;
}
.btn[disabled]:hover,
.btn:disabled:hover,
.btn-primary[disabled]:hover,
.btn-primary:disabled:hover {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
}

.breadcrumb {
  background: #fff;
  padding: 0.8em 2.5em 0.8em 6.25rem;
  font-size: 1em;
  color: #666;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #333;
  text-decoration: underline;
}
.breadcrumb i {
  color: #e74c3c;
  margin-right: 0.3em;
}

@media (max-width: 900px) {
  .breadcrumb {
    padding: 0.8em 1.25rem 0.8em 1.25rem;
  }
}
