@charset "utf-8";

/* CSS Document */

#main {
/*  background:linear-gradient(to bottom, rgba(0, 129, 163, 0.2), rgba(0, 129, 163, 0));*/
}

#contents {
  background-image: url(../../common/images/sidebar-bg.jpg), url(../../common/images/sidebar-bg-bottom.jpg), url(../images/gallery_bg.jpg);
  background-position: left 350px, left 350px, right bottom;
  background-repeat: no-repeat, repeat-y, repeat;
  /* background-color: white; */
}

h2.pagetitle {
  margin-bottom: 0px;
  background-image: url(../images/pagetitle.jpg);
}


h3.contentsTitle {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  background-color: #005c6b;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.46);
  padding: 4px 10px;
  margin-bottom: 25px;
}

h3.contentsTitle span {
  color:#fff;
  font-size: 14px;
  font-weight: bold;
  padding-right: 15px;
}

/*写真*/
#photo {
/*  padding: 35px 25px 55px;*/
  padding: 35px 25px 110px;
  /* background-image: url(../images/gallery_bg.jpg); */
  /* background-repeat: repeat; */
/*  min-height: 100vh;*/
  box-sizing: border-box;
}

.intro-text {
  line-height: 1.5;
  font-size: 14px;
  margin: 30px 0;
}
.intro-text > .emphasis {
  color: #005c6b;
  font-weight: 700;
  font-size: 20.5px;
  line-height: 1.5;
  padding-bottom: 5px;
  display: block;
}

.photo-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
/*介護*/
.photo-list.nursing {
  margin-bottom: 425px;
}

.photo-item {
  width: calc(32% - 10px);
  height: auto;
  border: 5px solid #fff9ee;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}
.photo-item:nth-of-type(odd) {
  transform: rotate(-0.5deg) translate3d(0, 0, 0);
  margin-bottom: 10px;
}
.photo-item:nth-of-type(even) {
  transform: rotate(1deg) translate3d(0, 0, 0);
  margin-top: 5px;
}
.photo-item:not(:nth-of-type(n+3)) {
  margin-bottom: 10px;
}
.photo-item-pic {
  width: 100%;
}
.photo-item-pic > img {
  width: 100%;
}
