@charset "UTF-8";

.work .ser-ti p.txt-center{
    font-weight: bold;
    font-size: 1.4em;
}

@media screen and (min-width: 768px){
  .sub-content {
      display: block;
      padding: 45px 0 0px 0;
  }
  .sub-content h2 {
      font-size: 1.8em;
      text-align: center;
      line-height: 110%;
      font-weight: bold;
      padding: 13px 0 14px 0;
  }
}

@media screen and (max-width: 768px){
  .sub-content {
      display: block;
      padding: 45px 0 0px 0;
  }
}

@media screen and (min-width: 568px) and (max-width: 1300px){
  .work01 {
      margin-left: 2%;
      margin-right: 2%;
  }
}

.work01 h2 {
    background: #2c1f86;
    padding: 0.5em;
    color: #fff;
}


@media screen and (min-width: 568px) {
    .work01 {
      display: block;
      max-width: 1300px;
      margin: 0 auto;
      padding-bottom: 40px;
    }
  .ser-list {
    display: block;
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 45px;
    padding-top: 50px; }
    .ser-list li {
      display: block;
      float: left;
      width: 410px;
      margin-bottom: 30px;
      margin-right: 30px; }
    .ser-list li:nth-child(3n) {
      margin-right: 0px; }
    .ser-list li a {
      display: block;
      text-align: center;
      position: relative;
      text-decoration: none;
      color: #333;
      font-weight: bold;
      border: #2c1f86 solid 3px;
      font-size: 18px;
      padding: 5px 10px 20px 10px;
      line-height: 130%; }
    .ser-list li a::before, .ser-list li a::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      content: "";
      vertical-align: middle; }
    .ser-list li a::before {
      bottom: 8px;
      width: 6px;
      height: 6px;
      border-bottom: 1px solid #2c1f86;
      border-right: 1px solid #2c1f86;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg); } }
@media screen and (min-width: 568px) and (max-width: 1340px) {
  .ser-list {
    display: block;
    margin-left: 2%;
    margin-right: 2%;
    padding-bottom: 45px;
    padding-top: 50px; }
    .ser-list li {
      display: block;
      float: left;
      width: 31%;
      min-height: 50px;
      margin-left: 1% !important;
      margin-right: 1% !important;
      margin-bottom: 30px;
      margin-left: 30px; }
    .ser-list li:nth-child(5n) {
      margin-left: 1% !important;
      margin-right: 1% !important; }
    .ser-list li a {
      font-size: 16px; } }
@media screen and (max-width: 568px) {
  .ser-ti {
    padding-left: 15px;
    padding-right: 15px; }
    /*.ser-ti p br {
      display: none; }
*/
  .ser-list {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    padding-bottom: 30px;
    padding-top: 20px; }
    .ser-list li {
      display: block;
      float: left;
      width: 48%;
      margin-bottom: 15px; }
    .ser-list li:nth-child(2n) {
      float: right; }
    .ser-list li a {
      display: block;
      text-align: center;
      position: relative;
      text-decoration: none;
      color: #333;
      font-weight: bold;
      border: #2c1f86 solid 2px;
      font-size: 12px;
      padding: 5px 10px 20px 10px;
      line-height: 130%; }
    .ser-list li a::before, .ser-list li a::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      content: "";
      vertical-align: middle; }
    .ser-list li a::before {
      bottom: 4px;
      width: 3px;
      height: 3px;
      border-bottom: 1px solid #2c1f86;
      border-right: 1px solid #2c1f86;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg); } }



@media screen and (min-width: 768px){
  .sub-content p {
      font-size: 16px;
      line-height: 190%;
  }
}

/* WORK01 */
.work01 h2{
    background: #2c1f86;
    padding: 0.5em;
    color: #fff;
}

@media screen and (min-width: 568px) {
  .work01 {
    display: block;
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 40px; }
    .work01 .float-box-l {
      display: block;
      padding: 30px 0 50px 0; }
      .work01 .float-box-l .lef {
        display: block;
        float: left;
        width: 48.5%; }
      .work01 .float-box-l .lef figure {
        display: block; }
      .work01 .float-box-l .lef img {
        width: 100%; }
      .work01 .float-box-l .ref {
        display: block;
        float: right;
        width: 48%; }
      .work01 .float-box-l .ref h3 {
        display: block;
        font-size: 20px;
        font-weight: bold;
        padding-bottom: 20px; }
      .work01 .float-box-l .ref p {
        display: block; }}
@media screen and (min-width: 568px) and (max-width: 1300px) {
  .work01 {
    margin-left: 2%;
    margin-right: 2%; } }
@media screen and (max-width: 568px) {
  .work01 {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px; }
    .work01 .float-box-l {
      display: block;
      padding: 20px 0 30px 0; }
      .work01 .float-box-l .lef {
        display: block;
        padding-bottom: 20px; }
      .work01 .float-box-l .lef figure {
        display: block; }
      .work01 .float-box-l .lef img {
        width: 100%; }
      .work01 .float-box-l .ref {
        display: block; }
      .work01 .float-box-l .ref h3 {
        display: block;
        font-size: 16px;
        font-weight: bold;
        padding-bottom: 20px; }
      .work01 .float-box-l .ref p {
        display: block;
        line-height: 150%;
        font-size: 1.1em;}
      .ser-ti p {
        font-size: 20px;
        text-align: left; } }


.sub-content.child .work01 .float-box-l .ref h3 {
  font-size: 24px;
  color: #2c1f86;
}
.sub-content.child .work01 .float-box-l:nth-child(even) .ref {
  float: left;
}
.sub-content.child .work01 .float-box-l:nth-child(even) .lef {
  float: right;
}
.sub-content p.fukidashi {
  position: relative;
  margin: 0 auto 30px;
  padding: 15px;
  font-size: 22px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.05em;
  color: #fff;
  background-color: #6960ac;
  border-radius: 8px;
  font-weight: bold;
}
.sub-content p.fukidashi span{
    font-size: 18px;
}
.sub-content p.fukidashi::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top-color: #6960ac;
}
.sub-content p.fukidashi.bousai span{
  font-weight: normal;
}
.sub-content .flex table {
  width: 48%;
  border: solid 2px #ccc;
}
.sub-content .flex table tr:nth-child(odd) {
  background-color: #efefef;
}
.sub-content table tr th {
    text-align: center;
    background-color: #cbd1e9;
    border: 1px solid #fff;
}
.sub-content .flex table td,
.sub-content .flex table th {
    padding: 5px;
    color: #000a15;
    border: 1px solid #ccc;
}
.sub-content table td.title{
    background: #2c1f86;
    color:#fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}
@media screen and (max-width: 568px) {
  .sub-content .flex table {
    width: 100%;
    margin-bottom: 20px;
  }
  .sub-content .flex table th {
    padding: 2px;
  }
  .sub-content.child .work01 .float-box-l:nth-child(even) .ref {
    float: none;
  }
  .sub-content.child .work01 .float-box-l:nth-child(even) .lef {
    float: none;
  }
  .sub-content p.fukidashi.bousai{
    text-align: left;
  }
  .sub-content p.fukidashi.bousai span{
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .sub-content h2 {
      font-size: 18px;
      text-align: center;
      line-height: 130%;
      font-weight: bold;
      padding: 13px 12px 14px 12px;
  }
}