h3 {
  font-size: inherit;
  font-weight: inherit;
}

/* Header */
.header {
  width: 100%;
  height: 84px;
  background: #FAD749;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 5rem;
  position: fixed;
  top: 0;
  z-index: 4000;
  padding: 10px;
  box-sizing: border-box;
}
.header-logo {
  padding-left: min(2vw,40px);
  width: 120px;
}

@media only screen and (max-width: 1520px) {
  .header {
    gap: 0 2rem;
  }
}

@media only screen and (max-width: 969px) {
  .header {
    height: 70px;
    z-index: 2000;
  }
}

/* Header Logo */
@media only screen and (max-width: 1520px) {
  .header-logo {
    width: 95px;
  }
}

/* Header PC Nav */
.header-pcnav {
  margin-left: auto;
}

.header-pcnav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 3rem;
  font-size: 22px;
  font-weight: 600;
}

@media only screen and (max-width: 1520px) {
  .header-pcnav-list {
    font-size: 18px;
    gap: 0 2rem;
  }
}

@media only screen and (max-width: 1180px) {
  .header-pcnav-list {
    font-size: 16px;
    gap: 0 1rem;
  }
}

@media only screen and (max-width: 969px) {
  .header-pcnav {
    display: none;
  }
}

/* Header Tel */
.header-tel a {
  color: #fff;
  background: linear-gradient(#FF8500, #FC5B11);
  border-radius: 5px;
  width: 260px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px 0;
  text-align: center;
  line-height: 1;
  margin-right: min(2vw,40px);
}

.header-tel-number {
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.header-tel-number:before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background: url(../img/icon_tel_ver2.svg) no-repeat center / cover;
  /* transform: rotate(8deg); */
}

.header-tel-text {
  font-size: 16px;
}

@media only screen and (max-width: 1520px) {
  .header-tel a {
    width: 270px;
    margin-right: 0;
  }

  /* .header-tel-number {
    font-size: 30px;
  }

  .header-tel-number:before {
    width: 22px;
    height: 22px;
  }

  .header-tel-text {
    font-size: 16px;
  } */
}

@media only screen and (max-width: 969px) {
  .header-tel {
    margin-left: auto;
  }

  .header-tel a {
    color: #FF8500;
    width: 155px;
    height: 60px;
    background: #fff;
    border: 1px solid #FF8500;
    border-radius: 7px;
  }

  .header-tel-number {
    font-size: 16px;
  }

  .header-tel-number:before {
    background: url(../img/icon_tel_ver2_sp.svg) no-repeat center / cover;
    width: 12px;
    height: 12px;
  }

  .header-tel-text {
    font-size: 10px;
  }
}

/* Header Button */
.header-button {
  display: none;
}

@media only screen and (max-width: 969px) {
  .header-button {
    display: block;
    position: relative;
    z-index: 9999;
    width: 42px;
    height: 32px;
  }

  .header-button a {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .header-button a span {
    transition: all 0.4s;
    background: #FF8500;
    width: 100%;
    height: 2px;
  }

  .header-button .opened span:nth-of-type(1) {
    transform: translateY(15px) rotate(-315deg);
  }

  .header-button .opened span:nth-of-type(2) {
    opacity: 0;
  }

  .header-button .opened span:nth-of-type(3) {
    transform: translateY(-15px) rotate(315deg);
  }
}

/* Header SP Nav */
.header-spnav {
  display: none;
}

@media only screen and (max-width: 969px) {
  .header-spnav {
    width: 100%;
    height: 100%;
    display: block;
    margin-right: 0;
    transform: translateX(100vw);
    top: 0px;
    padding: 40px 0 40px;
    box-sizing: border-box;
    position: fixed;
    background: #fedb35;
    transition: all 0.4s;
    transition-timing-function: ease-in;
    right: 0;
    z-index: 0;
  }

  .header-sptel2 {
    text-align: center;
  }

  .header-sptel2 span {
    position: relative;
    padding-left: 46px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 30px;
    font-size: 3rem;
    padding-bottom: 5px;
    box-sizing: border-box;
  }

  .header-sptel2 span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url("./../img/icon-tel.svg") no-repeat;
    background-size: contain;
    width: 36px;
    height: 36px;
  }

  .header-sptel2 .header-sptel-text {
    flex: 0 1 100%;
    font-size: 18px;
    font-size: 1.8rem;
    padding: 5px 10px 20px 10px;
    box-sizing: border-box;
    border-top: 1px solid #000;
    width: 87vw;
    margin: 0 auto;
  }

  .header-spnav-list {
    width: 87%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-spnav-list__item {
    flex: 0 1 100%;
    margin: 0 auto;
    border-top: 1px solid #fff;
  }

  .header-spnav-list__item:last-child {
    border-bottom: 1px solid #fff;
  }

  .header-spnav-list__item-ac {
    position: relative;
  }

  .header-spnav-list__item-ac:before {
    content: "";
    width: 15px;
    height: 1px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffa500;
  }

  .header-spnav-list__item-ac:after {
    content: "";
    width: 1px;
    height: 15px;
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffa500;
  }

  .header-spnav-list__item .opened:after {
    content: none;
  }

  .header-spnav-list__item a {
    padding: 13px 0;
    box-sizing: border-box;
    display: block;
    font-size: 24px;
    font-size: 2.4rem;
    text-align: center;
    color: #bf001a;
  }

  .header-spnav-list__item a span {
    color: #bf001a;
    position: relative;

  }

  .header-spnav-list__item a small {
    display: inline-block;
    margin-left: 12px;
    color: #fedb35;
    font-weight: bold;
    font-family: "Noto Sans JP", "メイリオ", Meiryo, Verdana, Arial, Helvetica, "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Osaka", "MS P Gothic", "ＭＳ Ｐゴシック", "lroSVbN", sans-serif;
  }

  .header-spnav-list__item p {
    padding: 13px 0 13px 10px;
    box-sizing: border-box;
    display: block;
  }

  .header-spnav-links {
    display: none;
    margin-bottom: 20px;
  }

  .header-spnav-links__item a {
    padding: 10px 0;
    border-top: 1px solid #fff;
  }

  .header-spnav .header-spnav-links.active {
    display: block;
    height: auto !important;
  }

  .header-spnav-copy {
    color: #bf001a;
    font-size: 14px;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 20px;
  }
}

/* Header SP Nav Active */
.header .header-spnav.active {
  transform: translate(0);
  z-index: 4000;
  height: 100%;
}

/*------------------------------------------
  Fixed Call to action
------------------------------------------*/
.fixed-cta {
  position: fixed;
  left: 0;
  bottom: -35vw;
  z-index: 97;
  width: 100%;
  /* height: 120px; */
  opacity: 0;
  transition: 0.5s;
  /* background: var(--c-primary);
  color: var(--c-white); */
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.fixed-cta::after {
  content: "";
  background-color: #2E3B96;
  bottom: 0;
  left: 50%;
  transform: translateX(959.2px);
  width: 100%;
  height: 80px;
  position: absolute;
  z-index: -1;
  opacity: 0.85;
}

.fixed-cta::before {
  content: "";
  background-color: #2E3B96;
  bottom: 0;
  right: 50%;
  transform: translateX(-959.2px);
  width: 100%;
  height: 80px;
  position: absolute;
  z-index: -1;
  opacity: 0.85;
}

.fixed-cta .inner {
  /* max-width: 1000px; */
  flex: 1;
}

.fixed-cta.active {
  bottom: 0;
  opacity: 1;
}

.fixed-cta .flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.fixed-cta .btn a {
  height: 80px;
  background: var(--c-white);
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  padding: 0 3rem;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.16);
}

.fixed-cta .pagetop {
  width: 112px;
  height: 112px;
  background: var(--c-other04);
  border-radius: 50%;
  box-shadow: 0 6px 5px rgba(0, 0, 0, 0.4);
  font-size: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -64px;
  color: var(--c-white);
  line-height: 1;
}

.fixed-cta .cm-tel .num {
  color: var(--c-white);
}

.fixed-cta .cm-tel .num path {
  fill: var(--c-white);
}

.fixed-cta .ctaimg img {
  object-fit: cover;
  /* height: 140px; */
  width: auto;
  margin: 0 auto;
}

.fixed-cta .ctaimg a {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100px;
  width: 100%;
  z-index: 1;

}

/* 
.fixed-cta .ctaimg a.a-left {
  right: calc(50% + -160px);
  width: 700px;
}

.fixed-cta .ctaimg a.a-right {
  left: calc(50% + 159px);
  width: 240px;

} */

.footer {
  padding: 30px 0 200px;
}

.footer-text {
  margin-top: 2rem;
  color: #bf001a; 
  font-size: 1.4rem;
  text-align: center;
}

@media only screen and (max-width: 1280px) {
  .fixed-cta .btn a {
    font-size: 18px;
    padding: 0 2rem;
  }

  .fixed-cta .pagetop {
    display: none;
  }
}

@media (max-width: 970px) {
  .fixed-cta {
    /* height: 100px; */
    display: flex;
  }

  .fixed-cta::after {
    display: none;
  }

  .fixed-cta .ctaimg img {
    object-fit: inherit;
    height: inherit;
    width: 100%;
  }

  .fixed-cta .ctaimg a {
    height: 100%
  }

  /* .fixed-cta .ctaimg a.a-left {
    left: 0;
    right: inherit;
    width: 60%;
     左側の幅を6割に 
  }

  .fixed-cta .ctaimg a.a-right {
    right: 0;
    left: inherit;
    width: 40%;
     左側の幅を6割に
  } */

  .fixed-cta .cm-tel {
    padding-left: 0;
  }

  .fixed-cta .cm-tel .num svg {
    left: 0;
  }

  .fixed-cta .cm-tel .num span {
    padding-left: 25px;
  }

  .fixed-cta .btn a {
    font-size: var(--fs-xsmall);
    text-align: center;
    flex-direction: column-reverse;
    padding: 0.5rem;
    line-height: 1.2;
  }
}