/*------------------------------------
タイトル用CSS
------------------------------------*/
/* デフォルトタイトル1 */
.default-title {
  text-align: center;
  width: 500px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--color-main);
  margin: auto;
  margin-bottom: 30px;
}
.default-title .main-ttl {
  font-size: 2.4rem;
  letter-spacing: 3px;
  display: inline-block;
  line-height: 1;
  color: var(--color-main);
  font-family: var(--font-sub3);
  font-weight: normal;
}
.default-title .sub-ttl {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 10px;
  font-family: var(--font-sub2);
}

@media only screen and (max-width: 1080px) {
  .default-title {
    margin-bottom: 2.5rem;
  }
  .default-title .main-ttl {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 767px) {
  .default-title .main-ttl {
    font-size: 2rem;
  }
  .default-title .sub-ttl {
    font-size: 1.1rem;
    margin-top: 5px;
  }
}

/* ページデフォルトタイトル */
.sub-title-area {
  text-align: center;
  padding: 20px 0 15px;
  position: relative;
}
.sub-title-area .wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.sub-title-area.blue {
  background-color: var(--color-main);
}
.sub-title-area.yellow {
  background-color: var(--color-yellow);
}
.sub-title-area.green {
  background-color: var(--color-green);
}
.sub-title-area .catch {
  position: relative;
  display: inline-block;
}
.sub-title-area .catch h1 {
  position: relative;
}
.sub-title-area .catch h1 div {
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.sub-title-area .catch h1 div:first-child {
  font-size: 2.4rem;
  color: var(--color-white);
  font-family: var(--font-sub3);
  letter-spacing: 0.1rem;
}
.sub-title-area .catch h1 div:nth-child(2) {
  font-size: 1.5rem;
}

@media only screen and (max-width: 1080px) {
  .default-title .main-ttl {
    font-size: 2.2rem;
  }
  .default-title .sub-ttl {
    font-size: 1.2rem;
  }
  .default-title {
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .sub-title-area {
    padding: 10px 0;
  }
  .sub-title-area .catch h1 div:first-child {
    font-size: 1.8rem;
  }
  .sub-title-area .catch h1 div:nth-child(2) {
    font-size: 1.1rem;
  }
  .sub-title-area .catch h1::before {
    width: 100px;
    height: 100px;
    left: -30px;
    top: -15px;
  }
  .sub-title-area .catch h1::after {
    width: 50px;
    height: 50px;
    right: -20vw;
    bottom: -30px;
  }
  .sub-title-area .wave img {
    vertical-align: top;
  }
  .default-title {
    width: 320px;
  }
  .default-title .main-ttl {
    font-size: 1.8rem;
  }
  .default-title .sub-ttl {
    font-size: 1rem;
  }
}
