body {
  font-family: 'Noto Sans JP', sans-serif;
}

header .navbar-brand div {
  line-height: 30px;
}

header .navbar-brand span {
  font-size: 0.75rem;
}

a {
  text-decoration: none;
  color: rgba(0, 113, 193, 1);
}

a:hover {
  color: inherit;
}

a.no-icon::after {
  content: "" !important;
}

.accordion-button a {
  font-size: 14px;
  font-weight: 500;
}

.accordion-button::after {
  display: none;
}

.accordion-button::before {
  flex-shrink: 0;
  width: .75rem;
  height: .75rem;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-size: .75rem;
  transition: transform .2s ease-in-out;
  transform: rotate(-90deg);
}

.accordion-button.active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FC851B'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::before {
  transform: rotate(0deg);
}

.accordion-button:not(.collapsed) {
  color: #212529;
  background-color: transparent;
}

.no-section.active::before {
  background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iI0ZDODUxQiIgY2xhc3M9ImJpIGJpLWRhc2giIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTQgOGEuNS41IDAgMCAxIC41LS41aDdhLjUuNSAwIDAgMSAwIDFoLTdBLjUuNSAwIDAgMSA0IDh6Ii8+Cjwvc3ZnPg==');
}
.no-section::before {
  transform: none;
  background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZGFzaCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNNCA4YS41LjUgMCAwIDEgLjUtLjVoN2EuNS41IDAgMCAxIDAgMWgtN0EuNS41IDAgMCAxIDQgOHoiLz4KPC9zdmc+');
  /* background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23212529%22%20class%3D%22bi%20bi-dash%22%20viewBox%3D%220%200%2016%2016%22%3E%20%3Cpath%20d%3D%22M4%208a.5.5%200%200%201%20.5-.5h7a.5.5%200%200%201%200%201h-7A.5.5%200%200%201%204%208z%22%2F%3E%3C%2Fsvg%3E")!important; */
}

.sidebar .hoverable:hover {
  cursor: pointer;
  background-color: #FFEEDD;
}

.sidebar .active {
  color: #FC851B !important;
  background-color: rgba(255, 238, 221, 0.08);
}

.hoverable-area:hover {
  background-color: #FFEEDD;
}

.text-writing-vertical {
  writing-mode: vertical-rl;
}

li.ls-dot {
  list-style: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-dot" viewBox="0 0 16 16"><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>');
}

li.ls-dot-sm {
  list-style: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-dot" viewBox="0 0 14 14"><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>');
}

li.ls-arrow-right {
  list-style: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/></svg>');
}

li.ls-arrow-right-tmb-orange {
  list-style: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="%23FC851B" class="bi bi-arrow-right" viewBox="0 0 14 14"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/></svg>');
}
li.sec-folder {
  list-style: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20fill%3D%22%23FC851B%22%20class%3D%22bi%20bi-folder2%22%20viewBox%3D%220%200%2016%2016%22%3E%20%3Cpath%20d%3D%22M1%203.5A1.5%201.5%200%200%201%202.5%202h2.764c.958%200%201.76.56%202.311%201.184C7.985%203.648%208.48%204%209%204h4.5A1.5%201.5%200%200%201%2015%205.5v7a1.5%201.5%200%200%201-1.5%201.5h-11A1.5%201.5%200%200%201%201%2012.5zM2.5%203a.5.5%200%200%200-.5.5V6h12v-.5a.5.5%200%200%200-.5-.5H9c-.964%200-1.71-.629-2.174-1.154C6.374%203.334%205.82%203%205.264%203zM14%207H2v5.5a.5.5%200%200%200%20.5.5h11a.5.5%200%200%200%20.5-.5z%22%2F%3E%3C%2Fsvg%3E')
}

#article-events-nav .nav-tabs .nav-link.active {
  color: initial;
}

#article-events-nav .nav-link:nth-child(1) {
  background-color: rgba(209,231,221,0.3) !important;
}

#article-events-nav .nav-link:nth-child(2) {
  background-color: rgba(255,243,205,0.3) !important;
}

#article-events-nav .nav-link:nth-child(3) {
  background-color: rgba(207,226,255,0.3) !important;
}

#article-events-nav .tab-pane:nth-child(1) {
  background-color: rgba(209,231,221,0.3) !important;
}

#article-events-nav .tab-pane:nth-child(2) {
  background-color: rgba(255,243,205,0.3) !important;
}

#article-events-nav .tab-pane:nth-child(3) {
  background-color: rgba(207,226,255,0.3) !important;
}

.lum-lightbox {
  background: rgba(0,0,0,.8);
  z-index: 9000;
}

.lum-lightbox-inner img {
  max-width: 150vw;
  max-height: 88vh;
}

.lum-close-button {
  top: 72px;
}

.callout {
  border: 1px solid #e9ecef;
  border-left-width: .25rem;
  border-radius: .25rem;
}

.article-body p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin: 1.5em .7em;
    letter-spacing: 0.4px;
    line-height: 1.7em;
}

.article-body img {
  padding: .25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  cursor: zoom-in;
}

.article-body h2 {
  margin-top: 45px;
  border-left: 3px solid #fc851B;
  border-bottom: 1px solid #979797;
  font-size: 24px;
  padding: 0 0 4px 10px;
  margin-bottom: 14px;
  line-height: 1.4em;
  color: #000;
  font-weight: 600;
}

.article-body h3 {
    margin-top: 40px;
    font-size: 20px;
    margin-bottom: 1.3em;
    margin-left: 0.3em;
    font-weight: 500;
    line-height: 1.4em;
    background-color: rgba(248,180,25,0.05) !important;
    padding: 8px 16px 6px 4px;
    border-bottom: 1px dashed #FF9F45;
}

.article-body h3::before {
    content: "■";
    color: #FF9F45;
    margin-right: .25rem;
}

.article-body h4 {
  display: inline-block;
  font-size: 17px;
  margin-top: 1em;
  border-bottom: 1px dashed #192242;
}

.article-body a {
  color: rgba(0, 113, 193, 1) !important;
  text-decoration: none;
  word-break: break-word;
}

.article-body a.node-name--H2 {
  FONT-WEIGHT: 600;
  BORDER-BOTTOM: 1px solid;
}

.article-body a::after {
  position: relative;
  top: 4px;
  right: 0;
  margin-left: 4px;
  content: "\f470";
  font-family: bootstrap-icons !important;
  font-size: larger;
}

.article-body li.toc-list-item {
  letter-spacing: .7px;
}

.article-body li.toc-list-item a::after {
  content: none;
}

div#article-body-toc-title::before {
  display: inline-block;
  margin-right: .5em;
  padding-bottom: 2px;
  vertical-align: middle;
  content: "\f474";
  font-family: bootstrap-icons !important;
}

ol.toc-list {
  counter-reset: section;
  list-style-type: none;
}

ol.toc-list li::before {
  counter-increment: section;
  content: counters(section, "-") ". ";
}

.article_alert {
  background-color: #FFF3EF;
  border: 1px solid #FFA689;
  padding: 1.2rem 2.0rem 0.4rem 2.0rem;
  border-radius: 6px;
  position: relative;
  margin: 1em 0;
}

.article-body .article_alert::before {
  content: "注意点";
  display: block;
  padding-left: 1.5em;
  margin-bottom: 10px;
  color: #FF3E00;
  font-weight: 500;
}

.article-body .article_alert::after {
  content: "\f339";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 16px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #FF3E00;
}

.article_related {
  background-color: #F8F7F6;
  border-radius: 6px;
  padding: 1.2rem 2.0rem 0.4rem 2.0rem;
  position: relative;
  margin: 1em 0;
}

.article_related::before {
  content: "関連コンテンツ";
  display: block;
  padding-left: 1.7rem;
  margin-bottom: 10px;
  color: #23221F;
  font-weight: 500;
}

.article_related::after {
  content: "\f194";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 17px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #23221F;
}

.article_related_en {
  background-color: #F8F7F6;
  border-radius: 6px;
  padding: 1.2rem 2.0rem 0.4rem 2.0rem;
  position: relative;
  margin: 1em 0;
}

.article_related_en::before {
  content: "Related Content";
  display: block;
  padding-left: 1.7rem;
  margin-bottom: 10px;
  color: #23221F;
  font-weight: 500;
}

.article_related_en::after {
  content: "\f194";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 17px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #23221F;
}

.article_related_th {
  background-color: #F8F7F6;
  border-radius: 6px;
  padding: 1.2rem 2.0rem 0.4rem 2.0rem;
  position: relative;
  margin: 1em 0;
}

.article_related_th::before {
  content: "เนื้อหาที่เกี่ยวข้อง";
  display: block;
  padding-left: 1.7rem;
  margin-bottom: 10px;
  color: #23221F;
  font-weight: 500;
}

.article_related_th::after {
  content: "\f194";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 17px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #23221F;
}

.article_alert_en {
  background-color: #FFF3EF;
  border: 1px solid #FFA689;
  padding: 1.2rem 2.0rem 0.4rem 2.0rem;
  border-radius: 6px;
  position: relative;
  margin: 1em 0;
}

.article_related p {
  margin: 0px;
  line-height: 1.5em;
}

.article_related a {
  font-size: 14px;
  font-weight: 600;
}

.article-body .article_alert_en::before {
  content: "Cautions";
  display: block;
  padding-left: 1.5em;
  margin-bottom: 10px;
  color: #FF3E00;
  font-weight: 500;
}

.article-body .article_alert_en::after {
  content: "\f339";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 16px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #FF3E00;
}

.article_alert_th {
  background-color: #FFF3EF;
  border: 1px solid #FFA689;
  padding: 1.2rem 2.0rem 0.4rem 2.0rem;
  border-radius: 6px;
  position: relative;
  margin: 1em 0;
}

.article-body .article_alert_th::before {
  content: "ข้อควรระวัง";
  display: block;
  padding-left: 1.5em;
  margin-bottom: 10px;
  color: #FF3E00;
  font-weight: 500;
}

.article-body .article_alert_th::after {
  content: "\f339";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 16px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #FF3E00;
}

.article_tips {
  position: relative;
  padding: 1rem 2rem 1rem 2rem;
  margin: 1em 0;
  background-color: #d1e7dd;
  border-color: #badbcc;
  border-radius: 6px;
}

.article_tips::before {
  content: "Tips";
  display: block;
  padding-left: 1.5em;
  margin-bottom: 10px;
  color:#0f5132;
  font-weight: 500;
}

.article_tips::after {
  content: "\f4c8";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 18px;
  position: absolute;
  top: 1.2rem;
  left: 1.9rem;
  color: #0f5132;
}

.article_lead {
  padding: 4rem 3rem 2rem;
}

.article_summary {
  position: relative;
  padding: 1rem 2rem 1rem 2rem;
  margin: 1rem 0;
  background-color: #d1e7dd;
  border-color: #badbcc;
  border-radius: 6px;
}

.article_summary::before {
  display: block;
  padding-left: 1.5em;
  margin-bottom: 10px;
  content: "Summary";
  color:#614310;
  letter-spacing: 0.1rem;
  font-weight: 500;
}

.article_summary::after {
  position: absolute;
  top: .85rem;
  left: 1.9rem;
  content: "\f43e";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: 20px;
  color: #614310;
}

.casestudy-body strong {
  background: linear-gradient(transparent 80%,#f8e81c);
}

.img-caption {
  margin-top: .5rem;
  margin-bottom: 2rem;
  font-size: 12px;
  color: #444;
}

.annotation {
  padding: 1rem;
  border: 1px solid #000;
  font-size: 0.9rem;
}

.article_summary table {
  font-size: 20px;
}

.article_summary table tr {
  line-height: 2;
}

.article_summary table tr th {
  max-width: 4rem;
}

.article_summary table tr th em {
  font-style: normal;
}

.article_summary table tr th em::before {
  margin-right: 0.5rem;
  font-size: 24px;
}

/*
 * Chat Common
 */
.chat-left, .chat-right {
  overflow: hidden;
  margin: 1.5rem 0;
}

.chat-left p, .chat-right p {
  position: relative;
  padding: 1rem 2rem;
  border-radius: 12px;
}

.chat-left p::before, .chat-right p::before, .chat-left p::after, .chat-right p::after {
  display: inline-block;
  content: "";
  position: absolute;
  top: 18px;
  border: 12px solid transparent;
}

.chat-left p::before, .chat-right p::before {
  z-index: 2;
}


/*
 * Chat Left
 */
.chat-left .faceicon {
  float: left;
  margin-right: -5rem;
}

.chat-left .faceicon img {
  border: solid 2px #f0f0f0;
}

.chat-left p {
  float: left;
  margin: 0 2rem 0 5rem;
  background: #f0f0f0;
}

.chat-left p::before {
  left: -22px;
  border-right: 12px solid #f0f0f0;
}

.chat-left p::after {
  left: -24px;
  border-right: 12px solid #f0f0f0;
}

/* Chat Left Color Patterns */
.chat-left.color-2 .faceicon img {
  border: solid 2px #ddd5cc;
}

.chat-left.color-2 p {
  background:#ddd5cc;
}

.chat-left.color-2 p::before, .chat-left.color-2 p::after {
  border-right: 12px solid #ddd5cc;
}

.chat-left.color-3 .faceicon img {
  border: solid 2px #f7e4e8;
}

.chat-left.color-3 p {
  background:#f7e4e8;
}

.chat-left.color-3 p::before, .chat-left.color-3 p::after {
  border-right: 12px solid #f7e4e8;
}

/*
 * Chat Right
 */
.chat-right .faceicon {
  float: right;
  margin-left: -5rem;
}

.chat-right .faceicon img {
  border: solid 2px #f2fbfc;
}

.chat-right p {
  margin: 0 5rem 0 2rem;
  border: 1px solid #dcdcdc;
  background:#f2fbfc;
}

.chat-right p::before {
  right: -22px;
  border-left: 12px solid #f2fbfc;
}

.chat-right p::after {
  right: -24px;
  border-left: 12px solid #dcdcdc;
}

/* Chat Right Color Patterns */
.chat-right.color-2 .faceicon img {
  border: solid 2px #F2E8FC;
}

.chat-right.color-2 p {
  background:#F2E8FC;
}

.chat-right.color-2 p::before {
  border-left: 12px solid #F2E8FC;
}

.chat-right.color-3 .faceicon img {
  border: solid 2px #f4f7e4;
}

.chat-right.color-3 p {
  background:#f4f7e4;
}

.chat-right.color-3 p::before {
  border-left: 12px solid #f4f7e4;
}

.chat-right.color-4 .faceicon img {
  border: solid 2px #d8e4fc;
}

.chat-right.color-4 p {
  background:#d8e4fc;
}

.chat-right.color-4 p::before {
  border-left: 12px solid #d8e4fc;
}

.person-detail-frame {
  background-color: rgba(248,180,25,0.05);
}

.person-detail {
  overflow: hidden;
  margin: 1.5rem 2rem;
}

.person-detail .faceicon {
  float: left;
  margin-right: -5rem;
}

.person-detail dl {
  float: left;
  position: relative;
  margin: 0 2rem 0 5rem;
}

.person-detail dt {
  margin: 0 0 1rem;
}

.faceicon {
  width: 4rem;
}

.faceicon img {
  width: 100%;
  height: auto;
  border: solid 2px #f0f0f0;
  border-radius: 50%;
  cursor: unset;
  pointer-events: none;
}

.fs-7 {
  font-size: 14px !important;
}

.fw-bolder-sm {
  font-weight: 500 !important;
}

.text-tmb-orange {
  color: #FC851B;
}

.text-tmb-blue {
  color: rgba(0, 113, 193, 1) !important;
}

.bg-tmb-orange {
  background-color:rgba(248,180,25,0.4) !important;
}

.bg-tmb-orange-deep {
  background-color: #FC851B !important;
}

.bg-tmb-navy {
  background-color: #192242 !important;
}

.bg-light-gray {
  background-color: rgba(248,249,250,0.3) !important;
}

.bg-light-red {
  background-color: rgba(248,215,218,0.3) !important;
}

.bg-light-blue {
  background-color: rgba(207,226,255,0.3) !important;
}

.bg-light-green {
  background-color: rgba(209,231,221,0.3) !important;
}

.bg-light-yellow {
  background-color: rgba(255,243,205,0.3) !important;
}

.btn-tmb-orange {
  padding: .75rem 4rem;
  background-color: #FC851B !important;
  border-radius: 2rem;
  font-size: 1.25rem;
  color: #fff !important;
  text-decoration: none;
}

.btn-tmb-orange:hover, .btn-tmb-orange:active, .btn-tmb-orange:focus {
  color: #fff;
  text-decoration: none;
  opacity: .6;
}

#submit:disabled {
  background-color: #999 !important;
}

@media (min-width: 768px) {
  body {
    font-size: 14px;
  }

  header .navbar-brand p {
    font-size: 14px;
  }

  .chat-left p {
    margin: 0 10rem 0 5rem;
  }

  .chat-right p {
    margin: 0 5rem 0 10rem;
  }

  .casestudy-body img {
    max-width: 80%;
  }
}
