@charset "utf-8";

.section-top__image {
  height: 70svh;
  width: 100%;
  background-image: url(../images/about_top.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.section-top__image-message span {
  color: #1d8d60;
}

.section-top__image-message p {
  font-weight: 500;
  line-height: 5.4rem;
  text-align: center;
  font-size: 2.8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* VALUES */

.section__ourvalues {
  padding: 5.4rem 4% 9.6rem;
  max-width: 108rem;
  margin: 0 auto;
}

.section__ourvalues h2 {
  text-align: center;
  padding-bottom: 25px;
  font-size: 4rem;
  position: relative;
  font-weight: 500;
}

.section__ourvalues h2::before {
  content: "";
  width: 150px;
  height: 3px;
  display: inline-block;
  background-color: red;
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translate(-50%);
}

.ourvalues {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  margin-top: 5rem;
}

.ourvalues img {
  width: 100%;
  border-radius: 1rem;
}

.margin-t-b {
  margin: 9.6rem 0;
}

.ourvalues h3 {
  text-align: left;
  font-size: 2.5rem;
  padding-bottom: 4rem;
  color: #1d8d60;
  font-weight: 500;
}

.ourvalues p {
  text-align: left;
  font-size: 1.6rem;
  line-height: 40px;
}

.section__ourvalues img {
  width: 100%;
  border-radius: 1rem;
}
∫

/* MISSION */

.section__mission {
  width: 100%;
  background-color: #fff6e9;
}

.section__mission h2 {
  font-size: 4rem;
  border-bottom: 3px solid red;
  width: 150px;
  display: inline-block;
  padding-bottom: 2rem;
  font-weight: 500;
}

.section__mission-contents {
  padding: 5.4rem 0 9.6rem;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.section__mission-mainphoto {
  width: 100%;
  height: 440px;
  margin: 4rem 0 auto;
}

.section__mission h3 {
  color: #1d8d60;
  margin: 5rem 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

.section__mission-maintext {
  font-size: 1.6rem;
  line-height: 4.8rem;
  text-align: left;
}

.section__faq {
  padding: 5.4rem 0 9.6rem;
  max-width: 108rem;
  margin: 0 auto;
}

.section__faq h2 {
  text-align: center;
  padding-bottom: 2.5rem;
  font-size: 4rem;
  position: relative;
  margin-bottom: 60px;
  font-weight: 500;
}

.section__faq h2::before {
  content: "";
  width: 150px;
  height: 3px;
  display: inline-block;
  background-color: red;
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translate(-50%);
}
.accordion-area {
  list-style: none;
  max-width: 90rem;
  margin: 0 auto;
}

.accordion-area li {
  margin: 10px 0;
}

.accordion-area .outsidebox {
  border: 1px solid #ccc;
  margin: 0 auto;
}

/*アコーディオンタイトル*/
.title {
  position: relative; /*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  padding: 3% 3% 3% 50px;
  transition: all 0.5s ease;
  color: #1d8d60;
  font-family: Yu Gothic, 遊ゴシック;
}

/*アイコンの＋と×*/
.title::before,
.title::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  background-color: #333;
  color: #1d8d60;
}
.title::before {
  top: 48%;
  right: 30px;
  transform: rotate(0deg);
}
.title::after {
  top: 48%;
  right: 30px;
  transform: rotate(90deg);
}
/*　closeというクラスがついたら形状変化　*/
.title.close::before {
  transform: rotate(45deg);
}

.title.close::after {
  transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none; /*はじめは非表示*/
  background: #fff6e9;
  margin: 0 3% 3% 3%;
  padding: 3%;
}
