.header {
  width: 100%;
  height: 209px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  box-sizing: border-box;
  background: #fff;
  position: relative;
  z-index: 4000;
  position: fixed;
  box-shadow: 0 0 5px #ccc;
  top: 0;
}

@media only screen and (max-width: 969px) {
  .header {
    width: 100%;
    height: 75px;
    box-shadow: 0px 0px 5px #ccc;
    padding: 9px 3.25%;
    position: fixed;
    z-index: 2000;
    background: #fff;
    gap: 4px;
    flex-wrap: nowrap;
  }
}

.header-toptext {
  width: 1000px;
  margin: 0 auto;
  padding-left: 40px;
  color: #767676;
  padding-left: calc((100vw - 1000px) / 2 + 20px);
  font-size: 14px;
  font-size: 1.4rem;
  flex-basis: 100%;
}

@media only screen and (max-width: 969px) {
  .header-toptext {
    display: none;
  }
}

.header-mainblock {
  flex: 0 1 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media only screen and (max-width: 969px) {
  .header-mainblock {
    flex: 0 1 calc(100% - 40px);
    margin: 0;
    flex-flow: nowrap;
  }
}

.header-mainblock-redbnr {
  display: flex;
  align-items: center;
  /* margin-left: 40px; */
  flex: 0 0 40%;

}

@media only screen and (max-width: 969px) {
  .header-mainblock-redbnr {
    /* width: 40%; */
    /* margin-left: 10px;
    letter-spacing: 0; */
    flex: 1 0 40%;
  }
}

@media only screen and (max-width: 969px) and (min-width: 477px) {
  .header-mainblock-redbnr picture img {
    max-height: 70px;
    width: auto;
  }
}

.header-mainblock-tel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}

@media only screen and (min-width: 970px) {
  .header-mainblock-tel {
    /* pointer-events: none; */
  }
}

@media only screen and (max-width: 969px) {
  .header-mainblock-tel {
    display: none;
  }
}

.header-mainblock-tel-number {
  flex: 0 1 100%;
  text-align: center;
}

.header-mainblock-tel-number 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-mainblock-tel-number 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-mainblock-tel-text {
  flex: 0 1 100%;
  font-size: 18px;
  font-size: 1.8rem;
  padding: 5px 10px 0 10px;
  box-sizing: border-box;
  border-top: 1px solid #000;
}


.header-main {
  flex: 0 1 280px;
  margin-left: 20px;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 969px) {
  .header-main {
    max-width: inherit;
    flex: 0 1 24%;
    margin-left: 0;
  }
}

.header-main__logo {
  display: block;
  width: 100%;
}

@media only screen and (max-width: 969px) {
  .header-main__logo {
    line-height: 1;
  }
}

.header-main__logo a {
  display: flex;
}

.header-main__logo a picture {
  flex: 0 1 30%;
}

.header-main__logo a p {
  flex: 0 1 calc(100% - 30% - 20px);
  display: flex;
  align-items: center;
  margin-left: 20px;
  font-size: 40px;
  font-size: 3.6rem;
  font-weight: 800;
}

@media only screen and (max-width: 969px) {
  .header-main__logo a p {
    flex: 0 1 calc(100% - 30% - 10px);
    /* margin-left: 10px; */
    /* font-size: 20px; */
    /* font-size: 1.9rem; */
    /* font-size:46%; */
    margin: 0;
    font-size: calc(100vw / 18);
    white-space: nowrap;
    font-weight: 800;
  }
}

.header-main__logo a picture img {
  width: 100%;
}

@media only screen and (min-width: 970px) {
  .header-spcontact {
    display: none;
  }
}

@media only screen and (max-width: 969px) {
  .header-spcontact {
    width: 40px;
    height: 40px;
    margin: auto 3px auto auto;
  }

  .header-spcontact a {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    text-align: center;
  }

  .header-spcontact a:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    background: url("./../img/icon-mail@sp.svg") no-repeat;
    background-size: contain;
    width: 16px;
    height: 13px;
  }

  .header-spcontact a span {
    font-size: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #222;
    padding-top: 20px;
    font-family: "Noto Sans JP", "メイリオ", Meiryo, Verdana, Arial, Helvetica, "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Osaka", "MS P Gothic", "ＭＳ Ｐゴシック", "lroSVbN", sans-serif;
  }
}

@media only screen and (min-width: 970px) {
  .header-sptel {
    display: none;
  }
}

@media only screen and (max-width: 969px) {
  .header-sptel {
    width: 40px;
    height: 40px;
    margin: auto 4px auto 0;
  }

  .header-sptel a {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    text-align: center;
  }

  .header-sptel a:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    background: url("./../img/icon-tel@sp.svg") no-repeat;
    background-size: cover;
    width: 14px;
    height: 14px;
  }

  .header-sptel a span {
    font-size: 10px;
    font-size: 1rem;
    font-weight: bold;
    padding-top: 20px;
    position: relative;
    color: #ffa500;
    font-family: "Noto Sans JP", "メイリオ", Meiryo, Verdana, Arial, Helvetica, "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Osaka", "MS P Gothic", "ＭＳ Ｐゴシック", "lroSVbN", sans-serif;
  }

  .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-pcnav {
  flex: 0 1 100%;
  margin-top: auto;
  background: #fedb35;
}

@media only screen and (max-width: 969px) {
  .header-pcnav {
    display: none;
  }
}

.header-pcnav-list {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.header-pcnav-list__item {
  flex: 0 1 165px;
  background: #fedb35;
}

.header-pcnav-list__item:nth-of-type(2):hover .header-pcnav-list__item-hover {
  display: flex !important;
  opacity: 1 !important;
  z-index: 999 !important;
  padding: 0 2.08vw;
  box-sizing: border-box;
  box-shadow: 0 2px 5px #ccc;
  border: 1px solid #fedb35;
  border-left: none;
  border-right: none;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.header-pcnav-list__item:nth-of-type(2):hover .header-pcnav-list__item-hover .header-pcnav-list__item-hover__item {
  flex: 0 1 auto;
}

.header-pcnav-list__item:nth-of-type(2):hover .header-pcnav-list__item-hover .header-pcnav-list__item-hover__item:not(:last-child) {
  margin-right: 1.56vw;
}

.header-pcnav-list__item:nth-of-type(2):hover .header-pcnav-list__item-hover .header-pcnav-list__item-hover__item a {
  text-align: left;
}

.header-pcnav-list__item a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  box-sizing: border-box;
}

.header-pcnav-list__item a span {
  flex: 0 1 100%;
  color: #c30f1c;
  display: block;
  text-align: center;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 400;
}

.header-pcnav-list__item div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  box-sizing: border-box;
  cursor: pointer;
}

.header-pcnav-list__item div:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #ffa500;
  position: absolute;
  top: 86%;
  left: 0;
  transform: translate(-100%, -50%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
}

.header-pcnav-list__item div span {
  flex: 0 1 100%;
  color: #c30f1c;
  display: block;
  text-align: center;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 400;
}

.header-pcnav-list__item-hover {
  display: none;
  position: absolute;
  top: 209px;
  width: auto;
  background: #fff;
  opacity: 0;
}

.header-pcnav-list__item-tel {
  flex: 0 1 8.85vw;
  width: 8.85vw;
  min-width: 130px;
}

.header-pcnav-list__item-tel a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
}

.header-pcnav-list__item-tel a:before {
  content: none;
}

.header-pcnav-list__item-tel a img {
  width: 100%;
}

.header-pcnav-list__item-contact {
  flex: 0 1 7.92vw;
  width: 7.92vw;
  min-width: 130px;
}

.header-pcnav-list__item-contact a {
  background: #fedb35;
  color: #fff;
  text-align: center;
  position: relative;
  display: block;
  padding: 0;
}

@media only screen and (min-width: 970px) {
  .header-pcnav-list__item-contact a:hover {
    border: 1px solid #fedb35;
    background: #fff;
    color: #fedb35;
    box-sizing: border-box;
  }

  .header-pcnav-list__item-contact a:hover:after {
    background: url("./../img/icon-mail-hover.svg") no-repeat;
    background-size: contain;
  }
}

.header-pcnav-list__item-contact a:before {
  content: none;
}

.header-pcnav-list__item-contact a:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 24px;
  background: url("./../img/icon-mail.svg") no-repeat;
  background-size: contain;
}

.header-pcnav-list__item-contact a span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  font-weight: bold;
}

@media only screen and (min-width: 970px) {
  .header-button {
    display: none;
  }
}

@media only screen and (max-width: 969px) {
  .header-button {
    flex: 0 1 40px;
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 9999;
  }

  .header-button a {
    transition: all 0.4s;
    position: relative;
    display: block;
    width: 40px;
    margin-left: auto;
    height: 40px;
    padding: 0;
    box-sizing: content-box;
    background: #fedb35;
    border-radius: 4px;
    top:9px;
  }

  .header-button a span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
    background: #fff;
    margin: auto;
    position: absolute;
    right: 7.5px;
    height: 2px;
  }

  .header-button a span:nth-of-type(1) {
    top: 10px;
    width: 25px;
  }

  .header-button a span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
  }

  .header-button a span:nth-of-type(3) {
    bottom: 10px;
    width: 25px;
  }

  .header-button .opened span:nth-of-type(1) {
    transform: translateY(9px) rotate(-315deg);
    width: 25px;
  }

  .header-button .opened span:nth-of-type(2) {
    opacity: 0;
  }

  .header-button .opened span:nth-of-type(3) {
    transform: translateY(-9px) rotate(315deg);
    width: 25px;
  }
}

@media only screen and (min-width: 970px) {
  .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-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 .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:#fedb35;
  bottom: 0;
  width: 100%;
  height: 105px;
  position: absolute;
  z-index: -1;
}
.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;
  height: 100px;
  
}
.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;
}

@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: 768px) {
  .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:60%   
  }
  .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;
  }
}
