/* =========================
   BASE
========================= */
html {
  scrollbar-width: auto;
  scrollbar-color: var(--base) #fcfcfc;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-base);
  background-image: url("../../img/common/background.jpg");
  background-repeat: repeat-y;
  background-size: 100dvw;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

main {
  flex-grow: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: none;
  z-index: 100;
  color: var(--text-bg-white);
  height: 63px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1100px;
  width: 90vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: calc(1.4rem + 18px);
}

.sns-links {
  padding: 12px 0;
}

.sns-links a {
  margin-left: 12px;
  font-size: 1.4rem;
  transition: 0.2s;
}

.sns-links a:hover {
  color: var(--base);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  color: var(--text-bg-base);
  background: #f7f7f7;
  border-top: 1px solid #e0e0e0;
  padding: 64px 0 48px 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
}

.footer-columns {
  column-count: 4;
  column-width: 10em;
  column-gap: 32px;
  margin-bottom: 48px;
}

.footer-column {
  break-inside: avoid;
  margin-bottom: 20px;
}

.footer-column h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-bg-white);
  margin: 0 0 14px 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  font-size: 12px;
  margin-bottom: 10px;
}

.footer-column a {
  font-size: 14px;
  color: var(--text-bg-white);
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: var(--base);
  text-decoration: underline;
}

.footer-column li:last-child {
  margin-bottom: 0;
}

/* フッター下段の利用規約 */
.footer-bottom {
  padding: 32px 10px 0 10px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-policy-link {
  color: var(--text-bg-white);
  transition: color 0.2s ease;
}

.footer-policy-link:hover {
  color: var(--base);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.footer-bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  font-size: 12px;
}

/* タブレット以下では2カラム */
@media (max-width: 768px) {
  .footer-columns {
    column-gap: 24px;
    margin-bottom: 32px;
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    padding-top: 24px;
  }
}

/* スマートフォンでも2カラム */
@media (max-width: 480px) {
  .footer-columns {
    margin-bottom: 24px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-column h3 {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .footer-column a {
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 20px;
  }
}

/* =========================
   BUTTON
========================= */
.pri-btn-wrapper {
  text-align: center;
  margin-top: 20px;
}

.pri-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--base);
  color: var(--text-bg-base);
  border-radius: 6px;
  font-weight: 700;
  transition: 0.2s;
}

.pri-btn:hover {
  background: var(--accent);
}

.sec-btn-wrapper {
  text-align: center;
  margin-top: 24px;
}

.sec-btn {
  padding: 12px 32px;
  border: 2px solid var(--base);
  background: var(--bg-overlap);
  color: var(--base);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.sec-btn:hover {
  background: var(--base);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 197, 187, 0.3);
}
