@charset "UTF-8";

.guide {
  margin-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.guide-ttl__wrapper {
  color: #fff;
}

.guide-ttl__wrapper .guide-ttl__inner {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url("../img/service/main.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.guide-ttl__wrapper .guide-ttl__inner:before {
  content: "";
  display: block;
  width: 100%;
  height: 200px;
  background-color: #009773;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
}

.guide-ttl__wrapper h4 {
  font-size: 20px;
  font-weight: 700;
}

.guide-ttl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  position: relative;
  z-index: 1;
}

.guide-ttl__ttl {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
}

.guide-ttl__img {
  display: inline-block;
  width: 200px;
  height: auto;
  margin-bottom: 8px;
}

.guide-header__wrapper {
  display: flex;
  flex-direction: column;
  margin: 30px auto;
  max-width: 1000px;
}

.guide-header__wrapper h2 {
  font-size: 64px;
  color: #00B695;
  font-weight: 700;
  margin: 10px 0;
}

.guide-header__wrapper h3 {
  font-size: 18px;
}

.guide-header__wrapper h3 span {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.guide-header__wrapper h3 span br {
  display: none;
}

/* 初心者マークと文章 */
.guide-header-lead {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
}

.guide-header-lead img {
  width: 24px;
}


/*
* -------------------------------------------
* 売りたい・買いたい・自慢したい
* -------------------------------------------
*/
.guide-cmenu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 50px auto 100px;
  max-width: 700px;
}

.guide-cmenu li {
  font-size: 24px;
  font-weight: 700;
  position: relative;
}

.guide-cmenu li:after {
  font-size: 30px;
  content: "↓";
  font-weight: 700;
  display: block;
  width: 36px;
  height: 10px;
  position: absolute;
  left: calc(50% - 15px);
  margin: auto;
  display: block;
  animation: gcm 2s infinite;
}

.guide-cmenu li a {
  color: #333 !important;
}

.guide-cmenu li img {
  margin-bottom: 10px;
  width: 100%;
}

@keyframes gcm {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 10px);
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}


/*
* -------------------------------------------
* タイトル　例えば
* -------------------------------------------
*/
.guide-itemttl__wrapper {
  align-items: center;
  color: #FFF;
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.guide-itemttl__wrapper:before {
  content: "";
  background-color: #00B695;
  height: 80px;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.guide-itemttl-heading {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
}

.guide-itemttl-heading span {
  font-size: 16px;
  display: block;
}

.guide-itemttl-image {
  height: 170px;
  width: auto;
}


/*
* -------------------------------------------
* 数字つきボックス
* -------------------------------------------
*/
.guide-item__wrapper {
  max-width: 1000px;
  margin: 40px auto 100px;
}

.guide-items {
  counter-reset: h3;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
}

.guide-items h3 {
  font-size: 20px;
  display: flex;
  text-align: left;
  width: 100%;
  align-items: center;
}

.guide-items h3:before {
  font-size: 24px;
  background-color: #333;
  border-left: 0;
  border-radius: 50%;
  counter-increment: h3; /* h3カウンターの値に1を加算 */
  content: counter(h3);
  color: #fff;
  flex-shrink: 0;
  height: 40px;
  line-height: 1.7;
  margin-right: 10px;
  text-align: center;
  width: 40px;
}

.guide-item {
  align-items: center;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  padding: 20px;
}

.guide-item img {
  width: 100%;
}

.guide-item__txt {
  text-align: left;
}


/*
* -------------------------------------------
* 注意書き
* -------------------------------------------
*/
.guide-note {
  border: 5px solid #8DC7CF;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 40px 20px 20px;
  position: relative;
  text-align: left;
}

.guide-note:before {
  font-size: 24px;
  background-color: #333;
  border-radius: 50%;
  content: "!";
  color: #fff;
  font-weight: 700;
  height: 40px;
  left: 40px;
  line-height: 1.7;
  position: absolute;
  text-align: center;
  top: -20px;
  width: 40px;
}

.guide-note h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.guide-note p {
  color: #00B695;
}


/*
* -------------------------------------------
* 最下部の誘導
* -------------------------------------------
*/
.guide-links {
  background-color: #f4f4f4;
  padding: 50px 0;
}

.guide-link__wrapper {
  display: flex;
  gap: 50px;
  justify-content: center;
  max-width: 1000px;
  margin: 30px auto;
}

.guide-link__ttl {
  letter-spacing: 0.3em;
}

.guide-link__ttl br {
  display: none;
}

.guide-link {
  font-size: 24px;
  border: 4px solid #FFF;
  font-weight: 700;
  padding: 30px;
}

.guide-link span {
  font-size: 16px;
  color: #000 !important;
  display: block;
  margin-bottom: 20px;
}


/*
* -------------------------------------------
* レスポンシブ
* -------------------------------------------
*/
@media only screen and (max-width: 990px) {
  .guide-header__wrapper h3 span {
    font-size: 30px;
  }
}

@media only screen and (max-width: 760px) {
  .guide-header__wrapper h2 {
    font-size: 40px;
  }
  .guide-header__wrapper h3 span {
    font-size: 28px;
  }
  .guide-header__wrapper h3 span br {
    display: block;
  }
  .guide-header__wrapper,
  .guide-item__wrapper,
  .guide-cmenu {
    padding: 0 2%;
  }
  .guide-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-link__wrapper {
    flex-direction: column;
    padding: 0 5%;
  }
  .guide-link__wrapper a {
    width: 100%;
  }
  .guide-link__ttl {
    line-height: 1.8;
  }
  .guide-link__ttl br {
    display: block;
  }
}

@media only screen and (max-width: 480px) {
  .guide-items {
    grid-template-columns: 1fr;
  }
}