@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700&display=swap');

/*============================================
  Common CSS
  ============================================*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
  margin: 0;
  padding: 0;
  font-family: "游ゴシック","メイリオ", Verdana, "ＭＳ Ｐゴシック", sans-serif;
  box-sizing: border-box;
}
body{
  overflow-x: hidden;
  color: #302e2d;
  background: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .06em;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
.invisible {
  transition: opacity 0.3s ease;
  opacity: 0.0;
}
.visible {
  transition: opacity 0.3s ease;
  opacity: 1.0;
}
p{
  line-height: 2;
}
a{
  color: #0066ff;
  text-decoration: none;
}
a:hover, .active{
  color: #ccc;
}
a:active, a:focus,input:active, input:focus {
  outline:0;
}
a:hover img {
  opacity:0.95;
  filter: alpha(opacity=95);
  -ms-filter: "alpha(opacity=95)";
  -moz-opacity:0.95;
  -khtml-opacity: 0.95;
}
img{
  max-width: 100%;
  height: auto;
}
.w-inner{
  padding: 0 80px;
}
.inner{
  max-width: 1100px;
  margin: 0 auto;
}

header{
  background:url(../css/index-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 100px 0;
}
header h1{
  max-width: 100%;
  width: 1200px;
  margin: 0 auto;
  line-height: 1.4;
}
footer{
  background: #333;
  padding: 4px 0;
}
footer a{
  color: #fff;
  font-size: 12px;
}

#contents{
  max-width: 100%;
  width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
}
.group-home-list{
  display: flex;
  flex-wrap: wrap;
  margin: -10px -15px 0px;
}
.group-home-list .group-home__items{
  width: calc(33.3333% - 30px);
  margin: 10px 15px 30px;
  list-style-type: none;
  text-align: left;
}
.group-home-list .group-home__items a{
  color: #000;
}
.group-home-list .group-home__items h2{
  font-size: 1em;
}
.group-home-list .group-home__items span{
  border: 1px solid #ccc;
  font-size: 12px;
  padding: 2px 6px;
}
.group-home-list .group-home__items .pref{
  border: 1px solid #eee;
  background: #fafafa;
}
.group-home-list .group-home__items .man{
  background: #54aee2;
  color: #fff;
  border: 1px solid #fff;
}
.group-home-list .group-home__items .woman{
  background: #e06a6a;
  color: #fff;
  border: 1px solid #fff;
}
.group-home-list .group-home__items .pet{
  background: #bca76f;
  color: #fff;
  border: 1px solid #fff;
}
.ttl2{
  text-align: left;
  font-size: max(1.4vw, 1.1em);
  font-weight: 700;
  border-left: 5px solid #d7483c;
  padding: 0 10px;
  margin: 2em 0 .6em 0;
}

@media only screen and (max-width: 768px){
  body{
    letter-spacing: 0;
  }
  header{
    padding: 50px 0;
  }
  header h1{
    font-size: 20px;
  }
  .group-home-list{
    margin: -10px -10px 0px;
  }
  .group-home-list .group-home__items{
    width: calc(50% - 20px);
    margin: 10px 10px 30px;
  }
  .group-home-list .group-home__items span{
    font-size: 8px;
  }
  .group-home-list .group-home__items h2{
    font-size: 14px;
    line-height: 1.5;
    padding-top: 5px;
  }
}