/* 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-3-1 {
  position: absolute;
  top: 82.52%;
  left: 8.2%;
  width: 83.6%;
}

#el-17-1 {
  position: absolute;
  top: 82.99%;
  left: 8.2%;
  width: 83.6%;
}

#el-41-1 {
  position: absolute;
  top: 83.53%;
  left: 8.2%;
  width: 83.6%;
}

/* Footer */
#site-footer {
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 30px 0 0;
  border-top: 1px solid #e5e5e5;
}

#site-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 30px;
}

#site-footer .footer-links a {
  font-size: 1rem;
  color: #555;
  text-decoration: underline;
  line-height: 1.5;
}

#site-footer .footer-links a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

#site-footer .footer-copy {
  font-size: 1rem;
  margin:0;
  background: #5aa2bb;
  color: #ffffff;
  padding: 30px 0;
}

/* Sticky CTA */
#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 752px;
  z-index: 9999;
  background-color: transparent;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

#sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#sticky-cta .sticky-cta-button {
  flex: 1 1 100%;
  max-width: 100%;
  display: block;

}

#sticky-cta .sticky-cta-button img {
  width: 100%;
  max-width: 752px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.image-wrap {
  position: relative;
}

.image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.link-area {
  position: absolute;
  left: 53.47%;
  bottom: 24.42%;
  width: 8.27%;
  aspect-ratio: 62 / 30;
}

.link-areatop{
  position: absolute;
  left: 53.47%;
  bottom: 24.42%;
  width: 8.27%;
  aspect-ratio: 62 / 30;
}