/*
Theme Name:DECORTE
Author: yuki izawa
Version:1.0
*/


/* --------共通--------- */



html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size:1.8rem;
    font-weight: 400;
    font-style: normal;
    background-color: #eaf6fd;
}
p {
    font-size: 1.8rem;
    line-height: 2.6rem;
}
ul {
    list-style: none;
}
img{
    max-width:100%;
    vertical-align:bottom;
}

/* --------PC--------- */

header {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.container {
    max-width: 600px;
    margin: auto;
    margin-top: 5rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: 2rem;
}
.shirowaku {
    border: 1px solid #000;
    border-radius: 2rem;
    padding: 3rem;
}
.top_img {
    margin-bottom: -3rem;
}
.title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}
.btn-warning {
    color: #000;
    border-color:#fbe3d6;
    background-color: #fbe3d6;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}
.btn-warning:last-of-type {
    margin-bottom:0;
}
.btn-warning:hover {
    color: #fff;
    background-color: #ea7137;
    border-color: #ea7137;
}
#comp_btn:hover {
    color: #000;
    background-color:#fbe3d6;
    border-color: #fbe3d6;
    opacity: 0.6;
}

.btn-info {
    padding: 2rem 0;
    font-size: 1.8rem;
    border-radius: 0.5rem;
}
.form-control {
    height: 5rem;
    margin-top: 1rem;
    font-size: 1.8rem;
    color: #000;
}
.submitbtn {
    padding: 2rem 0;
    margin-bottom: 2rem!important;
     margin-top: 2rem!important;
}
.form-group {
    margin-bottom: 2rem;
}
.form_com_inner {
    max-width: 600px;
    margin: auto;
    margin-top: 5rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: 2rem;
}
.form_com_inner h2 {
    font-size: 2.4rem;
    color: #ea7137;
    font-weight: 400;
    display: table;
    margin: auto;
    border-bottom: 2px solid #ea7137;
    padding-bottom: 2rem;
    margin-bottom: 5rem;
}
.form_com_inner p {
    text-align: center;
    margin-bottom: 3rem;
}
.form_com_inner a {
    display: flex;
    width: 30rem;
    height: 6rem;
    margin: auto;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    font-weight: bold;
    background-color: #ea7137;
    border: unset;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
    box-shadow: 0px 5px 0px 0px #e8e8e8;
    background-image: url(../img/arrow_2.svg);
    background-repeat: no-repeat;
    background-size: 9px auto;
    background-position: right 20px center;
}

.form_com_inner a:hover {
    opacity: 0.6;
    text-decoration: none;
}



.footer_img {
    margin-top: 10rem;
    margin-bottom: 3rem;
}
footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
footer ul li {
    margin-right: 3rem;
}
footer ul li:last-child {
    margin-right: 0;
}
footer ul li a {
    font-size: 1.4rem;
    color: #000;
}
footer ul li a:hover {
    color: #000;
}
footer .copy {
    background-color: #ea7137;
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    padding: 1rem 0;
}

.tel_box {
    margin: auto;
    margin-top: 3rem;
    max-width: 1100px;
}
.tel_box a:hover {
  text-decoration: none;
}
.tel_img {
    width: 80%;
    display: block;
    margin: auto;
    margin-bottom: 2rem;
}
.tel_text {
    width: 32.2rem;
    margin: auto;
    border: 1px solid #ea7137;
    border-radius: 0.6rem;
    background-color: #fff;
    text-align: center;
    padding: 1.7rem 0;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    box-shadow: 0px 5px 0px 0px #d43100;
}
.tel_bg {
    position: relative;
    margin-top: -30px;
}
.tel_bg_img {
  height: 11vw;
}
.tel_bg_text {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
}
.tel_bg_text img {
    width: 3.6rem;
    margin-right: 2rem;
}
.tel_bg_text p:nth-of-type(1) {
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.tel_bg_text p:nth-of-type(1) a {
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
}
.tel_bg_text p:nth-of-type(1) rt {
    font-size: 2rem;
}
.tel_bg_text p:nth-of-type(2) {
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
    margin-top: 1rem;
}
.form_com_inner .tel_bg_text p:nth-of-type(1) a {
  display: block;
  width: auto;
  height: auto;
  background-color: unset;
  border-radius: unset;
  box-shadow: unset;
  background-image: unset;
  margin: unset;
}
.form_com_inner .tel_bg_text p:nth-of-type(1) {
  margin-bottom: 0;
}
.form_com_inner p.tel_text {
  margin-bottom: 0 !important;
}
.form_com_inner .tel_bg_text p:nth-of-type(2) {
  margin-bottom: 0;
}
.footer_btn {
    display: none;
}


@media screen and (max-width: 960px) {

.top_img {
    margin-bottom: -1.1em;
}
.container {
    max-width: unset;
    margin: auto;
    margin-top: 3rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    width: 95%;
}
.shirowaku {
    border: 1px solid #000;
    border-radius: 1rem;
    padding: 2rem;
}
footer .copy {
    font-size: 1.2rem;
}

header img {
    width: 45%;
}

.tel_img {
  width: 100%;
  margin-bottom: 0;
}
.tel_text {
    width: 70%;
    margin: auto;
    border: 1px solid #ea7137;
    border-radius: 0.6rem;
    background-color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    box-shadow: 0px 5px 0px 0px #d43100;
}
.tel_bg_text p:nth-of-type(1) a {
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
}
.tel_bg_text p:nth-of-type(1) rt {
    font-size: 1rem;
    margin-bottom: -1rem;
}
.tel_bg_text img {
    width: 3rem;
    margin-right: 1rem;
}
.tel_bg_text p:nth-of-type(2) {
    text-align: center;
    font-size: 1.4rem;
    color: #fff;
    margin-top: 2rem;
}
.tel_bg_text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
}
.tel_bg img {
    height: 15rem;
}
.tel_bg_text img {
    height: auto;
}
.footer_btn {
  position: fixed;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.5);
  padding: 10px;
  cursor: pointer;
  transition: .3s;
  width: 100%;
  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}
.footer_btn a {
    width: 25rem;
        margin: auto;
        height: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
}
/*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}

footer {
    padding-bottom: 6rem;
}
.footer_btn {
    display: block;
	padding-right: 0;
}
}
