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

/* Animation Styles */
@keyframes anim-1-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}
.anim-1 {
  animation: anim-1-float 3s ease-in-out infinite;
}

/* Section Content */
/* Section 5, Section 23 */
#section-5 .accordion,
#section-23 .accordion {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

#section-5 .accordion-header,
#section-23 .accordion-header {
  display: flex;
  align-items: center;
  position: relative;
  padding: 1.625rem 1.5rem 1.625rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s;
  background-color: #b19d80;
}

#section-5 .accordion-header::-webkit-details-marker,
#section-23 .accordion-header::-webkit-details-marker {
  display: none;
}

#section-5 .accordion-title,
#section-23 .accordion-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.04em;
  flex: 1;
  text-align: center;
}

#section-5 .accordion-icon,
#section-23 .accordion-icon {
  position: absolute;
  right: 2.125rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

#section-5 .accordion[open] .accordion-icon,
#section-23 .accordion[open] .accordion-icon {
  transform: translateY(-50%) rotate(180deg);
}

#section-5 .accordion-icon svg,
#section-23 .accordion-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

#section-5 .accordion-icon path,
#section-23 .accordion-icon path {
  stroke-width: 2;
}

#section-5 .accordion-body,
#section-23 .accordion-body {
  padding: 2.5rem 2.5rem 3.75rem 2.5rem;
  font-size: 1.4375rem;
  font-weight: normal;
  line-height: 1.58;
  color: #444;
  letter-spacing: 0.06em;
  background-color: #fbf6f4;
}

#section-5 .accordion-body-heading,
#section-23 .accordion-body-heading {
  font-size: 1.625rem;
  font-weight: bold;
  color: #333333;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
  margin-bottom: 1.5625rem;
}

#section-5 .accordion-body p,
#section-23 .accordion-body p {
  margin: 0;
}

#section-5 .accordion-body a,
#section-23 .accordion-body a {
  color: #4f46e5;
  text-decoration: none;
}

#section-5 .accordion-body a:hover,
#section-23 .accordion-body a:hover {
  color: #3f38b7;
}

#section-5 .accordion-divider,
#section-23 .accordion-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0.75rem 0 0.75rem 0;
  width: 100%;
}

#section-5 .accordion-anchor,
#section-23 .accordion-anchor {
  display: block;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

#section-5 .accordion-body > p + .accordion-body-heading,
#section-23 .accordion-body > p + .accordion-body-heading {
  margin-top: 2.125rem;
}

#section-5 .accordion-body > p + p,
#section-23 .accordion-body > p + p {
  margin-top: 2.125rem;
}

/* Element Layout */
#el-3-1 {
  position: absolute;
  top: 74.8%;
  left: 10%;
  width: 80%;
}

#el-4-1 {
  position: absolute;
  top: 68.38%;
  left: 10%;
  width: 80%;
}

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

#el-21-1 {
  position: absolute;
  top: 74.82%;
  left: 10%;
  width: 80%;
}

#el-22-1 {
  position: absolute;
  top: 68.32%;
  left: 10%;
  width: 80%;
}

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

#section-5,
#section-23 {
  min-height: 6.25rem;
  background-color: #ffffff;
  padding: 0 3.125rem 3.125rem 3.125rem;
}

#section-28 {
  min-height: 6.25rem;
  background-color: #ffffff;
}

/* Footer */
#site-footer {
  background-color: #d9706f;
  color: #333;
  text-align: center;
  padding: 5rem 5.625rem 5rem 5.625rem;
  border-top: 1px solid #e5e5e5;
}

#site-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.625rem;
  margin-bottom: 0.625rem;
  justify-content: flex-start;
}

#site-footer .footer-links a {
  font-size: 1.625rem;
  color: #ffffff;
  text-decoration: none;
  text-align: left;
}

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

#site-footer .footer-copy {
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff;
  margin-top: 5rem;
}
