@charset "utf-8";

/* typography
----------------------------------------------- */
h2 {
  text-align: center;
  margin: 1.5em 0 2em;
  padding: 0;
  font-size: 1.3em;
  background: none;
  color: #66646f;
}
h2.title01 {
  position: relative;
}
h2.title01:before {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 5em;
  height: 2px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #ddd;
}
h3 {
  text-align: center;
  margin: 1.5em 0 1em;
  padding: 0;
  font-size: 1.2em;
  border: none;
}

h4 {
  margin: 1.5em 0 1em;
  padding: 0;
  font-size: 1.2em;
  border: none;
}

#wrapper.frontpage .post {
  padding: 0;
}
.frontpage #content #main {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 0;
}
.frontpage #content #main .inner {
  width: 92%;
  max-width: 100%;
  margin: 0 auto 0;
}
#read {
  -webkit-clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
  background-color: #f8f8f8;
  padding: 25px 0 25px 0;
}

#merit h2 span.top {
  background: url("../images/common/heading_bg01.png") no-repeat center 100%;
  background-size: 100%;
  display: inline-block;
  padding: 0 0 1.25em;
  margin: 0 0 1em;
  font-size: 0.9em;
  color: #66646f;
}
#merit h2 {
  color: #b7ac86;
}
#merit .merititem img {
  width: 100%;
}
#merit .merititem .container {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px 3% 15px;
  margin: -70px 3% 20px;
  position: relative;
  border-radius: 10px;
}
#merit .merititem h3 {
  position: relative;
  text-align: left;
  padding: 0 12px;
  font-size: 1.3rem;
}
#merit .merititem h3 span.no {
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-weight: 200;
  font-size: 90px;
  line-height: 1;
  position: absolute;
  top: -90px;
  left: 5px;
  color: #b7ac86;
  opacity: 0.8;
}
#special,
.bg01 {
  -webkit-clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
  background-color: #f8f8f8;
  padding: 25px 0 25px 0;
  margin-top: 3em;
}

/* 768px～ メディアクエリ開始 */
@media screen and (min-width: 768px) {
  /* typography
----------------------------------------------- */
  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.6em;
    margin: 2em 0 2.5em;
  }
  h3 {
    font-size: 1.3em;
  }

  h4 {
    font-size: 1.3em;
  }
  #merit .merititem .container {
    padding: 20px 5% 15px;
    margin: -150px 3% 20px;
  }
  #merit .merititem h3 {
    font-size: 1.5rem;
  }
  #merit .merititem h3 span.no {
    font-size: 120px;
    top: -120px;
    left: 0;
  }
}

/* 992px～ メディアクエリ開始 */
@media screen and (min-width: 992px) {
  #wrapper.frontpage {
    width: 100%;
    max-width: 100%;
  }
  .frontpage #content #main .inner {
    width: 800px;
  }
  /* typography
  ----------------------------------------------- */
  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.3em;
  }

  h4 {
    font-size: 1.3em;
  }

  #read {
    padding: 60px 0 30px 0;
  }

  #merit .merititem img {
    width: 100%;
  }
  #merit .merititem {
    display: flex;
    max-width: 1400px;
    margin: 0 auto 0;
  }
  #merit .merititem .itemright {
    width: 50%;
    order: 2;
  }
  #merit .merititem .itemleft {
    width: 50%;
    order: 1;
  }
  #merit .merititem .container {
    padding: 50px 3% 20px;
    margin: 20px 0 20px;
    position: relative;
    border-radius: 10px;
  }

  #merit .merititem h3 {
    font-size: 1.4rem;
  }
  #merit .merititem h3 span.no {
    font-size: 90px;
    top: -90px;
    left: 5px;
  }
  .frontpage #content #special .inner {
    width: auto;
    max-width: 1280px;
    padding: 0 2%;
  }
}

/* 1024px～ メディアクエリ終了 */
