/* Price */
.br-pc {
    display: block;
}
.br-sp {
    display: none;
}
#price .inner .boxes,
#design .inner .boxes,
#print .inner .boxes {
    overflow: hidden;
}
#price .inner .boxes:after,
#design .inner .boxes:after,
#print .inner .boxes:after {
    clear: both;
}

.p_tit {
    font-size: 30px;
    font-weight: 700;
    margin: 80px 0 20px 20px;
    max-width: 900px;
    line-height: 1.3em;
    text-align: left;
}
.p_txt {
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 10px 40px;
    max-width: 900px;
    line-height: 20px;
    text-align: left;
}
.p_subtit {
    font-size: 21px;
    font-weight: 700;
    margin: 30px 0 10px 20px;
    max-width: 900px;
    line-height: 18px;
    text-align: left;
}
.p_caution {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 0 60px;
    max-width: 900px;
    line-height: 20px;
    text-align: left;
}
.p_caution::before {
    content: "※ ";
    margin-left: -18px;
}
#price ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px auto;
    padding-left: 25px;
}
#price ul li {
    position: relative;
    text-align: left;
    width: 32%;
    height: 140px;
    margin: 0 10px 10px 0;
    padding: 10px;
    background-color: #CCC;
    border-radius: 10px;
}
#price ul li img {
    position: absolute;
    height: 110px;
    bottom: 10px;
    right: 10px
}
#price ul li:nth-of-type(3n) {
    margin: 0 0 10px 0;
}
#price .inner_item {
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.0em;
    color: #FFF;
}
#price .inner_price {
    padding-top: 10px;
    font-size: 42px;
    font-weight: 700;
    color: #1672C4;
}
#price .inner_price2 {
    padding-top: 0px;
    font-size: 42px;
    font-weight: 700;
    color: #1672C4;
}
#price .inner_price span,
#price .inner_price2 span {
    font-size: 18px;
    font-weight: 600;
    padding-left: 5px;
}
#price .inner_memo {
    font-size: 15px;
}

/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
  display: none;
}
.modaal-container {
	max-width: 90%;
  margin: 0 auto;
  position: relative;
}
/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
  background:#ccc;  
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
  background:#666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title{
  font-size:1.2rem;
  text-align: center;
  margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
  padding:0;
}

/*以下はコンテンツ内のレイアウト*/
.info-list {
  display: flex;
}
.in_box {
  position: relative;
  border: 1px solid #ddd;
  width: 95%;
  margin: 20px auto 0;
  padding: 30px 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.in_box span {
  display: inline-block; 
  font-size: 21px;
  font-weight: 700;
  padding: 0 10px;
}
.in_box span.str {
  display: inline-block; 
  font-size: 24px;
  font-weight: 700;
  background : linear-gradient(transparent 50%, #ffa64d 65%);
}
.in_toptit {
  font-size: 26px;
  font-weight: 700;
  margin: 0 auto 10px;
  line-height: 1.3em;
  text-align: center;
}
.in_toptit#red {
  color: #E2304E;
}
.in_tit {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 0 30px;
  max-width: 900px;
  text-align: left;
}
.starburst {
  position: absolute;
  background-image: url(../images/price/star.svg);
  background-size: 150px auto;
  background-repeat: no-repeat;
  width: 150px;
  height: 150px;
  right: 0;
  bottom:50px;
}

.modaal-close {
	right: 10px;
	top: 80px;
}

ul li .info {
  transform: translateY(5px);
}
#price .item_btn a:hover {
    transform: translateY(5px);
}
    .table-style {
        margin:25px auto 10px auto;
        border-top:1px solid #ddd;
        border-right:1px solid #ddd;
        width:95%
    }
    .table-style th, .table-style td {
        padding: 15px;
        border-bottom:1px solid #ddd;
        border-left:1px solid #ddd;
    }
    #design .table-style th,
    #print .table-style th {
        width: 400px;
        font-size: 21px;
        font-weight: 700;
        color: #FFF;
        background-color:#1672C4;
    }
    .table-style th span,
    .table-style td span {
        font-size: 15px;
        font-weight: 600;
    }
    #design .table-style td,
    #print .table-style td {
        font-size: 20px;
        font-weight: 700;
        text-align: left;
    }

    .table-style#in_list {
      margin: 5px auto;
    }
    .table-style#in_list th {
        width: 250px;
        font-size: 21px;
        font-weight: 700;
        color: #FFF;
        background-color:#1672C4;
        vertical-align: middle;
    }
    .table-style#in_list td span {
        font-size: 15px;
        font-weight: 400;
        vertical-align: middle;
    }
    .table-style#in_list td {
      font-size: 21px;
      font-weight: 700;
      vertical-align: middle;
    }
    .table-style#in_list td#en {
      min-width: 160px;
      text-align: right;
    }
    .step{
        list-style-type: none;
        display: table;
        width: 95%;
        padding: 0;
        margin: 25px auto 15px auto;
        overflow: hidden;
      }
      .step li{
        display: table-cell;
        position: relative;
        font-size: 15px;
        font-weight: 600;
        padding: 0.5em 0 0.5em 1em;
        margin-bottom: -80px;
        vertical-align: middle;
        color: #fff;
        background-position: left 20% top;
        background-size: auto 50px;
        background-repeat: no-repeat;
      }
      .step li:before,
      .step li:after{
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        margin: auto;
      }
      .step li:before{
        top:-15px;
        right:-1em;
        border-style: solid;
        border-color: transparent transparent transparent #fff;
        border-width: 45px 0 45px 1em;
        z-index: 10;
      }
      .step li:after{
        top: -15px;
        right: -.8em;
        border-style: solid;
        border-color: transparent transparent transparent #504944;
        border-width: 45px 0 45px 1em;
        z-index: 10;
      }
      .step li:nth-of-type(1) {
        background-color:#1672C4;
        background-image: url(../images/price/p_01.svg);
      }
      .step li:nth-of-type(1):after{
        border-color: transparent transparent transparent #1672C4;
      }
      .step li:nth-of-type(2) {
        background-color:#57CCCE;
        background-image: url(../images/price/p_02.svg);
      }
      .step li:nth-of-type(2):after{
        border-color: transparent transparent transparent #57CCCE;
      }
      .step li:nth-of-type(3) {
        background-color:#9ACC4C;
        background-image: url(../images/price/p_03.svg);
      }
      .step li:nth-of-type(3):after{
        border-color: transparent transparent transparent #9ACC4C;
      }
      .step li:nth-of-type(4) {
        background-color:#EBEF54;
        background-image: url(../images/price/p_04.svg);
      }
      .step li:nth-of-type(4):after{
        border-color: transparent transparent transparent #EBEF54;
      }
      .step li:last-child {
        padding-right: 1em;
        background-color:#FFD215;
        background-image: url(../images/price/p_05.svg);
      }
      .step li:last-child:before,
      .step li:last-child:after{
        display:none;
      }

.price-box{
    text-align: center;
    margin:50px auto 0;
    cursor: pointer;
}
.service-boxes {
  display: flex;
  width: 100%;
}
.service-box {
  width: 160px;
}


/* モーダル全体(背景＋本体) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
}

/* モーダル背景 */
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}

/* モーダル本体 */
.modal-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
  width: 90%;
  background: #FFF;
  padding: 30px;
}

.modal-content#works_item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
  width: 70%;
  background: #FFF;
  padding: 30px;
}
.modal-content#works_item img {
  width: 90%;
}
.modal-content#works_item2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  overflow-x: hidden;
  height: 90%;
  width: auto;
  background: #FFF;
  padding: 30px 10px 10px;
}
.modal-content#works_item2 img {
  height: 100%;
}
/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

.modal-content a {
  position: absolute;
  top: -10px;
  right: 20px;
  color: #333;
  font-size: 40px;
  text-align: right;
}
@media only screen and (max-width: 970px){

  #price ul li {
    width: 48%;
  }
  #price ul li:nth-of-type(2n) {
      margin: 0 0 10px 0;
  }
  #price ul li:nth-of-type(3n) {
      margin: 0 10px 10px 0;
  }
}
@media screen and (max-width:640px) {
	.home{
		background:url(../images/1.jpg) top center fixed;
	}
	#services{
		background:url(../images/i1.jpg) top center fixed;
		padding: 20px 0;
	}
  .service-boxes {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
	.service-box {
		width: 48%;
    min-width: 50%;
	}
	.service-box .service-header{
		margin-top: 10px;
		font-size: 15px;
    font-weight: 700;
	}
    .br-pc {
        display: none;
    }
    .br-sp {
        display: block;
    }
    .p_tit {
      text-align: center;
        font-size: 24px;
        margin: 50px 0 10px 0;
        padding: 0;
    }
    .p_txt {
        margin: 0 10px 10px 10px;
    }
    .p_subtit {
        margin: 30px 10px 10px 10px;
    }
    .p_caution {
        width: 100%;
        margin: 0;
        padding: 0 10px;
        font-size: 12px;
    }
    .p_caution#inn {
        padding: 0;
    }
    .p_caution::before {
        margin-left: 0;
    }
    #price ul {
        flex-flow: column;
        align-items: center;
        width: 100%;
        padding-left: 0;
        margin: 20px auto;
    }
    #price ul li {
        width: 95%;
        height: 110px;
        margin: 0 0 10px;
    }
    #price ul li img {
        height: 90px;
        bottom: calc(50% - 45px);
        right: 10px
    }
    #price ul li:nth-of-type(3n) {
        margin: 0 0 10px;
    }
    #price .inner_item {
        padding: 0;
        font-size: 21px;
    }
    #price .inner_price,
    #price .inner_price2 {
        padding-top: 0;
        font-size: 36px;
    }
    .in_box {
      width: 100%;
      padding: 10px 0;
    }
    .table-style#in_list {
      margin: 5px auto;
      width: 100%;
    }
    .table-style#in_list th,
    .table-style#in_list td {
        width: 100%;
        padding: 10px;
        font-size: 18px;
        line-height: 1.3em;
    }
    .table-style#in_list th  {
      text-align: center;
    }
    .starburst {
      background-size: 100px auto;
      width: 100px;
      height: 100px;
      right: -30px;
      bottom: 130px;
    }
    .in_toptit,
    .in_box span.str {
      font-size: 21px;
    }
    #design .table-style th, .table-style td{
        display: block;
    }

    #design .table-style,
    #dprint .table-style {
        margin: 10px auto;
        width: 95%
    }
    #design .table-style th,
    #print .table-style th,
    #design .table-style td,
    #print .table-style td {
        width: 100%;
        text-align: center;
    }

    .step{
        display: flex;
        flex-flow: column;
        padding:0 10px;
        margin:0;
        width:100%;
      }
      .step li {
        position: relative;
        width: 100%;
        min-height: 100px;
        padding: 2em 0 1em;
        margin-bottom: 0;
        text-align:center;
        background-position: left 15% top 20px;
        background-size: auto 60px;
      }
      .step li:before{
        border-color: none;
      }
      .step li:after{
        content: "";
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        width: 0;
        height: 0;
        border-width: 5vw 48vw 0 48vw;
        z-index: 10;
      }
      .step li:nth-of-type(1):after{
        border-color: #1672C4 transparent transparent transparent;
      }
      .step li:nth-of-type(2):after{
        border-color: #57CCCE transparent transparent transparent;
      }
      .step li:nth-of-type(3):after{
        border-color: #9ACC4C transparent transparent transparent;
      }
      .step li:nth-of-type(4):after{
        border-color: #EBEF54 transparent transparent transparent;
      }
      .step li:nth-of-type(5):after{
        border-color: #FFD215 transparent transparent transparent;
      }

      .step li {
        padding: 3.7em 0 1em;
      }
      .step li:first-child {
        min-height: 100px;
        margin-top: 0;
        padding: 3em 0 2em;
      }
      .step li:last-child {
        min-height: 110px;
        padding: 3.7em 0 2em;
      }

      /* Portfolio Works */

      .portfolio-items .work{
        width:100%;
      }
      .five{
        width: 100%;
        float: none;
      }

/* モーダル全体(背景＋本体) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
}

/* モーダル背景 */
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}

/* モーダル本体 */
.modal-content{
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  overflow-y: scroll;
  overflow-x: hidden;
  height: auto;
  max-height: 90vh;
  width: 95%;
  padding: 30px 10px 30px;
}

.modal-content#works_item {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 95%;
  padding: 40px 20px 20px;
}
.modal-content#works_item img {
  width: 100%;
}
/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}
.pb {
  padding-bottom: 100px;
}
}


