@charset "UTF-8";

.rinsetsu {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .rinsetsu {
    padding: 6rem 0;
  }
}

.rinsetsu__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .rinsetsu__body {
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
  }
}

.rinsetsu__text {
  flex: 1;
  color: #000000;
}

.rinsetsu__subtitle {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .rinsetsu__subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
  }
}

.rinsetsu__lead {
  font-size: 1.6rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .rinsetsu__lead {
    font-size: 1.4rem;
  }
}

.rinsetsu__image {
  flex: 0 0 40%;
  max-width: 400px;
}

@media (max-width: 768px) {
  .rinsetsu__image {
    width: 100%;
    max-width: 100%;
  }
}

.rinsetsu__image img {
  width: 100%;
  height: auto;
  display: block;
}

.accordion-section {
  padding: 10rem 0;
}

@media (max-width: 768px) {
  .accordion-section {
    padding: 6rem 0;
  }
}

.accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion__item {
  border-top: 1px solid #015184;
}

.accordion__item:last-child {
  border-bottom: 1px solid #015184;
}

.accordion__title {
  width: 100%;
  padding: 3rem 0;
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
  background: #fff;
  border: none;
  cursor: pointer;
  position: relative;
}

@media (max-width: 768px) {
  .accordion__title {
    font-size: 1.6rem;
    padding: 2.5rem 0;
  }
}

.accordion__title::after {
  content: "▼";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.accordion__title.is-open::after {
  content: "▲";
}

.accordion .accordion__content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1rem;
  background-color: #fff;
  transition: height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}

.accordion .accordion__content.is-open {
  opacity: 1;
  padding-bottom: 0;
}

.accordion .accordion__content p {
  padding: 3rem 3rem 3rem 6rem;
  font-size: 1.6rem;
  line-height: 1.7;
  border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .accordion .accordion__content p {
    padding: 3rem 0;
    font-size: 1.4rem;
  }
}