@charset "UTF-8";

html {
  font-size: .625vw;
}

body {
  font-family: "M PLUS 1p","Noto SansJP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #390800;
}

h1 {
  font-size: 28px
}

h2 {
  font-size: 32px;
  font-weight: 600;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ヘッダー */
.title_wrapper {
  background-color: #fccd1c;
  width: 100%;
}

.title_wrapper h1 {
  color: #ffffff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem 5rem;
}

/* メインビジュアル */
.mv {
  position: relative;
}

.mv_img {
  height: 100vh;
}

.mv_txt {
  position: absolute;
  top: 35%;
  right: 36%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: #ffffff;
  font-size: 36px;
  letter-spacing: .5rem;
  line-height: 2;
}

.mv_txt span {
  display: block;
}

/* プロフィール */
.profile {
  max-width: 1200px;
  margin: 10rem auto 0;
}

.profile_wrapper {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

.profile_img {
  width: 30%;
  align-self: center;
}

.profile_txt {
  width: 60%;
}

.profile_txt h2 {
  margin-bottom: 2rem;
}

.profile_txt p:nth-child(2) {
  margin-bottom: 2rem;
}

/* 私たちにできること */
.task {
  max-width: 1200px;
  margin: 10rem auto 0;
}

.task_wrapper h2 {
  text-align: center;
}

.task_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7rem;
  padding: 50px 0;
  margin: 0 auto;
}

.task_list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-color: aqua;
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

/* 円をレスポンシブに対応させる */
@media screen and (max-width: 900px){
  .task_list li {
    width: 20vw;
    height: 20vw;
  }
}

.task_list li:nth-child(1) {
  background-color: #fcb21c;
}

.task_list li:nth-child(2) {
  background-color: #fc941c;
}

.task_list li:nth-child(3) {
  background-color: #fc6c1c;
}

.task_list li:nth-child(4) {
  background-color: #ff461c;
}

.task_list img {
  width: 48%;
}

.task_list h3 {
  display: inline-block;
  color: #ffffff;
}

/* 相談お問い合わせ */
.discussion {
  color: #ffffff;
  max-width: 980px;
  margin: 10rem auto 0;
  padding: 0 5rem;
}

.discussion_wrapper {
  background-color: #fccd1c;
  border-radius: 4rem;
  padding: 4rem 0;
}

.discussion_txt {
  font-size: 26px;
  text-align: center;
  padding-bottom: 4rem;
  margin: 0 auto;
}

.accent_free {
  font-size: 32px;
  font-weight: 600;
  color: #ff461c;
}

.contact_list {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.contact_list span {
  font-size: 22px;
}

.mail_contact,
.line_contact {
  display: flex;
  align-items: center;
}

.mail_contact:hover,
.line_contact:hover {
  text-decoration: underline;
}

.mail_contact::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 2rem;
  background-image: url(/img/contact_mail.png);
  background-size: 50px 50px;
  background-position: center;
  background-repeat: no-repeat;
}

.line_contact::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 2rem;
  background-image: url(/img/contact_line.png);
  background-size: 50px 50px;
  background-position: center;
  background-repeat: no-repeat;
}

.SPonly {
  display: none;
}

/* フッター */
.info {
  color: #ffffff;
  background-color: #fccd1c;
}

.info_wrapper {
  display: flex;
  justify-content: space-between;
  margin: 10rem auto 0;
  width: 100%;
}

.access {
  width: 50%;
  padding: 5rem;
}

.access h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: .2rem;
}

.ruby {
  font-size: 15px;
  letter-spacing: .2rem;
}

.access dl {
  font-size: 18px;
  line-height: 2;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 4rem;
}

.access dt {
  width: 20%;
}

.access dd {
  width: 80%;
}

.access_map {
  width: 50%;
  height: auto;
}

/* SP */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 26px;
  }

  /* メインビジュアル */
  .mv_txt {
    font-size: 32px;
    right: 13%;
  }

  /* プロフィール */
  .profile {
    margin-top: 100px;
  }

  .profile_wrapper {
    flex-direction: column;
    align-items: center;
    gap: 35px;
    width: 90%;
  }

  .profile_img {
    width: 80%;
  }

  .profile_txt {
    width: 100%;
  }

  .profile_txt h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .profile_txt p:nth-child(2) {
    margin-bottom: 15px;
  }

  /* 私たちにできること */
  .task {
    margin-top: 100px;
  }

  .task_list {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .task_list li {
    width: 50vw;
    height: 50vw;
  }

  /* 相談お問い合わせ */
  .discussion {
    margin-top: 100px;
  }

  .discussion_wrapper {
    padding: 25px 0;
  }

  .discussion_wrapper p {
    font-size: 22px;
    line-height: 1.5;
    padding-bottom: 40px;
  }

  .contact_list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact_list span {
    font-size: 20px;
  }

  .accent_free {
    font-size: 26px;
  }

  .mail_contact::before,
  .line_contact::before {
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    margin-right: 12px;
  }

  .SPonly {
    display: inline-block;
  }

  /* フッター */
  .info {
    margin-top: 150px;
  }

  .info_wrapper {
    flex-direction: column-reverse;
  }

  .access,
  .access_map {
    width: 100%;
  }

  .access {
    padding: 10rem;
  }

  .access h2 {
    font-size: 22px;
  }

  .ruby {
    font-size: 12px;
  }

  .access dl {
    font-size: 15px;
  }

  .access_map {
    height: 60vw;
  }
}

