@charset "utf-8";
main {
  padding-top: 100px;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.img-box {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.img1, .img2, .img3 {
  width: 100%;
  height: 500px;
  position: absolute;
  top: 0;
  background: center center no-repeat;
  animation: anime 10s 0s infinite;
  z-index: 0;
  opacity: 0;
}

.img1{
   background-image: url(../pic/240202-2_外観1100.png);
   animation: slide-animation-01 24s infinite;
}
.img2{
   background-image: url(../pic/240202-2_屋上テラス1100.png);
   animation: slide-animation-02 24s infinite;
}
.img3{
   background-image: url(../pic/p1屋上庭園240202-2_屋上テラス11100.png);
   animation: slide-animation-03 24s infinite;
}
@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
}
header {
  width: 100%;
  height: 100px;
  position: fixed;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 100;
  background-color: white;
}

li {
  list-style-type: none;
}
.page-header li {
  margin-left: 1rem;
}
p , tr , li{
  color: #666666;
}
.nav_list {
  display: flex;
}

.home-content {
  background-color: #d2e7be;
  color: #666666;
  height: 150px;
  align-items: center;
  display: flex;
  justify-content: space-around;
}
.home-content p {
  color: #666666;
  font-family: serif;
}
.home-content-left p {
  font-size: 1.2em;
}
.home-content-right span {
  font-size: 1.5em;
  font-weight: bold;
}
.hcp1 {
  font-size: 1.4em;
}
.hcp2 {
  font-size: 0.9em;
  margin-top: 5px;
}

.home-content h1 {
  font-family: "Yu gothic, sans-serif" ;
  color: #666666;
}

h2 {
  color: #666666;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 4%;
}
.detail h2 {
  margin-bottom: 0;
}
.detail p{
  width: 400px;
  margin-top: 50px;
}
.detail-text {
  display: flex; 
  justify-content: center;
}
.detail img {
  width: 100%;
  margin-top: 50px;
}

.access img {
  width: 500px;
  height: 500px;
}
.map {
  display: flex;
  justify-content: space-between;
}
.map_a {
  width: 50%;
  margin-right: 10px;
}


.contact li {
  text-align: center;
}

.footer {
  background-color: #EFF6EE;
  /* margin-top: 50px; */
}
.footer h2 {
  padding-top: 50px;
  margin-bottom: 50px;
}
.footertable {
  display: flex;
  justify-content: center;
  padding-bottom: 50px;
}

.plan img{
  width: 100%;
  margin-top: 50px;
}
.drawer_hidden {
  display: none;
}
h2 {
  height: 1px;
  display: block;
  padding-top: 100px;
  margin-top: -50px;
}
.contact_text{
  height: 200px;
}
/* モバイル版 
--------------------------------*/
@media screen and (max-width: 768px)

{
  header {
    height: 80px;
    width: auto;

  }
  .page-header {
    align-items: center;
   position: fixed;
   background-color: white;
  }
  .page-header img {
    width: 80%;
  }

  .nav_list {
    flex-direction: column;
  }

  .nav_content {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav_content li {
    font-size: 150%;
  }
  .img-box {
    width: 100%;
  }
  .home-content {
    flex-direction:  column;
    align-items: center;
    height: auto;
    padding: 20px;
  }

  .map {
    flex-direction: column;
    align-items: center;
  }
  .map_a {
    width: auto;
    margin-right: 0;
  }
  /* .map_b iframe{
    width: auto;

  } */
  .map_a img{
    width: 100%;
    height: 100%;
  }

  .detail {
    margin-top: -150px;
    padding-top: 150px;
  }

/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 200px;
  height: 200px;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgb(110, 110, 110);
  transition: .5s;
  text-align: center;
  margin-bottom: 20px;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

.nav_item a {
  color: #fff;
  text-decoration: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */
}

.detail-text p {
  padding: 10px;
}
.detail img {
  width: 100%;
}
.footertable table{
  padding-left: 4px;
  padding-right: 4px;
}
 }

 /* スマホ版 
--------------------------------*/
@media screen and (max-width: 430px)
{
  .tabl {
    white-space: nowrap;
  }
  .img-box {
    width: 100%;
    height: 300px;
  }
  .img1{
    background-image: url(../pic/240202-2_外観500.png);
    animation: slide-animation-01 24s infinite;
    background-size: contain;
    background-position: top;
 }
 .img2{
    background-image: url(../pic/240202-2_屋上テラス500.png);
    animation: slide-animation-02 24s infinite;
    background-size: contain;
    background-position: top;
 }
 .img3{
    background-image: url(../pic/p1屋上庭園240202-2_屋上テラス1500.png);
    animation: slide-animation-03 24s infinite;
    background-size: contain;
    background-position: top;
 }

 .map_b iframe {
  width: 100%;
 }
 #PLAN {
  padding-top: 50px;
}
}
