@charset "UTF-8";

/* --------------------------------------
ヘッダー・ナビゲーションメニュー
---------------------------------------*/
header {
  background-color: #fff;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.header_mgn {
    width: 100%;
    height: 50px;
}

.header_inner {
    width: 1100px;
    height: 50px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_inner ul {
    display: flex;
    height: 50px;
    justify-content: space-between;
    gap: 1rem;
    padding: 5px 0;
}
.header_inner ul li {
  height: 100%;
  display: flex;
  align-items: center;
}
.header_inner ul li a {
  display: flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.header_inner ul li a i {
  font-size: var(--fs-md);
  margin-right: 5px;
}
/* ヘッダーロゴ */
h1.header_logo img {
  width: 50vw; 
  max-width: 250px;
}
/* ヘッダーLINE */
.header_inner ul li.line a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  background-color: #06c755;
  padding: 0 1rem;
  transition: 0.5s;
}
.header_inner ul li.line a:hover {
  background-color: rgb(141, 235, 180);
}


@media screen and (max-width: 768px) {
    .header_inner {
        width: 96%;
        height: auto;
        margin: auto;
    }
    .header_inner ul li a.sp {
      display: flex;
      flex-direction: column;
      gap: 2px;
      font-size: 0.8rem;
      color: var(--c_key);
      font-weight: 600;
    }
    .header_inner ul li a i {
      font-size: 2rem;
      color: var(--c_key);
      margin-right: 0;
    }

}

/*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/

#header {
    /*fixedで上部固定*/
    position: fixed;
    z-index: 999;
    /*最前面へ*/
    /*以下はレイアウトのためのCSS*/
}

/*　上に上がる動き　*/
#header.UpMove {
    animation: HeaderUpAnime 0.5s forwards;
}

@keyframes HeaderUpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

/*　下に下がる動き　*/

#header.DownMove {
    animation: HeaderDownAnime 0.5s forwards;
}

@keyframes HeaderDownAnime {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --------------------------------------
TOP トップイメージ
---------------------------------------*/
.top_image {
  overflow: hidden;
  width: 100%;
  margin: auto;
}
.top_image img {
  width: 100%;
  min-height: 800px;
  object-position: center;
  object-fit: cover;
}
@media only screen and (max-width: 768px) {
  .top_image {
    overflow: hidden;
    width: 100%;
    margin: auto;
    height: auto;
    aspect-ratio: 5 / 4;
}
  .top_image img {
    width: 100%;
    min-height: auto;
  }
}

/* --------------------------------------
住まいのサポート
---------------------------------------*/
img.sodan_title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0; 
  margin: auto;
  max-width: 900px;
  width: 90%;
}

/* --------------------------------------
セカンドライフのできるごと
---------------------------------------*/
.bg_wt_wrap {
  background-color: #fff;
  width: 100%;
  padding: 3rem;
  box-sizing: border-box;
  border-radius: 1rem;
}
@media screen and (max-width: 768px) {
  .bg_wt_wrap {
      padding: 2rem 1rem;
    }
}

/* --------------------------------------
タイトル
---------------------------------------*/
h3.page_title {
    position: relative;
    overflow-y: hidden;
    width: 100%;
    height: 150px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}
.page_title_tx {
    font-size: 2.2rem;
    text-align: center;
}
.page_title_tx span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

h3.page_title::after {
    content: "";
    position: absolute;
    top: -150px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    max-width: 600px;
    height: 300px;
    background-color: #FFCD00;
    margin: auto;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    z-index: -1;
}


/* --------------------------------------
ポイント
---------------------------------------*/
ul.point {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

ul.point li {
    width: 32%;
}


/* --------------------------------------
タイトル設定
---------------------------------------*/
.title_center h3 img {
    height: 120px;
}

.light_blue_bg {
    background-color: #EFFAE3;
}

@media screen and (max-width: 768px) {
    .title_center h3 img {
        height: auto;
    }
}


/* --------------------------------------
問い合わせボタン
---------------------------------------*/
.customer_title {
    text-align: center;
}
.customer_title img {
    width: 60%;
}
ul.customer_btn {
    width: 100%;
}
ul.customer_btn li {
    width: 32%;
    margin-top: 1rem;
}
ul.customer_btn li img {
    width: 100% !important;
}
@media screen and (max-width: 768px) {
    ul.customer_btn li {
        width: 60%;
    }
    ul.customer_btn li.sp {
        width: 18%;
    }
}
.customer_title.please img {
    width: 80%;
}
.please ul.customer_btn {
    display: flex;
    align-items: center;
}
ul.customer_btn li a.tel_btn {
    position: relative;
    display: block;
    width: 100%;
    height: 87.5px;
    color: #fff;
}
.please ul.customer_btn li img {
    margin-top: 0;
}
@media screen and (max-width: 768px) {
    .please ul.customer_btn li {
        width: 60%;
    }

    .please ul.customer_btn li.sp {
        width: 18%;
    }
    ul.customer_btn li a.tel_btn {
        height: 128px;
    }
}


/* --------------------------------------
Footer 
---------------------------------------*/
footer {
  height: auto;
  width: 100%;
}
/* ヘッダーロゴ */
h1.foot_logo img {
  width: 50vw;
  max-width: 250px;
}
.foot_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.foot_wrap_left {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.foot_wrap_left p {
  line-height: 1;
  font-size: var(--fs-base);
  color: var(--c_key);
  font-weight: 600;
}
ul.foot_wrap_right {
    display: flex;
    gap: 1rem;
}
ul.foot_wrap_right li {
  font-size: var(--fs-base);
}
@media screen and (max-width: 768px) {
  .foot_wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* コピーライト */
.copylight {
  width: 100%;
  background-color: var(--c_key);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0;
  box-sizing: border-box;
}


/* --------------------------------------
モバイルボタン
---------------------------------------*/
.foot_sp_btn {
    display: none;
}

@media screen and (max-width: 768px) {
    .foot_space {
        width: 100%;
        height: 100px;
        background-color: var(--c_key);;
    }
    .foot_sp_btn {
        display: flex;
        justify-content: center;
        width: 100%;
        position: fixed;
        bottom: -2px;
        /*はじめは非表示*/
        opacity: 0;
        transform: translateY(100px);
        z-index: 100;
    }

    /*　上に上がる動き　*/
    .foot_sp_btn.UpMove {
        animation: UpAnime 0.5s forwards;
    }
    @keyframes UpAnime {
        from {
            opacity: 0;
            transform: translateY(100px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /*　下に下がる動き　*/
    .foot_sp_btn.DownMove {
        animation: DownAnime 0.5s forwards;
    }
    @keyframes DownAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 1;
            transform: translateY(100px);
        }
    }
    .foot_sp_btn_tel {
        width: 96%;
        text-align: center;
    }
    
}


/* 画像光る */

.reflection-img {
    position: relative;
    overflow: hidden;
}

.reflection {
    height: 100%;
    width: 30px;
    position: absolute;
    top: -180px;
    left: 0;
    background-color: #fff;
    opacity: 0;
    transform: rotate(45deg);
    animation: reflection 2s ease-in-out infinite;
    -webkit-transform: rotate(45deg);
    -webkit-animation: reflection 2s ease-in-out infinite;
    -moz-transform: rotate(45deg);
    -moz-animation: reflection 2s ease-in-out infinite;
    -ms-transform: rotate(45deg);
    -ms-animation: reflection 2s ease-in-out infinite;
    -o-transform: rotate(45deg);
    -o-animation: reflection 2s ease-in-out infinite;
}
@keyframes reflection {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
@-webkit-keyframes reflection {
  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;
  }
}
@-moz-keyframes reflection {
  0% {
    -moz-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -moz-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -moz-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -moz-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
@-ms-keyframes reflection {
  0% {
    -ms-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -ms-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -ms-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -ms-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
@-o-keyframes reflection {
  0% {
    -o-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -o-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -o-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -o-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/* プライバシーポリシー */
a.policy_link {
  text-decoration: underline;
}
ul.policy_wrap {
  width: 100%;
  margin: 3rem auto;
}
ul.policy_wrap li {
  width: 100%;
  margin-bottom: 3rem;
}
ul.policy_wrap li p {
  margin-bottom: 0.5rem;
}
ul.policy_wrap li p.flex {
  display: flex;
}
ul.policy_wrap li p.flex span {
  width: 6rem;
}
ul.policy_wrap li p.flex em {
  width: calc(100% - 6rem);
  font-style: normal;
}

.policy-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}
.link_btn {
  font-size: var(--fs-base);
  background: var(--c_key);
  width: 300px;
  height: 40px;
  line-height: 40px;
  margin: 30px auto;
  display: block;
  border: 1px var(--c_key) solid;
  text-align: center;
  color: #fff;
  transition: all 0.4s ease;
}
.link_btn:hover {
  background: #fff;
  color: #000;
}
@media only screen and (max-width:768px) {
  .link_btn {
    width: 100%;
  }
}