@charset "UTF-8";
/* CSS Document */
/* 症例集。色と見出しは page.scss に合わせ、構成はメニュー別カード＋一覧＋詳細 */
.caseBlock {
  max-width: 1000px;
  margin: 4rem auto 4rem;
  padding: 0 15px;
  box-sizing: border-box;
}
.caseBlock > h2 {
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  background: #f9b80e;
  color: #000;
  text-align: center;
  margin: 0 0 4rem;
  padding: 0.4em 1em;
  border: 2px solid #000;
  position: relative;
}
.caseBlock > h2:before, .caseBlock > h2:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.caseBlock > h2:before {
  border: 11px solid;
  border-color: #f9b80e transparent transparent transparent;
  bottom: -22px;
  z-index: 1;
}
.caseBlock > h2:after {
  border: 13px solid;
  border-color: #000 transparent transparent transparent;
  bottom: -26px;
  z-index: 0;
}

.caseMenu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

main#main .caseMenu a.caseMenuCard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  overflow: hidden;
  color: #000;
  text-decoration: none;
}
main#main .caseMenu a.caseMenuCard:hover {
  opacity: 1;
}
main#main .caseMenu a.caseMenuCard:hover .caseMenuMore:before {
  background: #1C96D4;
}
main#main .caseMenu .caseMenuImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caseMenuImg {
  display: block;
  aspect-ratio: 2/1;
  overflow: hidden;
  background: #f2f2f2;
}

.caseMenuBody {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.8rem 2rem 2rem;
}

.caseMenuHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #f9b80e;
}

.caseMenuTtl {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.caseMenuBadge {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.5em 0.9em;
  border-radius: 2em;
  background: #fbf7f0;
  color: #000;
}

.caseMenuTxt {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.8;
}

.caseMenuMore {
  align-self: flex-end;
  position: relative;
  margin-top: 1.6rem;
  padding-right: 3.4rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.05em;
}
.caseMenuMore:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #000;
}
.caseMenuMore:after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 0.85rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}

.caseMenuNote,
.caseNote {
  font-size: 1.4rem;
  line-height: 1.8;
}
.caseMenuNote a,
.caseNote a {
  border-bottom: 1px solid;
}

.caseMenuNote {
  margin: 3rem 0 0;
}

.caseNote {
  margin: 0 0 3rem;
}

.caseLayout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 4rem auto 8rem;
  padding: 0 15px;
  box-sizing: border-box;
}

.caseMain {
  width: calc(100% - 30rem);
}
.caseMain .navigation.pagination {
  margin-top: 4rem;
}
.caseMain .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.caseMain .nav-links .page-numbers {
  display: inline-block;
  min-width: 3.2rem;
  padding: 0.4em 0.7em;
  border: 1px solid #1C96D4;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 1.4rem;
}
.caseMain .nav-links .page-numbers.current {
  background: #1C96D4;
  color: #fff;
}
.caseMain .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.caseCard {
  border: 1px solid #000;
  border-radius: 10px;
  background: #fff;
  padding: 3rem 2.4rem 3.2rem;
}
.caseCard + .caseCard {
  margin-top: 4rem;
}
.caseCard .caseBtn {
  margin-top: 2.4rem;
}
.caseCard table.caseTable {
  width: 100%;
  margin: 2rem 0 0;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.caseCard table.caseTable th,
.caseCard table.caseTable td {
  border: 1px solid #000;
  padding: 0.8rem 1.2rem;
  line-height: 1.7;
  vertical-align: middle;
  text-align: left;
}
.caseCard table.caseTable th {
  width: 7em;
  background: #f9b80e;
  font-weight: 700;
  text-align: center;
}

.caseCardTitle {
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  padding-bottom: 0.6em;
  border-bottom: 2px solid #f9b80e;
}
.caseCardTitle a {
  color: inherit;
  text-decoration: none;
}

.caseBa {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  margin: 0 0 2rem;
}
.caseBa .half {
  width: calc(50% - 0.8rem);
}
.caseBa .half img {
  width: 100%;
  display: block;
  margin: 0;
}

main#main section .caseBa {
  margin-top: 0;
}
main#main section .caseBa .half img {
  width: 100%;
  display: block;
  margin: 0;
}

.baLabel {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.6em 0;
  margin: 0 0 1rem;
  border-radius: 2em;
  background: #f2f2f2;
}
.baLabel.after {
  background: #1C96D4;
  color: #fff;
}

.caseDesc {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

ul.caseTermList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
ul.caseTermList li {
  margin: 0;
  padding: 0;
}
ul.caseTermList li:before {
  content: none;
}
ul.caseTermList li a {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55em 1.1em;
  border-radius: 2em;
  text-decoration: none;
}
ul.caseTermList li.cat a {
  background: #f9b80e;
  color: #000;
}
ul.caseTermList li.tag a {
  border: 1px solid #1C96D4;
  color: #1C96D4;
  background: #fff;
}
ul.caseTermList li.tag a:before {
  content: "#";
  margin-right: 0.2em;
}

.caseTerms {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 15px;
}
.caseTerms ul.caseTermList {
  justify-content: center;
}

main#main .comLink-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem 2rem;
  margin-top: 4rem;
}
main#main .comLink-row .comLink {
  width: 280px;
  margin: 0;
}
main#main section .caseRelated {
  grid-template-columns: repeat(2, 1fr);
}
main#main section.caseOrtho {
  max-width: 1000px;
  margin: 8rem auto 0;
  padding: 0 15px;
  box-sizing: border-box;
}
main#main section.caseOrtho h2 {
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  background: #f9b80e;
  color: #000;
  text-align: center;
  margin: 0 0 4.6rem;
  padding: 0.4em 1em;
  border: 2px solid #000;
  position: relative;
}
main#main section.caseOrtho h2:before, main#main section.caseOrtho h2:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
main#main section.caseOrtho h2:before {
  border: 11px solid;
  border-color: #f9b80e transparent transparent transparent;
  bottom: -22px;
  z-index: 1;
}
main#main section.caseOrtho h2:after {
  border: 13px solid;
  border-color: #000 transparent transparent transparent;
  bottom: -26px;
  z-index: 0;
}
main#main section.caseOrtho .caseOrthoList {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
main#main section.caseOrtho .caseOrthoList li {
  grid-column: span 2;
  margin: 0;
  padding: 0;
}
main#main section.caseOrtho .caseOrthoList li:nth-child(4) {
  grid-column: 2/span 2;
}
main#main section.caseOrtho .caseOrthoList li:nth-child(5) {
  grid-column: 4/span 2;
}
main#main section.caseOrtho .caseOrthoList li:before {
  content: none;
}
main#main section.caseOrtho .caseOrthoList a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.4rem;
  padding: 1.2rem 1.6rem;
  border: 2px solid #000;
  background: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  color: #000;
}
main#main section.caseOrtho .caseOrthoList a:hover {
  background: #f9b80e;
  opacity: 1;
}

.caseRelated .caseMenuBadge {
  align-self: flex-start;
  margin-bottom: 1rem;
}
.caseRelated .caseMenuBody {
  padding: 1.4rem 1.6rem 1.6rem;
}
.caseRelated .caseMenuTtl {
  flex: 1;
  font-size: 1.5rem;
}
.caseRelated .caseMenuMore {
  margin-top: 1.2rem;
}

.caseSide {
  width: 26rem;
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
}

.caseSideBox {
  border: 1px solid #000;
  border-radius: 10px;
  background: #fff;
  padding: 2rem 1.8rem;
}
.caseSideBox + .caseSideBox {
  margin-top: 2rem;
}
.caseSideBox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.caseSideBox ul li + li {
  margin-top: 1rem;
}
.caseSideBox ul li a {
  display: block;
  padding-left: 1.4rem;
  position: relative;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #000;
  text-decoration: none;
}
.caseSideBox ul li a:before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
  position: absolute;
  left: 0;
  top: 0.6rem;
}
.caseSideBox ul.tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.caseSideBox ul.tagList li + li {
  margin-top: 0;
}
.caseSideBox ul.tagList li a {
  padding: 0.4em 1em;
  border: 1px solid #1C96D4;
  border-radius: 2em;
  color: #1C96D4;
  font-size: 1.3rem;
  line-height: 1;
}
.caseSideBox ul.tagList li a:before {
  content: "#";
  position: static;
  border: none;
  transform: none;
  width: auto;
  height: auto;
  margin-right: 0.15em;
}

.caseSideTitle {
  font-size: 1.6rem;
  font-weight: 700;
  border-bottom: 2px solid #f9b80e;
  padding-bottom: 0.5em;
  margin-bottom: 1.2rem;
}

.caseEmpty {
  margin: 0;
  padding: 4rem 2.4rem;
  border: 1px solid #000;
  border-radius: 10px;
  background: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .caseMenu {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 896px) {
  .caseBlock,
  .caseLayout,
  .caseTerms,
  main#main section.caseOrtho {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
  }
  .caseBlock > h2,
  main#main section.caseOrtho h2 {
    font-size: 2rem;
  }
  .caseLayout {
    display: block;
    margin-top: 4rem;
  }
  .caseMain {
    width: 100%;
    margin-bottom: 4rem;
  }
  .caseSide {
    width: auto;
    position: static;
  }
  .caseCard {
    padding: 2rem 1.6rem 2.4rem;
  }
  .caseCard .comLink a {
    font-size: 1.4rem;
  }
  .caseCard .caseBa {
    display: block;
  }
  .caseCard .caseBa .half {
    width: 100%;
  }
  .caseCard .caseBa .half + .half {
    margin-top: 1.6rem;
  }
  .caseCardTitle {
    font-size: 1.8rem;
  }
  main#main .comLink-row .comLink {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .caseMenu,
  main#main section .caseRelated {
    grid-template-columns: 1fr;
  }
  .caseMenuTtl {
    font-size: 1.6rem;
  }
  main#main section.caseOrtho .caseOrthoList {
    grid-template-columns: 1fr;
  }
  main#main section.caseOrtho .caseOrthoList li,
  main#main section.caseOrtho .caseOrthoList li:nth-child(4),
  main#main section.caseOrtho .caseOrthoList li:nth-child(5) {
    grid-column: auto;
  }
}

/*# sourceMappingURL=case.css.map */
