@charset "UTF-8";

section {
  padding: 50px 0;
  scroll-margin-top: 78px;
}
.title_section {
  margin: 0 auto 30px;
}

/*
HERO
================================================ */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #7792AA;
}
.hero img {
  width: 506px;
}

/*
ABOUT
================================================ */
#about .title_section {
  width: 166px;
}
#about .about__description {
  margin: 0 auto 24px;
  width: fit-content;
  line-height: 2;
}
#about .l-table {
  margin: 0 auto;
  padding: 10px 20px;
  border: 2px solid #14426E;
  max-width: 750px;
}
#about .l-table table {
  width: 100%;
}
#about .l-table tr:not(:last-of-type) {
  border-bottom: 1px solid #D1D1D1;
}
#about .l-table th,
#about .l-table td {
  padding: 20px;
  line-height: 1.7;
}
#about .l-table th {
  color: #14426E;
  font-weight: 700;
  vertical-align: middle;
}
#about .l-table td {
  text-align: center;
}

/*
THEME
================================================ */
#thema {
  background: #E8F5FF;
}
#thema .title_section {
  width: 192px;
}
#thema .thema__description {
  margin: 0 auto 34px;
  width: fit-content;
  line-height: 2;
}
#thema dl {
  background-color: #FFF;
  padding: 25px;
}
#thema dl .category {
  display: flex;
  font-size: 1.4rem;
}
#thema dl .category dt {
  font-weight: 700;
  width: 8em;
}
#thema dl .category dd {
  flex: 1;
}
#thema dl div + div {
  margin-top: 25px;
  padding-top: 25px;
  border-top: solid 1px #D1D1D1;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8em 2em;
}
.category-list .category-label {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  cursor: pointer;
}
.category-list .category-label::before,
.category-list .category-label.active::after {
  content: '';
}
.category-list .category-label::before {
  width: 16px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #cecece;
}
.category-list .category-label.active::before {
  background-color: #0082CA;
}
.category-list .category-label.active::after {
  position: absolute;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}
.category-list input {
  display: none;
}
.thema__note {
  margin: 16px auto 0;
  width: fit-content;
  font-size: 1.4rem;
  line-height: 2;
}
.thema__note li {
  margin-left: 1em;
  text-indent: -1em;
}
.thema__note li::before {
  content: '※';
}

.thema__note a {
  color: #0082CA;
  text-decoration: underline;
}

#thema .search-reset {
  margin-top: 1em;
  text-align: center;
}
#thema .search-reset button {
  padding: 6px 20px;
  font-weight: bold;
  border: 2px solid #14426E;
  background: #fff;
  cursor: pointer;
}

/*
RESULT
================================================ */
#result .list_result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-wrap: wrap;
  gap: 20px;
}
#result .list_result li a {
  display: block;
}
#result .list_result li.box-navy {
  background-color: #D4DBED;
  border: solid 2px #294BA6;
}
#result .list_result li.box-purple {
  background-color: #EBDBEF;
  border: solid 2px #9D4CB1;
}
#result .list_result li.box-blue {
  background-color: #D0EBF7;
  border: solid 2px #169DD9;
}
#result .list_result li.box-gray {
  background-color: #E4E4E4;
  border: solid 2px #767676;
}
#result .list_result li a .thema-number {
  padding: 8px 10px;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}
#result .list_result li.box-navy a .thema-number {
  background-color: #294BA6;
}
#result .list_result li.box-purple a .thema-number {
  background-color: #9D4CB1;
}
#result .list_result li.box-blue a .thema-number {
  background-color: #169DD9;
}
#result .list_result li.box-gray a .thema-number {
  background-color: #767676;
}
#result .list_result li a .thema-name {
  display: block;
  padding: 10px;
  font-weight: 700;
  line-height: 1.5;
}

/* タグ */
#result .tag {
  display: flex;
  gap: 6px;
  margin: 0 10px 10px;
}
#result .tag span {
  padding: 4px 6px;
  font-size: 1.3rem;
  line-height: 1.3;
  background: #fff;
}

/*
CONTACT
================================================ */
#contact {
  text-align: center;
  background: #E8F5FF;
}
#contact .title_section {
  width: 216px;
}

/* モーダル */
.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.theme-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.theme-modal__inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 90%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}
.theme-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.theme-modal__iframe-wrap {
  width: 100%;
  height: 100%;
}
.theme-modal__iframe-wrap iframe {
  width: 100%;
  height: 100%;
}
body.modal-open {
  overflow: hidden;
}

#contact .contact__person {
  margin-bottom: 50px;
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 2;
}
#contact .contact__text {
  margin-bottom: 20px;
  line-height: 1.5;
}
#contact .contact__link-title {
  margin-bottom: 40px;
  color: #14426E;
  font-weight: 700;
}
#contact .contact__link {
  display: block;
  padding: 30px 0 40px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: #14426E;
}
#contact .target {
  display: block;
  margin-bottom: 20px;
  padding: 10px;
  font-size: 2.0rem;
  color: #fff;
  background: #0082ca;
  transition: all .3s;
}
#contact .target:hover {
  background: rgba(0,130,202, 0.60);
}
#contact .event {
  margin: 0 auto;
  width: 374px;
}