@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap";
@import "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css";
@import "reset.scss";

* {
  padding: 0;
  margin: 0;
  font-family: "Noto Sans", "Noto Sans JP";
  font-style: normal;
  list-style: none;
  // line-height: 1.75rem;
  // outline: 1px solid red;
}

@mixin icon {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free";
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem !important;

  @media screen and (max-width: 60rem) {
    scroll-padding-top: 5rem !important;
  }
}

// ハンバーガー
.index-header {
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  height: 5rem;
  z-index: 22;
  background: #ffffff;

  > ul {
    display: flex;
    gap: 2vw;
    padding: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 0rem);

    @media screen and (max-width: 60rem) {
      padding: 1rem 1rem;
      width: calc(100% - 2rem);
    }

    li {
      @media screen and (max-width: 60rem) {
        width: 100%;
      }

      a {
        font-weight: bold;
        font-size: 1rem;
        white-space: nowrap;
      }
    }
  }
}

h1 {
  position: relative;
  z-index: 4;
  width: 10rem;
  max-width: 100%;

  img {
    width: 100%;
  }
}

.blink {
  &:hover {
    animation: blink 1s;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.js-global-menu {
  > ul {
    display: flex;
    gap: 2vw;
    align-items: center;
    transition: all 1s cubic-bezier(1, 0, 0, 1);

    @media screen and (max-width: 60rem) {
      background: rgba(255, 255, 255, 1);
      transform: translate(100%, 0);
      position: absolute;
      top: 0;
      left: 0;
      flex-direction: column;
      z-index: 3;
      width: 100%;
      padding: 6rem 0 4rem 0rem;
      box-shadow: 0 1rem 1rem 1rem rgba(0, 0, 0, 0);
      align-items: baseline;
      height: calc(100vh + 0rem);
      display: flex;
      justify-content: space-around;
      gap: 1rem;
    }
  }
}

.js-global-menu-active {
  > ul {
    transform: translate(0, 0rem);

    li {
      a {
        padding: 1rem 1rem;
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 60rem) {
          padding: 1rem 4rem;
          font-size: 1.5rem;
        }

        @media screen and (max-width: 40rem) {
          padding: 1rem 1rem;
          font-size: 1rem;
        }

        &:after {
          @include icon;
          content: "\f054";
        }
      }
    }
  }
}

.js-global-menu-button {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  transition: all 1s cubic-bezier(1, 0, 0, 1);
  width: 2rem;
  height: 2rem;
  z-index: 4;

  @media screen and (max-width: 60rem) {
    display: flex;
    align-items: center;
  }

  button {
    width: 2rem;
    height: 1px;
    background: #000000;
    position: relative;
    transition: all 1s cubic-bezier(1, 0, 0, 1);

    &:before {
      content: "";
      width: 2rem;
      height: 1px;
      background: #000000;
      position: absolute;
      top: -0.5rem;
      left: 0;
      transition: all 1s cubic-bezier(1, 0, 0, 1);
    }

    &:after {
      content: "";
      width: 2rem;
      height: 1px;
      background: #000000;
      position: absolute;
      top: 0.5rem;
      left: 0;
      transition: all 1s cubic-bezier(1, 0, 0, 1);
    }
  }
}

.js-global-menu-button-active {
  button {
    width: 2rem;
    height: 1px;
    background: transparent;
    position: relative;

    &:before {
      content: "";
      width: 2rem;
      height: 1px;
      background: #000000;
      position: absolute;
      top: 0rem;
      left: 0;
      transform: rotate(45deg);
    }

    &:after {
      content: "";
      width: 2rem;
      height: 1px;
      background: #000000;
      position: absolute;
      top: 0rem;
      left: 0;
      transform: rotate(-45deg);
    }
  }
}

// style
body {
  background: #f5f5f5;
}

.doc-request {
  a {
    color: #ffffff;
    background: #C8BA35;
    border: 2px solid #C8BA35;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    transition: all 0.1s linear;
    font-size: 1.1rem;

    @media screen and (max-width: 60rem) {
      margin: 0 10%;
      justify-content: center !important;
      font-size: 1.25rem;
    }

    &:hover {
      color: #C8BA35;
      background: transparent;
    }

    &:after {
      display: none !important;
    }
  }
}

.index-main-content {
  padding: 5rem 0 0 0;
}

.wrapper {
  width: 80rem;
  max-width: 100%;
  padding: 2rem 1rem 2rem 1rem;
  margin: auto;

  @media screen and (max-width: 60rem) {
    width: auto;
    padding: 0rem 1rem;
    margin: unset;
  }
}

// ヘッダーコンテンツ グリッドレイアウト設定
.index-header-wrapper {
  max-width: calc(64rem + 4rem);
  margin: auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0;
  grid-row-gap: 0;

  @media screen and (max-width: 60rem) {
    padding: 0 0rem;
  }
}

.index-header-content-1 {
  grid-area: 1 / 1 / 2 / 2;
}
.index-header-content-2 {
  grid-area: 2 / 1 / 3 / 2;
}
.index-header-content-3 {
  grid-area: 1 / 2 / 3 / 3;
}

@media screen and (max-width: 60rem) {
  .index-header-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-template-rows: max-content;
  }

  .index-header-content-1 {
    grid-area: 1 / 1 / 2 / 2;
  }
  .index-header-content-2 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .index-header-content-3 {
    grid-area: 2 / 1 / 3 / 2;
  }
}

// ヘッダーコンテンツ グリッドレイアウト設定

.index-header-container {
  background: url(../img/FV.png) no-repeat center center;
  background-size: cover;
  // ヘッダーの分をマイナスしてる
  height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;

  @media screen and (max-width: 60rem) {
    height: auto;
    padding: 2rem 2rem;
  }
}

.index-header-content-article-i {
  font-size: 1.25rem;
  font-weight: bold;
  font-style: italic;
  line-height: 2rem;

  @media screen and (max-width: 60rem) {
    font-size: 1.75rem;
    line-height: 2.5rem;
    text-align: center;
  }

  @media screen and (max-width: 40rem) {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.index-header-content-title {
  font-size: 3rem;
  font-weight: 900;
  margin: 0rem 0 2rem 0;
  background: linear-gradient(transparent 75%, rgba(200, 186, 53, 0.25) 25%);
  display: inline-block;
  margin: 1rem 0;

  @media screen and (max-width: 60rem) {
    font-size: 3.5rem;
    line-height: 3.5rem;
    margin: 1rem 0 2rem 0;
    display: inline-block;
    transform: translate(-50%, 0);
    padding: 0 4rem;
    left: 50%;
    position: relative;
  }

  @media screen and (max-width: 40rem) {
    font-size: 2.5rem;
    display: block;
    line-height: 2.5rem;
    margin: 1rem 0 2rem 0;
    padding: 0 0;
    text-align: center;
  }

  span {
    font-size: 3rem;
    color: #C8BA35;

    @media screen and (max-width: 60rem) {
      font-size: 3.5rem;
    }

    @media screen and (max-width: 40rem) {
      font-size: 2.75rem;
    }
  }
}

.index-header-content-image {
  margin: 0 0 1rem 0;
  width: 14rem;

  @media screen and (max-width: 60rem) {
    width: 60%;
    margin: 0 auto 2rem auto;
  }
}

.index-header-content-article {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  line-height: 2rem;

  @media screen and (max-width: 60rem) {
    display: none;
  }
}

.index-header-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  @media screen and (max-width: 60rem) {
    gap: 0.25rem;
    width: 40rem;
    max-width: 100%;
    margin: auto;
    justify-content: center;
  }

  @media screen and (max-width: 40rem) {
    gap: 0.25rem;
    width: 100%;
    justify-content: normal;
  }

  li {
    img {
      width: auto !important;
      height: 2rem;

      @media screen and (max-width: 60rem) {
        height: 2.5rem;
      }

      @media screen and (max-width: 40rem) {
        height: 2rem;
      }
    }
  }
}

.index-header-content-2 {
  @media screen and (max-width: 60rem) {
    margin: -1rem 0 0 0;
    z-index: 2;
  }
}

.index-header-content-3 {
  display: flex;
  justify-content: end;
  align-items: center;

  @media screen and (max-width: 60rem) {
    justify-content: center;
  }
}

.index-header-layout-pc {
  position: relative;
  max-width: 32rem;

  @media screen and (max-width: 60rem) {
    max-width: 80%;
  }
}

.index-header-layout-sp {
  position: absolute;
  bottom: 0rem;
  right: -2rem;
  max-width: 13rem;

  @media screen and (max-width: 60rem) {
    bottom: -1rem;
    right: 0rem;
    max-width: 40%;
  }
}

// 実績
.index-achieve-container {
  background: url(../img/achieve.png) no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 60rem) {
    min-height: auto;
    padding: 2rem 0;
  }
}

.index-archive-wrapper {
  max-width: 64rem;
  padding: 0rem 1rem;
  margin: auto;
  line-height: 1rem;

  @media screen and (max-width: 60rem) {
    margin: 0 auto 2rem auto;
  }
}

.index-achieve-title {
  text-align: center;

  @media screen and (max-width: 60rem) {
    margin: 1rem 0 1rem 0;
  }

  img {
    margin: auto;

    @media screen and (max-width: 60rem) {
      width: 80%;
    }

    @media screen and (max-width: 40rem) {
      width: 60%;
    }
  }
}

.index-achieve-lead {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  font-size: 3rem;
  font-style: italic;
  font-weight: bold;
  justify-content: center;
  letter-spacing: 0.1rem;
  line-height: 5rem;
  position: relative;  

  @media screen and (max-width: 60rem) {
    font-size: 1.7rem;
    line-height: 1.75rem;
  }

  @media screen and (max-width: 40rem) {
    font-size: 1.5rem;
  }

  b {
    font-size: 4rem;
    margin: 0 1rem;
    display: inline-block;

    @media screen and (max-width: 60rem) {
      font-size: 2rem;
      margin: 0 0.5rem;
    }
  }
}

.icon-wrapper {
  position: absolute;
  top: 50%;
  left: 71%;
  transform: translate(-50%, -50%);

  img {
    width: 6rem;
  }

  @media screen and (max-width: 60rem) {
    top: 70%;
    left: 47%;

    img {
      width: 3rem;
    }
  }
}

.text-mobile {
  display: none;

  @media screen and (max-width: 60rem) {
    display: inline;
  }
}
.text-desktop {
  display: inline;

  @media screen and (max-width: 60rem) {
    display: none;
  }
}

.index-achieve-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 4rem 0;
  margin: 0 auto;
  align-content: center;
  justify-content: center;
  width: 60%;

  @media screen and (max-width: 60rem) {
    padding: 2rem 0 0 0;
    width: 90%;
  }
}

.index-achieve-list-1 {
  display: flex; 
  justify-content: space-around; 
  align-items: center;
  gap: 2rem; 

  @media screen and (max-width: 60rem) {
    gap: 0.7rem; 
  }
}

.index-achieve-list-2 {
  display: flex; 
  justify-content: space-around; 
  align-items: center;
  gap: 2rem; 

  @media screen and (max-width: 60rem) {
    gap: 0.7rem; 
  }
}

.img-item-s {
  width: 100%;
  height: 4rem;
  object-fit: cover;

  @media screen and (max-width: 60rem) {
    height: auto;
  }
}

.img-item-b {
  width: 100%;
  height: 2.5rem;
  object-fit: cover;

  @media screen and (max-width: 60rem) {
    height: auto;
  }
}

.index-achieve-article {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 2rem;

  @media screen and (max-width: 60rem) {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  @media screen and (max-width: 40rem) {
    font-size: 0.7rem;
    line-height: 1.5rem;
  }

  span {
    font-size: 1.75rem;
    background: linear-gradient(transparent 75%, rgba(200, 186, 53, 0.25) 25%);

    @media screen and (max-width: 60rem) {
      font-size: 1.75rem;
      line-height: 2.5rem;
    }

    @media screen and (max-width: 40rem) {
      font-size: 1rem;
      line-height: 1.5rem;
    }
  }
}

// お悩み
.index-worry-container {
  background: url(../img/worry.png) no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 60rem) {
    min-height: auto;
    padding: 2rem 0;
  }
}

.index-worry-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin: 0 0 4rem 0;
  line-height: 3.5rem;

  @media screen and (max-width: 60rem) {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    line-height: 2rem;
  }

  span {
    font-size: 4rem;
    font-weight: bold;
    color: #ffc444;

    @media screen and (max-width: 60rem) {
      font-size: 1.75rem;
    }
  }
}

.index-worry-image {
  text-align: center;
  display: flex;
  justify-content: center;
  max-width: 50rem;
  width: 100%;
  margin: auto;

  @media screen and (max-width: 60rem) {
    max-width: 35rem;
    width: 100%;
  }
}

// メリット
.index-merit-container {
  background: url(../img/merit.png) no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 60rem) {
    padding: 2rem 0;
    height: auto;
  }
}

.index-merit-title {
  font-size: 2rem;
  color: #C8BA35;
  text-align: center;
  margin: 0 0 4rem 0;
  line-height: 3rem;

  @media screen and (max-width: 60rem) {
    font-size: 1.25rem;
    line-height: 2rem;
    margin: 0 0 3rem 0;
  }

  @media screen and (max-width: 40rem) {
    font-size: 1rem;
    line-height: 2rem;
    margin: 0 0 3rem 0;
  }

  span {
    font-weight: bold;
    background: #C8BA35;
    color: #ffffff;
    padding: 0.5rem 1rem;

    @media screen and (max-width: 60rem) {
      font-size: 1.5rem;
      line-height: 3rem;
    }

    b {
      font-size: 3rem;

      @media screen and (max-width: 60rem) {
        font-size: 1.5rem;
      }
    }
  }
}

.index-merit-list {
  display: flex;
  gap: 2rem;
  max-width: 90%;
  margin: auto;

  @media screen and (max-width: 60rem) {
    width: 35rem;
    max-width: 100%;
    flex-direction: column;
  }

  @media screen and (max-width: 40rem) {
    max-width: 100%;
    flex-direction: column;
  }

  li {
    width: 100%;
    border: 2px solid #C8BA35;
    border-radius: 1rem;
    background: #ffffff;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;

    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      font-weight: 900;
      font-style: italic;
      background: #000000;
      color: #ffffff;
      padding: 0.25rem 1rem;
      border-radius: 1rem;
      transform: translate(-50%, -50%);

      @media screen and (max-width: 60rem) {
        font-size: 1.5rem;
      }

      @media screen and (max-width: 40rem) {
        font-size: 1rem;
      }
    }

    &:nth-child(1) {
      &:before {
        content: "01";
      }
    }

    &:nth-child(2) {
      &:before {
        content: "02";
      }
    }

    &:nth-child(3) {
      &:before {
        content: "03";
      }
    }

    img {
      width: 100%;
      object-fit: cover;
      aspect-ratio: 21 / 9;
      border-radius: 1rem 1rem 0 0;
    }
  }
}

.index-merit-list-title {
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.75rem;

  @media screen and (max-width: 60rem) {
    font-size: 1.25rem;
  }

  @media screen and (max-width: 40rem) {
    font-size: 0.8rem;
  }

  span {
    display: inline-block;
    font-size: 2rem;
    font-style: inherit;
    background: linear-gradient(transparent 75%, rgba(255, 196, 68, 1) 25%);

    @media screen and (max-width: 60rem) {
      font-size: 1.5rem;
      margin: 0 0 0 0.25rem;
    }

    @media screen and (max-width: 40rem) {
      font-size: 1rem;
    }
  }

  br {
    @media screen and (max-width: 60rem) {
      display: none;
    }
  }
}

.index-merit-list-article {
  background: #C8BA35;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  padding: 2rem 1rem;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 0.5rem 0.5rem;
  line-height: 1.5rem;

  @media screen and (max-width: 60rem) {
    justify-content: normal;
    background: transparent;
    color: #000000;
    text-align: left;
    border-top: 2px dashed #C8BA35;
    padding: 1rem;
    font-size: 1rem;
  }

  @media screen and (max-width: 40rem) {
    font-size: 0.8rem;
  }

  br {
    @media screen and (max-width: 60rem) {
      display: none;
    }
  }
}

.index-content-title {
  text-align: center;
  margin: 0 0 1rem 0;

  span {
    font-weight: 900;
    font-size: 0.8rem;
    background: #C8BA35;
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
  }
}

.index-content-catch {
  font-size: 2.5rem;
  text-align: center;
  font-weight: bold;
  margin: 0 0 2rem 0;

  @media screen and (max-width: 60rem) {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  br {
    display: none;

    @media screen and (max-width: 60rem) {
      display: inline;
    }
  }
}

// サービス
.index-service-container {
  background: url(../img/service.png) no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 60rem) {
    height: auto;
    padding: 2rem 0;
  }
}

.index-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 2rem;
  justify-content: center;
  width: 90%;
  margin: 4rem auto 0 auto;

  @media screen and (max-width: 60rem) {
    gap: 3rem;
    margin: 3rem auto 0 auto;
  }

  li {
    width: calc(100% / 3 - 1.5rem);
    background: #ffffff;
    padding: 2rem 1rem 1rem 1rem;
    position: relative;
    border-radius: 1rem;
    transform: skewX(-5deg);

    @media screen and (max-width: 60rem) {
      width: calc(100% / 2 - 2rem);
    }

    @media screen and (max-width: 40rem) {
      width: calc(100% / 1 - 0rem);
    }
  }
}

.index-service-title {
  background: #C8BA35;
  padding: 0.5rem 2rem;
  border-radius: 2rem;
  text-align: center;
  position: absolute;
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) skewX(5deg);
  white-space: nowrap;
}

.index-service-image {
  height: 8rem;
  margin: 0 auto 0.5rem auto;
  transform: skewX(5deg);
  position: relative;

  &:after {
    content: "";
    background: rgba(200, 186, 53, 0.5);
    width: 7.5rem;
    height: 7.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    z-index: -1;
  }

  img {
    height: 100%;
    margin: auto;
  }
}

.index-service-article {
  text-align: center;
  font-weight: bold;
  transform: skewX(5deg);
  line-height: 1.5rem;
}

// フローの設定
.index-flow-container {
  background: url(../img/flow.png) no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 60rem) {
    padding: 2rem 0;
    height: auto;
  }
}

.index-flow-tab {
  display: flex;
  gap: 0.5rem;
  width: 90%;
  margin: auto;

  @media screen and (max-width: 40rem) {
    width: 100%;
  }
}

.index-flow-tab-list-button {
  width: calc(100% / 2);
  text-align: center;
  padding: 1rem 0;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  background: #7b7b7b;
  color: #ffffff;
  font-size: 1.5rem;

  @media screen and (max-width: 60rem) {
    font-size: 1rem;
  }

  br {
    display: none;

    @media screen and (max-width: 60rem) {
      display: block;
    }
  }
}

.index-flow-tab-content-wrap {
  width: 90%;
  margin: auto;

  @media screen and (max-width: 40rem) {
    width: 100%;
  }
}

.index-flow-tab-content {
  background: #C8BA35;
  display: none;
  padding: 2rem;

  @media screen and (max-width: 60rem) {
    padding: 2rem 6rem;
  }

  @media screen and (max-width: 40rem) {
    padding: 2rem 1rem;
  }
}

.index-flow-tab-list-button-active {
  background: #C8BA35;
  font-weight: bold;
}

.index-flow-tab-content-active {
  display: block;
  margin: -1px 0 0 0;
}

.index-flow-list {
  display: flex;
  justify-content: center;
  gap: 2rem;

  @media screen and (max-width: 60rem) {
    flex-direction: column;
    gap: 4rem;
  }

  li {
    width: calc(100% / 4 - 0rem);
    border-radius: 1rem;
    background: #ffffff;
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-direction: column;

    @media screen and (max-width: 60rem) {
      width: auto;
    }

    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      font-weight: 900;
      font-style: italic;
      background: #000000;
      color: #ffffff;
      padding: 0.25rem 1rem;
      border-radius: 1rem;
      transform: translate(-50%, -50%);

      @media screen and (max-width: 60rem) {
        font-size: 1.5rem;
      }

      @media screen and (max-width: 40rem) {
        font-size: 1rem;
      }
    }

    &:after {
      @include icon;
      content: "\f0da";
      position: absolute;
      top: 50%;
      right: -1.3rem;
      font-weight: 900;
      color: #fff;
      transform: translate(-0%, -50%);

      @media screen and (max-width: 60rem) {
        top: auto;
        bottom: -2rem;
        right: auto;
        transform: translate(-50%, 0) rotate(90deg);
        left: 50%;
      }
    }

    &:last-child {
      &:after {
        display: none;
      }
    }

    &:nth-child(1) {
      &:before {
        content: "01";
      }
    }

    &:nth-child(2) {
      &:before {
        content: "02";
      }
    }

    &:nth-child(3) {
      &:before {
        content: "03";
      }
    }

    &:nth-child(4) {
      &:before {
        content: "04";
      }
    }
  }
}

.index-flow-list-image {
  img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 21 / 9;
  }
}

.index-flow-list-title {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5rem;

  @media screen and (max-width: 60rem) {
    font-size: 1.25rem;
  }

  @media screen and (max-width: 40rem) {
    font-size: 1rem;
  }
}

.index-flow-list-article {
  padding: 1rem 0.5rem;
  font-weight: bold;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 9rem;
  line-height: 1.5rem;

  @media screen and (max-width: 60rem) {
    min-height: 0;
    font-size: 1rem;
  }
}

// 料金プラン
.index-price-container {
  background: rgba(200, 186, 53, 0.1);
  padding: 0rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-price-content {
  margin: 4rem auto;
  max-width: 90%;

  @media screen and (max-width: 60rem) {
    max-width: 90%;
    margin: 3rem auto;
  }

  @media screen and (max-width: 40rem) {
    max-width: 100%;
    margin: 3rem 1rem;
  }

  p {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5rem;
  }
}

.index-price-content-title {
  text-align: center;

  span {
    padding: 0.5rem 4rem;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 2rem;
    position: relative;

    @media screen and (max-width: 60rem) {
      font-size: 1.25rem;
    }

    &:after {
      content: "";
      clip-path: polygon(0 0, 100% 0, 50% 100%);
      position: absolute;
      bottom: -1rem;
      left: 50%;
      transform: translate(-50%, -1px);
      width: 3rem;
      height: 1rem;
    }
  }
}

dd.index-price-content-article {
  background: #ffffff;
  padding: 3rem 2rem 1rem 2rem;
  border-radius: 5rem;
  text-align: center;

  @media screen and (max-width: 60rem) {
    padding: 3rem 4rem 2rem 4rem;
  }

  @media screen and (max-width: 40rem) {
    padding: 3rem 2rem 1rem 2rem;
  }
}

.index-price-content-price {
  font-size: 4.75rem;
  font-weight: bold;
  margin: 0.5rem 0;

  @media screen and (max-width: 60rem) {
    font-size: 5rem;
  }

  @media screen and (max-width: 40rem) {
    font-size: 3rem;
  }

  b {
    font-size: 2.75rem;
    font-weight: 900;

    @media screen and (max-width: 60rem) {
      font-size: 2rem;
    }
  }

  span {
    font-size: 1rem;
    font-weight: 900;
  }
}

.index-price-content-catch {
  text-align: center;
  font-size: 0.8rem;

  span {
    border-radius: 1rem;
    padding: 0.25rem 1rem;
    font-weight: bold;
  }
}

// 料金プラン 個別の設定
.simple-plan {
  .index-price-content-title {
    span {
      background: #C8BA35;
      color: #ffffff;

      &:after {
        background: inherit;
      }
    }
  }

  .index-price-content-catch {
    span {
      background: #C8BA35;
      color: #ffffff;
    }
  }

  .index-price-content-price {
    color: #C8BA35;
  }
}


// 比較
.index-price-compare-container {
  max-width: 90%;
  margin: auto;

  @media screen and (max-width: 40rem) {
    max-width: 100%;
  }

  dt {
    text-align: center;
    font-size: 1.5rem;
    color: #f29600;
    font-style: italic;
    font-weight: bold;

    @media screen and (max-width: 40rem) {
      font-size: 1rem;
    }

    span {
      font-style: inherit;
      font-size: 3rem;

      @media screen and (max-width: 40rem) {
        font-size: 1.5rem;
      }
    }
  }

  dd {
    background: #ffffff;
    padding: 3rem 2rem 1rem 2rem;
    border-radius: 5rem;
    text-align: center;
    margin: -1.5rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 2rem;

    @media screen and (max-width: 60rem) {
      gap: 1rem;
    }

    @media screen and (max-width: 40rem) {
      padding: 2rem 0;
      border-radius: 0rem;
      margin: -1rem 0 0 0;
    }
  }
}

.price-wrapper {
  @media screen and (max-width: 60rem) {
    padding: 2rem 0;
  }
}

.price-compare-header {
  width: 100%;

  @media screen and (max-width: 60rem) {
    width: auto;
    white-space: nowrap;
  }

  &:before {
    content: "　";
    font-size: 1.5rem;
    display: block;
    text-align: center;
    font-weight: bold;
    color: #C8BA35;
    margin: 0 0 1rem 0;

    @media screen and (max-width: 40rem) {
      font-size: 0.8rem;
    }
  }

  ul {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 1rem;

    @media screen and (max-width: 40rem) {
      padding: 0.5rem 0.25rem;
      width: auto;
    }

    li {
      font-size: 1.25rem;
      padding: 1rem 1rem;
      border-bottom: 1px solid #cccccc;
      font-weight: bold;

      @media screen and (max-width: 60rem) {
        padding: 0.5rem 0.25rem;
        font-size: 1rem;
      }

      @media screen and (max-width: 40rem) {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
      }

      &:last-child {
        border: none;
      }
    }
  }
}

.price-compare-main {
  width: 100%;

  @media screen and (max-width: 40rem) {
    width: auto;
  }

  &:before {
    content: "シンプルAD";
    font-size: 1.5rem;
    display: block;
    text-align: center;
    font-weight: bold;
    color: #C8BA35;
    margin: 0 0 1rem 0;

    @media screen and (max-width: 40rem) {
      font-size: 0.8rem;
      white-space: nowrap;
    }
  }

  ul {
    background: rgba(200, 186, 53, 0.1);
    color: #C8BA35;
    padding: 1rem 2rem;
    border-radius: 1rem;

    @media screen and (max-width: 40rem) {
      padding: 0.5rem 0.25rem;
    }

    li {
      color: inherit;
      padding: 1rem 1rem;
      border-bottom: 1px solid #ffffff;
      font-weight: bold;

      @media screen and (max-width: 40rem) {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
      }

      &:last-child {
        border: none;
      }

      span {
        font-size: 2rem;

        @media screen and (max-width: 40rem) {
          font-size: 1rem;
        }
      }
    }
  }
}

.price-compare-sub {
  width: 100%;
  transform: scale(0.8);

  @media screen and (max-width: 40rem) {
    width: auto;
  }

  &:before {
    content: "通常の広告運用";
    font-size: 1.5rem;
    display: block;
    text-align: center;
    font-weight: bold;
    color: #000000;
    margin: 0 0 1rem 0;

    @media screen and (max-width: 40rem) {
      font-size: 0.8rem;
      white-space: nowrap;
    }
  }

  ul {
    background: #d6d6d6;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 1rem;

    @media screen and (max-width: 40rem) {
      padding: 0.5rem 0.25rem;
    }

    li {
      color: inherit;
      padding: 1rem 1rem;
      border-bottom: 1px solid #ffffff;
      font-weight: bold;

      @media screen and (max-width: 60rem) {
        padding: 0.5rem 0.25rem;
        font-size: 1rem;
      }

      @media screen and (max-width: 40rem) {
        padding: 0.5rem 0.25rem;
        font-size: 0.6rem;
      }

      &:last-child {
        border: none;
      }

      span {
        font-size: 2rem;

        @media screen and (max-width: 60rem) {
          font-size: 1.25rem;
        }

        @media screen and (max-width: 40rem) {
          font-size: 0.8rem;
        }
      }
    }
  }
}

// よくある質問
.index-faq-container {
  // min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;

  @media screen and (max-width: 60rem) {
    height: auto;
    padding: 2rem 0;
  }
}

.index-faq-list {
  width: 80%;
  margin: auto;

  @media screen and (max-width: 60rem) {
    width: 90%;
  }

  @media screen and (max-width: 40rem) {
    width: 100%;
  }

  dt {
    background: #ffffff;
    color: #C8BA35;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    position: relative;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    overflow: hidden;
    align-items: center;

    &:hover {
      cursor: pointer;
    }

    span {
      padding: 0.5rem 2.5rem 0.5rem 0.5rem;
      flex: 1;
      display: flex;
      align-items: center;
      line-height: 1.75rem;

      @media screen and (max-width: 60rem) {
        font-size: 1rem;
        line-height: 1.25rem;
      }
    }

    &:before {
      content: "Q";
      background: #C8BA35;
      color: #ffffff;
      font-size: 2.5rem;
      width: 5rem;
      height: 5rem;
      display: flex;
      justify-content: center;
      align-items: center;

      @media screen and (max-width: 60rem) {
        font-size: 1rem;
        width: 3rem;
        height: 4rem;
      }
    }

    i {
      width: 1rem;
      height: 2px;
      background: #C8BA35;
      position: absolute;
      top: 50%;
      right: 1rem;

      &:before {
        content: "";
        width: 1rem;
        height: 2px;
        background: #C8BA35;
        position: absolute;
        top: 0;
        right: 0;
        transform: rotate(90deg);
        transition: all 0.1s linear;
      }
    }
  }

  dd {
    background: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;

    @media screen and (max-width: 60rem) {
      font-size: 0.8rem;
      line-height: 1.25rem;
    }

    span {
      padding: 0.5rem 0.5rem 0.5rem 0.5rem;
      flex: 1;
      display: flex;
      align-items: center;
      line-height: 1.75rem;

      @media screen and (max-width: 60rem) {
        font-size: 1rem;
      }
    }

    &:before {
      content: "A";
      background: #ffffff;
      color: #C8BA35;
      font-size: 2.5rem;
      width: 5rem;
      height: 5rem;
      display: flex;
      justify-content: center;
      align-items: center;

      @media screen and (max-width: 60rem) {
        font-size: 1rem;
        width: 3rem;
        height: 3rem;
      }
    }
  }
}

// よくある質問 アコーディオン
.js-acd-title {
}

.js-acd-article {
  border-radius: 0.5rem;
}

.js-acd-title-active {
  i {
    &:before {
      opacity: 0;
      transform: rotate(0) !important;
    }
  }
}

// お問い合わせ
.index-contact-container {
  background: #ffffff;
}

.contact-background {
  padding: 5rem 0;
  background: url(../img/contact.png) no-repeat top;
  background-size: cover;
  margin: 0 0 4rem 0;

  @media screen and (max-width: 60rem) {
    padding: 2rem 0;
    margin: 0 0 2rem 0;
  }
}

.simplead-container {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 0 4rem 0;
}

.simpleweb-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 0.5rem 0;

  @media screen and (max-width: 60rem) {
    font-size: 0.8rem;
  }

  span {
    color: #ffffff;
    background: #C8BA35;
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    margin: 0 0 0 0.5rem;

    @media screen and (max-width: 60rem) {
      font-size: 0.6rem;
    }
  }
}

.simpleweb-form {
  margin: 0 0 1rem 0;

  input,
  select,
  textarea {
    border: 1px solid #cccccc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    width: 100% !important;
    // すでに読み込まれているCSSをリセット 強制的に100%
    max-width: 100% !important;
    font-size: 1rem;

    @media screen and (max-width: 60rem) {
      font-size: 1rem;
    }
  }
}

.simpleweb-submit {
  p {
    width: 18rem;
    margin: 0 auto;
    position: relative;

    &:after {
      @include icon;
      content: "\f138";
      font-weight: 700;
      color: #ffffff;
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translate(0, -50%);
    }

    &:hover {
      cursor: pointer;
    }
  }

  input {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #C8BA35 !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 2rem !important;
    font-weight: bold !important;
    box-shadow: 0 0.5rem 0.5rem 0rem rgba(0, 0, 0, 0.1);
    transition: all 0.1s linear;
    border: 2px solid #C8BA35 !important;
    margin: 0 !important;

    &:hover {
      box-shadow: 0 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.5) !important;
      opacity: 0.75;
    }

    @media screen and (max-width: 60rem) {
      font-size: 1rem;
    }
  }
}

// 読み込まれているCSSをリセット
.wpcf7 {
  background: transparent !important;
  border: none !important;

  form {
    margin: 0 !important;
  }
}

.index-contact-header {
  margin: 0 0;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;

  @media screen and (max-width: 60rem) {
    font-size: 1rem;
  }
}

// Contact Form 7 のエラー
.wpcf7-not-valid-tip {
  color: #ff0000;
  background: #ffeeee;
  display: block;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  border-radius: 0.5rem;
  font-weight: bold;
  position: relative;

  &:before {
    content: "";
    width: 1rem;
    height: 1rem;
    background-color: #ffeeee;
    clip-path: polygon(50% 0%, 0% 1rem, 1rem 1rem);
    position: absolute;
    top: -1rem;
    left: 1rem;
  }
}

.screen-reader-response {
  display: none;
}

.wpcf7-response-output {
  margin: 2rem;
  text-align: center;
}

// フォームラン
.sf-form-cover,
.sf-form-title-group {
  display: none !important;
}
