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

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

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

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

#section-23 .accordion-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

#section-23 .accordion-title {
  font-size: 1.75rem;
  font-weight: normal;
  color: #222;
  letter-spacing: 0.02em;
  text-align: center;
}

#section-23 .accordion-icon {
  display: flex;
  align-items: center;
  color: #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}


#section-23 .accordion-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

#section-23 .accordion-icon path {
  stroke-width: 2.5;
}

#section-23 .accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.9;
  color: #444;
  background-color: #ffffff;
}

#section-23 .accordion-body-heading {
  font-size: 1.5rem;
  font-weight: normal;
  color: #333333;
  margin: 0 0 0.5rem 0;
}

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

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

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

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

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

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

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

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


#section-35 .accordion-button,
#section-46 .accordion-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

#section-35 .accordion-title,
#section-46 .accordion-title  {
  font-size: 1.75rem;
  font-weight: normal;
  color: #222;
  letter-spacing: 0.02em;
  text-align: center;
}


#section-35 .accordion-icon,
#section-46 .accordion-icon  {
  display: flex;
  align-items: center;
  color: #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.accordion-title-border {
    border-bottom: 2px solid #222;
}


#section-35 .accordion-icon svg,
#section-46 .accordion-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

#section-35 .accordion-icon path,
#section-46 .accordion-icon path {
  stroke-width: 2.5;
}

#section-35 .accordion-body,
#section-46 .accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.9;
  color: #444;
  background-color: #ffffff;
}

#section-35 .accordion-body-heading,
#section-46 .accordion-body-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333333;
  margin: 0 0 0.5rem 0;
}

#section-35 .accordion-body p,
#section-46 .accordion-body p {
  margin: 0;
}

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

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

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

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

/* Element Layout */
#el-21-1,
#el-33-1 {
  position: absolute;
  top: 77.36%;
  left: 11.67%;
  width: 76.67%;
}

#el-22-1 {
  position: absolute;
  top: 79.68%;
  left: 11.67%;
  width: 76.67%;
}

#el-34-1 {
  position: absolute;
  top: 84.88%;
  left: 11.67%;
  width: 76.67%;
}

#el-44-1 {
  position: absolute;
  top: 77.62%;
  left: 11.67%;
  width: 76.67%;
}

#el-45-1 {
  position: absolute;
  top: 85.37%;
  left: 11.67%;
  width: 76.67%;
}

#section-23,
#section-35,
#section-46 {
  min-height: 6.25rem;
  background-color: #ffffff;
  padding:60px 1.25rem;
}

.component-box {
margin: 30px 0;
}

.component-title {
    font-size: 1.75rem;
    font-weight: normal;
    color: #222;
    letter-spacing: 0.02em;
    text-align: center;
}

.component-text{
  margin-top: 30px;
}

.component-text-sub {
  display: block;
  margin-bottom: 15px;
}

/* Footer */
#site-footer {
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 1.25rem 1.25rem 3.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: 1.125rem;
  color: #555;
  text-decoration: none;
}

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

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

/* Sticky CTA */
#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  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 75%;
  max-width: 75%;
  display: block;
}

#sticky-cta .sticky-cta-button img {
  width: 100%;
  height: auto;
  display: block;
  animation: zoom 2s ease-in-out infinite;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


