@charset "utf-8";
@import url("../root.css");

/***************************************
----------------- TITLE -----------------
***************************************/
#pagetitle {
  width: 100%;
  height: 200px;
  margin: 0 auto;
  padding: 0;
  background: url(../../img/common/under_title.jpg) no-repeat center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pagetitle h1 {
  font-size: 4rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: .06em;
  font-family: var(--title-font-family);
  position: relative;
  padding-top: 30px;
}

#pagetitle h1:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: auto;
  right: 0;
  left: 0;
  margin: auto;
  width: 133px;
  height: 20px;
  background: url(../../img/common/h2_under.png) no-repeat center center /cover;
}

@media screen and (max-width: 599px) {
  #pagetitle {
    margin-top: 80px;
    height: 100px;
  }

  #pagetitle h1 {
    font-size: 3rem;
  }
}

.h2 {
  font-size: clamp(3.3rem, 3vw, 4.8rem);
  font-weight: 600;
  color: #555555;
  margin-bottom: 0.4em;
  line-height: 1.2;
}

.h2 .sub {
  font-size: calc(1.6rem * 0.8);
  padding-left: 1em;
}

.h3 {
  color: var(--base-color01);
  font-size: clamp(2.2rem, 2vw, 2.8rem);;
  font-weight: bold;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--base-color01);
}

.h2_A {
  color: #fff;
  position: relative;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  padding: 10px 20px 20px;
  margin-bottom: 1em;
  text-align: left;
  background: url(../../img/common/h2_bg.jpg) no-repeat center right /cover;
  position: relative;
  font-family: var(--title-font-family);
}

.h2_A:after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e9ba3f;
}

.h2_A::first-letter {
  color: #ffea00;
}

.h2_A a {
  color: #fff;
}

@media (max-width: 599px) {
  .h2_A {
    padding: 10px 15px 15px;
  }
}

.h2_A:before {
  content: "";
  width: 25px;
  height: 25px;
  position: absolute;
  top: 1.15em;
  left: 20px;
}

@media (max-width: 599px) {
  .h2_A:before {
    width: 16px;
    top: 0.85em;
    left: 15px;
  }
}

.side_contents .h2_A {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
}

.h3_A {
  color: var(--base-color01);
  position: relative;
  font-size: clamp(1.8rem, 1.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0;
  padding: 10px 15px 10px 20px;
  margin-bottom: 1em;
  text-align: left;
}

.h3_A:before {
  content: "";
  width: 5px;
  height: 1.2em;
  position: absolute;
  top: 18px;
  left: 0;
  background: var(--base-color01);
}

@media (max-width: 599px) {
  .h3_A:before {
    top: 15px;
    left: 5px;
  }
}

.h3_styled {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.06em;
}

@media (max-width: 599px) {
  .h3_styled {
    font-size: 19px;
  }
}

.h3_styled span {
  font-size: 22px;
  color: #ffaa03;
}

@media (max-width: 599px) {
  .h3_styled span {
    font-size: 19px;
  }
}