* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----------メイン---------- */
a {
  text-decoration: none;
}
.main-content {
  position: relative;
  padding: 50px 15%;
  display: flex;
  z-index: 1;
}

@media screen and (max-width: 840px) {
  .main-content {
    padding: 50px 5%;
  }
}

.top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  opacity: 0.3;
}
.top-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-cont {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5%;
  width: 100%;
  padding: 0 20px;
  z-index: 1;
}
.image-area img {
  height: auto;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
}

.photo-stock,
.photo-pub-dou {
  width: 47.5%;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.stock-area,
.pub-area {
  position: relative;
  border-radius: 8px;
  background-color: #fff;
}

/* ------コンテンツタイトル------ */
.content-title {
  position: absolute;
  top: -15px;
  padding: 0 10px;
  font-size: 27px;
  font-weight: bold;
  margin: 0;
  border-bottom: none;
  display: block;
}

.content-title span {
  font-size: 20px;
  color: #111111;
}

.content-title .title-ic {
  margin: 0 10px 0;
  padding-right: 0;
}

/* ------ストック枠------ */
.stock-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid #109f98;
  border-left: 2px solid #109f98;
}
.stock-area::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid #109f98;
  border-right: 2px solid #109f98;
}
.stock-area .corner-rt,
.stock-area .corner-lb {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  display: block;
}
.stock-area .corner-rt {
  top: 0;
  right: 0;
  border-top: 2px solid #109f98;
  border-right: 2px solid #109f98;
}
.stock-area .corner-lb {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #109f98;
  border-left: 2px solid #109f98;
}

/* -----画像エリア------ */
.photo-stock .image-area {
  position: relative;
  width: 90%;
  height: 12vw;
  margin: 20px auto;
  overflow: hidden;
}
.photo-stock .image-area img {
  position: absolute;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.photo-stock .image-area img.item01 {
  width: 43%;
  top: 5%;
  left: 5%;
  transform: rotate(-8deg);
  z-index: 5;
}
.photo-stock .image-area img.item02 {
  width: 30%;
  top: 10%;
  right: 5%;
  transform: rotate(10deg);
  z-index: 3;
}

.photo-stock .image-area img.item03 {
  width: 44%;
  bottom: 10%;
  right: 15%;
  left: auto;
  transform: rotate(6deg);
  z-index: 2;
}
@media (max-width: 840px) {
  .photo-stock .image-area {
    transform: scale(0.8);
  }
  .photo-stock .image-area {
    height: 30vw;
  }
  .photo-stock .image-area img.item01 {
    width: 50%;
    left: 0;
  }
  .photo-stock .image-area img.item02 {
    width: 35%;
    top: 10%;
    right: 5%;
  }
  .photo-stock .image-area img.item03 {
    width: 55%;
    bottom: 10%;
    right: 15%;
  }
}

.stock-area .icon {
  width: 25%;
}
@media screen and (max-width: 840px) {
  .stock-area .icon {
    width: 35%;
  }
}

/* ------パブ堂枠------ */
.pub-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid #09860d;
  border-left: 2px solid #09860d;
}
.pub-area::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid #09860d;
  border-right: 2px solid #09860d;
}
.pub-area .corner-rt,
.pub-area .corner-lb {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  display: block;
}
.pub-area .corner-rt {
  top: 0;
  right: 0;
  border-top: 2px solid #09860d;
  border-right: 2px solid #09860d;
}
.pub-area .corner-lb {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #09860d;
  border-left: 2px solid #09860d;
}

/* -----画像エリア------ */
.photo-pub-dou .image-area {
  position: relative;
  width: 90%;
  height: 12vw;
  margin: 20px auto;
  overflow: hidden;
}
.photo-pub-dou .image-area img {
  position: absolute;
  width: 30%;
  transition: all 0.3s ease;
}

.photo-pub-dou .image-area img.item01 {
  width: 25%;
  top: 10%;
  left: 12%;
  transform: rotate(-15deg);
  z-index: 1;
}
.photo-pub-dou .image-area img.item02 {
  width: 26%;
  top: 0;
  left: 35%;
  transform: rotate(0deg);
  z-index: 3;
}
.photo-pub-dou .image-area img.item03 {
  width: 25%;
  top: 10%;
  right: 15%;
  transform: rotate(15deg);
  z-index: 5;
}

.pub-area .icon {
  width: 20%;
}
@media screen and (max-width: 840px) {
  .pub-area .icon {
    width: 30%;
  }
  .photo-pub-dou .image-area {
    height: 25vw;
  }
}

/* ------各タイトル------ */
.photo-stock-title {
  color: #109f98;
}
.photo-pub-title {
  color: #09860d;
}
.stock-img,
.pub-img {
  margin-top: 30px;
  width: 100%;
}
.btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
}
.btn-s {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #109f98;
  border-radius: 999px;
  width: 100%;
  max-width: 300px;
  text-decoration: none;
  box-sizing: border-box;
  overflow: visible;
}
.btn-p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #09860d;
  border-radius: 999px;
  width: 100%;
  max-width: 300px;
  text-decoration: none;
  box-sizing: border-box;
  overflow: visible;
}

.btn-s:hover {
  background-color: #109f98;
}

.btn-s:hover .btn-text-s,
.btn-p:hover .btn-text-p {
  color: #fff;
}

.btn-p:hover {
  background-color: #09860d;
}

.con-title,
.lsit-link,
.list-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  z-index: 10;
}

/* ボタン名称 */
.btn-text-s {
  color: #109f98;
  font-weight: bold;
  white-space: nowrap;
  flex-grow: 1;
  font-size: 0.8vw;
}
.btn-icon-s {
  background-color: #109f98;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
  font-size: 18px;
  box-shadow: 0 0 0 2px #109f98;
}

.btn-s:hover .btn-icon-s {
  background-color: #fff;
  color: #109f98;
}

.btn-p:hover .btn-icon-p {
  background-color: #fff;
  color: #09860d;
}

.btn-text-p {
  color: #09860d;
  font-weight: bold;
  white-space: nowrap;
  flex-grow: 1;
  text-align: center;
  font-size: 0.8vw;
}
.btn-icon-p {
  background-color: #09860d;
  right: -20px;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
  font-size: 18px;
  box-shadow: 0 0 0 2px #09860d;
}

@media screen and (max-width: 840px) {
  .site-cont {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  .photo-stock,
  .photo-pub-dou {
    width: 100%;
    margin-bottom: 2rem;
  }
  .stock-img {
    transform: scale(0.9);
  }
  .btn-text-s,
  .btn-text-p {
    font-size: 10px;
  }
  .btn-icon-s,
  .btn-icon-p {
    width: 30px;
    height: 30px;
  }
}

/* ----------ガイド---------- */
.guide {
  padding: 50px 10%;
  background-color: #f8f9fc;
}
.guide-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-bottom: 10px;
}
.guide-title img {
  display: block;
  height: 20px;
  flex-shrink: 0;
  background-color: black;
  border-radius: 50%;
}
.guide-title h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}
/* -------ライン------ */
.pipe-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pipe {
  height: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.line {
  width: 50%;
  border: solid 1px #555555;
  border-left: none;
  border-top: none;
  border-bottom: none;
  z-index: 50;
}
.grey {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fc;
  width: 20px;
  height: 50px;
  z-index: 49;
}
.base-area {
  border: solid 1px #555555;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
@media screen and (max-width: 840px) {
  .guide-title img {
    display: block;
    height: 20px;
    flex-shrink: 0;
    background-color: black;
    border-radius: 50%;
    width: auto;
  }
}

.cont-title {
  border: solid 3px #629649;
  border-right: none;
  border-top: none;
  border-bottom: none;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 5px;
  padding-left: 10px;
  color: #111111;
}
@media screen and (max-width: 840px) {
  .cont-title {
    font-size: 16px;
    color: #111111;
  }
}
.guide-cont {
  border: solid 1px #d5daed;
  background-color: white;
  padding: 20px;
  margin: 30px 0;
}
.guide-cont p {
  color: #111111;
}
@media screen and (max-width: 840px) {
  .guide-cont {
    font-size: 12px;
  }
  .guide-cont p {
    color: #111111;
  }
}
.guide-cont ol,
.guide-cont ul {
  padding: 0 20px;
}
.cont-area {
  margin-top: 50px;
}
.qa {
  margin: 20px 30px;
}
.answer {
  color: black;
}

.content-title {
  position: relative;
  display: flex;
  align-items: center;
}
