/*------------------------------------
タイトル用CSS
------------------------------------*/
/* 飾りアイコン */
.icon-square {
  display: block;
  clip-path: polygon(52% 0, 100% 0%, 50% 100%, 0% 100%);
  background-color: var(--color-main);
  width: 24px;
  height: 24px;
}
@media only screen and (max-width: 767px) {
  .icon-square {
    width: 14px;
    height: 14px;
  }
}
/* デフォルトタイトル1 */
.default-title.left {
  text-align: left;
}
.default-title .main-ttl {
  font-size: 3rem;
  color: var(--color-main);
  font-weight: 700;
  letter-spacing: 3px;
  display: flex;
  line-height: 1;
  align-items: center;
  white-space: nowrap;
  gap: 30px;
}
.default-title .main-ttl .line {
  width: 100%;
  height: 1px;
  background-color: var(--color-main);
}
.default-title .sub-ttl {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  position: relative;
}
.default-title .sub-ttl::before {
  content: "";
  width: 25px;
  height: 1px;
  background-color: var(--color-main);
}
.default-title.center {
  text-align: center;
}
.default-title.center .main-ttl {
  justify-content: center;
  font-size: 2.6rem;
}
.default-title.center .sub-ttl {
  justify-content: center;
}
.default-title.center .sub-ttl::after {
  content: "";
  width: 25px;
  height: 1px;
  background-color: var(--color-main);
}
.default-title.white .main-ttl {
  color: var(--color-white);
}
.default-title.white .main-ttl .line {
  background-color: var(--color-white);
}
.default-title.white .sub-ttl {
  color: var(--color-white);
}
.default-title.white .sub-ttl::before {
  background-color: var(--color-white);
}
.default-title.white .icon-square {
  background-color: var(--color-white);
}

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

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

/* デフォルトタイトル２　ページ用 */
.page-default-title {
  text-align: center;
}
.page-default-title .main-ttl {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-main);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.page-default-title .main-ttl::after {
  content: "";
  width: 50px;
  height: 1px;
  background-color: var(--color-main);
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.page-default-title .description {
  text-align: center;
  line-height: 2;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 40px;
}

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

@media only screen and (max-width: 767px) {
  .page-default-title .main-ttl {
    font-size: 1.3rem;
  }
  .page-default-title .description {
    line-height: 1.8;
    font-size: 0.8rem;
    margin-top: 30px;
  }
}

/* ページデフォルトタイトルエリア */
.sub-title-area {
  background-color: var(--color-main);
  text-align: left;
  padding: 60px 0;
  position: relative;
}
.sub-title-area::before {
  content: "";
  display: block;
  width: 30%;
  height: 100%;
  background-color: var(--color-white);
  clip-path: polygon(86% 0, 100% 0, 55% 100%, 0% 100%);
  position: absolute;
  right: -30px;
  top: 0;
}
.sub-title-area .catch {
  width: 80%;
  max-width: 1140px;
  margin: auto;
  color: var(--color-white);
}
.sub-title-area .catch h1 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}
.sub-title-area .catch p {
  position: relative;
  width: fit-content;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sub-title-area .catch p::after {
  content: "";
  width: 60px;
  height: 1px;
  background-color: var(--color-white);
  display: block;
}

@media only screen and (max-width: 1080px) {
  .sub-title-area .catch h1 {
    font-size: 1.5rem;
    margin-top: 0;
  }
  .sub-title-area .catch p {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 767px) {
  .sub-title-area .catch h1 {
    font-size: 1.2rem;
  }
  .sub-title-area .catch p {
    font-size: 0.9rem;
  }
  .sub-title-area {
    padding: 40px 0;
  }
  .sub-title-area::before {
    width: 40%;
    right: -20px;
  }
}
