@charset "utf-8";

/* 開く時の.bodyのアニメーション */
@keyframes modalwindow_body_in {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes modalwindow_body_out {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-20px);
  }
}

.enabled_modal {
  margin-left: -9px !important;
}

.enabled_modal .sideR {
  right: 17px !important;
}

.open_modal {
  cursor: pointer;
}

.modalwindow {
  /* オーバーレイ＆スクロール領域になるレイヤー */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  z-index: 101;
  width: 100%;
  /* スマホでスワイプして指を離すまでの間下部の背景が無くなるため余分に指定 */
  height: calc(100% + 100px);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 100px solid transparent;
  cursor: pointer;
  opacity: 1;
  box-sizing: border-box;
}
.modalwindow.no_overlay_close {
  cursor: default;
}
.modalwindow.lock .close_modal {
  background: #ccc;
}
.modalwindow .body {
  /* ウィンドウ自体 アニメーションなどで装飾 */
  position: relative;
  left: 50%;
  top: 0;
  width: 960px;
  margin-top: 20px;
  margin-left: -480px;
  margin-bottom: 20px;
  border-radius: 4px;
  cursor: default;
  transform: translateY(-20px);
  animation: 200ms modalwindow_body_out;
}
.modalwindow .body .modal_content {
  padding: 20px;
}

.modalwindow.is_visible .body {
  transform: translateY(0px);
  animation: 400ms modalwindow_body_in;
}
.modalwindow_header_close {
  /* 右上に表示する×ボタン 面倒なので動的に追加してます */
  position: absolute;
  right: 0;
  top: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.modalwindow_header_close:before {
  content: "\D7";
  font-size: 24px;
  font-family: serif;
  color: #ccc;
}
@media screen and (max-width: 767px) {
  .modalwindow .body {
    position: relative;
    width: calc(100%);
    margin: 0;
    left: 0;
    box-sizing: border-box;
  }
}


/* ----------------- faq ----------------- */

.faq li {
  padding: 1rem 2rem;
}
@media screen and (max-width: 767px) {
  .faq li {
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background: url(../../common/images/arrow005.png) no-repeat 1.2rem 1.2rem;
    background-size: 10px;
    box-sizing: border-box;
  }
  .faq li p {
    font-size: 0.7rem;
  }
}

.faq li.q {
  color: #71581f;
  font-weight: bold;
  border-bottom: 1px #c8c1a7 solid;
  cursor: pointer;
}

.faq li.q:hover {
  background: #f6f2ef url(../../common/images/arrow005.png) no-repeat 0.5rem 50%;
  background-size: 10px;
}
@media screen and (max-width: 767px) {
  .faq li.q:hover {
    background: #f6f2ef url(../../common/images/arrow005.png) no-repeat 1.2rem 1.2rem;
    background-size: 10px;
  }
}

.faq li.q img {
  margin-right: 14px;
}
@media screen and (max-width: 767px) {
  .faq li.q img {
    width: 10px;
  }
}

.faq li.a {
  padding: 2rem;
  background: #90826c;
  display: none;
  color:#fff;
  font-size: 1rem;
  line-height: 2rem;
}
@media screen and (max-width: 767px) {
  .faq li.a {
    padding: 1.5rem 1.2rem;
    font-size: 0.8rem;
    line-height: 1.6rem;
  }
}
.rotate {
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

/* ----------------- plan アコーディオン ----------------- */
.acc {
  display: none;
}

/* ----------------- slick ----------------- */

.slick-list {
  cursor: pointer;
}

/*左右の矢印の色を変える*/
.slick-prev:before,
.slick-next:before {
    color: #000;
}
/*左右の矢印の位置を変える*/
.slick-next {
    right: 20px;
    z-index: 99;
}
.slick-prev {
     left: 15px;
    z-index: 100;
}


/* ----------------- service ----------------- */

#service .prev-arrow {
  position: absolute;
  top: calc(50% - 30px);
  left: -50px;
  z-index: 101;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #service .prev-arrow {
    top: calc(50% + 1rem);
    left: 0;
    cursor: pointer;
    height: 40px;
  }
}

#service .next-arrow {
  position: absolute;
  top: calc(50% - 30px);
  right: -50px;
  z-index: 101;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #service .next-arrow {
    top: calc(50% + 0.9rem);
    right: 0;
    cursor: pointer;
    height: 40px;
  }
}

/* ----------------- form ----------------- */

#form .prev-arrow {
  position: absolute;
  top: 240px;
  left: -60px;
  z-index: 101;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #form .prev-arrow {
    display: none !important;
  }
}

#form .next-arrow {
  position: absolute;
  top: 240px;
  right: -60px;
  z-index: 101;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #form .next-arrow {
    display: none !important;
  }
}



/*スライド数のドットの色を変える*/
.slick-dots li.slick-active button:before,
.slick-dots li button:before {
    color: #fff;
}



/* ----------------- tab ----------------- */

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  width: 100%;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  margin-right: 0.5%;
  width: calc(50% - 0.25%);
  height: 60px;
  background-color: #f6f2ef;
  line-height: 60px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  border-top: 1px #90826c solid;
  border-right: 1px #90826c solid;
  border-left: 1px #90826c solid;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .tab_item {
    height: 50px;
    font-size: 0.8rem;
    line-height: 50px;
  }
}
.tab_item:hover {
  opacity: 0.75;
}
div.tabs .end {
  margin-right: 0;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #90826c;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* カスタム */
.tabs h3 {
  padding: 10px 0;
  color: #fff;
  background: #bdae9e;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .tabs h3 {
    padding: 4% 6%;
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.2rem;
  }
}

.tabs h4 {
  margin-bottom: 20px;
  color: #71581f;
  font-size: 1.4rem;
  line-height: 2rem;
  font-family: 'harenosora'
}
@media screen and (max-width: 767px) {
  .tabs h4 {
    display: table;
    margin-bottom: 0;
    font-size: 1rem;
  }
  .tabs h4 span {
    display: table-cell;
    padding-left: 0px;
    width: 100%;
    height: 100%;
    vertical-align: middle;
  }
}

.tabs h4.s1::before {
  content: '1';
  margin-right: 10px;
  padding: 0 15px 8px 15px;
  background: url(../../common/images/icon003.png) 0% 0% no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 120%;
  font-family: 'harenosora';
  text-align: center;
}
.tabs h4.s2::before {
  content: '2';
  margin-right: 10px;
  padding: 0 15px 10px 15px;
  background: url(../../common/images/icon003.png) 0% 0% no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 120%;
  font-family: 'harenosora';
  text-align: center;
}
.tabs h4.s3::before {
  content: '3';
  margin-right: 10px;
  padding: 0 15px 8px 15px;
  background: url(../../common/images/icon003.png) 0% 0% no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 120%;
  font-family: 'harenosora';
  text-align: center;
}
.tabs h4.s4::before {
  content: '4';
  margin-right: 10px;
  padding: 0 15px 10px 15px;
  background: url(../../common/images/icon003.png) 0% 0% no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 120%;
  font-family: 'harenosora';
  text-align: center;
}
.tabs h4.s5::before {
  content: '5';
  margin-right: 10px;
  padding: 0 15px 10px 15px;
  background: url(../../common/images/icon003.png) 0% 0% no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 120%;
  font-family: 'harenosora';
  text-align: center;
}

@media screen and (max-width: 767px) {
  .tabs h4.s1::before {
    display: block;
    content: '1';
    margin-right: 6px;
    padding: 0 15px 1px 11px;
    background: url(../../common/images/icon003.png) 0% 0% no-repeat;
    background-size: contain;
    color: #fff;
    font-size: 120%;
    font-family: 'harenosora';
    text-align: center;
    vertical-align: middle;
  }
  .tabs h4.s2::before {
    display: block;
    content: '2';
    margin-right: 6px;
    padding: 0 15px 1px 10px;
    background: url(../../common/images/icon003.png) 0% 0% no-repeat;
    background-size: contain;
    color: #fff;
    font-size: 120%;
    font-family: 'harenosora';
    text-align: center;
  }
  .tabs h4.s3::before {
    display: block;
    content: '3';
    margin-right: 6px;
    padding: 0 15px 1px 10px;
    background: url(../../common/images/icon003.png) 0% 0% no-repeat;
    background-size: contain;
    color: #fff;
    font-size: 120%;
    font-family: 'harenosora';
    text-align: center;
  }
  .tabs h4.s4::before {
    display: block;
    content: '4';
    margin-right: 6px;
    padding: 0 15px 1px 10px;
    background: url(../../common/images/icon003.png) 0% 0% no-repeat;
    background-size: contain;
    color: #fff;
    font-size: 120%;
    font-family: 'harenosora';
    text-align: center;
  }
  .tabs h4.s5::before {
    display: block;
    content: '5';
    margin-right: 6px;
    padding: 0 15px 1px 10px;
    background: url(../../common/images/icon003.png) 0% 0% no-repeat;
    background-size: contain;
    color: #fff;
    font-size: 120%;
    font-family: 'harenosora';
    text-align: center;
  }
}

.tabs .topPage,
.tabs .subPage,
.tabs .subPage2,
.tabs .option {
  margin: 5px 0;
  padding: 40px;
  background: #fffdfc;
}
@media screen and (max-width: 767px) {
  .tabs .topPage,
  .tabs .subPage,
  .tabs .subPage2,
  .tabs .option {
    margin: 5px 0;
    padding: 1rem;
    background: #fff;
  }
}

.tabs .topPage > ul,
.tabs .subPage > ul,
.tabs .subPage2 > ul,
.tabs .option > ul {
  overflow: hidden;
}

.tabs .topPage > ul li,
.tabs .subPage > ul li,
.tabs .subPage2 > ul li,
.tabs .option > ul li {
  margin-right: 2%;
  width: 31.6%;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .tabs .topPage > ul li,
  .tabs .subPage > ul li,
  .tabs .subPage2 > ul li,
  .tabs .option > ul li {
    width: 70%;
  }
}

.tabs .topPage > ul li:last-child,
.tabs .subPage > ul li:last-child,
.tabs .subPage2 > ul li:last-child,
.tabs .option > ul li:last-child {
  margin-right: 0;
}

.tabs .topPage ul li img,
.tabs .subPage ul li img,
.tabs .subPage2 ul li img,
.tabs .option ul li img {
  margin-bottom: 10px;
  width: 100%;
  border-radius: 10px;
}




.tabs .option .description {
  margin-top: 20px;
  padding: 30px;
  border: 1px #d5c2b0 dashed;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .tabs .option .description {
    padding: 8%;
  }
}

.tabs .option .description span {
  font-weight: bold;
}

.tabs .option select {
  margin-bottom: 5px;
  width: 100%;
  background: #fff;
  border: 1px #d3cbc2 solid;
  border-radius: 5px;
}

.tabs .option form.top select {
  color: #705118;
  background: #f6f2ef;
}

.tabs .submit input {
  display: block;
  margin: 0 auto 10px;
  padding: 1rem 10rem;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  background: #d75d19;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .tabs .submit input {
    padding: 1.5rem 1rem;
    width: 90%;
    font-size: 1.1rem;
    box-sizing: border-box;
  }
}

.tabs .submitText {
  margin-bottom: 40px;
  text-align: center;
}

section#form ul.flow {
  overflow: hidden;
  margin-bottom: 20px;
}

section#form ul.flow li {
  float: left;
  margin-right: 1.4%;
  padding: 10px;
  width: 18.8%;
  color: #fff;
  background: #a78662;
  text-align: center;
  box-sizing: border-box;
  border-radius: 8px;
}
@media screen and (max-width: 767px) {
  section#form ul.flow li {
    display: block;
    float: none;
    margin: 0 0 5px 0;
    width: 100%;
  }
}

section#form ul.flow li:nth-child(2) {
  background: #bdae9e;
}

section#form ul.flow li:nth-child(1)::before {
  float: left;
  content: '1.';
  padding-left: 5px;
}

section#form ul.flow li:nth-child(2)::before {
  float: left;
  content: '2.';
  padding-left: 5px;
}

section#form ul.flow li:nth-child(3)::before {
  float: left;
  content: '3.';
  padding-left: 5px;
}

section#form ul.flow li:nth-child(4)::before {
  float: left;
  content: '4.';
  padding-left: 5px;
}

section#form ul.flow li:nth-child(5)::before {
  float: left;
  content: '5.';
  padding-left: 5px;
}

section#form ul.flow li:last-child {
  margin: 0;
  background: #bdae9e;
}

.tabs .flowList {
  margin: 2rem 0;
  padding: 40px;
  background: #f6f0ea;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .tabs .flowList {
    padding: 6%;
  }
}

.tabs h5 {
  margin-bottom: 20px;
  font-size: 150%;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .tabs h5 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
  }
}

.tabs .flowColor {
  overflow: hidden;
  margin: 0 auto 20px;
  width: 360px;
}

.tabs .flowColor p {
  float: left;
  margin-right: 30px;
  padding-left: 32px;
  background: url(../../common/images/flowcolor_a.png) no-repeat 0 50%;
  background-size: contain;
}

.tabs .flowColor p:last-child {
  margin: 0;
  background: url(../../common/images/flowcolor_b.png) no-repeat 0 50%;
  background-size: contain;
}

.tabs .flowText {
  padding: 30px;
  background: #fffdfc;
  border-radius: 5px;
}

.tabs .flowText span {
  padding: 0 6px;
  font-weight: bold;
}

.tabs .opPdd {
	padding: 1rem 0 2rem;
}

.tabs .opPdd a {
	padding: 0.6rem;
	color: #fff;
	background: #c8a076;
	border-radius: 5px;
}

/* ---------------------------------------- */


/* お問い合わせ */
.formList {
  margin: 3rem auto 0;
}
@media screen and (max-width: 767px) {
  .formList {
    margin: 1rem auto 0;
  }
}
.formList li {
  margin: 0 0 1.5rem;
}

.formList li input[type="text"] {
  padding: 1rem;
  width: 100%;
  color: #333;
  background: #f6f2ef;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

.formList li input[type="text"]::placeholder {
  color: #beada0;
}

.radioBtn {
  margin: 0 0.5rem 0 0;
  padding: 0 0 0.3rem;
  width: 1.2rem;
  height: 1.2rem;
  position:relative;
	top: 3px;
}

.formList li > p:nth-child(1) {
  margin: 0 0 0.5rem;
  color: #71581f;
  font-size: 1rem;
}
.formList li label {
  margin: 0 1.5rem 0 0;
}
.formList li .mb > input:nth-child(1) {
  margin: 0 0 0.5rem;
}
.formList li .question {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.2rem 1rem;
  color: #555;
  background: #f2efea;
}
.topPageInner  {
  margin: 0 auto;
  width: 90%;
}
@media screen and (max-width: 767px) {
  .topPageInner  {
    width: 100%;
  }
}
.topPageInner textarea {
  padding: 2rem;
  width: 100%;
  height: 300px;
  background: #f2efea;
  border: none;
  box-sizing: border-box;
  border-radius: 5px;
  line-height: 1.4rem;
}
@media screen and (max-width: 767px) {
  .topPageInner textarea {
    margin: 0;
    padding: 1rem;
    height: 150px;
  }
}
.topPageInner .inlineframe {
  overflow: auto;
  padding: 2rem;
  width: 100%;
  height: 300px;
  border: solid 1px #808080;
  font-size: 1rem;
  font-family: sans-serif;
  letter-spacing: 0.12rem;
  text-align: justify;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .topPageInner .inlineframe {
    margin: 1rem 0 0;
    height: 150px;
  }
}
.topPageInner .inlineframe .bold {
  font-weight: bold;
}

.checkbox {
  margin: 1rem 0;
  text-align: center;
}
.checkbox-input{
  display: none;
}
.checkbox-parts{
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
}
.checkbox-parts::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
}
.checkbox-input:checked + .checkbox-parts{
  color: #d01137;
}
.checkbox-input:checked + .checkbox-parts::after{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #d01137;
  border-right: 3px solid #d01137;
}

.cp_ipselect {
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
@media screen and (max-width: 767px) {
  .cp_ipselect {
    margin: 0 auto;
  }
}
.cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl01 {
	position: relative;
	border-radius: 2px;
	background: #ffffff;
}
.cp_ipselect.cp_sl01::before {
	position: absolute;
	top: calc(50% - 3px);
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 5px solid #666666;
	pointer-events: none;
	z-index: 2;
}
.cp_ipselect.cp_sl01 select {
	padding: 1rem;
  width: 100%;
	color: #666666;
  background: #f6f2ef;
}
@media screen and (max-width: 767px) {
  .cp_ipselect.cp_sl01 select {
  	padding: 8px 38px 8px 8px;
  	color: #666666;
  }
}


/* カーテン */

#load::before,#load::after {
  position: fixed;
  z-index: 1000;
  top: -15%;
  display: block;
  visibility: hidden;
  width: 50%;
  height: 130%;
  content: '';
}
#load::before {
  left: 0;
  animation : curtain_l 3.5s;
　-webkit-animation : curtain_l 3.5s;
border-right: 3px double #e4dac5;
background-image:  url(../../common/images/load_1.png),url(../../common/images/background07.jpg);
background-repeat: no-repeat, repeat;
background-position: 100% 50%, -55%;
background-size: 150px, 400px;
}
@media screen and (max-width: 767px) {
  #load::before {
    background-size: 80px, 200px;
  }
}
#load::after {
  right: 0;
  animation : curtain_r 3.5s;
　-webkit-animation : curtain_r 3.5s;
border-left: 3px double #e4dac5;
background-image:  url(../../common/images/load_2.png),url(../../common/images/background07.jpg);
background-repeat: no-repeat, repeat;
background-position: 0% 50%, -55%;
background-size: 150px, 400px;
}
@media screen and (max-width: 767px) {
  #load::after {
    background-size: 80px, 200px;
  }
}

@keyframes curtain_l{
  0%{visibility: visible;}
  20%{transform: rotate(0deg) translateX(0%); background-color: #faf9f7;}
  60%{transform: rotate(6deg) translateX(-50%);}
  80%{opacity: 1;}
  100%{transform: rotate(0deg) translateX(-100%); opacity:0; visibility: hidden;}
}
@-webkit-keyframes curtain_l{
  0%{visibility: visible;}
  20%{-webkit-transform: rotate(0deg) translateX(0%); background-color: #faf9f7;}
  60%{-webkit-transform: rotate(6deg) translateX(-50%);}
  80%{opacity: 1;}
  100%{-webkit-transform: rotate(0deg) translateX(-100%); opacity:0; visibility: hidden;}
}
@keyframes curtain_r{
  0%{ visibility: visible;}
  20%{transform: rotate(0deg) translateX(0%); background-color: #faf9f7;}
  60%{transform: rotate(-6deg) translateX(50%);}
  80%{opacity: 1;}
  100%{transform: rotate(0deg) translateX(100%); opacity:0; visibility: hidden;}
}
@-webkit-keyframes curtain_r{
  0%{visibility: visible;}
  20%{-webkit-transform: rotate(0deg) translateX(0%); background-color: #faf9f7;}
  60%{-webkit-transform: rotate(-6deg) translateX(50%);}
  80%{opacity: 1;}
  100%{-webkit-transform: rotate(0deg) translateX(100%); opacity:0; visibility: hidden;}
}
