@charset "utf-8";

/*section {
  PC
  width: 1000px;
  height: 670px; 
  SP
  width: 335px; 
}*/

/* bg */
.bg {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* font */
main h2 {
  margin: 0 auto 5%;
  padding: 7%;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-right: 1px solid #C69C6D;
  border-left: 1px solid #C69C6D;
  font-size: 2rem;
  color: #4d4d4d;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

main h2 span {
  font-size: 2.4rem;
  color: #C69C6D;
}

main h2::before,
main h2::after {
  content: "";
  width: 30px;
  height: 30px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  background-image: linear-gradient(-45deg, #c69c6d 25%, transparent 25%, transparent 75%, #c69c6d 75%),
    linear-gradient(-45deg, #c69c6d 25%, transparent 25%, transparent 75%, #c69c6d 75%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

main h2::after {
  top: initial;
  right: inherit;
  bottom: 0;
  left: 0;
}

main h3 {
  font-size: 2rem;
  line-height: 2;
  border-bottom: 1px solid #C69C6D;
}

main p {
  width: 94%;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 auto;
}


main dt {
  font-size: 1.6rem;
  line-height: 1.5;
}

main dd {
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0 0 0 1em;
}

/* 1~3 */
section {
  width: min(100%, 1200px);
  margin: 10% auto;
  padding: 0 5%;
}

/* 1~3-1,2 */
.about__item {
  width: min(100%, 400px);
  background-color: rgba(255, 255, 255, .5);
  padding: 20px;
  margin: 0 auto 25px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

figure {
  width: min(100%, 360px);

  img {
    width: 100%;
  }
}

@media screen and (min-width : 768px) {
  section {
    display: flex;
    justify-content: left;
    align-items: baseline;
    gap: 1em;
  }

  section:nth-of-type(2) {
    justify-content: right;
  }

  #about__2 {
    flex-direction: row-reverse;
  }

  .about__textarea {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    margin: auto 0 0 0;
  }

  .about__item {
    width: 400px;
  }

  main {
    h2 {
      margin: 0;
      padding: 2%;
      font-size: 2rem;
      line-height: 2;

      span {
        font-size: 2.8rem;

      }

      p,
      dl {
        height: 120px;
      }
    }
  }
}