@charset "UTF-8";
@font-face {
  font-family: "Hiragino Sans";
  src: local(HiraginoSans-W8);
  font-weight: 800;
}
.news {
  margin: 100px auto;
}

.news-box {
  width: 700px;
  height: 315px;
  margin: 0px auto;
  overflow-y: scroll;
  max-width: 90%;
}
.news-box ul {
  list-style: none;
}
.news-box ul li {
  margin-bottom: 20px;
  border-bottom: solid 1px #666666;
  font-size: 18px;
  padding: 7px 5%;
}
.news-box ul li span {
  margin-right: 20px;
}
.news-box a .left {
  display: inline;
  padding-right: 5px;
}
.news-box a .right {
  display: inline;
}

h2 {
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;
}

.top-box {
  position: relative;
}
.top-box .title {
  width: 90%;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.top-box .title h1 {
  font-size: 50px;
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  line-height: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}
.top-box .title h1 span {
  font-size: 20px;
}
.top-box img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.question-box {
  background: #f4fafe;
  padding: 50px 0 100px 0;
}
.question-box h3 {
  text-align: center;
  font-size: 25px;
  padding-bottom: 30px;
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
}

.middle-box {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  line-height: 170%;
  width: 700px;
  padding: 50px 0;
}

.toggle-button {
  padding: 10px 20px;
  margin: 0 5px;
  background-color: white;
  border: 2px solid #004da1;
  cursor: pointer;
  transition: background-color 0.3s;
  color: #004da1;
  border-radius: 10px;
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}

.toggle-button.active {
  background-color: #004da1;
  color: white;
}

.content-container {
  text-align: center;
}

.content {
  display: none;
}

.content.active {
  display: block;
}

.content {
  width: 700px;
  max-width: 90%;
  margin: 0 auto;
}
.content h4 {
  color: #004da1;
  text-align: left;
  font-size: 25px;
  margin-top: 40px;
}

details {
  width: 100%;
  margin: 30px auto;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}
details hr {
  border-top: solid 2px #e6e6e6;
  width: 90%;
  margin: 0 auto;
}
details p {
  padding: 10px 30px 10px 30px;
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  padding-top: 15px;
  padding-bottom: 40px;
  padding-left: 100px;
  padding-right: 80px;
}

.img-box {
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  font-size: 35px;
  padding-right: 20px;
  color: #004da1;
}

details {
  background: white;
}

details summary {
  width: 700px;
  max-width: 100%;
  padding: 10px 10px 10px 30px;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

details summary::-webkit-details-marker {
  display: none;
}

.d-title {
  flex-grow: 1;
  position: relative;
  display: inline;
  padding-left: 10px;
  width: calc(100% - 50px);
  font-weight: 600;
  text-align: left;
  font-size: 18px;
}

.plus {
  width: 50px;
  height: auto;
  position: relative;
  box-sizing: content-box;
}

details summary .plus::after {
  position: absolute;
  content: "+";
  display: flex;
  line-height: 100%;
  font-size: 30px;
  align-items: center;
  justify-content: center;
  padding-bottom: 6px;
  width: 34px;
  height: 28px;
  background: #004da1;
  font-weight: 800;
  margin-left: 10px;
  color: white;
  bottom: -15px;
  border-radius: 50%;
}

/**
   * アコーディオンがオープン時はマイナスアイコンに変更
  **/
details[open] summary .plus::after {
  content: "ー";
  padding-bottom: 3px;
  padding-top: 3px;
}

details[open] {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
details[open] summary {
  box-shadow: none;
}

section.q-link {
  margin: 50px 0 100px 0;
}
section.q-link .link-box {
  max-width: 90%;
  width: 500px;
  margin: 0 auto;
}
section.q-link .link-box p {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 700px) {
  .top-box .title h1 {
    font-size: 32px;
  }
  .top-box .title h1 span {
    font-size: 18px;
  }
  .top-box img {
    -o-object-position: 30% center;
       object-position: 30% center;
  }
  .middle-box h2 {
    font-size: 23px;
  }
  .question-box {
    padding: 50px 0 70px 0;
  }
  .question-box h3 {
    font-size: 23px;
  }
  .toggle-button {
    margin-bottom: 15px;
  }
  .img-box {
    padding-right: 0px;
  }
  details summary {
    padding: 10px 10px 10px 10px;
  }
  details p {
    padding: 10px 20px 30px 20px;
  }
  .content h4 {
    font-size: 20px;
  }
  section.q-link .link-box p {
    text-align: left;
  }
}/*# sourceMappingURL=question.css.map */