.header {
  padding: 21px 0 28px;
  background: url(/img/common/header_bg.jpg) no-repeat center center / cover;
}
.header.chintai {
  background: url(/img/common/header_bg_chintai.jpg) no-repeat center center / cover;
}
.header.top {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0;
}
/* ヘッダー文言 */
.header.top .toptext {
  padding-bottom: 21px;
}
.header .toptext {
  width: 90%;
  padding: 0 0;
  margin: 21px auto 0;
  color: #fff;
  text-align: center;
}
.header .toptext__label {
  width: 100%;
  padding: 7px;
  margin-bottom: 14px;
  border-radius: 7px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
}
.header .toptext__title {
  width: 90%;
  margin: auto auto 11px;
  font-size: 1.2rem;
  text-shadow: 1px 1px 3px #050505;
  line-height: 1.8;
}
.header .toptext__title::before {
  display: block;
  content: attr(title) " ";
  margin-bottom: 14px;
  font-size: 4.8rem;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.05em;
}
.header .toptext__catch {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: bold;
  text-shadow: 1px 1px 3px #050505;
}
/* トップ以外のヘッダー文言 */
.header__pagetext,
.header__pagetext-en {
  color: #fff;
  text-align: center;
}
.header__pagetext {
  margin-top: 35px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}
.header__pagetext-en {
  margin-top: 12px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.4;
}
/* sp */
.header__navbtn {
  width: 26px;
  height: 26px;
}
.header__navbtn.navbtn-request {
  background-image: url(/common/assets/img/common/icon_operator.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.header__navbtn-item {
  width: 100%;
  height: 5px;
  background-color: #ccc;
  border-radius: 3px;
  transition: 0.3s;
  transform-origin: left;
}
.header__navbtn.opened .header__navbtn-item:nth-child(1) {
  transform: rotate(45deg) translate(3px,0);
  transform-origin: left top;
}
.header__navbtn.opened .header__navbtn-item:nth-child(2) {
  opacity: 0;
}
.header__navbtn.opened .header__navbtn-item:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
  transform-origin: left bottom;
}
.header__navbtn-item:not(:last-child) {
  margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
  .header{
    padding: 40px 0;
  }
  .header__pagetext {
    margin-top: 40px;
    font-size: 2.3rem;
  }
  .header .toptext{
    padding: 70px 0 40px;
    margin: 0 auto;
  }
  .header.top .toptext {
    padding-bottom: 84px;
  }
  .header.top {
    margin-bottom: 70px; /* ::afterのheight40px + 28px */
  }
  .header.top::after {
    display: block;
    content: "";
    position: absolute;
    width: 336px;
    height: 40px;
    bottom: -40px;
  }
  .header .toptext__label {
    display: inline-block;
    width: auto;
    padding: 14px 70px;
    margin-bottom: 7px;
    font-size: 1.6rem;
    line-height: 1;
  }
  .header .toptext__title {
    width: 100%;
    padding: 0;
    margin: auto auto 40px;
    font-size: 1.6rem;
    line-height: 1;
  }
  .header .toptext__title::before {
    font-size: 8.4rem;
  }
  .header .toptext__catch {
    font-size: 2.3rem;
    line-height: 1;
  }
  /* sp */
  .header__navbtn {
    display: none;
  }
}

/* 検索フォーム */
.hdform-form {
  display: flex;
  justify-content: center;
  width: 95%;
  padding-bottom: 40px;
  margin: 0 auto auto;
}
.header-a-02.top .hdform-form {
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 23px;
}
.hdform {
  display: flex;
  flex-wrap: wrap;
  min-width: unset;
  width: 100%;
  background-color: #fff;
  border-radius: 12px;
}
.hdform__input{
  width: 28.333%;
}
.hdform input {
  padding: 18px 14px;
  border-right: 1px solid #e3e3e3;
  font-size: 1.3rem;
  transition: 0.3s;
}
.hdform input:focus {
  background-color: #eee;
}
.hdform__input:first-child {
  border-bottom-left-radius: 12px;
  border-top-left-radius: 12px;
}
.hdform__btn {
  width: 15.001%;
  border-bottom-right-radius: 12px;
  border-top-right-radius: 12px;
  color: #fff;
  transition: 0.3s;
}
.hdform__btn::before {
  display: inline-block;
  content: "\f002";
  font-family: "Font Awesome 5 Pro";
  font-size: 1.6rem;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .hdform-form {
    width: 540px;
    margin: -40px auto auto;
  }
  .hdform {
    min-width: 100%;
  }
}

/* -----------------------------------------------
  header-a-2(ボタンありタイプ)css
-----------------------------------------------*/
.header-a-02.top {
  margin-bottom: 0;
}
.header-a-02.top .toptext {
  padding: 0 0 14px;
}
.header-a-02 .toptext__label {
  padding: 0;
  margin-bottom: 7px;
  background-color: transparent;
  font-size: 1.4rem;
  font-weight: normal;
}
.header-a-02 .toptext__title {
  margin-bottom: 7px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
}
.header-a-02 .toptext__title::before {
  margin-bottom: 20px;
}
.header-a-02 .toptext__catch {
  color: #ddd;
  font-size: 1.4rem;
  font-weight: normal;
}
.header.header-a-02 {
  padding-bottom: 50px;
}
.header__linkbtn {
  display: flex;
  width: 95%;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}
.header__linkbtn-item {
  position: relative;
  width: 50%;
}
.header__linkbtn-item a {
  display: block;
  padding: 21px 3px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(17, 17, 17, 0.47);
  transition: 0.3s;
}
.header__linkbtn-item:not(:last-child)::after {
  display: block;
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  top: 0;
  right: 1px;
}
@media screen and (min-width: 768px) {
  .header-a-02.top {
    margin-bottom: 56px;
  }
  .header-a-02.top .toptext {
    padding: 34px 0;
  }
  .header-a-02.top .toptext__catch {
    font-size: 1.82rem;
  }
  .header-a-02.top .toptext__label {
    padding: 7px 14px;
    font-size: 1.6rem;
  }
  .header-a-02.top .toptext__title {
    margin-bottom: 16px;
    font-size: 1.5rem;
    line-height: 1.1;
  }
  .header__linkbtn {
    min-width: 540px;
    width: 45%;
  }
  .header__linkbtn-item a {
    padding: 28px 7px;
    font-size: 1.6rem;
  }
  .header__linkbtn-item a::before {
    content: "\f002";
    margin-right: 14px;
    font-family: "Font Awesome 5 Pro";
    font-size: 2.1rem;
    font-weight: bold;
    vertical-align: middle;
  }
}