/* ************************************************************** */
/* common                                                         */
/* ************************************************************** */
.main_contents {
  display: block;
  width: 100%;
  height: auto;
  background-image: url('../../img/trilogybox/background.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  box-sizing: border-box;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  .main_contents {
    margin-top: 4em;
    padding-top: 5.5em;
    padding-bottom: 8em;
  }
}
@media all and (max-width: 767px) {
  .main_contents {
    margin-top: 3.5em;
    padding-top: 2.5em;
    padding-bottom: 4em;
  }
}

.width_set {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  .width_set {
    width: 80%;
    max-width: 784px;
  }
}
@media all and (max-width: 767px) {
  .width_set {
    width: 90%;
    max-width: 960px;
  }
}

h1 {
  font-size: 2.4em;
  line-height: 1em;
}
h2 {
  font-size: 1.6em;
  line-height: 1.6em;
}
.c_gold {
  color: #d6bb83;
}
.tal_c {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  h3 {
    font-size: 1.6em;
    line-height: 1.6em;
  }
}
@media all and (max-width: 767px) {
  h3 {
    font-size: 1.4em;
    line-height: 1.8em;
  }
}


/* ************************************************************** */
/* trilogybox                                                     */
/* ************************************************************** */
#top_logo {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.fit_img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.list_notice,
.list_dot {
  color: #acacac;
}

#include_list {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  #include_list {
    z-index: 0;
  }
  #include_list>h1 {
    display: inline-block;
    background-color: #000;
    padding-left: .5em;
    padding-right: .5em;
    box-sizing: border-box;
    z-index: 1;
  }
  #include_list::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 1em;
    border: 1px solid #fff;
    z-index: -1;
    background-color: #000;
  }
}
@media all and (max-width: 767px) {
  #include_list {
    border: 1px solid #fff;
    padding-top:    1.5em;
    padding-bottom: 1.5em;
    background-color: #000;
  }
  #include_list>h1 {
    position: relative;
    cursor: pointer;
  }
  #include_list>h1::before {
    content: "+";
    position: absolute;
    display: block;
    top: 0;
    right: .5em;
    width: 1em;
    height: 1em;
  }
  #include_list>h1.open::before {
    content: "-";
  }
  
}

#list_wrapper {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}
#list_wrapper>ul {
  display: table;
  list-style-type: none;
  table-layout: fixed;
}
#list_wrapper>ul>li {
  display: table-row;
  counter-increment: table-ol;
  font-size: .9em;
}
#list_wrapper>ul>li:first-child>p {
  font-size: 1.2em;
}
#list_wrapper>ul>li>p {
  line-height: 2em;
}
#list_wrapper>ul>li:not(:first-child)>p {
  font-size: 1em;
  padding-left: .25em;
}
#list_wrapper>ul>li:first-child::before {
  content: "\25A0";
  display: table-cell;
  width: 1.5em;
}
#list_wrapper>ul>li:not(:first-child)::before {
  content: "\30FB";
  display: table-cell;
  width: 1.5em;
  padding-left: .5em;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  #list_wrapper {
    display: flex !important;
    flex-wrap: wrap;
    padding: 2em;
  }
  #list_wrapper>ul {
    width: 50%;
  }
  #list_wrapper>ul:nth-child(n+3) {
    margin-top: 2em;
  }
}
@media all and (max-width: 767px) {
  #list_wrapper {
    display: none;
    padding: 1em;
  }
  #list_wrapper>ul:not(:first-child) {
    margin-top: 2em;
  }
}

#bookend_wrapper {
  width: 100%;
  table-layout: fixed;
}
#bookend_wrapper a {
  line-height: 0;
}
#bookend_wrapper a>img {
  width: 100%;
}
#bookend_wrapper tr:first-child>td {
  padding-bottom: 1em;
}
#bookend_wrapper tr:not(:first-child)>td:nth-child(1) {
  padding-right: .75em;
}
#bookend_wrapper tr:not(:first-child)>td:nth-child(2) {
  padding-left: .75em;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  #bookend_wrapper a {
    opacity: .7;
    transition: opacity .5s;
  }
  #bookend_wrapper a:hover {
    opacity: 1;
  }
}
@media all and (max-width: 767px) {
}

#item_wrapper {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
}
#item_wrapper>ul {
  display: flex;
}
#item_wrapper>ul>li {
  min-height: 0%;
}
#item_wrapper>ul>li:nth-child(2) {
  line-height: 0;
}
#item_wrapper>ul>li>img {
  width: 100%;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  #item_wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
  #item_wrapper>ul {
    flex-direction: column;
    width: 47.5%;
  }
  #item_wrapper>ul>li:nth-child(2) {
    padding-top: 1em;
  }
}
@media all and (max-width: 767px) {
  #item_wrapper {
    flex-direction: column;
  }
  #item_wrapper>ul {
    flex-wrap: wrap;
  }
  #item_wrapper>ul:not(:first-child) {
    margin-top: 3em;
  }
  #item_wrapper>ul>li:nth-child(1) {
    width: 60%;
    padding-left: 1em;
    box-sizing: border-box;
  }
  #item_wrapper>ul>li:nth-child(2) {
    width: 40%;
    order: -1;
  }
  #item_wrapper>ul>li>h2 {
    font-size: 1.4em;
    line-height: 1.2em;
  }
}

.small_img {
  display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  .small_img {
    width: 60%;
    margin-top: 10em;
  }
}
@media all and (max-width: 767px) {
  .small_img {
    width: 100%;
    margin-top: 6em;
  }
}