/* cssの初期化 */
body {
  margin: 0;
  width: 100vw;
}

p {
  font-family: 'Noto Sans JP';
}

span {
  display: inline-block;
}


/* PC・SPレスポンシブ対応 */
.pc { display: block; }
.sp { display: none; }

@media only screen and (max-width: 740px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* 文字の定義 */
.text {
  font-family: 'Noto Sans JP';
  font-weight: 700;
  margin: 0;
}

.text-size-1 {
  font-size: 40px;
  letter-spacing: 0.07em;
}

@media only screen and (max-width: 740px) {
  .text-size-1 {
    font-size: 36px;
  }
}

.text-size-2 {
  font-size: 30px;
  letter-spacing: 0.07em;
}

@media only screen and (max-width: 740px) {
  .text-size-2 {
    font-size: 24px;
  }
}

.text-size-3 {
  font-size: 26px;
  letter-spacing: 0.07em;
}

@media only screen and (max-width: 740px) {
  .text-size-3 {
    font-size: 22px;
  }
}

.text-size-4 {
  font-size: 24px;
  letter-spacing: 0.07em;
}

@media only screen and (max-width: 740px) {
  .text-size-4 {
    font-size: 20px;
  }
}

.text-size-5 {
  font-size: 20px;
}

@media only screen and (max-width: 740px) {
  .text-size-5 {
    font-size: 16px;
  }
}

.text-size-6 {
  font-size: 18px;
}

@media only screen and (max-width: 740px) {
  .text-size-6 {
    font-size: 12px;
  }
}

.text-size-7 {
  font-size: 14px;
}

@media only screen and (max-width: 740px) {
  .text-size-7 {
    font-size: 8px;
  }
}

.text-grey {
  color: #4C586F;
}

.text-black {
  color: #3F3F3F;
}

.bold {
  font-weight: 700;
}

.emphasis {
  font-size: 42px;
  font-weight: 900;
  color: #EB6D65;
}

.emphasis-color {
  color: #EB6D65;
  font-weight: 900;
}

.text-tips {
  width: 90%;
  margin: 0 auto;
}


/* ブロックの定義 */
.firstview-image {
  width: 100%;
}

.logo {
  width: 160px;
  height: 50px;
}

.header-logo {
  margin: 10px 0 0 60px;
}

.footer-logo {
  margin: 15px;
}

footer {
  width: 100%;
  background-color: #4C586F;
  text-align: center;
}

.block {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.block-title {
  padding: 10px;
  width: 80%;
  margin: 0 auto;
  line-height: 1.2;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.underline {
  border-bottom: 5px solid #D1A827;
  text-underline-offset:0.5em;
}

.text-underline {
  text-decoration: underline;
}

.square {
  color: #FFFFFF;
  background: #4C586F;
  margin-right: 20px;
  padding: 5px;
  border-radius: 5px;
}

.line-left {
  height: 30px;
  margin-right: 15px;
  border: 2px solid #D1A827;
  transform: rotate(150deg);
}

.line-right {
  height: 30px;
  margin-left: 15px;
  border: 2px solid #D1A827;
  transform: rotate(30deg);
}

.point-content {
  justify-content: flex-start;
  margin: 30px 0;
}

.circle-image {
  width: 150px;
  height: 150px;
}

.polygon {
  width: 100%;
  text-align: center;
}

.polygon-image {
  width: 40px;
  height: 30px;
}

.actions {
  width: 100%;
  margin: 30px auto 0;
}

.service-btn {
  font-family: 'Noto Sans JP';
  font-size: 24px;
  padding: 20px 40px;
  border: none;
  background: #EB6D65;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #FFFFFF;
  cursor: pointer;
  text-decoration: none;
}

@media only screen and (max-width: 740px) {
  .service-btn {
    font-size: 18px;
  }
}


/* JSアニメーション用 */
.js-fadeIn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.is-scrollIn {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}


/* 吹き出しデザイン */
.balloon-left {
  position: relative;
  display: inline-block;
  margin: 1.5em 0 1.5em 15px;
  padding: 10px 15px;
  min-width: 120px;
  max-width: 100%;
  color: #FFFFFF;
  font-size: 16px;
  background: #4C586F;
  border-radius: 15px;
  margin-left: 30px;
}

.balloon-left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #4C586F;
}

.balloon-left p {
  margin: 0;
  padding: 0;
  text-align: left;
}

@media only screen and (max-width: 740px) {
  .balloon-left {
    margin-left: initial;
    width: 75%;
  }

  .balloon-left:before {
    top: 112%;
    left: 47%;
    margin-left: -5px;
    border: 15px solid transparent;
    border-top: 15px solid #4C586F;
  }

  .balloon-left p {
    text-align: center;
  }

  .balloon-flex {
    flex-direction: column-reverse;
    margin-bottom: 25px;
  }
}


/* グレー部分ブロックの作成 */
.grey {
  background: #E6E9EA;
}

.space {
  height: 100px;
}

.container {
  position: relative;
  height: auto;
}

.container-content {
  padding: 100px 0;
}

.wave-front {
  position: absolute;
  height: 60px;
  width: 100%;
  top: 0;
}

.wave-front::before, .wave-front::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
}

.wave-front::before {
  width: 55%;
  height: 109%;
  background-color: #fff;
  left: -1.5%;
  bottom: 60%;
}

.wave-front::after {
  width: 55%;
  height: 100%;
  background-color: #E6E9EA;
  right: 0;
  bottom: 40%;
}

.wave-after {
  position: absolute;
  height: 60px;
  width: 100%;
  background: #E6E9EA;
  bottom: 0;
}

.wave-after::before, .wave-after::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
}

.wave-after::before {
  width: 55%;
  height: 109%;
  background-color: #fff;
  right: 0;
  top: 60%;
}

.wave-after::after {
  width: 55%;
  height: 100%;
  background-color: #E6E9EA;
  left: -1.5%;
  top: 40%;
}


/* こんな悩みブロックのCSS */
.structure {
  margin: 60px 0;
}

.worry-introduction {
  margin-top: 30px;
  margin-bottom: 60px;
}

.worry-content {
  margin-bottom: 180px;
}

.worry-solve {
  margin: 30px auto;
  padding: 1px;
  width: 75%;
  text-align: center;
  background: #FFFFFF;
  box-shadow: 3px 3px 5px 3px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

@media only screen and (max-width: 740px) {
  .worry-introduction {
    margin-bottom: initial;
  }

  .worry-content {
    margin-bottom: 100px;
  }

  .worry-solve {
    width: 85%;
  }
}


/* KUSABIが選ばれる3つのポイントブロックのCSS */
.merit {
  width: 35%;
  margin: 0 auto;
  text-align: center;
}

@media only screen and (min-width: 2000px) {
  .merit {
    width: 20%;
  }
}

@media only screen and (min-width: 1500px) {
  .merit {
    width: 30%;
  }
}

@media only screen and (max-width: 1150px) {
  .merit {
    width: 45%;
  }
}

@media only screen and (max-width: 940px) {
  .merit {
    width: 50%;
  }
}

@media only screen and (max-width: 740px) {
  .merit {
    width: 60%;
  }
}

@media only screen and (max-width: 460px) {
  .merit {
    width: 80%;
  }
}

.merit-content {
  color: #3F3F3F;
  text-align: left;
}

.point-square {
  height: 50px;
}

.point-text {
  margin: 2px 0 -6px;
}

@media only screen and (max-width: 740px) {
  .point-text {
    margin: 2px 0 -2px;
  }
}


/* お客様の声ブロックのCSS */
.customer-voice {
  width: 30%;
  margin: 20px;
}

.customer-voice-content {
  margin: 0 auto;
  background: #FFFFFF;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin-top: 30px;
  padding: 20px 10px;
}

.customer-voice-profile {
  margin-top: 30px;
}

.customer-voice-title {
  padding: 0 0 10px;
}

.customer-voice-pc {
  align-items: initial;
}

@media only screen and (max-width: 740px) {
  .customer-voice {
    width: 80%;
  }

  .customer-voice-flex {
    flex-wrap: wrap;
  }

  .customer-voice-pc {
    display: none;
  }
}


/* 簡単3Stepで掲載可能ブロックのCSS */
.step-line {
  height: 50px;
}

@media only screen and (max-width: 470px) {
  .step-line {
    height: 70px;
  }
}

.step-text {
  margin: 5px;
}

.step-preview {
  margin: 60px;
}

.step-content {
  width: 35%;
  margin: 0 auto;
}

@media only screen and (min-width: 1500px) {
  .step-content {
    width: 20%;
  }
}

@media only screen and (min-width: 1060px) {
  .step-content {
    width: 25%;
  }
}

@media only screen and (max-width: 940px) {
  .step-content {
    width: 40%;
  }
}

@media only screen and (max-width: 740px) {
  .step-content {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .step-content {
    width: 60%;
  }
}

@media only screen and (max-width: 460px) {
  .step-content {
    width: 70%;
  }
}

.arrow {
  width: 50%;
  text-align: center;
  margin: 0 auto;
}
.arrow-image {
  width: 15%;
}

.preview-image {
  width: 35%;
  margin: 30px auto;
}

@media only screen and (max-width: 740px) {
  .preview-image {
    width: 50%;
  }
}


/* FAQ */
.faq {
  width: 90%;
  margin: 30px auto;
  background: #FFFFFF;
  padding: 10px 20px;
  border-radius: 20px;
}

.faq-content {
  justify-content: flex-start;
  align-items: baseline;
  padding: 10px 0;
}

.faq-content p {
  text-align: left;
}

.faq-left {
  width: 10%;
}

.faq-right {
  width: 90%;
}

.faq-icon {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 40px;
  color: #FFFFFF;
}

.pointer {
  cursor: pointer;
}

.vector-image {
  width: 10px;
  height: 8px;
  margin-left: 8px;
}

.open {
  display: block !important;
}

.icon-question {
  background: #4C586F;
}

.icon-answer {
  background: #EB6D65;
}

@media only screen and (max-width: 740px) {
  .faq {
    width: 80%;
  }

  .faq-content {
    justify-content: space-around;
  }
  
  .faq-right {
    width: 80%;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}

#modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  transition: 0.3s;
  overflow-y: scroll;
}

#overlay {
  width: 100%;
  height: 100%;
}

.modal {
  background-color: #fff;
  padding: 10px 30px 25px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 90%;
  overflow-y: scroll;
  transform: translate(-50%,-50%);
}

#modal-close {
  margin-right: 0;
  margin-left: auto;
  width: 20px;
}
