@import url("https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Noto+Sans+JP:wght@300;400;500;700&family=Work+Sans:wght@400;500&display=swap");
.title_h1 {
  white-space: nowrap;
}

@media screen and (min-width: 960px) {
  .content__inner {
    margin-top: 120px;
  }
}
.content__inner > p:first-child {
  font-size: 18px;
  font-weight: 700;
}

.tips__links {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 25px;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  width: 90%;
  margin: 50px auto 0;
  max-width: 275px;
  padding-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .tips__links {
    max-width: 575px;
  }
}
@media screen and (min-width: 960px) {
  .tips__links {
    max-width: 875px;
    padding-bottom: 10px;
  }
}
@media screen and (min-width: 1300px) {
  .tips__links {
    max-width: 1175px;
  }
}
.tips__links > a {
  display: block;
  text-decoration: none;
  width: 275px;
  padding: 25px 25px 70px;
  -webkit-box-shadow: #59554C4A 0px 3px 13px;
          box-shadow: #59554C4A 0px 3px 13px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #ffffff;
  position: relative;
}
.tips__links > a > p > span:first-child {
  font-family: "Cardo", "Noto Sans JP", serif;
  font-size: 22px;
  margin-right: 10px;
}
.tips__links > a > p > span:last-child {
  font-size: 18px;
}
@media screen and (min-width: 960px) {
  .tips__links > a > p > span:last-child {
    font-size: 20px;
  }
}
.tips__links > a > img {
  display: block;
  width: 170px;
  margin: 15px auto 10px;
  height: 128px;
  -o-object-fit: contain;
     object-fit: contain;
}
.tips__links > a .btn {
  position: absolute;
  padding-right: 50px;
  margin-left: auto;
  margin-right: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  right: 20px;
  bottom: 20px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.tips__links > a .btn::before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 1px;
  right: 30px;
  top: 50%;
  -webkit-transform: translate(100%, -50%);
          transform: translate(100%, -50%);
  background-color: #59554C;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.tips__links > a .btn::after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 20px;
  right: 20px;
  top: 50%;
  -webkit-transform: translate(100%, -50%);
          transform: translate(100%, -50%);
  background-color: #59554C;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (min-width: 960px) {
  .tips__links > a:hover .btn {
    right: 10px;
  }
  .tips__links > a:hover .btn::before {
    width: 30px;
  }
  .tips__links > a:hover .btn::after {
    height: 0;
  }
}
.tips__content {
  width: 100%;
  -webkit-box-shadow: #59554C4A 0px 3px 13px;
          box-shadow: #59554C4A 0px 3px 13px;
  margin-top: 150px;
  scroll-margin-top: 200px;
}
@media screen and (min-width: 960px) {
  .tips__content {
    width: 80%;
    margin: 170px auto 0;
    max-width: 1070px;
  }
}
.tips__content:nth-of-type(2n) {
  background-color: #ffffff;
}
.tips__content:nth-of-type(2n) h3::before {
  background-color: #E87DA5;
}
.tips__content:nth-of-type(2n + 1) {
  background-color: #EBE6E0;
}
.tips__content:nth-of-type(2n + 1) h3::before {
  background-color: #F4BF69;
}
.tips__title {
  width: 95%;
  margin: 0 auto 35px;
  padding: 35px 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  z-index: 0;
  top: -45px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media screen and (min-width: 960px) {
  .tips__title {
    width: 80%;
    padding: 120px 25px;
    top: -60px;
  }
}
.tips__title::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #59554C;
  opacity: 0.3;
}
.tips__title h2 {
  color: #ffffff;
  position: relative;
  z-index: 2;
  display: block;
}
.tips__title h2 span {
  display: block;
}
.tips__body {
  padding: 0 10px 50px;
}
@media screen and (min-width: 960px) {
  .tips__body {
    padding: 0 0 60px;
    margin: 0 auto;
    width: 80%;
  }
}
.tips__body h3 {
  font-size: 14px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 24px;
  display: block;
  padding-left: 20px;
  position: relative;
}
@media screen and (min-width: 960px) {
  .tips__body h3 {
    font-size: 20px;
    margin-bottom: 34px;
    margin-top: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
  }
}
.tips__body h3::before {
  content: "";
  display: block;
  width: 12px;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}
@media screen and (min-width: 960px) {
  .tips__body h3::before {
    width: 17px;
  }
}
.tips__body p {
  margin-top: 1em;
}
.tips__after {
  text-align: center;
  width: 90%;
  margin: 85px auto 90px;
  font-weight: 700;
}
@media screen and (min-width: 960px) {
  .tips__after {
    margin-top: 90px;
    margin-bottom: 170px;
    font-size: 20px;
  }
}
.tips__after span {
  display: inline-block;
}

.slider_text {
  margin: 104px auto 30px;
  border-bottom: 1px #59554C solid;
  padding-bottom: 12px;
  font-size: 16px;
  width: 90%;
}
@media screen and (min-width: 960px) {
  .slider_text {
    margin-top: 124px;
    margin-right: 0;
    width: 95%;
    margin-bottom: 20px;
  }
}

.submit {
  display: block;
  width: 90%;
  padding-right: 40px;
  margin: 0 auto;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (min-width: 960px) {
  .submit {
    padding-right: 0;
  }
  .submit:hover::after {
    background-color: #ffffff;
    right: -25px;
  }
  .submit:hover a {
    color: #ffffff;
    background-color: #59554C;
    border-color: #ffffff;
  }
}
.submit::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  pointer-events: none;
  background-color: #59554C;
}
@media screen and (min-width: 960px) {
  .submit::after {
    right: 0;
    -webkit-transition: right 0.3s;
    transition: right 0.3s;
  }
}
.submit.single {
  max-width: 650px;
  margin-top: 30px;
  margin-bottom: 104px;
}
@media screen and (min-width: 960px) {
  .submit.single {
    margin-top: 40px;
    margin-bottom: 124px;
  }
}
.submit a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border: 2px #59554C solid;
  -webkit-appearance: none;
  color: #59554C;
  cursor: pointer;
  text-decoration: none;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 960px) {
  .submit a {
    font-size: 20px;
    height: 75px;
  }
}