/* --------------------------------- */
/* トップページページの見出し1 */
m1{
position: relative;
display: inline-block;
margin-bottom: 1em;
}
m1:before {
content: '';
position: absolute;
bottom: -15px;
display: inline-block;
width: 60px;
height: 5px;
left: 50%;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
background-color: #3a41cd;
border-radius: 2px;
}



/* --------------------------------- */
/* トップページページの見出し2 */
m2{
position: relative;
display: inline-block;
padding: 0 55px;
}

m2:before, m2:after{
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 45px;
height: 1px;
background-color: black;
}

m2:before {left:0;}
m2:after {right: 0;}



/* --------------------------------- */
/* コンタクトフォームを見やすくするカスタム */
/* 必須マーク */
.must{
	color: #fff;
	margin-right: 10px;
	padding: 6px 10px;
	background: #00b5d9;
	border-radius: 20px;
}

/* 任意マーク */
.free {
	color: #fff;
	margin-right: 10px;
	padding: 6px 10px;
	background: #666666;
	border-radius: 20px;
}

/* 項目名を太字にする */
form p {
	font-weight: 600;
}

/* 入力項目を見やすくする */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 2px solid #aaaaaa;
	border-radius: 3px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}

/* 必須項目の入力欄を黄色にする */
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	background: #fff;
}

/* 送信ボタンを見やすくする */
input.wpcf7-submit {
	width: 100%;
	height: 80px;
	background: #fff;
	color: #222222;
	font-size: 20px;
	font-weight: 600;
}

/* エラーメッセージを見やすくする */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}

/* 修正ボタンを見やすくする */
input.wpcf7-back {
	width: 100%;
	height: 80px;
	background: #fff;
	color: #222222;
	font-size: 20px;
	font-weight: 600;
}

/* 確認ボタンを見やすくする */
input.wpcf7-confirm {
	width: 100%;
	height: 80px;
	background: #fff;
	color: #222222;
	font-size: 20px;
	font-weight: 600;
}



/* --------------------------------- */
/* ボタンのカスタム */
.square_btn{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #00B900;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #00704a;
    border-radius: 3px;
}
.square_btn:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
    border-bottom: none;
}



/* --------------------------------- */
/* アコーディオン */
.cp_actab {
position: relative;
overflow: hidden;
width: 100%;
margin: 0 auto;
color: #ffffff;
}

.cp_actab input {
position: absolute;
z-index: -1;
opacity: 0;
}

.cp_actab label {
font-weight: bold;
line-height: 3;
position: relative;
display: block;
padding: 0 0 0 1em;
cursor: pointer;
margin: 0 0 1px 0;
background: #a7e5d0;
}

.cp_actab .cp_actab-content {
overflow: hidden;
max-height: 0;
-webkit-transition: max-height 0.5s;
transition: max-height 0.5s;
color: #000000;
background: #ffffff;
}

.cp_actab .cp_actab-content p {
margin: 1em;
font-size: 14px;
}

.cp_actab p{
margin-bottom:0px;
}

/* :checked */
.cp_actab input:checked ~ .cp_actab-content {
max-height: 20em;
}

/* --------------------------------- */

/* ボックス黒枠 */
.box01 {
    position: relative;
    margin: 2em 2em;
    padding: 0.5em 1em;
    border: solid 3px #000000;
}
.box01 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #000000;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box01 p {
    margin: 0; 
    padding: 0;
}

/* --------------------------------- */

/* ボックス白枠 */
.box02 {
    position: relative;
    margin: 0.5em 0.5em;
    padding: 0.5em 1em;
    border: solid 3px #ffffff;
}
.box02 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box02 p {
    margin: 0; 
    padding: 0;
}
/* --------------------------------- */
/* コンタクトフォームのチェックボックスを縦ひ表記にする */
span.wpcf7-list-item {
display: block;
}
/* --------------------------------- */
/* レイアウト入稿フォームのボックス */
.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}
/* --------------------------------- */
/* SNSアイコンのカラー */
.my-gray {color: gray}

/* --------------------------------- */
/* トップページで要素を横並び */
.ib {
    display: inline-block;      /* インラインブロック要素にする */
    padding:  5%;             /* 余白指定 */
}

/* --------------------------------- */
/* 背景の帯を斜めに */

.contents {
  position: relative;
  overflow: hidden;
  margin: 0% 0;
  padding: 80px 0;
}

.contents:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 85%;
  margin: 3% -10% 0;
  background: #03bc8d;
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  z-index: -1;
}

.contents:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 85%;
  margin: 3% -30% 0;
  background: #cccccc;
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
  -webkit-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
  z-index: -2;
}

.contents_inner {
  box-sizing: boder-box;
  width: 100%;
  max-width: 640px;
  height: 100%;
  margin: 0 auto;
  padding: 5% 2% 8%;
  color: #fff;
  text-align: center;
}
/* --------------------------------- */
/* 白透過背景 ゴールド枠ボックス */
.box03 {
    position: relative;
    margin: 0.2em 0.2em;
    padding: 0.5em 2em;
    border: solid 2px #cab392;
    background-color: rgba(255, 255, 255, 0.6);
    }
.box03 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box03 p {
    margin: 0; 
    padding: 0;
}
/* --------------------------------- */
/* 背景：ホワイト/枠：グレー（トップページ/サービス一覧） */
.box04 {
    position: relative;
    margin: 0.4em 0.4em;
    padding: 0.5em 1.5em;
    background: rgba(255,255,255,0.65);

}
.box04 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box04 p {
    margin: 0; 
    padding: 0;
}

/* --------------------------------- */
/* 光るボタン/グリーン（トップページ/サービス一覧・フッター）*/
.shiny-btn1 {
    display: block;
    position: relative;
    width: 100%;/*ボタンの幅*/
    padding: 15px 0;
    margin: 10px auto;
    background-color: #009944;/*ボタンの色*/
	  border-radius:30px;


    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}
.shiny-btn1:hover {
    text-decoration: none;
    color: #fff;
}
.shiny-btn1::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn1 3s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/* --------------------------------- */
/* 光るボタン/ブラック（トップページ/サービス一覧・フッター）*/
.shiny-btn2 {
    display: block;
    position: relative;
    width: 100%;/*ボタンの幅*/
    padding: 17px 0;
    margin: 10px auto;
    background-color: #222222;/*ボタンの色*/
	  border-radius:30px;


    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}
.shiny-btn2:hover {
    text-decoration: none;
    color: #fff;
}
.shiny-btn2::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn2 3s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn2 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/* --------------------------------- */
/* 下線 グレー */
hr {
		height:0px;
		margin:10px 0 15px 0;
		border-color:#a9a9a9;
		border-style:solid;
		border-width:0 0 1.5px 0;
		padding:0 0 0 0;
	}

/* --------------------------------- */
/* 背景：グリーン/枠：角丸・透明（トップページ/はじめての方へ） */
.box05 {
    position: relative;
    margin: 0.1em 0.1em;
    padding: 1.8em 1.8em;
    background: #009944;
	  border-radius:30px;
}
.box05 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #d4cbbe;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box05 p {
    margin: 0; 
    padding: 0;
}


/* --------------------------------- */
/* ライトブルー背景ボックス */
.box06 {
    position: relative;
    margin: 0.1em 0.1em;
    padding: 0.8em 0.8em;
    background: #222222;
    border: solid 2px #222222;
		border-radius:30px;
}
.box06 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #222222;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box06 p {
    margin: 0; 
    padding: 0;
}
/* --------------------------------- */
/* LINEカラーボックス */
.box07 {
    position: relative;
    margin: 0.1em 0.1em;
    padding: 0.8em 0.8em;
    background: #00B900;
    border: solid 2px #00B900;
		border-radius:30px;
}
.box07 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #00B900;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box07 p {
    margin: 0; 
    padding: 0;
}

/* --------------------------------- */
/* スマホ表示でヘッダー画像を変更する（上下中央） */

@media screen and (orientation: portrait) {
   /* 縦向きの場合のスタイル */
#wp-custom-header .bg_image{ display:none; }
#wp-custom-header { background: url(https://homekougei.lsv.jp/wp-content/uploads/2021/11/SP-header_home-kougei.svg) no-repeat;
        background-size: 100% auto;
        content: '';
  display:block;
  width: 100% auto;
  background-position: center;
  background-size:cover;
    }
 }
 
 /* --------------------------------- */
/* 下線 ゴールド */
.gdline {
   border-bottom: 3px solid #129243;
      padding-bottom: 1%; /* 内容と線との間隔量 */
}
 /* --------------------------------- */
/* 下線 ブラック */
.bkline {
   border-bottom: 1.5px solid #222222;
      padding-bottom: 1%; /* 内容と線との間隔量 */
}

 /* --------------------------------- */
/* liの黒丸を削除する方法  */
ul {
  list-style: none !important;
}
li {
  list-style: none !important;
}

 /* --------------------------------- */
/*ステップフローのCSS*/
ul.stepflow {
	border: none;
	margin: 1em 0.5em;
	padding: 0;
	list-style: none;
}
ul.stepflow > li:before, ol.stepflow > li:before {
	background-color:#cccccc!important;
}
.stepflow li {
    position: relative;
    padding: 0 0 1.5em 1.8em;
}
.stepflow>li:before {
	content: "";
	width: 3px;
	background: #cccccc;
	display: block;
	position: absolute;
	top: 28px;
	bottom: 0;
	left: 5px;
}
.stepflow-white {
	content: '';
	display: inline-block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: solid 3px #C7B190;
}
.stepflow-black {
	content: '';
	display: inline-block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: solid 3px #C7B190;
	background-color: #C7B190;
}
.stepflow_label {
	padding: 3px 0px 8px 0px;
	margin-bottom:8px;
	color: #222222;
	font-size: 30px;
	font-weight: bold;
}
.stepflow_title {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom:15px;
}
.stepflow_content {
	font-size: .9em;
	line-height: 1.5;
	margin-top: .5em;
	padding: 0 0 1.5em;
	border-bottom: dashed 1px #cccccc;
}
/*ステップフローのCSSここまで*/

 /* --------------------------------- */
/*スクロールダウン*/
/* キャンパス設定 */
html, body {
  height: 100%;
}

html {
  background: transparent;
}

.box {
  width: 100px;
  height: 300px;
  margin: calc(40vh - 200px) auto;
  background: #fff;
  position: relative;
  overflow: hidden;
	border-color:#fff; 
}

/* アニメーション設定 */
.arrowWrap {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 200px
}

.arrowInner p {
  font-size: 12px;
	color:#009944;
  text-align: end;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.arrow {
  width: 1px;
  height: 100px;
  margin: 50px auto 0;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}

.arrow::before {
  content: '';
  width: 1px;
  height: 100px;
  margin: 50px auto 0;
  background-color: #009944;
  position: absolute;
  top: -150px;
  left: 0;
  -webkit-animation: arrow 2.5s ease 0s infinite normal;
  animation: arrow 2.5s ease 0s infinite normal;
}

@keyframes arrow {
  0% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  60% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }
}
 /* --------------------------------- */
/* アンダーライン */
.under {
 color: #fff;
 font-size: 20px;
 font-weight: bold;
 line-height: 2.0;
 background: linear-gradient(transparent 0, #009944 0);
}
 /* --------------------------------- */
/* 全固定ページで非表示 */
.page .entry-title {
display: none;
}
/* --------------------------------- */
/* 緑枠ボックス */
.box08 {
    position: relative;
    margin: 0.1em 0.1em;
    padding: 2.0em 2.0em;
    background: #fff;
    border: solid 1px #129243;
		border-radius:30px;
}
.box08 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 10px;
    vertical-align: middle;
    font-size: 17px;
    background: none;
    color: #00B900;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box08 p {
    margin: 0; 
    padding: 0;
}

/* --------------------------------- */