:root {
	--sq-color-primary: rgb(46, 78, 128);
}
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap");
* {
  box-sizing: border-box;
}


html {
  font-size: calc(100vw / 1600 * 100);
}
@media (max-width: 768px) {
  html {
    font-size: calc(100vw / 768 * 100);
  }
}

body {
  min-height: 100vh;
  padding: 0.5rem;
  font-size: 0.2rem;
  background-color: #e6f0f7;
}

.main-title {
  margin-bottom: 0.5rem;
  text-align: center;
  font-family: "Abril Fatface", cursive;
  font-size: 0.32rem;
  color: var(--sq-color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-title:before, .main-title:after {
  content: "";
  display: block;
  margin: 0 0.2rem;
  flex: 1;
  border-bottom: 1px solid var(--sq-color-primary);
}

.wrapper {
  width: 7rem;
  margin: auto;
  font-family: "Source Sans Pro", sans-serif;
}
@media (max-width: 768px) {
  .wrapper {
    width: auto;
    padding: 0 0.3rem;
  }
}

input[type=radio] {
  display: none;
}
input[type=radio]:checked + .item .title {
  color: #fff;
  border-color: var(--sq-color-primary);
  background-color: var(--sq-color-primary);
}
input[type=radio]:checked + .item .title:after {
  transform: rotate(180deg);
}
input[type=radio]:checked + .item .content {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  height: auto;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s, opacity 0.7s;
}

.item {
  display: block;
  margin-bottom: 0.1rem;
}

.title {
  padding: 0.1rem 0.3rem;
  border-radius: 0.3rem;
  color: var(--sq-color-primary);
  border: 1px solid;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.title:after {
  content: "▼";
  display: inline-block;
  font-size: 12px;
}

.content {
  width: 95%;
  margin: 0 auto;
  padding: 0 0.3rem;
  line-height: 1.6;
  color: var(--sq-color-primary);
  border: 1px solid;
  border-width: 0 1px;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}