@charset "utf-8";

/* CSS Document */

#main {
  background-image: url(../images/running_main_bg.jpg);
  background-position: top 40px right -30px;
}


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: #26397d;
   text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.46);
   padding: 4px 10px;
   margin-bottom: 25px;
}

/*写真*/
#photo {
  padding: 25px;
  background-image: url(../images/gallery_bg.jpg);
  background-repeat: repeat;
}

.intro-text {
  line-height: 1.5;
  font-size: 14px;
  margin: 30px 0;
}
.intro-text > .emphasis {
  color: #26397d;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8;
  padding-bottom: 10px;
  display: block;
}


.photo-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 25px;
}
.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%;
}
.last-item {
  margin-right: auto;
  margin-left: 15px;
}
