.header-wrap,
.acc-wrap,
.contents-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.acc-wrap {
  padding-bottom: 40px;
  padding-top: 16px;
}

/* 以下、コンテンツ選択画面固有 */
h2.content-index-label {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 20px;
  vertical-align: baseline;
  background: transparent;
}

h2.content-index-label {
  font-family: inherit;
  display: flex;
  align-items: center;
  flex-direction: unset;
  position: relative;
  height: 70px;
  margin-top: 0px;
  color: #333;
  font-weight: bold;
  justify-content: space-between;
}

h2.content-index-label #title-label {
  display: flex;
  flex-wrap: wrap;
}

h2.content-index-label .lesson {
  width: auto;
  font-weight: bold;
  vertical-align: top;
  overflow: hidden;
  white-space: nowrap;
  margin-right: 20px;
}

h2.content-index-label .part {
  width: auto;
  overflow: hidden;
  white-space: nowrap;
}

h2.content-index-label {
  background-color: gray;
}

body.nc1 h2.content-index-label {
  background-color: var(--nc1-lesson-title-bg-color);
}

body.nc2 h2.content-index-label {
  background-color: var(--nc2-lesson-title-bg-color);
}

body.nc3 h2.content-index-label {
  background-color: var(--nc3-lesson-title-bg-color);
}

.content-index-list {
  margin: 0;
  padding: 1rem;
  list-style: none;
  border: var(--content-area-border);
  background-color: #fff;
}

.content-index-list .no-wrap {
  white-space: nowrap;
}

#title-label {
  max-width: 900px;
}

/* 横幅がiPad（768px）未満の場合 */
@media (max-width: 767px) {
  h2.content-index-label {
    font-size: 17px;
  }

  #title-label {
    max-width: 275px;
  }
}

.content-index-list > li {
  font-family: inherit;
}

.content-index-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 40px 0 20px;
  color: var(--black-color);
  line-height: 1.3;
  text-decoration: none;
}

.pagination {
  content: "";
  display: block;
  width: 63px;
  height: 63px;
  cursor: pointer;
  top: 0;
  bottom: 0;
  right: 0;
  background-image: url(../images/accordion_icon.svg);
  background-size: 24px 24px;
  background-position: center center;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
  border: none;
  background-color: transparent;
}

body.nc1 .pagination {
  background-image: url(../images/accordion_icon_nc1.svg);
}

body.nc2 .pagination {
  background-image: url(../images/accordion_icon_nc2.svg);
}

body.nc3 .pagination {
  background-image: url(../images/accordion_icon_nc3.svg);
}

.pagination:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.5);
  opacity: 1;
}

#page-prev {
  left: 0;
  transform: rotate(-270deg);
}

.hidden {
  visibility: hidden;
}

/* アコーディオンではなく表示・非表示にする */
.content-index-list > li.expandable {
  display: none;
}

.content-index-list > li.expandable.expanded {
  display: block;
}

.content-index-sublist{
  display: flex;
  flex-wrap: wrap;
  margin: 1rem 0;
  padding: 1rem 1rem 2rem;
  list-style: none;
  justify-content: space-between;
  border-radius: var(--border-radius);
}

.content-index-sublist:first-of-type {
  margin-top: 0;
}

.content-index-sublist:last-of-type {
  margin-bottom: 0;
}

body.nc1 .content-index-sublist {
  background-color: var(--nc1-lesson-title-bg-color);
}

body.nc2 .content-index-sublist {
  background-color: var(--nc2-lesson-title-bg-color);
}

body.nc3 .content-index-sublist {
  background-color: var(--nc3-lesson-title-bg-color);
}

.content-index-sublist > li {
  flex: 0 0 48%;
  box-sizing: border-box;
  height: 80px;
  font-size: 18px;
  color: #000;
  line-height: 1.3;
  text-decoration: none;
  margin-bottom: 30px;
}

.content-index-sublist > li:nth-last-of-type(2):nth-of-type(odd):not(.check),
.content-index-sublist > li.check,
.content-index-sublist > li:last-of-type {
  margin-bottom: 0px;
}

.content-index-sublist > li.check:not(.check-movie) {
  margin-top: 1rem;
}

.corner_title {
  display: block;
  width: 100%;
  color: #333;
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
}

.basic_sentence {
  display: block;
  width: 100%;
  color: #333;
  font-size: 1.5rem;
  background-color: #fff;
  padding: 0.5rem 1.5rem;
  margin-top: 2rem;
  padding-left: calc(4em + 1.5rem);
  text-indent: -4em;
}

.basic_sentence::before {
  content: '基本文： ';
}

/* 横幅がiPad（768px）未満の場合 */
@media (max-width: 767px) {
  .basic_sentence {
    padding-left: 1.5rem;
    text-indent: 0;
  }

  .basic_sentence::before {
    content: '基本文\A';
    white-space: pre;
    font-weight: bold;
  }
}

.content-index-list .hie3_title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 22px;
  color: var(--black-color);
}

.abtn {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  font-size: 22px;
  color: var(--black-color);
  text-decoration: none;
  border-radius: var(--button-border-radius);
  background-color: #fff;
  border: solid 2px var(--color);
}

body.nc1 .abtn {
  --color: var(--nc1-main-color);
  --main-shadow-color: var(--nc1-main-shadow-color);
}
body.nc2 .abtn {
  --color: var(--nc2-main-color);
  --main-shadow-color: var(--nc2-main-shadow-color);
}
body.nc3 .abtn {
  --color: var(--nc3-main-color);
  --main-shadow-color: var(--nc3-main-shadow-color);
}

a.abtn {
  opacity: 1;
}

a.abtn:hover {
  opacity: 1;
  background-color: #f7f8f8;
}

a.abtn:focus-visible {
  opacity: 1;
  background-color: #f7f8f8;
  box-shadow: 0 0 0 3px var(--main-shadow-color);
}

.fa-position-first {
  position: relative;
  top: -0.1rem;
  left: 0.5rem;
  padding-right: 1rem;
}

.crown {
  width: 40px;
  height: 25px;
  -webkit-mask-image: url(../images/crown.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-image: url(../images/crown.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

.crown-gold {
  background: linear-gradient(
    45deg,
    #b67b03 0%,
    #daaf08 45%,
    #fee9a0 70%,
    #daaf08 85%,
    #b67b03 90% 100%
  );
}

.crown-silver {
  background: linear-gradient(
    45deg,
    #757575 0%,
    #9e9e9e 45%,
    #e8e8e8 70%,
    #9e9e9e 85%,
    #757575 90% 100%
  );
}

.crown-bronze {
  background: linear-gradient(
    45deg,
    #a57e65 0%,
    #a57e65 45%,
    #f3cfb8 70%,
    #a57e65 85%,
    #a57e65 90% 100%
  );
}

.fa-position-second {
  position: relative;
  top: -0.1rem;
  left: 0.2rem;
  margin-right: 10px;
  padding-right: 2rem;
  color: #1e90ff;
}

.fa-film {
  width: 40px;
  height: 25px;
  -webkit-mask-image: url(../images/movie.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-image: url(../images/movie.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
  background-color: #1e90ff;
}

.fa-headphones {
  width: 40px;
  height: 25px;
  -webkit-mask-image: url(../images/sound.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-image: url(../images/sound.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
  background-color: #1e90ff;
}

.fa-flash-card {
  width: 40px;
  height: 28px;
  -webkit-mask-image: url(../images/flashcard.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-image: url(../images/flashcard.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
  background-color: #1e90ff;
}

.fa-drill {
  width: 40px;
  height: 30px;
  -webkit-mask-image: url(../images/drill.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-image: url(../images/drill.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
  background-color: #1e90ff;
}

.fa-images {
  width: 40px;
  height: 26px;
  -webkit-mask-image: url(../images/picture.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-image: url(../images/picture.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
  background-color: #1e90ff;
}

/* 横幅がiPad（768px）未満の場合 */
@media (max-width: 767px) {
  .acc-wrap {
    padding-top: 10px;
  }

  .content-index-list .hie3_title {
    font-size: 16px;
    width: 100%;
  }

  .content-index-sublist {
    padding: 1rem;
  }

  .content-index-sublist > li {
    flex: 1 0 100%;
    height: 60px;
    margin-bottom: 10px;
  }

  .content-index-sublist > li:nth-last-of-type(2):nth-of-type(odd):not(.check) {
    margin-bottom: 10px;
  }

  .abtn {
    font-size: 18px;
  }
}
