@charset "UTF-8";
/*----------------------------------------

  + content
    - tit01
    - detail
    - profile
    - relation
    - imagepost

-----------------------------------------*/
/*----------------------------------------
  content
-----------------------------------------*/
#content > #content_01 {
  margin-top: 50px;
}

@media only screen and (max-width: 414px) {
  #content > #content_01 {
    margin-top: 20px;
  }
}
/*----------------------------------------
  tit01
-----------------------------------------*/
#tit01::after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  margin-bottom: 40px;
  padding-bottom: 35px;
  border-bottom: solid 2px #333;
}

#tit01 > div {
  display: table-cell;
  width: 700px;
  padding-right: 50px;
  vertical-align: top;
}

#tit01 h2 {
  padding: 20px 0 0;
}

#tit01 p {
  display: table-cell;
  text-align: right;
  vertical-align: bottom;
}

@media only screen and (max-width: 414px) {
  #tit01::after {
    width: 150px;
    padding-bottom: 25px;
  }

  #tit01 > div {
    display: block;
    width: auto;
    padding-right: 0;
  }

  #tit01 h2 {
    padding: 15px 0 20px;
  }

  #tit01 p {
    display: block;
    text-align: left;
  }
}
/*----------------------------------------
  detail
-----------------------------------------*/
/* detail setting */
#detail {
  /* font-size: 114.2%;
  line-height: 2.5; */
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 24px;
}

#detail .font10 {
  font-size: 62.5%;
}

#detail .font12,
#detail .note01,
#detail .picture_column01,
#detail .picture_column02,
#detail .picture_column03,
#detail .supplement {
  font-size: 75%;
}

#detail .font14,
#detail th.th_tit {
  font-size: 87.5%;
}

#detail .font16 {
  font-size: 100%;
}

#detail .font18 {
  font-size: 112.5%;
}

#detail .font20 {
  font-size: 125%;
}

#detail .font22 {
  font-size: 137.5%;
}

#detail .font24 {
  font-size: 150%;
}

#detail .font26,
#detail h2 {
  font-size: 162.5%;
}

#detail .font28 {
  font-size: 175%;
}

#detail .font30 {
  font-size: 187.5%;
}

#detail .font32 {
  font-size: 187.5%;
}

#detail .font34 {
  font-size: 212.5%;
}

#detail .font36,
#detail h1 {
  font-size: 212.5%;
}

#detail .font38 {
  font-size: 237.5%;
}

#detail .font40 {
  font-size: 250%;
}

@media only screen and (max-width: 414px) {
  #detail {
    /*font-size: 85.71%;
    line-height: 2;*/
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 21px;
  }

  #detail .font10,
#detail .note01,
#detail .picture_column01,
#detail .picture_column02,
#detail .picture_column03 {
    font-size: 83.33%;
  }

  #detail .font12,
#detail .supplement {
    font-size: 100%;
  }

  #detail .font14 {
    font-size: 116.66%;
  }

  #detail .font16 {
    font-size: 133.33%;
  }

  #detail .font18 {
    font-size: 150%;
  }

  #detail .font20,
#detail h2 {
    font-size: 166.66%;
  }

  #detail .font22 {
    font-size: 183.33%;
  }

  #detail .font24 {
    font-size: 200%;
  }

  #detail .font26,
#detail h1 {
    font-size: 216.66%;
  }

  #detail .font28 {
    font-size: 233.33%;
  }

  #detail .font30 {
    font-size: 250%;
  }

  #detail .font32 {
    font-size: 266.66%;
  }

  #detail .font34 {
    font-size: 283.33%;
  }

  #detail .font36 {
    font-size: 300%;
  }

  #detail .font38 {
    font-size: 316.66%;
  }

  #detail .font40 {
    font-size: 333.33%;
  }
}
#detail h1,
#detail h2,
#detail h3,
#detail h4,
#detail h5,
#detail h6,
#detail th.th_tit {
  font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "游ゴシック体", Yu Gothic, "ヒラギノ明朝 ProN W3", Hiragino Mincho ProN, "ＭＳ Ｐ明朝", "ＭＳ 明朝", "ヒラギノ角ゴPro W3", Hiragino Kaku Gothic Pro, "メイリオ", "MS Pゴシック", MS PGothic, Arial, Helvetica, Verdana, sans-serif;
  -ms-transform-origin: 0 0;
  /* win MS明朝用 */
  -ms-transform: scale(1, 1.02);
  /* win MS明朝用 */
  font-weight: 500;
  /* win 游ファミリー用 */
  line-height: 1.2;
}

#detail th,
#detail td,
#detail .fsize01,
#detail .fsize02,
#detail .fsize03,
#detail .note01,
#detail .disc01,
#detail .link01,
#detail .link02,
#detail .btn01,
#detail .btn02,
#detail .picture_column01,
#detail .picture_column02,
#detail .picture_column03,
#detail .supplement {
  line-height: 2;
}

/* アキ */
#detail > h1,
#detail > h2,
#detail > ul,
#detail > div {
  margin-bottom: 40px;
}

#detail > p {
  margin-bottom: 25px;
}

#detail > table {
  margin-bottom: 50px;
}

#detail > h1 + p,
#detail > h2 + p {
  margin-top: -25px;
}

@media only screen and (max-width: 414px) {
  #detail > p {
    margin-bottom: 35px;
  }
}
#detail > :last-child {
  margin-bottom: 0;
}

/* 強調文字サイズ */
#detail th.th_tit {
  font-weight: bold;
}

#detail .fsize01 {
  font-size: 1.2em;
}

#detail .fsize02 {
  font-size: 1.3em;
}

#detail .fsize03 {
  font-size: 1.4em;
}

/* 注意書き */
#detail > .note01 li {
  position: relative;
  padding-left: 1em;
  color: #666;
}

#detail > .note01 li::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
}

/* リスト */
#detail > .disc01 li {
  position: relative;
  padding-left: 1em;
}

#detail > .disc01 li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

/* リンク */
#detail a.link01:link,
#detail a.link01:visited,
#detail a.link01:hover,
#detail a.link01:active {
  color: #333;
  text-decoration: underline;
}

#detail a.link02:link,
#detail a.link02:visited,
#detail a.link02:hover,
#detail a.link02:active {
  color: #000;
  text-decoration: underline;
}

/* ボタン */
#detail a.btn01 {
  display: inline-block;
  max-width: 380px;
  min-width: 180px;
  padding: 14px 10px;
  background: #333;
  color: #fff;
  text-align: center;
}

#detail a.btn02 {
  display: inline-block;
  max-width: 380px;
  min-width: 180px;
  padding: 14px 10px;
  background: #ddd;
  color: #000;
  text-align: center;
}

#detail a.btn01:hover,
#detail a.btn02:hover {
  opacity: 0.5;
}

@media only screen and (max-width: 414px) {
  #detail a.btn01:hover,
#detail a.btn02:hover {
    opacity: 1;
  }
}
@media only screen and (max-width: 320px) {
  #detail a.btn01,
#detail a.btn02 {
    max-width: 260px;
  }
}
#detail .hr01 {
  margin: 50px 0;
  border-top: 2px solid #333;
}

/* 画像カラムパターン */
#detail > .picture_column01 figure img {
  width: 850px;
  height: auto;
}

#detail > .picture_column01 p {
  padding-top: 15px;
  color: #666;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_column01 p {
    padding-top: 10px;
  }

  #detail > .picture_column01 figure img {
    width: 100%;
    height: auto;
  }
}
#detail > .picture_column02 div {
  display: table-cell;
  width: 400px;
  vertical-align: top;
}

#detail > .picture_column02 div + div {
  padding-left: 50px;
}

#detail > .picture_column02 div figure img {
  width: 400px;
  height: auto;
}

#detail > .picture_column02 div p {
  padding-top: 15px;
  color: #666;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_column02 div {
    display: block;
    width: auto;
  }

  #detail > .picture_column02 div + div {
    margin-top: 40px;
    padding-left: 0;
  }

  #detail > .picture_column02 div figure img {
    width: 100%;
    height: auto;
  }

  #detail > .picture_column02 div p {
    padding-top: 10px;
  }
}
#detail > .picture_column03 div {
  display: table-cell;
  width: 250px;
  vertical-align: top;
}

#detail > .picture_column03 div + div {
  padding-left: 50px;
}

#detail > .picture_column03 div figure img {
  width: 250px;
  height: auto;
}

#detail > .picture_column03 div p {
  padding-top: 15px;
  color: #666;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_column03 div {
    display: block;
    width: auto;
  }

  #detail > .picture_column03 div + div {
    margin-top: 40px;
    padding-left: 0;
  }

  #detail > .picture_column03 div figure img {
    width: 100%;
    height: auto;
  }

  #detail > .picture_column03 div p {
    padding-top: 10px;
  }
}
/* 画像+文章パターン */
#detail > .picture_txt01 figure {
  display: table-cell;
  width: 450px;
  padding-right: 50px;
  vertical-align: top;
}

#detail > .picture_txt01 figure img {
  width: 450px;
  height: auto;
  margin-top: 10px;
}

#detail > .picture_txt01 p {
  display: table-cell;
  min-width: 300px;
  vertical-align: top;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_txt01 figure {
    display: block;
    width: auto;
    padding-right: 0;
  }

  #detail > .picture_txt01 figure img {
    width: 100%;
    height: auto;
    margin: 0 0 10px;
  }

  #detail > .picture_txt01 p {
    display: block;
    min-width: 0;
  }
}
#detail > .picture_txt02 figure {
  display: table-cell;
  width: 450px;
  padding-left: 50px;
  vertical-align: top;
}

#detail > .picture_txt02 figure img {
  width: 450px;
  height: auto;
  margin-top: 10px;
}

#detail > .picture_txt02 p {
  display: table-cell;
  min-width: 300px;
  vertical-align: top;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_txt02 figure {
    display: table-header-group;
    width: auto;
    padding-left: 0;
  }

  #detail > .picture_txt02 figure img {
    width: 100%;
    height: auto;
    margin: 0 0 10px;
  }

  #detail > .picture_txt02 p {
    display: table-row-group;
    min-width: 0;
  }
}
#detail > .picture_txt03 figure {
  display: table-cell;
  width: 250px;
  padding-right: 50px;
  vertical-align: top;
}

#detail > .picture_txt03 figure img {
  width: 250px;
  height: auto;
  margin-top: 10px;
}

#detail > .picture_txt03 p {
  display: table-cell;
  min-width: 550px;
  vertical-align: top;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_txt03 figure {
    display: block;
    width: auto;
    padding-right: 0;
  }

  #detail > .picture_txt03 figure img {
    width: 100%;
    height: auto;
    margin: 0 0 10px;
  }

  #detail > .picture_txt03 p {
    display: block;
    min-width: 0;
  }
}
#detail > .picture_txt04 figure {
  display: table-cell;
  width: 250px;
  padding-left: 50px;
  vertical-align: top;
}

#detail > .picture_txt04 figure img {
  width: 250px;
  height: auto;
  margin-top: 10px;
}

#detail > .picture_txt04 p {
  display: table-cell;
  min-width: 550px;
  vertical-align: top;
}

@media only screen and (max-width: 414px) {
  #detail > .picture_txt04 figure {
    display: table-header-group;
    width: auto;
    padding-left: 0;
  }

  #detail > .picture_txt04 figure img {
    width: 100%;
    height: auto;
    margin: 0 0 10px;
  }

  #detail > .picture_txt04 p {
    display: table-row-group;
    min-width: 0;
  }
}
/* テーブル1 */
#detail > table.table01 {
  border-top: 2px solid #e4e4e4;
}

#detail > table.table01 tr th {
  min-width: 250px;
  width: 29.41%;
  padding: 30px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-bottom: 2px solid #e4e4e4;
  vertical-align: top;
}

#detail > table.table01 tr td {
  position: relative;
  min-width: 600px;
  width: 70.58%;
  padding: 30px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-bottom: 2px solid #e4e4e4;
  vertical-align: top;
}

#detail > table.table01 tr td::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 1px;
  height: calc(100% - 30px);
  background: #e4e4e4;
}

@media only screen and (max-width: 414px) {
  #detail > table.table01 tr th,
#detail > table.table01 tr td {
    min-width: 0;
    padding: 20px 15px;
  }
}
/* テーブル2 */
#detail > table.table02 tr:first-child th {
  min-width: 250px;
  width: 29.41%;
  padding: 15px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #e4e4e4;
  vertical-align: middle;
}

#detail > table.table02 tr:first-child th:nth-child(2) {
  position: relative;
  min-width: 600px;
  width: 70.58%;
}

#detail > table.table02 tr:first-child th:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 1px;
  height: calc(100% - 20px);
  background: #fff;
}

#detail > table.table02 tr:nth-child(n+2) th {
  min-width: 250px;
  width: 29.41%;
  padding: 30px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-bottom: 2px solid #e4e4e4;
  vertical-align: top;
}

#detail > table.table02 tr:nth-child(n+2) td {
  position: relative;
  min-width: 600px;
  width: 70.58%;
  padding: 30px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-bottom: 2px solid #e4e4e4;
  vertical-align: top;
}

#detail > table.table02 tr:nth-child(n+2) td::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 1px;
  height: calc(100% - 30px);
  background: #e4e4e4;
}

@media only screen and (max-width: 414px) {
  #detail > table.table02 tr:first-child th,
#detail > table.table02 tr:first-child th:nth-child(2) {
    min-width: 0;
    padding: 10px 15px;
  }

  #detail > table.table02 tr:nth-child(n+2) th,
#detail > table.table02 tr:nth-child(n+2) td {
    min-width: 0;
    padding: 20px 15px;
  }
}
/* テーブル3 */
#detail > table.table03 tr:first-child th {
  min-width: 425px;
  width: 50%;
  padding: 15px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #e4e4e4;
  vertical-align: middle;
}

#detail > table.table03 tr:first-child th:nth-child(2) {
  position: relative;
}

#detail > table.table03 tr:first-child th:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 1px;
  height: calc(100% - 20px);
  background: #fff;
}

#detail > table.table03 tr:nth-child(n+2) td {
  min-width: 425px;
  width: 50%;
  padding: 30px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-bottom: 2px solid #e4e4e4;
  vertical-align: top;
}

#detail > table.table03 tr:nth-child(n+2) td:nth-child(2) {
  position: relative;
}

#detail > table.table03 tr:nth-child(n+2) td:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 1px;
  height: calc(100% - 30px);
  background: #e4e4e4;
}

@media only screen and (max-width: 414px) {
  #detail > table.table03 tr:first-child th {
    min-width: 0;
    padding: 10px 15px;
  }

  #detail > table.table03 tr:nth-child(n+2) td {
    min-width: 0;
    padding: 20px 15px;
  }
}
/* 関連情報テキスト */
#detail > .supplement {
  margin-top: 100px;
  padding: 25px 30px;
  background: #e4e4e4;
  line-height: 2;
}

@media only screen and (max-width: 414px) {
  #detail > .supplement {
    margin-top: 50px;
    padding: 20px;
    background: #e4e4e4;
    line-height: 2;
  }
}
/*----------------------------------------
  profile
-----------------------------------------*/
#profile {
  margin-top: 100px;
  background: #e4e4e4;
}

#profile h1 {
  float: left;
  border-top: 5px solid #333;
}

#profile h1 span {
  display: table-cell;
  width: 90px;
  height: 85px;
  padding: 5px;
  background: #f2f2f2;
  text-align: center;
  vertical-align: middle;
}

#profile div {
  float: right;
  width: 700px;
}

#profile div p {
  float: left;
  width: 500px;
  padding: 25px 50px 25px 0;
}

#profile div figure {
  float: right;
  width: 150px;
}

#profile div figure img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 414px) {
  #profile {
    margin-top: 50px;
  }

  #profile h1 {
    display: block;
    float: none;
    border-top: 2px solid #333;
  }

  #profile h1 span {
    display: block;
    width: auto;
    height: auto;
    padding: 10px 20px;
    text-align: left;
  }

  #profile div {
    float: none;
    width: auto;
    padding: 20px;
  }

  #profile div p {
    float: right;
    width: 63.55%;
    margin-top: -5px;
    padding: 0;
  }

  #profile div figure {
    float: left;
    min-width: 79px;
    width: 26.77%;
  }
}
/*----------------------------------------
  relation
-----------------------------------------*/
#relation {
  display: table;
  position: relative;
  margin-top: 100px;
}

#relation > div:first-child {
  display: table-cell;
  width: 200px;
  background: #d4eefb;
  vertical-align: top;
}

#relation > div:first-child h1 {
  padding: 25px;
}

#relation > div:first-child p {
  position: absolute;
  bottom: 25px;
  left: 0;
}

#content #relation .btn_link01 a {
  min-width: 133px;
  padding: 5px 20px;
  text-align: right;
}

#relation > div:nth-child(2) {
  display: table-cell;
  vertical-align: top;
}

#relation > div:nth-child(2) > section {
  display: table-cell;
  width: 200px;
  padding-left: 50px;
}

#relation > div:nth-child(2) > section figure a:hover {
  opacity: 0.5;
}

#relation > div:nth-child(2) > section figure img {
  width: 200px;
  height: auto;
}

#relation > div:nth-child(2) > section ul {
  padding: 15px 0;
}

#relation > div:nth-child(2) > section ul:first-of-type li {
  float: left;
}

#relation > div:nth-child(2) > section ul:first-of-type li + li::before {
  content: "/";
  color: #999;
  margin-left: 3px;
  padding-right: 3px;
}

@media only screen and (max-width: 414px) {
  #relation {
    display: block;
    margin-top: 50px;
  }

  #relation > div:first-child {
    display: table;
    width: 100%;
    margin-bottom: 20px;
  }

  #relation > div:first-child h1 {
    display: table-cell;
    padding: 10px 15px;
    vertical-align: middle;
  }

  #relation > div:first-child p {
    display: table-cell;
    position: relative;
    width: 99px;
    bottom: 0;
    background: #3fb7ee;
    vertical-align: middle;
  }

  #content #relation .btn_link01 a {
    min-width: 79px;
    padding: 5px 10px;
    text-align: center;
  }

  #relation > div:nth-child(2) {
    display: block;
    margin-left: -20px;
  }

  #relation > div:nth-child(2) > section {
    width: calc(33.3333333333% - 20px);
    padding-left: 20px;
  }

  #relation > div:nth-child(2) > section ul {
    padding: 15px 0 10px;
  }

  #relation > div:nth-child(2) > section figure img {
    width: 100%;
    height: auto;
  }

  #relation > div:nth-child(2) > section:last-of-type {
    display: none;
  }
}
/*----------------------------------------
  imagepost
-----------------------------------------*/
#imagepost {
  margin-top: 100px;
}

#imagepost > h1 {
  padding-bottom: 20px;
}

#imagepost > div {
  background: #e4e4e4;
}

#imagepost > div > div {
  display: table;
  margin: 0 auto;
}

#imagepost > div > div > figure {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

#imagepost > div > div > figure img {
  width: 100%;
  height: auto;
}

#imagepost > div > div > figure div {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

#imagepost > div > div > figure div::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  background: #3fb7ee;
}

#imagepost > div > div > figure div dl {
  display: table-cell;
  width: 400px;
  height: 400px;
  background: rgba(228, 228, 228, 0.85);
  text-align: center;
  vertical-align: middle;
}

#imagepost > div > div > figure div dl::before {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 25px;
  width: 28px;
  height: 1px;
  background: #fff;
  z-index: 1;
}

#imagepost > div > div > figure div dl::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 15px;
  width: 20px;
  height: 20px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  z-index: 1;
}

#imagepost > div > div > figure div dl dt {
  padding-bottom: 34px;
  font-size: 185.71%;
  line-height: 1.2;
}

#imagepost > div > div > figure div dl dd {
  line-height: 1.5;
}

#imagepost > div > div > figure a:hover div {
  opacity: 1;
}

#imagepost > div > div > figure:first-child,
#imagepost > div > div > figure:first-child ~ figure,
#imagepost > div > div > figure:first-child:nth-last-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(2) ~ figure,
#imagepost > div > div > figure:first-child:nth-last-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(3) ~ figure,
#imagepost > div > div > figure:first-child:nth-last-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(5),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(6),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(4) {
  width: 400px;
  height: 400px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) {
  width: 200px;
  height: 200px;
}

#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) {
  padding: 0 0 200px;
  background: url(../img/s_logo01.png) no-repeat right 20px bottom 94px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) {
  width: 200px;
  height: 200px;
  margin: 200px 0 0 -200px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div::after {
  width: 30px;
  height: 30px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl {
  width: 200px;
  height: 200px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl::before,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl::before {
  right: 11px;
  bottom: 15px;
  width: 10px;
  height: 1px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl::after,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl::after {
  right: 11px;
  bottom: 11px;
  width: 8px;
  height: 8px;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl dt {
  padding-bottom: 14px;
  font-size: 128.57%;
}

#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl dd,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl dd {
  font-size: 85.7%;
}

@media only screen and (max-width: 414px) {
  #imagepost {
    margin: 50px 0 -30px;
  }

  #imagepost > h1 {
    padding-bottom: 10px;
  }

  #imagepost > div {
    background: #fff;
  }

  #imagepost > div > div > figure div::after {
    display: none;
  }

  #imagepost > div > div > figure div {
    position: relative;
    opacity: 1;
  }

  #imagepost > div > div > figure div dl {
    width: auto;
    height: auto;
    text-align: left;
    padding: 10px 0 30px;
    background: none;
  }

  #imagepost > div > div > figure div dl::before,
#imagepost > div > div > figure div dl::after {
    display: none;
  }

  #imagepost > div > div > figure div dl dt {
    padding-bottom: 10px;
    font-size: 114.2%;
  }

  #imagepost > div > div > figure div dl dd {
    font-size: 85.7%;
  }

  #imagepost > div > div > figure:first-child,
#imagepost > div > div > figure:first-child ~ figure,
#imagepost > div > div > figure:first-child:nth-last-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(2) ~ figure,
#imagepost > div > div > figure:first-child:nth-last-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(3) ~ figure,
#imagepost > div > div > figure:first-child:nth-last-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(5),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(6),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(4) {
    width: auto;
    height: auto;
  }

  #imagepost > div > div > figure:first-child:nth-last-child(3) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(4),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) {
    width: calc(50% - 10px);
    padding: 0 10px 0 0;
    height: auto;
  }

  #imagepost > div > div > figure:first-child:nth-last-child(3) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3),
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) {
    width: calc(50% - 10px);
    padding: 0 0 0 10px;
    height: auto;
    margin: 0;
  }

  #imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) {
    background: none;
  }

  #imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl {
    width: auto;
    height: auto;
  }

  #imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(2) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(4) ~ figure:nth-child(3) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(2) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(3) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(5) ~ figure:nth-child(5) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(2) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(3) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(5) div dl dt,
#imagepost > div > div > figure:first-child:nth-last-child(6) ~ figure:nth-child(6) div dl dt {
    padding-bottom: 10px;
    font-size: 114.2%;
  }
}