@charset "UTF-8";
/*===============================================
●画面の横幅が770px以上
===============================================*/
@media screen and (min-width: 770px) {
  #main_img {
    background-image: url(../img/works/main_img.jpg);
  }

  #conts_01 {
    width: 100%;
    float: left;
    clear: both;
    text-align: center;
    margin-top: 61px;
    padding-top: 40px;
  }
  #conts_01 .auto {
    width: 1046px;
  }
  #conts_01 .select_box {
    margin-bottom: 56px;
  }
  #conts_01 .selected_image {
    width: 100%;
    height: 604px;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
  }
  #conts_01 .selected_image img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  #conts_01 .thambnails {
    display: flex;
    width: 100%;
    margin: 0 auto;
    letter-spacing: -0.4em;
    text-align: left;
    flex-wrap: wrap;
  }
  #conts_01 .thambnails li {
    width: 115px;
    height: 115px;
    display: inline-block;
    letter-spacing: normal;
    vertical-align: top;
    margin-right: 18px;
    margin-bottom: 18px;
    position: relative;
  }
  #conts_01 .thambnails li:hover::before,
  #conts_01 .thambnails li.show::before {
    content: "";
    width: 100%;
    height: 100%;
    border: 4px solid #ffffff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9;
  }
  #conts_01 .thambnails li:nth-child(8n) {
    margin-right: 0;
  }
  #conts_01 .thambnails li img {
    width: 100%;
    height: auto;
    display: block;
  }
  #conts_01 .text_area {
    width: 815px;
    margin: 0 auto 77px;
  }
  #conts_01 .text_area h4 {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 16px;
  }
  #conts_01 .text_area .text {
    text-align: left;
    line-height: 32px;
  }

  #conts_01 .text_area .link {
    margin-top: 10px;
    text-align: left;
  }
  #conts_01 .text_area .link a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
  }
  #conts_01 .text_area .link a::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    bottom: -8px;
    left: 0;
    transform: scale(1, 1);
    transform-origin: left top;
    transition: transform 0.3s;
  }
  #conts_01 .text_area .link a:hover::after {
    transform-origin: right top;
    transform: scale(0, 1);
  }

  #conts_01 .page_select {
    width: 100%;
    float: left;
    clear: both;
    display: table;
    line-height: 1.3;
    background-image: url(../img/business/ptn_bg_01.jpg);
    background-repeat: repeat;
    background-position: left top;
    background-size: 4px;
    position: relative;
  }
  #conts_01 .page_select::before {
    content: "";
    width: 100%;
    height: 4px;
    background-color: #445c43;
    position: absolute;
    left: 0;
    top: -12px;
  }
  #conts_01 .page_select::after {
    content: "";
    width: 100%;
    height: 4px;
    background-color: #445c43;
    position: absolute;
    left: 0;
    bottom: -12px;
  }
  #conts_01 .page_select .pn_btn {
    width: 330px;
    display: table-cell;
  }
  #conts_01 .page_select .pn_btn a {
    display: table;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 17px 0 17px 53px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-image: url(../img/share/icon_05_rev.png);
    background-repeat: no-repeat;
    background-position: 30px center;
    background-size: 10px;
  }
  #conts_01 .page_select .next a {
    padding: 17px 53px 17px 0;
    background-image: url(../img/share/icon_05.png);
    background-position: right 30px center;
  }
  #conts_01 .page_select .pn_btn figure {
    width: 91px;
    height: 91px;
    float: left;
    position: relative;
    display: table-cell;
  }
  #conts_01 .page_select .pn_btn figure img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  #conts_01 .page_select .pn_btn p.name {
    width: 180px;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #conts_01 .page_select .next p.name {
    text-align: right;
  }
  #conts_01 .page_select .for_list {
    font-size: 16px;
    display: table-cell;
    vertical-align: middle;
  }
  #conts_01 .page_select .for_list a {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 50px;
    text-decoration: none;
  }
}

/*===============================================
●画面の横幅が769pxまで（iPhone6 横向きまで）
===============================================*/
@media screen and (max-width: 769px) {
  #main_img {
    background-image: url(../img/works/main_img.jpg);
  }

  #conts_01 {
    width: 100%;
    float: left;
    clear: both;
    text-align: center;
    margin-top: 48px;
    padding-top: 20px;
  }
  #conts_01 .select_box {
    margin-bottom: 30px;
  }
  #conts_01 .selected_image {
    width: 100%;
    height: 0;
    padding-top: 57%;
    margin: 0 auto 12px;
    position: relative;
    overflow: hidden;
  }
  #conts_01 .selected_image img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  #conts_01 .thambnails {
    width: 100%;
    margin: 0 auto;
    letter-spacing: -0.4em;
    text-align: left;
  }
  #conts_01 .thambnails li {
    width: calc(25% - 6px);
    display: inline-block;
    letter-spacing: normal;
    vertical-align: top;
    margin-right: 8px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
  }
  #conts_01 .thambnails li:hover::before,
  #conts_01 .thambnails li.show::before {
    content: "";
    width: 100%;
    height: 100%;
    border: 3px solid #ffffff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9;
  }
  #conts_01 .thambnails li:nth-of-type(4n) {
    margin-right: 0;
  }
  #conts_01 .thambnails li img {
    width: 100%;
    height: auto;
    display: block;
  }
  #conts_01 .text_area {
    margin-bottom: 44px;
  }
  #conts_01 .text_area h4 {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  #conts_01 .text_area .text {
    text-align: left;
    line-height: 1.8;
  }
  #conts_01 .text_area .link {
    margin-top: 10px;
    text-align: left;
  }
  #conts_01 .text_area .link a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    border-bottom: solid 2px #fff;
  }
  #conts_01 .page_select {
    width: 100%;
    float: left;
    clear: both;
    display: table;
    line-height: 1.3;
    background-image: url(../img/business/ptn_bg_01.jpg);
    background-repeat: repeat;
    background-position: left top;
    background-size: 4px;
    position: relative;
  }
  #conts_01 .page_select::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #445c43;
    position: absolute;
    left: 0;
    top: -6px;
  }
  #conts_01 .page_select::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #445c43;
    position: absolute;
    left: 0;
    bottom: -6px;
  }
  #conts_01 .page_select .pn_btn {
    width: 50%;
    display: table-cell;
    vertical-align: top;
  }
  #conts_01 .page_select .pn_btn a {
    width: 100%;
    display: table;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 12px 2% 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #conts_01 .page_select .pn_btn figure {
    width: 52px;
    height: 52px;
    display: table-cell;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
  }
  #conts_01 .page_select .pn_btn figure img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  #conts_01 .page_select .pn_btn .name {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.4;
    padding-left: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #conts_01 .page_select .next .name {
    text-align: right;
    padding-left: 0;
    padding-right: 6px;
  }
}
