.topic-conversation__header {
  display: flex;
  justify-content: center;
  background-color: #241a19;
}

section:not(:first-of-type) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 1.5rem auto;
  padding: 3rem 0;
}

section:nth-child(2n + 1) {
  background-color: #ffffff;
}

section:last-of-type {
  margin-bottom: 0;
}

.topic-conversation__cta-title {
  margin-top: 0;
  padding: 1rem 2rem;
  font-size: 2rem;
  font-weight: 900;
}

.topic-conversation__title {
  margin-top: 0;
  padding: 1rem 2rem;
  color: #fff;
  background: #27aedf;
  -webkit-box-shadow: 5px 5px 0 #004d66;
  box-shadow: 5px 5px 0 #004d66;
  font-size: 2rem;
  font-weight: 900;
  width: 100%;
  max-width: 60rem;
}

.topic-conversation__sub-title {
  background: linear-gradient(transparent 60%, #ffff66 60%);
  font-size: 1.5rem;
  font-weight: bold;
  display: inline;
  width: fit-content;
  margin-top: 0;
}

.topic-conversation__content {
  padding: 0 1rem;
  max-width: 60rem;
}

.topic-conversation__content > span {
  font-size: 1rem;
}

.topic-conversation__content > div {
  display: flex;
  margin-top: 1rem;
}

.topic-conversation__box {
  margin: 2em 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  width: 50%;
}
.topic-conversation__box:first-child {
  margin-right: 0.5rem;
}
.topic-conversation__box:last-child {
  margin-left: 0.5rem;
}

.topic-conversation__box .topic-conversation__box-title > h4 {
  font-size: 1.5rem;
  font-weight: bold;
  background: #4c4948;
  padding: 0.5rem;
  text-align: center;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
  border-radius: 6px 6px 0 0;
}

.topic-conversation__box-description {
  padding: 1rem;
}

.topic-conversation__box-description > span {
  margin: 0;
  font-size: 1rem;
}

.tab-contents > div {
  margin-bottom: 1.5rem;
}
.tab-contents > div > div {
  padding: 0 1rem 1rem 1rem;
}

.tab-contents > div > div > span,
.tab-contents > div > div > ul {
  font-size: 1rem;
}
.tab-contents > div > div > ul {
  margin-top: 0;
}

.tab-contents > div > h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 1rem;
}

.tab-contents > div > h5 {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 1rem;
}

.tab-contents > div > img {
  width: 100%;
  padding: 0 1rem;
}

.tab-contents > div > span {
  font-size: 0.875rem;
  padding: 0 1rem;
}

.tab {
  max-width: 67.5rem;
  margin: 0 auto;
  margin-top: 1rem;
  flex-direction: column;
  justify-content: center;
  gap: 0 !important;
}

.tab-list {
  display: flex;
  padding: 0 12.5%;
  margin-top: 1rem;
}

.tab-list-item {
  width: 33%;
  text-align: center;
  cursor: pointer;
  border: none;
  background-color: #fff;
}

.tab-list-item > span {
  font-size: 1rem;
  width: 140px;
  display: block;
  margin: 0 auto;
  border: 1px solid #4c4948;
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}
.tab-list-item.is-btn-active > span {
  font-size: 1rem;
  background: #27aedf;
  color: #fff;
  border: 1px solid #27aedf;
  border-bottom: none;
}

.tab-list-item > picture > img {
  filter: contrast(0.4);
  transition: 0.2s ease;
}

.is-btn-active > picture > img {
  filter: contrast(1);
}

.tab-contents-wrap {
  border: 1px solid #27aedf;
}

.tab-contents {
  display: none;
  padding: 20px;
}

.tab-img {
  width: 100%;
  filter: drop-shadow(2px 2px 4px #000000);
}

.is-btn-active {
  opacity: 1;
  transition: 0.3s ease;
  margin-bottom: 1rem;
}

.is-contents-active {
  display: block;
}

table {
  width: auto;
  border-spacing: 0;
  font-size: 14px;
}
table th {
  padding: 8px 1rem;
  font-weight: bold;
  border-left: 1px solid #258;
  border-top: 1px solid #258;
  border-bottom: 1px solid #258;
  line-height: 120%;
  text-align: center;
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
}
table th:nth-child(1) {
  border-top: none;
  border-left: none;
  background-color: #fff;
}
table th:nth-child(2) {
  background-color: #d6dce4;
}
table th:nth-child(3) {
  background-color: #fce4d6;
}
table th:nth-child(4) {
  background-color: #ffe699;
}
table th:nth-child(5) {
  background-color: #b4c6e7;
}
table th:nth-child(6) {
  background-color: #c6e0b4;
}
table th:first-child {
  border-radius: 5px 0 0 0;
}
table th:last-child {
  border-radius: 0 5px 0 0;
  border-right: 1px solid #258;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1),
    0px 1px 1px rgba(255, 255, 255, 0.3) inset;
}

table tr td {
  padding: 8px 1rem;
  border-bottom: 1px solid #84b2e0;
  border-left: 1px solid #84b2e0;
  text-align: center;
}
table tr td:last-child {
  border-right: 1px solid #84b2e0;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
}

table tr:nth-child(1n + 1) {
  background: #fff;
}

table tr:nth-child(2n + 1) {
  background: #f1f6fc;
}

tbody tr:first-child {
  background: #898889;
  color: #fff;
}
tbody tr:first-child > td {
  padding: 0.25rem 1rem;
}

table tr:last-child td {
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
}
table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}
table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

.topic-conversation__content > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.topic-conversation__content > div > dl {
  width: 50%;
}

.topic-conversation__content > div > dl > dt {
  padding: 10px 10px 10px 35px;
  border-radius: 5px;
  text-indent: -25px;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: bold;
}

.topic-conversation__content > div > dl > dt:before {
  content: "Q.";
  font-weight: bold;
  margin-right: 7px;
}

.topic-conversation__content > div > dl > dd {
  margin: 0.5rem;
  font-size: 1rem;
}
#modal-container {
  display: none;
}
#modal-container > div {
  display: none;
}
.line-break {
  display: none;
}

@media screen and (max-width: 767px) {
  .topic-conversation__header > img {
    width: 100%;
  }

  .topic-conversation__title {
    font-size: 1.75rem;
  }
  .topic-conversation__sub-title {
    font-size: 1.25rem;
  }

  section:not(:first-of-type) {
    padding: 1.5rem 1rem;
  }

  .topic-conversation__content {
    width: 100%;
  }

  .tab-list {
    width: 100%;
  }

  .tab-list-item,
  .tab-list-item > span {
    width: 100px;
  }

  .tab-list-item > picture > img {
    width: 100%;
  }

  .table-wrapper {
    width: 100%;
    overflow-x: scroll;
  }
  .table-wrapper::-webkit-scrollbar {
    background: #fff;
    border-radius: 5px;
    height: 4px;
    border: 1px solid #000;
  }
  .table-wrapper::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 5px;
  }
}

@media screen and (max-width: 480px) {
  .topic-conversation__title {
    font-size: 1.5rem;
  }
  .topic-conversation__content {
    padding: 0 0.5rem;
  }

  .topic-conversation__content > div {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .topic-conversation__content > div > dl {
    width: 100%;
  }

  .topic-conversation__content > div > dl > dt {
    padding: 10px 0 10px 26px;
    font-size: 1.125rem;
  }

  .topic-conversation__sub-title {
    display: inline;
  }

  .line-break {
    display: block;
  }

  .topic-conversation__box {
    width: 100%;
  }
  .topic-conversation__box:first-child,
  .topic-conversation__box:last-child {
    margin: 2em 0;
  }
  .tab-list {
    padding: 0;
  }
  .tab-list-item {
    margin: 0 auto;
    padding:0;
  }
  .tab-contents-wrap {
    width: 100%;
  }
  .tab-contents > div > h4,
  .topic-conversation__box .topic-conversation__box-title > h4 {
    font-size: 1.25rem;
  }
  #modal-container {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
  }

  #modal-container > div {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
  }

  #modal-container > div > img {
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
  }

  img.is-img-active {
    cursor: pointer;
  }

  .topic-conversation__cta-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
