@charset "UTF-8";

/*PC用*/

@media screen and (min-width:641px) {
  .pc {
    display: block !important
  }
  .sp {
    display: none !important
  }
  .h_menu, #sp_global_nav {
    display: none;
  }
  /* CSS Document */
  .h2-box {
    background: url(../images/case_interior/h2.jpg) no-repeat top;
    height: 220px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #0a090a;
    margin-bottom: 35px;
  }
  #box1 .case {
    margin-bottom: 45px;
  }
  #box1 .case li {
    background: url(../images/common/box1_bg.png) repeat top;
    width: 250px;
    border: 1px solid #b3b3b3;
    padding: 11px 11px 20px;
    margin-bottom: 25px;
    margin-right: 25px;
  }
  #box1 .case li:nth-child(3n) {
    margin-right: 0px;
  }
  #box1 .case li .photo {
    margin-bottom: 10px;
  }
  #box1 .case li .fit {
    width: 230px;
    height: 170px;
    text-align: center;
  }
  #box1 .case li .fit img {
    width: auto;
    height: auto;
    max-width: 230px;
    max-height: 170px;
  }
  #box1 .case li .customer {
    color: #ffe400;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  #box1 .case li .customer:before {
    content: "■";
    margin-right: .3em;
  }
  #box1 .case li .ttl {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  #box1 .case li a:hover {
    text-decoration: none;
  }
  #box1 .case li .money {
    color: #ff4800;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    background-color: #fff;
    padding: 6px 0;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
  }
  #box1 .case li .money span {
    background-color: #ffce00;
    margin-right: 1em;
    color: #0a090a;
    font-size: 14px;
    padding: 12px 21px 9px;
  }
  #box1 .case li .construction {
    color: #0a090a;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    background-color: #fff;
    padding: 6px 0;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
  }
  #box1 .case li .construction span {
    background-color: #d1e4af;
    margin-right: 1em;
    color: #0a090a;
    font-size: 14px;
    padding: 12px 21px 9px;
  }
  #dl_box {
    background: url(../images/common/box1_bg.png) repeat top;
    padding: 30px;
    margin-bottom: 15px;
  }
  #dl_box .wh_box {
    background-color: #fff;
    padding: 30px 30px 40px;
  }
  #dl_box .list {
    margin-bottom: 30px;
  }
  #dl_box .customer {
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #ff7e00;
    margin-bottom: 15px;
  }
  #dl_box .money {
    background-color: #ffce00;
    color: #0a090a;
    font-size: 14px;
    padding: 20px 21px;
    height: 50px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
  #dl_box .money02 {
    color: #ff4800;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.5;
    background-color: #fff;
    padding: 7px 15px;
    letter-spacing: 0.05em;
    border-right: 1px dotted #000;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    height: 50px;
    width: 185px;
    margin-right: 30px;
  }
  #dl_box .construction {
    background-color: #d1e4af;
    color: #0a090a;
    font-size: 14px;
    padding: 20px 21px;
    height: 50px;
    font-weight: bold;
  }
  #dl_box .construction02 {
    color: #0a090a;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    background-color: #fff;
    padding: 10px 15px;
    letter-spacing: 0.05em;
    border-right: 1px dotted #000;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    height: 50px;
    width: 155px;
  }
  #dl_box .ttl {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #0a090a;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px dotted #000;
  }
  #dl_box .box_l {
    padding-top: 13px;
    width: 260px;
  }
  #dl_box .before_list li {
    margin-right: 8px;
  }
  #dl_box .before_list li:nth-child(4n) {
    margin-right: 0px;
  }
  #dl_box .box_l dt {
    margin-bottom: 15px;
  }
  #dl_box .box_l dd figure {
    margin-bottom: 15px;
    position: relative;
  }
  #dl_box .box_l dd figure:after {
    content: url(../images/common/triangle_r.png);
    margin-right: .3em;
    position: absolute;
    right: -60px;
    top: 50%;
  }
  #dl_box .box_l .fit {
    width: 58px;
    height: 57px;
  }
  #dl_box .box_l .fit img {
    width: 58px;
    height: 57px;
  }
  #dl_box .box_r {
    width: 350px;
  }
  #dl_box .after_list li {
    margin-right: 7px;
  }
  #dl_box .after_list li:nth-child(4n) {
    margin-right: 0px;
  }
  #dl_box .box_r dt {
    margin-bottom: 15px;
  }
  #dl_box .box_r dd figure {
    margin-bottom: 15px;
    position: relative;
  }
  #dl_box .box_r .fit {
    width: 82px;
    height: 70px;
  }
  #dl_box .box_r .fit img {
    width: 82px;
    height: 70px;
  }
  #dl_box .photo-box {
    margin-bottom: 50px;
  }
  #dl_box .txt {
    font-size: 14px;
    line-height: 2.5;
    letter-spacing: 0.05em;
    color: #0a090a;
    margin-bottom: 30px;
  }
  #dl_box h5 {
    margin-bottom: 20px;
  }
  #dl_box .gallery-list li {
    margin-bottom: 20px;
    margin-right: 20px;
  }
  #dl_box .gallery-list li:nth-child(4n) {
    margin-right: 0px;
  }
  #dl_box .gallery-list .fit {
    width: 155px;
    height: 120px;
  }
  .btn_list {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 15px;
  }
  .btn_list .box_l .pray {
    background: url(../images/common/dl_box_pray_bg.png) no-repeat left 10px center;
    padding-left: 2em;
  }
  .btn_list .box_l .next {
    background: url(../images/common/dl_box_next_bg.png) no-repeat right center;
    padding-right: 1em;
    padding-left: 1em;
  }
  #container {
    margin: 0 auto;
    max-width: 550px;
  }
  .thumbnail {
    margin: 0 0 10px;
    width: 100%;
  }
  .thumbnail li {
    margin-bottom: 5px;
    list-style: none;
  }
  .thumbnail li :nth-child(4n) {
    margin-right: 0px;
  }
  .thumbnail li img {
    width: 100%;
    opacity: 0.5;
    filter: alpha(opacity=50);
  }
  .thumbnail li.current img {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  .main_photo {
    position: relative;
    height: 500px;
  }
  .main_photo img {
    position: absolute;
    top: 0;
	  left: 0;
	  right: 0;bottom: 0;margin-right: auto;margin-left: auto;
    max-width: 100%;
    max-height: 234px;
	  text-align: center;
  }
}


/*SP用*/

@media screen and (max-width:640px) {
  .pc {
    display: none !important
  }
  .sp {
    display: block !important
  }
  img {
    max-width: 100%;
    height: auto;
    width: auto;
  }
  body {
    min-width: auto !important;
    overflow: inherit !important;
  }
  .sp_tac {
    text-align: center !important;
  }
  .sp_tar {
    text-align: right !important;
  }
  .sp_mb15 {
    margin-bottom: 15px !important;
  }
  .sp_mb20 {
    margin-bottom: 20px !important;
  }
  div, p, dd, dl, dt, th, td, span, li {
    box-sizing: border-box;
  }
  /* CSS Document */
  .h2-box {
    background: url(../images/case_interior/h2.jpg) no-repeat top;
    height: 220px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #0a090a;
    margin-bottom: 35px;
  }
  #box1 .case {
    margin-bottom: 45px;
  }
  #box1 .case li {
    background: url(../images/common/box1_bg.png) repeat top;
    width: 100%;
    border: 1px solid #b3b3b3;
    padding: 11px 11px 20px;
    margin-bottom: 25px;
    margin-right: 25px;
  }
  #box1 .case li:nth-child(3n) {
    margin-right: 0px;
  }
  #box1 .case li .photo {
    margin-bottom: 10px;
  }
  #box1 .case li .fit {
    width: 100%;
    height: 170px;
    text-align: center;
  }
  #box1 .case li .fit img {
    width: auto;
    height: auto;
    max-width: 230px;
    max-height: 170px;
  }
  #box1 .case li .customer {
    color: #ffe400;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  #box1 .case li .customer:before {
    content: "■";
    margin-right: .3em;
  }
  #box1 .case li .ttl {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  #box1 .case li a:hover {
    text-decoration: none;
  }
  #box1 .case li .money {
    color: #ff4800;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    background-color: #fff;
    padding: 6px 0;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
  }
  #box1 .case li .money span {
    background-color: #ffce00;
    margin-right: 1em;
    color: #0a090a;
    font-size: 14px;
    padding: 12px 21px 9px;
  }
  #box1 .case li .construction {
    color: #0a090a;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    background-color: #fff;
    padding: 6px 0;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
  }
  #box1 .case li .construction span {
    background-color: #d1e4af;
    margin-right: 1em;
    color: #0a090a;
    font-size: 14px;
    padding: 12px 21px 9px;
  }
  #dl_box {
    background: url(../images/common/box1_bg.png) repeat top;
    padding: 15px 4vw 15px;
    margin-bottom: 15px;
  }
  #dl_box .wh_box {
    background-color: #fff;
    padding: 15px 4vw 15px;
  }
  #dl_box .list {
    margin-bottom: 30px;
    justify-content: center;
  }
  #dl_box .customer {
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #ff7e00;
    margin-bottom: 15px;
  }
  #dl_box .money {
  background-color: #ffce00;
  color: #0a090a;
  font-size: 4vw;
  padding: 20px 2vw;
  height: 70px;
  font-weight: 700;
  letter-spacing: 0.05em;
  }
  #dl_box .money02 {
  color: #ff4800;
  font-size: 5vw;
  font-weight: 700;
  line-height: 1.5;
  background-color: #fff;
  padding: 20px 5px 0;
  letter-spacing: 0.05em;
  border-right: 1px dotted #000;
  border-top: 1px dotted #000;
  border-bottom: 1px dotted #000;
  height: 70px;
  width: 100%;
  margin-right: 16px;
  }
  #dl_box .construction {
  background-color: #d1e4af;
  color: #0a090a;
  font-size: 14px;
  padding: 20px 2vw;
  height: 70px;
  font-weight: 700;
  }
  #dl_box .construction02 {
  color: #0a090a;
  font-size: 5vw;
  font-weight: 700;
  line-height: 1.5;
  background-color: #fff;
  padding: 19px 15px;
  letter-spacing: 0.05em;
  border-right: 1px dotted #000;
  border-top: 1px dotted #000;
  border-bottom: 1px dotted #000;
  height: 70px;
  width: 100%;
  }
  #dl_box .ttl {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #0a090a;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px dotted #000;
  }
  #dl_box .box_l {
    padding-top: 13px;
  }
  #dl_box .before_list li {
    margin-right: 8px;
  }
  #dl_box .before_list li:nth-child(4n+1) {
    margin-left: 1%;
  }
  #dl_box .before_list li:nth-child(4n) {
    margin-right: 1% !important;
  }
  #dl_box .box_l dt {
    margin-bottom: 15px;
  }
  #dl_box .box_l dd figure {
    margin-bottom: 15px;
    position: relative;
  }
  #dl_box .box_l dd figure:after {
    content: url(../images/common/triangle_r.png);
    margin-right: .3em;
    position: absolute;
    right: -60px;
    top: 50%;
    display: none;
  }
  #dl_box .box_l .fit {
    width: 23%;
    height: 57px;
  }
  #dl_box .box_l .fit img {
    width: 100%;
    height: 57px;
  }
  #dl_box .box_r {
    width: 100%;
  }
  #dl_box .after_list li {
    margin-right: 7px;
  }
  #dl_box .after_list li:nth-child(4n+1) {
    margin-left: 1%;
  }
  #dl_box .after_list li:nth-child(4n) {
    margin-right: 1% !important;
  }
  #dl_box .box_r dt {
    margin-bottom: 15px;
  }
  #dl_box .box_r dd figure {
    margin-bottom: 15px;
    position: relative;
  }
  #dl_box .box_r dd figure img {
    margin: 0 auto;
    max-width: 98%;
	height: 180px;
  }
  #dl_box .box_r .fit {
    width: 23%;
    height: 57px;
  }
  #dl_box .box_r .fit img {
    width: 23%;
    height: 57px;
  }
  #dl_box .photo-box {
	display: block;
  }
  #dl_box .txt {
    font-size: 4vw;
    line-height: 25px;
    letter-spacing: 0.05em;
    color: #0a090a;
    margin-bottom: 30px;
  }
  #dl_box h5 {
    margin-bottom: 20px;
  }
  #dl_box .gallery-list li {
	margin: 0 1% 20px 0;
	width: 49%;
  }
  #dl_box .gallery-list li:nth-child(4n) {
    margin-right: 0px;
  }
  #dl_box .gallery-list li:nth-child(even) {
	margin: 0 0 20px 1%;
  }
  #dl_box .gallery-list .fit {
	width: 49%;
    height: 120px;
  }
  .btn_list {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 15px;
  }
  .btn_list .box_l .pray {
    background: url(../images/common/dl_box_pray_bg.png) no-repeat left 10px center;
    padding-left: 2em;
  }
  .btn_list .box_l .next {
    background: url(../images/common/dl_box_next_bg.png) no-repeat right center;
    padding-right: 1em;
    padding-left: 1em;
  }
  #container {
    margin: 0 auto;
    max-width: 550px;
  }
  .thumbnail {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
    margin: 0 0 10px;
    width: 100%;
  }
  .thumbnail li {
    margin-bottom: 5px;
    list-style: none;
    margin-right:2% !important;
  }
  .thumbnail li img {
    width: 100%;
    opacity: 0.5;
    filter: alpha(opacity=50);
  }
  .thumbnail li.current img {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  .main_photo {
    position: relative;
    height: 500px;
  }
  .main_photo img {
    position: absolute;
    top: 0;
	  left: 0;
	  right: 0;bottom: 0;margin-right: auto;margin-left: auto;
    max-width: 100%;
    max-height: 234px;
	  text-align: center;
  }
}