/* common */

.kabekake-common {
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 1px;
  color: #000000;
}

.kabekake-common a {
  text-decoration: none;
  color: #000000;
}

.kabekake-common a:hover {
  text-decoration: none;
  opacity: 0.5;
}

.sawarabi {
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 600;
}

span.under-g {
  background: linear-gradient(transparent 80%, #bf9b37 75%);
}

@media screen and (max-width: 767px) {
}

/* kabekake-header */

.kabekake-header {
  position: fixed;
  z-index: 100;
  background: unset;
  width: 100%;
  height: 100px;
  background-color: #fff;
  border-bottom: 1px solid #eae6dc;
}

.kabekake-header .inner {
  display: flex;
  max-width: 1366px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-header .inner .logo img {
  max-width: 240px;
  width: 100%;
  padding-left: 40px;
  padding-top: 29px;
  padding-bottom: 29px;
}

.kabekake-header .inner .box {
  margin-left: auto;
  display: flex;
}

.kabekake-header .inner .box .box-ul {
  display: flex;
}

.kabekake-header .inner .box .links {
  border-left: 1px solid #eae6dc;
  padding: 33px 40px 33px 40px;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
}

.kabekake-header .inner .box .box-links {
  width: 100px;
  height: 100px;
  background-color: #bf9b37;
  display: inline-block;
  text-align: center;
  padding-top: 28px;
}

.kabekake-header .inner .box .box-links img {
  max-width: 50px;
  width: 100%;
}

@media screen and (max-width: 1150px) {
  .kabekake-header .inner .logo img {
    padding-left: 15px;
    max-width: 180px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .kabekake-header .inner .box .links {
    padding: 34px 12px 34px 12px;
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .kabekake-header {
    height: 95px;
  }

  .kabekake-header .inner .logo img {
    max-width: 140px;
    padding-left: 12px;
    padding-top: 12px;
    padding-bottom: 0;
  }

  .kabekake-header .inner .box .box-links {
    width: 50px;
    height: 50px;
    padding-top: 14px;
  }

  .kabekake-header .inner .box .box-links img {
    max-width: 29px;
    width: 100%;
  }

  .kabekake-header .box-sp-ul {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .kabekake-header .box-sp-ul li a {
    font-size: 12px;
    color: #000000;
    font-weight: bold;
  }
}

/* kabekake-mv */

.kabekake-mv {
  padding-top: 100px;
  padding-bottom: 100px;
}

.kabekake-mv .frame {
  /* max-width: 1266px; */
  /* padding: 0 20px; */
  margin-left: auto;
  margin-right: auto;
  box-sizing: content-box;

  max-width: 1366px;
}

.kabekake-mv .frame .mv-top-img {
  width: 100%;
}

.kabekake-mv .frame .boxes {
  display: flex;
  align-items: flex-start;
  padding-top: 75px;
}

.kabekake-mv .frame .boxes .box01 {
  width: 57.5%;
  position: relative;
}

.kabekake-mv .frame .boxes .box01 .box-texts {
  position: absolute;
  top: -46px;
  left: 38px;
}

.kabekake-mv .frame .boxes .box01 .box-text {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 5px;
  background-color: #fff;
  max-width: max-content;
  line-height: 1.6;
  padding-left: 10px;
  margin-bottom: 10px;
}

.kabekake-mv .frame .boxes .box01 .box-img {
  width: 100%;
  border-radius: 30px 30px 30px 0;
}

.kabekake-mv .frame .boxes .box01 .item {
  position: absolute;
  bottom: -70px;
  right: 33px;
  display: flex;
  align-items: flex-end;
}

.kabekake-mv .frame .boxes .box01 .item-img {
  max-width: 45px;
  width: 100%;
  margin-bottom: -20px;
  margin-right: -15px;
}

.kabekake-mv .frame .boxes .box01 .item-text {
  width: 122.5px;
  height: 122.5px;
  border-radius: 100%;
  text-align: center;
  background-color: #bf9b37;
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
  padding-top: 20px;
}

.kabekake-mv .frame .boxes .box01 .item-text span {
  font-size: 30px;
  line-height: 1;
}

.kabekake-mv .frame .boxes .box02 {
  position: relative;
  margin-left: 30px;
  width: 39.8%;
}

.kabekake-mv .frame .boxes .box02 .titles {
  font-size: 60px;
  letter-spacing: 7px;
  line-height: 1.5;
  margin-top: 70px;
}

.kabekake-mv .frame .boxes .box02 .item {
  position: absolute;
  top: 20px;
  right: -0px;
  display: flex;
  align-items: flex-end;
}

.kabekake-mv .frame .boxes .box02 .item-text {
  width: 122.5px;
  height: 122.5px;
  border-radius: 100%;
  text-align: center;
  background-color: #bf9b37;
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
  padding-top: 20px;
}

.kabekake-mv .frame .boxes .box02 .item-text span {
  font-size: 30px;
  line-height: 1;
  display: block;
  margin-top: 5px;
}

.kabekake-mv .frame .boxes .box02 .item-img {
  max-width: 40px;
  width: 100%;
  margin-bottom: -15px;
  margin-left: -10px;
}

.kabekake-mv .frame .boxes .box02 .p-texts {
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #bf9b37;
  background-color: #fff;
  padding: 13px 10px;
  max-width: 388px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.kabekake-mv .frame .boxes .box02 .p-texts .p-text01 {
  font-size: 20px;
  margin-right: 20px;
}

.kabekake-mv .frame .boxes .box02 .p-texts .p-text02 {
  font-size: 40px;
  color: #bf9b37;
  font-weight: bold;
  line-height: 1;
}

.kabekake-mv .frame .boxes .box02 .p-texts .p-text02 span {
  position: relative;
  font-size: 20px;
}

.kabekake-mv .frame .boxes .box02 .p-texts .p-text02 span::after {
  position: absolute;
  content: "（税込）";
  font-size: 12px;
  color: #000000;
  width: max-content;
  right: 0;
  font-weight: normal;
}

.kabekake-mv .frame .boxes .box02 .box-img {
  border-radius: 30px 0 30px 30px;
  width: 93%;
  margin-left: auto;
  margin-top: -45px;
  display: block;
}

@media screen and (max-width: 1220px) {
  .kabekake-mv .frame .boxes .box02 .item {
    top: -30px;
  }
}

@media screen and (max-width: 1080px) {
  .kabekake-mv .frame .boxes .box01 .box-texts {
    left: 10px;
  }

  .kabekake-mv .frame .boxes .box01 .box-text {
    font-size: 26px;
  }

  .kabekake-mv .frame .boxes .box02 .item {
    top: -50px;
  }

  .kabekake-mv .frame .boxes .box02 .titles {
    font-size: 40px;
  }
}

@media screen and (max-width: 767px) {
  .kabekake-mv {
    padding-top: 95px;
    padding-bottom: 60px;
  }

  .kabekake-mv .frame .boxes {
    flex-direction: column;
    padding-top: 42px;
  }

  .kabekake-mv .frame .boxes .box01 {
    width: unset;
  }

  .kabekake-mv .frame .boxes .box01 .box-texts {
    left: 20px;
    top: -25px;
  }

  .kabekake-mv .frame .boxes .box01 .box-text {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .kabekake-mv .frame .boxes .box02 {
    width: 100%;
    margin-left: 0px;
    padding-left: 20px;
  }

  .kabekake-mv .frame .boxes .box02 .titles {
    margin-top: 5px;
    font-size: 36px;
  }

  .kabekake-mv .frame .boxes .box02 .p-texts {
    max-width: 233px;
    padding: 15px 10px;
  }

  .kabekake-mv .frame .boxes .box02 .p-texts .p-text01 {
    font-size: 14px;
    margin-right: 10px;
  }

  .kabekake-mv .frame .boxes .box02 .p-texts .p-text02 {
    font-size: 28px;
  }

  .kabekake-mv .frame .boxes .box02 .p-texts .p-text02 span {
    font-size: 12px;
  }

  .kabekake-mv .frame .boxes .box02 .p-texts .p-text02 span::after {
    font-size: 10px;
    transform: scale(0.8);
    right: -5px;
    top: -12px;
  }

  .kabekake-mv .frame .boxes .box02 .box-img {
    width: 70%;
    margin-top: -20px;
  }

  /* item-sp */

  .kabekake-mv .frame .boxes .box02 .titles-box {
    position: relative;
  }

  .kabekake-mv .frame .boxes .box02 .item-sp {
    position: absolute;
    right: 0px;
    display: flex;
    align-items: flex-end;
    left: 220px;
    top: -35px;
  }

  .kabekake-mv .frame .boxes .box02 .item-sp-text {
    width: 87px;
    height: 87px;
    border-radius: 100%;
    text-align: center;
    background-color: #bf9b37;
    color: #fff;
    font-weight: bold;
    line-height: 1.5;
    padding-top: 15px;
    font-size: 12px;
  }

  .kabekake-mv .frame .boxes .box02 .item-sp-text span {
    font-size: 18px;
  }

  .kabekake-mv .frame .boxes .box02 .item-sp-img {
    max-width: 28px;
    width: 100%;
    margin-bottom: -15px;
    margin-left: -13px;
  }

  .kabekake-mv .frame .boxes .box02 .box-imgs {
    position: relative;
  }

  .kabekake-mv .frame .boxes .box02 .box-imgs .item-sp02 {
    position: absolute;
    display: flex;
    align-items: flex-end;
    left: 13%;
    top: 50px;
  }

  .kabekake-mv .frame .boxes .box02 .box-imgs .item-sp02-img {
    max-width: 32px;
    width: 100%;
    margin-right: -5px;
    margin-bottom: -10px;
  }

  .kabekake-mv .frame .boxes .box02 .box-imgs .item-sp02-text {
    width: 87px;
    height: 87px;
    border-radius: 100%;
    text-align: center;
    background-color: #bf9b37;
    color: #fff;
    font-weight: bold;
    line-height: 1.5;
    padding-top: 15px;
    font-size: 12px;
  }

  .kabekake-mv .frame .boxes .box02 .box-imgs .item-sp02-text span {
    font-size: 18px;
    line-height: 1;
  }
}

@media screen and (max-width: 450px) {
  .kabekake-mv .frame .boxes .box02 .box-imgs .item-sp02 {
    left: 3.5%;
    top: 40px;
  }
}

@media screen and (max-width: 400px) {
  .kabekake-mv .frame .boxes .box02 .item-sp {
    left: unset;
    right: 0;
  }
}

/* kabekake-c */

.kabekake-c .top-text {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
}

.kabekake-c .links {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50px;
  background-color: #9d0000;
  box-shadow: 0px 6px 0px #e5e5e5;
  height: 90px;
  margin-top: 20px;
}

.kabekake-c .links img {
  max-width: 38px;
  width: 100%;
}

.kabekake-c .links .links-text {
  font-size: 36px;
  color: #fff;
  font-weight: bold;
  margin-left: 19px;
}

@media screen and (max-width: 767px) {
  .kabekake-c .top-text {
    font-size: 16px;
  }

  .kabekake-c .links {
    height: 60px;
    margin-top: 10px;
    max-width: 335px;
  }

  .kabekake-c .links img {
    max-width: 30px;
  }

  .kabekake-c .links .links-text {
    font-size: 22px;
    margin-left: 15px;
  }
}

/* kabekake-w */

.kabekake-w {
  padding-top: 120px;
  position: relative;
}

.kabekake-w .box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px;
  box-sizing: content-box;
}

.kabekake-w .box .box-text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.kabekake-w .box .box-text01 {
  width: 315px;
  height: 147px;
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries01.png");
  background-size: cover;
  padding-top: 35px;
  margin-right: 8%;
}

.kabekake-w .box .box-text02 {
  width: 249px;
  height: 140px;
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries02.png");
  background-size: cover;
  padding-top: 26px;
}

.kabekake-w .box .box-text03 {
  width: 297px;
  height: 128px;
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries03.png");
  background-size: cover;
  padding-top: 16px;
}

.kabekake-w .box .box-text04 {
  width: 249px;
  height: 128px;
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries04.png");
  background-size: cover;
  padding-top: 16px;
  margin-bottom: 45px;
  margin-left: 3%;
  margin-right: 3%;
}

.kabekake-w .box .box-text05 {
  width: 346px;
  height: 140px;
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries05.png");
  background-size: cover;
  padding-top: 25px;
}

.kabekake-w .titles {
  text-align: center;
  font-weight: bold;
  font-size: 50px;
  margin-top: 20px;
}

@media screen and (min-width: 768px) and (max-width: 989px) {
  .kabekake-w .box {
    flex-wrap: wrap;
  }

  .kabekake-w .box01 {
    margin-bottom: 20px;
  }

  .kabekake-w .box .box-text04 {
    margin-bottom: 0;
  }

  .kabekake-w .box .box-text05 {
    margin-top: 10px;
  }
}

@media screen and (max-width: 767px) {
  .kabekake-w {
    padding-top: 60px;
  }

  .kabekake-w .box-sp {
    max-width: 335px;
    margin-left: auto;
    margin-right: auto;
  }

  .kabekake-w .box-sp .box-sp-text {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }

  .kabekake-w .box-sp .box-sp-text01 {
    width: 220px;
    height: 106px;
    background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries01-sp.png");
    background-size: cover;
    padding-top: 24px;
    margin-left: 10px;
  }

  .kabekake-w .box-sp .box-sp-text02 {
    width: 171px;
    height: 87px;
    background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries02-sp.png");
    background-size: cover;
    padding-top: 10px;
    margin-right: 10px;
    margin-left: auto;
    margin-top: -20px;
  }

  .kabekake-w .box-sp .box-sp-text03 {
    width: 173px;
    height: 95px;
    background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries03-sp.png");
    background-size: cover;
    padding-top: 20px;
    margin-left: 38px;
    margin-top: -20px;
  }

  .kabekake-w .titles {
    font-size: 23px;
    margin-bottom: 15px;
  }

  .kabekake-w .box-sp .box-sp-text04 {
    width: 224px;
    height: 96px;
    background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries04-sp.png");
    background-size: cover;
    padding-top: 36px;
    margin-left: auto;
  }

  .kabekake-w .box-sp .box-sp-text05 {
    width: 187px;
    height: 89.5px;
    background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-worries05-sp.png");
    background-size: cover;
    padding-top: 34px;
    margin-top: -10px;
  }
}

/* kabekake-w color */

.kabekake-w {
  padding-bottom: 75px;
}

.kabekake-w::before {
  border-color: transparent #bf9b37 transparent transparent;
  border-style: solid;
  border-width: 90px 100vw 0 0;
  bottom: 0;
  content: "";
  height: 0;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .kabekake-w {
    padding-bottom: 55px;
  }

  .kabekake-w::before {
    border-width: 65px 100vw 0 0;
  }
}

/* kabekake-s */

.kabekake-s {
  margin-top: -1px;
  padding-bottom: 100px;
}

.kabekake-s .frame {
  background-color: #bf9b37;
  padding-bottom: 100px;
}

.kabekake-s .frame .titles {
  position: relative;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  color: #ffffff;
  padding-top: 90px;
  letter-spacing: 3px;
  line-height: 1.3;
  margin-left: auto;
  margin-right: auto;
  max-width: max-content;
}

.kabekake-s .frame .titles .span-m {
  margin-left: 10px;
}

.kabekake-s .frame .titles::before {
  position: absolute;
  content: "";
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-s-hand.png");
  background-size: cover;
  width: 50px;
  height: 60px;
  left: 10px;
  top: 30px;
}

.kabekake-s .frame .titles::after {
  position: absolute;
  content: "";
  background-image: url("https://www.densho-at.jp/wordpress/wp-content/uploads/2024/02/kabekake-s-arrow.png");
  background-size: cover;
  width: 118px;
  height: 160px;
  right: 45px;
  top: -75px;
}

.kabekake-s .frame .boxes {
  display: flex;
  flex-wrap: wrap;
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: content-box;
}

.kabekake-s .frame .boxes .box {
  width: 48.3%;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0px 0px 8px #937319dd;
  border-radius: 30px 0 30px 0;
  margin-top: 40px;
}

.kabekake-s .frame .boxes .box .box-img {
  border-radius: 10px;
  width: 100%;
}

.kabekake-s .frame .boxes .box .box-title {
  font-size: 22px;
  font-weight: bold;
  color: #bf9b37;
  margin-top: 15px;
  margin-bottom: 15px;
}

.kabekake-s .frame .boxes .box .box-text {
  letter-spacing: 1px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) and (max-width: 850px) {
  .kabekake-s .frame .titles {
    font-size: 45px;
  }
}

@media screen and (max-width: 767px) {
  .kabekake-s {
    padding-bottom: 60px;
  }

  .kabekake-s .frame {
    padding-bottom: 50px;
  }

  .kabekake-s .frame .titles {
    padding-top: 15px;
    font-size: 28px;
    padding-bottom: 10px;
  }

  .kabekake-s .frame .titles .span-m {
    margin-left: 0px;
  }

  .kabekake-s .frame .titles .span-sp {
    font-size: 24px;
  }

  .kabekake-s .frame .titles::before {
    width: 29px;
    height: 33px;
    left: 0;
    top: 8px;
    transform: rotate(10deg);
  }

  .kabekake-s .frame .titles::after {
    width: 56px;
    height: 75px;
    right: 25px;
    top: -60px;
  }

  .kabekake-s .frame .boxes {
    flex-direction: column;
    padding: 0 20px;
  }

  .kabekake-s .frame .boxes .box {
    margin-top: 15px;
    width: 100%;
    padding: 30px 25px;
  }

  .kabekake-s .frame .boxes .box-title {
    font-size: 18px !important;
  }

  .kabekake-s .frame .boxes .box-text {
    font-size: 16px;
  }
}

/* kabekake-r */

.kabekake-r {
  padding-top: 100px;
}

.kabekake-r .titles {
  text-align: center;
  font-weight: bold;
  font-size: 50px;
  letter-spacing: 2px;
}

.kabekake-r .boxes {
  display: flex;
  align-items: center;
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: content-box;
  margin-top: 80px;
}

.kabekake-r .boxes .imgs {
  position: relative;
  max-width: 362px;
  width: 100%;
}

.kabekake-r .boxes .imgs .img {
  max-width: 362px;
  width: 100%;
  object-fit: cover;
  border-radius: 30px 30px 0 30px;
}

.kabekake-r .boxes .imgs .img-i {
  position: absolute;
  max-width: 60px;
  width: 100%;
  top: -35px;
  right: -50px;
}

.kabekake-r .boxes .imgs .imgs-texts {
  position: absolute;
  bottom: -25px;
  left: 20px;
  letter-spacing: 1.5px;
}

.kabekake-r .boxes .imgs .imgs-texts .imgs-text {
  font-size: 30px;
  font-weight: bold;
  background-color: #fff;
  border-radius: 3px;
  margin-bottom: 5px;
  max-width: max-content;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
  letter-spacing: 2px;
}

.kabekake-r .boxes .texts {
  margin-left: 3.4%;
  width: 70%;
}

.kabekake-r .boxes .texts .text {
  margin-top: 20px;
}

.kabekake-r .boxes .texts .text.size {
  margin-top: 10px;
  font-size: 14px;
  text-indent: -14px;
  padding-left: 14px;
}

.kabekake-r .boxes02 {
  margin-top: 90px;
}

.kabekake-r .boxes02 .texts {
  margin-left: 0;
  margin-right: 3.4%;
}

.kabekake-r .boxes02 .imgs .imgs-texts {
  left: 75px;
}

.kabekake-r .boxes02 .imgs .img {
  border-radius: 30px 30px 30px 0;
}

.kabekake-r .boxes02 .imgs .img-i02 {
  top: -30px;
  right: unset;
  left: -65px;
}

.kabekake-r .boxes03 {
  margin-top: 60px;
}

.kabekake-r .boxes03 .imgs .img-i03 {
  position: absolute;
  top: -40px;
  right: -65px;
}

.kabekake-r .boxes04 {
  margin-top: 100px;
}

.kabekake-r .boxes04 .imgs .img-i04 {
  left: -70px;
}

.kabekake-r .boxes04 .imgs .imgs-texts {
  left: 40px;
}

@media screen and (min-width: 768px) and (max-width: 850px) {
  .kabekake-r .boxes .imgs .img-i {
    top: -60px;
  }
}

@media screen and (max-width: 767px) {
  .kabekake-r {
    padding-top: 50px;
  }

  .kabekake-r .titles {
    font-size: 28px;
  }

  .kabekake-r .boxes {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 25px;
  }

  .kabekake-r .boxes .imgs {
    max-width: unset;
  }

  .kabekake-r .boxes .imgs .img {
    max-width: unset;
    width: 66.5%;
  }

  .kabekake-r .boxes .imgs .imgs-texts {
    bottom: 13px;
    right: -2px;
    left: unset;
  }

  .kabekake-r .boxes .imgs .imgs-texts .imgs-text {
    margin-bottom: 3px;
    font-size: 18px;
    padding: 8px 10px;
  }

  .kabekake-r .boxes .imgs .img-i {
    max-width: 40px;
    right: 60px;
    bottom: 95px;
    top: unset;
  }

  .kabekake-r .boxes .texts {
    margin-left: unset;
    width: 100%;
  }

  .kabekake-r .boxes .texts .text {
    margin-top: 25px;
  }

  .kabekake-r .boxes02 {
    margin-top: 35px;
    flex-direction: column-reverse;
  }

  .kabekake-r .boxes02 .imgs .img {
    display: block;
    margin-left: auto;
  }

  .kabekake-r .boxes02 .imgs .imgs-texts {
    left: 0;
    right: unset;
  }

  .kabekake-r .boxes02 .imgs .img-i02 {
    left: 55px;
  }

  .kabekake-r .boxes03 {
    margin-top: 35px;
  }

  .kabekake-r .boxes03 .imgs .img-i03 {
    right: 55px;
  }

  .kabekake-r .boxes04 {
    margin-top: 35px;
  }
}

/* kabekake-pro */

.kabekake-pro {
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 0 20px;
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: content-box;
}

.kabekake-pro .frame {
  padding: 45px 50px 55px 50px;
  border: 2px solid #bf9b37;
  border-radius: 30px;
}

.kabekake-pro .frame .titles {
  text-align: center;
  color: #bf9b37;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
}

.kabekake-pro .frame .boxes {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.kabekake-pro .frame .boxes .box {
  max-width: 315px;
  width: 100%;
}

.kabekake-pro .frame .boxes .box .box-img {
  max-width: 75px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-pro .frame .boxes .box .box-title {
  font-size: 20px;
  color: #bf9b37;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.kabekake-pro .frame .boxes .box .box-text {
  margin-top: 20px;
}

.kabekake-pro .frame .boxes .boxes-line {
  max-width: 4.5px;
  width: 100%;
  margin-left: 20px;
  margin-right: 20px;
}

@media screen and (max-width: 767px) {
  .kabekake-pro {
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .kabekake-pro .frame {
    padding: 30px 20px;
  }

  .kabekake-pro .frame .titles {
    font-size: 24px;
  }

  .kabekake-pro .frame .sp-line {
    display: block;
    background-image: linear-gradient(
      to right,
      #bf9b37,
      #bf9b37 2px,
      transparent 2px,
      transparent 8px
    );
    background-size: 6px 2px;
    background-position: left bottom;
    background-repeat: repeat-x;
    padding-top: 30px;
    margin-bottom: 30px;
  }

  .kabekake-pro .frame .boxes {
    margin-top: 0;
    flex-direction: column;
    justify-content: unset;
  }

  .kabekake-pro .frame .boxes .box {
    max-width: unset;
    padding: 0 10px;
  }

  .kabekake-pro .frame .boxes .box .box-img {
    max-width: 63px;
  }

  .kabekake-pro .frame .boxes .box .box-title {
    font-size: 18px;
    margin-top: 15px;
  }

  .kabekake-pro .frame .boxes .box .box-text {
    margin-top: 25px;
  }
}

/* kabekake-f */

.kabekake-f {
  margin-top: 100px;
  background-color: #eae6dc;
  padding: 80px 20px;
}

.kabekake-f .frame {
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-f .frame .titles {
  text-align: center;
  color: #000000;
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 50px;
}

.kabekake-f .frame .boxes.margin {
  margin-top: -20px;
}

.kabekake-f .frame .boxes {
  position: relative;
  z-index: 11;
  background-color: #ffffff;
  box-shadow: 0px 1px 3px #d1cdc1;
  width: 100%;
  border-radius: 30px;
  padding: 40px 50px 50px 50px;
}

.kabekake-f .frame .boxes .arrow-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  background-color: #fff;
  width: 275px;
  height: 30px;
  border-radius: 0 0 100% 100%;
}

.kabekake-f .frame .arrow {
  position: relative;
  z-index: 10;
  max-width: 426px;
  width: 100%;
  margin-top: -90px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0px 1px 3px rgba(209, 205, 193, 1));
}

.kabekake-f .frame .boxes-n2 {
  z-index: 9;
}
.kabekake-f .frame .arrow-n2 {
  z-index: 8;
}

.kabekake-f .frame .boxes-n3 {
  z-index: 7;
}
.kabekake-f .frame .arrow-n3 {
  z-index: 6;
}

.kabekake-f .frame .boxes-n4 {
  z-index: 5;
}

.kabekake-f .frame .boxes-titles {
  display: flex;
  align-items: center;
}

.kabekake-f .frame .boxes-titles .boxes-num {
  background-color: #bf9b37;
  border-radius: 100%;
  width: 43px;
  height: 43px;
  text-align: center;
}

.kabekake-f .frame .boxes-titles .boxes-num .boxes-num-t {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  padding-top: 9px;
  padding-bottom: 3px;
  padding-left: 1px;
}

.kabekake-f .frame .boxes-titles .boxes-num .boxes-num-l {
  height: 2px;
  width: 100%;
  max-width: 22px;
  background-color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-f .frame .boxes-titles .boxes-title {
  font-size: 28px;
  font-weight: bold;
  color: #bf9b37;
  margin-left: 20px;
  line-height: 1.5;
}

.kabekake-f .frame .boxes .box {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}

.kabekake-f .frame .boxes .box .box-img {
  max-width: 312px;
  width: 40%;
  border-radius: 20px;
}

.kabekake-f .frame .boxes .box .box-texts {
  margin-left: 40px;
}

.kabekake-f .frame .boxes .box .box-texts .box-text {
  line-height: 1.8;
}

.kabekake-f .frame .boxes .box .box-texts .links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.kabekake-f .frame .boxes .box .box-texts .links .links-mail {
  display: flex;
  align-items: center;
  max-width: 220px;
  width: 100%;
  border-radius: 30px;
  background-color: #9d0000;
  box-shadow: 0px 3px 0px #e5e5e5;
  height: 46px;
  margin-right: 30px;
  margin-top: 25px;
}

.kabekake-f .frame .boxes .box .box-texts .links .links-mail-img {
  max-width: 20px;
  width: 100%;
  margin-left: 21px;
  margin-right: 36px;
}

.kabekake-f .frame .boxes .box .box-texts .links .links-mail-text {
  color: #fff;
  font-weight: bold;
}

/* top-kabekake-links-tel */

.top-kabekake-links-tel .tel-pc {
  display: flex;
  align-items: center;
}

.top-kabekake-links-tel .tel-pc.margin {
  margin-top: 25px;
}

.top-kabekake-links-tel .tel-pc .tel-pc-img {
  max-width: 50px;
  width: 100%;
}

.top-kabekake-links-tel .tel-pc .tel-pc-texts {
  margin-left: 9px;
}

.top-kabekake-links-tel .tel-pc .tel-pc-texts .tel-pc-text-num {
  color: #9d0000;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.top-kabekake-links-tel .tel-pc .tel-pc-texts .tel-pc-text-hour {
  font-size: 10px;
  margin-top: 3px;
}

@media screen and (max-width: 767px) {
  .kabekake-f {
    margin-top: 60px;
    padding: 50px 20px;
  }

  .kabekake-f .frame .titles {
    font-size: 28px;
    margin-bottom: 23px;
  }

  .kabekake-f .frame .boxes .arrow-line {
    max-width: 210px;
    width: 100%;
    bottom: -8px;
    height: 20px;
  }

  .kabekake-f .frame .arrow {
    max-width: 280px;
    margin-top: -52px;
  }

  .kabekake-f .frame .boxes {
    padding: 30px 20px 30px 20px;
  }

  .kabekake-f .frame .boxes-titles {
    flex-direction: column;
  }

  .kabekake-f .frame .boxes-titles .boxes-num {
    width: 34px;
    height: 34px;
  }

  .kabekake-f .frame .boxes-titles .boxes-num .boxes-num-t {
    font-size: 14px;
    padding-top: 8px;
    letter-spacing: 0px;
    padding-left: 1px;
  }

  .kabekake-f .frame .boxes-titles .boxes-num .boxes-num-l {
    max-width: 20px;
    height: 1px;
  }

  .kabekake-f .frame .boxes-titles .boxes-title {
    font-size: 18px;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .kabekake-f .frame .boxes .box {
    margin-top: 18px;
    flex-direction: column;
  }

  .kabekake-f .frame .boxes .box .box-img {
    max-width: unset;
    width: 100%;
  }

  .kabekake-f .frame .boxes .box .box-texts {
    margin-left: 0;
    margin-top: 18px;
    width: 100%;
  }

  .kabekake-f .frame .boxes .box .box-texts .links {
    flex-direction: column;
    justify-content: center;
  }

  .kabekake-f .frame .boxes .box .box-texts .links .links-mail {
    margin-top: 20px;
    margin-bottom: 9px;
    margin-right: 0;
  }

  /* top-kabekake-links-tel */

  .top-kabekake-links-tel .tel-sp {
    display: flex;
    align-items: center;
    max-width: 220px;
    width: 100%;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0px 3px 0px #e5e5e5;
    height: 46px;
    border: 2px solid #9d0000;
  }

  .top-kabekake-links-tel .tel-sp .tel-sp-img {
    max-width: 30px;
    width: 100%;
    margin-left: 13px;
    margin-right: 1px;
  }

  .top-kabekake-links-tel .tel-sp .tel-sp-texts {
    text-align: left;
  }

  .top-kabekake-links-tel .tel-sp .tel-sp-texts .tel-sp-text {
    line-height: 1;
    color: #9d0000;
    font-weight: bold;
    max-width: max-content;
    margin-left: 40px;
  }

  .top-kabekake-links-tel .tel-sp .tel-sp-texts .tel-sp-text-hour {
    color: #000000;
    font-size: 10px;
    line-height: 1;
    transform: scale(0.8);
    white-space: nowrap;
    margin-top: 5px;
  }
}

/* kabekake-p */

.kabekake-p {
  padding-top: 100px;
}

.kabekake-p .titles {
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.kabekake-p .frame {
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: content-box;
  margin-top: 50px;
}

.kabekake-p .frame .boxes {
  display: flex;
}

.kabekake-p .frame .boxes .box {
  position: relative;
  padding: 40px;
  border-radius: 30px;
  border: 2px solid #bf9b37;
  background-color: #fff;
}

.kabekake-p .frame .boxes .boxes-b {
  width: 50%;
}

.kabekake-p .frame .boxes .boxes-b.margin {
  margin-left: 3.5%;
}

.kabekake-p .frame .boxes .box .box-number {
  position: absolute;
  max-width: 65px;
  width: 100%;
  top: 22px;
  right: 27px;
}

.kabekake-p .frame .boxes .box .plan-text {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  background-color: #bf9b37;
  border-radius: 40px;
  line-height: 1;
  padding: 6px 0 5px 0;
  text-align: center;
  max-width: 98px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-p .frame .boxes .box .box-price {
  color: #bf9b37;
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  margin-top: 15px;
  text-align: center;
}

.kabekake-p .frame .boxes .box .box-names {
  display: table;
  text-align: center;
  height: 80px;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
}

.kabekake-p .frame .boxes .box .box-name {
  display: table-cell;
  vertical-align: middle;
  line-height: 1.5;
  font-size: 18px;
}

.kabekake-p .frame .boxes .box .box-img {
  width: 100%;
  border-radius: 20px;
}

.kabekake-p .frame .boxes .box .box-text {
  margin-top: 20px;
}

.kabekake-p .frame .boxes .boxes-p-text {
  line-height: 1;
  text-align: right;
  margin-top: 10px;
  font-size: 12px;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体",
    "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;
  margin-right: 5px;
}

@media screen and (max-width: 767px) {
  .kabekake-p {
    padding-top: 50px;
  }

  .kabekake-p .titles {
    font-size: 28px;
  }

  .kabekake-p .frame {
    margin-top: 30px;
  }

  .kabekake-p .frame .boxes {
    flex-direction: column;
  }

  .kabekake-p .frame .boxes .box .box-number {
    top: 10px;
    right: 19px;
    max-width: 53px;
  }

  .kabekake-p .frame .boxes .boxes-b {
    width: 100%;
  }

  .kabekake-p .frame .boxes .boxes-b.margin {
    margin-left: 0px;
    margin-top: 15px;
  }

  .kabekake-p .frame .boxes .box {
    padding: 30px 20px;
  }

  .kabekake-p .frame .boxes .box .plan-text {
    font-size: 14px;
    max-width: 90px;
  }

  .kabekake-p .frame .boxes .box .box-price {
    font-size: 30px;
  }

  .kabekake-p .frame .boxes .box .box-names {
    height: unset;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .kabekake-p .frame .boxes .box .box-name {
    font-size: 18px;
  }

  .kabekake-p .frame .boxes .box .box-text {
    margin-top: 10px;
  }

  .kabekake-p .frame .boxes .boxes-p-text {
    font-size: 10px;
    margin-top: 5px;
  }
}

/* kabekake-form */

.kabekake-form {
  margin-top: 100px;
}

.kabekake-form .frame {
  background-color: #bf9b37;
  padding: 120px 20px 100px 20px;
  box-sizing: content-box;
}

.kabekake-form .frame .titles {
  position: relative;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-form .frame .titles .title {
  text-align: center;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
}

.kabekake-form .frame .titles .title-img {
  position: absolute;
  left: -35px;
  top: -43px;
  max-width: 62px;
  width: 100%;
}

.kabekake-form .frame .boxes {
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  box-sizing: border-box;
  padding: 100px 20px 80px 20px;
  border-radius: 30px;
}

.kabekake-form .frame .boxes .box {
  max-width: 866px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-form .frame .boxes .box .box-top {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .kabekake-form {
    margin-top: 50px;
  }

  .kabekake-form .frame {
    padding: 60px 20px 30px 20px;
  }

  .kabekake-form .frame .titles .title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .kabekake-form .frame .titles .title-img {
    max-width: 37px;
    left: -20px;
    top: -28px;
  }

  .kabekake-form .frame .boxes {
    padding: 30px 20px 45px 20px;
  }

  .kabekake-form .frame .boxes .box .top-kabekake-links-tel .tel-sp {
    margin-left: auto;
    margin-right: auto;
  }
}

/* forms */

.kabekake-form .forms .forms-line {
  display: block;
  background-image: linear-gradient(
    to right,
    #bf9b37,
    #bf9b37 2px,
    transparent 2px,
    transparent 8px
  );
  background-size: 6px 2px;
  background-position: left bottom;
  background-repeat: repeat-x;
  padding-top: 40px;
  margin-bottom: 40px;
}

.kabekake-form .forms .forms-boxes {
  display: flex;
  align-items: flex-start;
  padding: 0 15px 0 30px;
}

.kabekake-form .forms .forms-boxes .forms-box {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.kabekake-form .forms .forms-boxes .forms-box-item {
  font-size: 10px;
  border-radius: 10px;
  line-height: 1;
  padding: 3px 8px 4px 8px;
  max-width: unset;
  width: unset;
  margin-right: 10px;
  background-color: #9d0000;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}

.kabekake-form .forms .forms-boxes .forms-box-item.any {
  background-color: #c4c4c4;
}

.kabekake-form .forms .forms-boxes .forms-box-title {
  font-size: 16px;
  font-weight: bold;
  width: 200px;
}

.kabekake-form .forms .forms-boxes .forms-boxes-main {
  width: 100%;
}

.kabekake-form .forms .forms-boxes .forms-areas {
  max-width: 360px;
  width: 100%;
}

.kabekake-form .forms .forms-boxes .forms-area {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bf9b37;
  background-color: #fff;
  padding: 5px 14px;
}

.kabekake-form .forms .forms-boxes .forms-area-sub {
  font-size: 10px;
  /* color: #c32c13; */
  color: #6c6c6c;
  margin-top: 5px;
}

.kabekake-form .forms .forms-boxes input::placeholder {
  color: #c1b9a4;
}

.kabekake-form .forms .forms-boxes .forms-areas-drops {
  max-width: 230px;
}

.kabekake-form .forms .forms-boxes .forms-areas-drop {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bf9b37;
  background-color: #fff;
  padding: 7px 14px;
}

.kabekake-form .forms .forms-boxes .forms-check-boxes .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
}

.kabekake-form .forms .forms-boxes .forms-check-boxes .wpcf7-list-item {
  margin-left: 0;
  width: 40%;
  line-height: 2;
}

.kabekake-form .forms .forms-boxes .forms-check-boxes input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: 5px;
}

.kabekake-form .forms .forms-boxes .forms-textareas {
  width: 100%;
}

.kabekake-form .forms .forms-boxes .forms-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bf9b37;
  background-color: #fff;
  padding: 5px 14px;
  height: 110px;
}

.kabekake-form .forms .forms-boxes textarea::placeholder {
  color: #c1b9a4;
}

.kabekake-form .forms .forms-privacy-img {
  max-width: 70px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.kabekake-form .forms .k-boxes {
  padding: 0 20px;
}

.kabekake-form .forms .k-boxes .k-boxes-text {
  margin-top: 20px;
  margin-bottom: 30px;
}

.kabekake-form .forms .k-boxes .c-kiyaku-box {
  border-radius: 10px;
  border: 1px solid #bf9b37;
  padding: 20px 20px;
  margin-bottom: 0;
}

.kabekake-form .forms .sends .send {
  max-width: 500px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50px;
  background-color: #9d0000;
  box-shadow: 0px 6px 0px #e5e5e5;
  height: 90px;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
  border: none;
}

@media screen and (max-width: 767px) {
  .kabekake-form .forms .forms-line {
    padding-top: 25px;
    margin-bottom: 25px;
  }

  .kabekake-form .forms .forms-boxes {
    padding-left: 4.5px;
    padding-right: 4.5px;
    flex-direction: column;
    align-items: flex-start;
  }

  .kabekake-form .forms .forms-boxes .forms-box {
    margin-top: 0;
  }

  .kabekake-form .forms .forms-boxes .forms-box-item {
    margin-right: 8px;
  }

  .kabekake-form .forms .forms-boxes .forms-box-title {
    width: unset;
  }

  .kabekake-form .forms .forms-boxes .forms-areas {
    max-width: unset;
  }

  .kabekake-form .forms .forms-boxes .forms-area {
    margin-top: 15px;
  }

  .kabekake-form .forms .forms-boxes .forms-areas-drop {
    margin-top: 15px;
  }

  .kabekake-form .forms .forms-boxes .forms-check-boxes .wpcf7-form-control {
    flex-direction: column;
    margin-top: 10px;
  }

  .kabekake-form .forms .forms-boxes .forms-check-boxes .wpcf7-list-item {
    width: 100%;
  }

  .kabekake-form .forms .forms-boxes .forms-textarea {
    margin-top: 15px;
    height: 160px;
  }

  .kabekake-form .forms .k-boxes {
    padding: 0 4.5px;
  }

  .kabekake-form .forms .k-boxes .k-boxes-text {
    margin-bottom: 20px;
  }

  .kabekake-form .forms .k-boxes .c-kiyaku-box {
    font-size: 14px;
  }

  .kabekake-form .forms .k-boxes .c-kiyaku-box .c-kiyaku-box-c {
    text-align: left;
  }

  .kabekake-form .forms .sends .send {
    height: 50px;
    max-width: 285px;
    font-size: 22px;
  }
}

/* kabekake-footer */

.kabekake-footer {
  background-color: #fff;
}

.kabekake-footer .frame {
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 20px 28px 20px;
  box-sizing: content-box;
  display: flex;
  align-items: center;
}

.kabekake-footer .frame .logos img {
  max-width: 65px;
  width: 100%;
}

.kabekake-footer .frame .boxes {
  display: flex;
  align-items: center;
  width: 100%;
}

.kabekake-footer .frame .boxes .box {
  display: flex;
  align-items: center;
}

.kabekake-footer .frame .boxes .box .box-links {
  margin-left: 50px;
  display: flex;
  align-items: center;
}

.kabekake-footer .frame .boxes .box .box-links p {
  font-size: 18px;
  line-height: 1;
}

.kabekake-footer .frame .boxes .box .box-links img {
  margin-left: 10px;
  max-width: 13px;
  width: 100%;
}

.kabekake-footer .frame .boxes .copy {
  font-size: 14px;
  color: #aaaaaa;
  letter-spacing: 0;
  margin-left: auto;
}

@media screen and (min-width: 768px) and (max-width: 840px) {
  .kabekake-footer .frame .boxes {
    flex-wrap: wrap;
  }

  .kabekake-footer .frame .boxes .copy {
    margin-left: 50px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 767px) {
  .kabekake-footer .frame {
    padding: 24px 20px 24px 28px;
  }

  .kabekake-footer .frame .logos img {
    max-width: 41px;
  }

  .kabekake-footer .frame .boxes {
    flex-direction: column;
    align-items: flex-start;
  }

  .kabekake-footer .frame .boxes .box .box-links {
    margin-left: 24px;
  }

  .kabekake-footer .frame .boxes .box .box-links p {
    font-size: 12px;
  }

  .kabekake-footer .frame .boxes .box .box-links img {
    max-width: 12px;
    margin-left: 10px;
  }

  .kabekake-footer .frame .boxes .copy {
    margin-left: 24px;
    margin-top: 13px;
    font-size: 10px;
  }
}
