@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
  font-size: 100%;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: #432;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: top;
}
.noneimg_pc {
  display: none;
}
address {
  max-width: 100%;
}

/* HEADER
------------------------------- */
header {
  background: #8dc21f;
  padding-bottom: 8px;
}
.page-header {
  display: flex;
  align-items: center;
}

.logo {
  margin-top: 7px;
  margin-left: 0;
  width: 300px;
}

.main-nav {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-top: 20px;
  list-style: none;
}
.main-nav li {
  margin-left: 1rem;
}
.main-nav a {
  color: #fff;
}
.hukuri_head {
  width: 150px;
}

.page-header {
  display: flex;
  justify-content: space-between;
}
.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1%;
}

/* HOME
------------------------------- */
.home-content {
  text-align: center;
}
.home-content p {
  font-size: 1.125rem;
  margin: 10px 0 42px;
}
main section {
  margin-bottom: 2rem;
}
#head_content {
  display: flex;
  align-items: center;
  height: 200px;
}
.company #head_content {
  background: url(https://housesafety-support.net/images/back_company.jpg);
  background-size: cover;
  background-position: bottom center;
}
.privacy #head_content {
  background: url(https://housesafety-support.net/images/back_privacy.jpg);
  background-size: cover;
  background-position: bottom center;
}
.kiyaku #head_content {
  background: url(https://housesafety-support.net/images/back_kiyaku.jpg);
  background-size: cover;
  background-position: bottom center;
}
.contact #head_content {
  background: url(https://housesafety-support.net/images/back_contact.jpg);
  background-size: cover;
  background-position: bottom center;
}

main .company .wrapper {
  padding: 0;
}
.privacy .tbdl p,
.privacy .tbdl li,
.kiyaku .tbdl p,
.kiyaku .tbdl li {
  font-size: 0.9rem;
  line-height: 1.5rem;
}
.privacy .tbdl ol,
.kiyaku .tbdl ol {
  margin-left: 1rem;
}

.tbdl dl {
  line-height: 1.8rem;
}

h2 {
  position: relative;
  padding: 1.5rem 2rem;
  font-weight: normal;
  font-size: 1.7rem;
}
h2 span {
  display: block;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
h2:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background-image: -webkit-linear-gradient(
    315deg,
    #704308 0%,
    #ffce08 40%,
    #e1ce08 60%,
    #704308 100%
  );
  background-image: linear-gradient(
    135deg,
    #704308 0%,
    #ffce08 40%,
    #e1ce08 60%,
    #704308 100%
  );
}
h2:after {
  bottom: 0;
}
h3 {
  padding-bottom: 0.5rem;
}

.mail .hukuri {
  max-width: 745px;
  margin: 0 auto;
}
.mail picture img {
  margin-bottom: 2rem;
  text-align: center;
}

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

.contact {
  margin-top: 2rem;
  background: url(https://housesafety-support.net/images/contact_back.png)
    no-repeat center center;
}

/* フォーム */
.contact form {
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact form label {
  font-weight: 600;
}
.contact form div {
  margin-bottom: 1.5rem;
}
.contact form span {
  color: #c00000;
  margin-left: 0.3rem;
}
label {
  font-size: 1.125rem;
  margin-bottom: 10px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: 1px #ccc solid;
  background: #fff;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border: 1px #007c8b solid;
  outline: 0;
}

input[type="text"] {
  width: 100% !important;
  max-width: 300px !important;
}
input[type="tel"] {
  width: 100% !important;
  max-width: 300px !important;
}
input[type="email"] {
  width: 100% !important;
  max-width: 600px !important;
}
textarea {
  width: 100% !important;
  max-width: 600px !important;
  height: 10rem !important;
}
input[type="submit"] {
  border: none;
  cursor: pointer;
  line-height: 1;
  background: #007c8b;
  color: #fff;
  font-size: 1.3rem;
  padding: 1rem 2rem;
  border: 0;
  border-radius: 5px;
  width: 100%;
  max-width: 600px !important;
}

/*

input,
textarea {
  border: solid 2px #ccc;
  padding: 0.2rem 0.5rem;
  color: #333;
  font-size: 1.1rem;
}

#mailform th {
  font-size: 1.1rem;
  width: 25%;
}
#mailform th span {
  font-size: 1.1rem;
  margin-left: 0.1rem;
}
#mailform td span {
  font-size: 0.9rem;
  color: #666;
  display: block;
}
#mailform td {
  font-size: 1rem;
}
#mailform td label {
  margin-right: 1rem;
}
#mailform .reset {
  background: #ccc;
  color: #555;
  font-size: 1.5rem;
  padding: 0.5rem 2rem;
  border: 0;
  border-radius: 5px;
}
#mailform .sousin {
  background: #007c8b;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 2rem;
  border: 0;
  border-radius: 5px;
}

/* footer
------------------------------- */
footer {
  background: #151a5a;
  color: #fff;
  text-align: center;
}
footer a {
  color: #fff;
}
footer a:hover {
  color: #fff;
}
.footer1 {
  padding-top: 1rem;
  max-width: 750px;
}
.footer2 {
  background: #000;
  margin-bottom: 0 !important;
  padding-bottom: 0;
}
.footer2 p {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  font-size: 1rem;
  list-style: none;
  justify-content: space-around;
}
.footer-nav li {
  margin-left: 1rem;
}

/* lp
------------------------------- */
.lpbtn {
  margin: 20px auto;
}

.lpbtn a {
  width: 670px !important;
}
address {
  width: 670px !important;
  margin: 10px auto;
}
.address {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #008231;
}
.address2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #fdd559;
}

.lp1 {
  text-align: center;
}

.lp2 {
  margin-top: 2rem;
  background: #f6f3eb;
  padding-top: 45px;
  padding-bottom: 45px;
}

.lp3 {
  background: #efffce;
  padding-top: 45px;
  padding-bottom: 45px;
}
.lp3_5 {
  background: #15cdcb;
  padding-top: 45px;
  padding-bottom: 45px;
}

.lp4 {
  background: #007c8b;
  padding-top: 45px;
  padding-bottom: 25px;
}

.lp5 {
  background: url(https://housesafety-support.net/images/lp_05_back.gif) repeat;
  padding-top: 45px;
  padding-bottom: 0;
}

.lp6 {
  background: #c00000;
  padding-top: 30px;
  padding-bottom: 30px;
}

.lp7 {
  background: #ffec47;
  padding-top: 45px;
  padding-bottom: 0;
}

.lp8 {
  background: url(https://housesafety-support.net/images/lp_08_back.gif) repeat;
  padding-top: 65px;
  padding-bottom: 65px;
}

.lp9 {
  background: url(https://housesafety-support.net/images/lp_09_back.jpg)
    no-repeat bottom;
  background-size: cover;
  padding-top: 60px;
  padding-bottom: 20px;
  text-align: center;
}
.lp9 .lpbtn {
  margin-top: 50px;
}

.lp10 {
  background: url(https://housesafety-support.net/images/lp_10_back.gif) repeat;
  padding-top: 65px;
  padding-bottom: 20px;
  text-align: center;
}

.lp11 {
  background: url(https://housesafety-support.net/images/lp_05_back.gif) repeat;
  padding-top: 65px;
  padding-bottom: 20px;
  text-align: center;
}

.lp11 .lpbtn {
  margin-top: 50px;
}



/*メニューをページ下部に固定*/
#sp-fixed-menu{
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  opacity: 0.9;
  z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul{
  display: flex;
  list-style: none;
  padding:0;
  margin:0;
  width:100%;
}

#sp-fixed-menu li{
  justify-content: center;
  align-items: center;
  width: 100%;
  padding:0;
  margin:0;
  font-size: 15px;
  font-weight: bold !important;
  line-height: 1.3;
  border-right: 1px solid #fff;
}

#sp-fixed-menu li span{
  font-weight: normal;
  font-size: 13px;
}


/*左側メニューを緑色に*/
#sp-fixed-menu li{
  background: #38b435;
}

/*左側メニューをオレンジ色に*/
#sp-fixed-menu li:nth-child(2){
  background: #1f64c2;
}

/*ボタンを調整*/
#sp-fixed-menu li a{
  color: #fff;
  text-align: center;
  display:block;
  width: 100%;
  padding:10px;
}
/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
  .for-sp{
     display:none;
   }
}
/*spの場合にはメニューを表示させない*/
@media (max-width: 768px) {
 .for-pc{
    display:none;
  }
}
