/* Responsive scaling */
html {
  font-size: clamp(8px, calc(100vw / 750 * 16), 16px);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

a.floating-element:hover,
a.sticky-cta-button:hover,
.accordion-body a:hover {
  opacity: 1;
}

/* Layout */
.page-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

section {
  position: relative;
}

.floating-element {
  display: block;
  transition: opacity 0.3s ease;
}

.blank-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.blank-section .floating-element {
  position: relative;
}

.anchor-hidden {
  display: block;
  height: 0;
  overflow: hidden;
}

/* Element Layout */
#el-6-1 {
  position: absolute;
  top: 2.89%;
  left: 6.67%;
  width: 86.67%;
}

#el-6-2 {
  position: absolute;
  top: 78.67%;
  left: 12%;
  width: 76%;
}

#el-12-1 {
  position: absolute;
  top: 3.3%;
  left: 6.67%;
  width: 86.67%;
}

#el-12-2 {
  position: absolute;
  top: 78.35%;
  left: 12%;
  width: 76%;
}


/* Footer */
#site-footer {
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 1.75rem 1.25rem 1.25rem;
}

#site-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-bottom: 0.875rem;
}

#site-footer .footer-links a {
  font-size: 0.8rem;
  text-decoration: underline;
}

#site-footer .footer-links a:hover {
  opacity: 0.7;

}

#site-footer .footer-copy {
  font-size: 0.8rem;
  margin: 0;
}
