/* //////////////////////////////// 
スマホ
//////////////////////////////////*/
/* -------------------------------- 
会社名の由来
-----------------------------------*/
.source {
  width: 100%;
  height: fit-content;
  background: var(--primary-color);
  border-radius: 35px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
}
.source::after {
  content: "";
  position: absolute;
  bottom: -190px;
  left: 50%;
  transform: translateX(-50%) translateY(-165px) rotate(-30deg);
  z-index: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 40px solid var(--primary-color);
  border-bottom: 0;
}
.source__items {
  width: 100%;
  background: var(--base-background-color);
  margin: 0 auto;
  border-radius: 20px;
  padding: 2rem 1rem;
}
.source__items h4 {
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.source__items h4 span {
  font-size: 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}
.source__items h4,
.source__items h4 span {
  color: var(--primary-color);
}
.source__items-symbol {
  width: 50px;
}
.source__company-name {
  margin-top: 2rem;
  text-align: center;
}
.source__company-name-logo {
  width: 35%;
  margin: 0 auto;
}
.source__company-name-text {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 0;
}
.source__company-name-text span {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

/* -------------------------------- 
企業理念
-----------------------------------*/
.mvv {
  width: 100%;
}
.mvv__items {
  text-align: center;
  padding: 30px 0 50px;
  position: sticky;
  top: 20px;
}
.mvv__items h4 {
  font-size: 4.25rem;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  color: var(--base-background-color);
  -webkit-text-stroke: 3px var(--primary-color);
  paint-order: stroke;
  line-height: 0.9;
}
.mvv__items h5 {
  font-size: 1.2rem;
  font-weight: bold;
  padding-bottom: 1rem;
}
.mvv__items p {
  font-weight: 600;
}
.mvv__items:first-of-type {
  padding-top: 10px;
  background: url(../img/about/mission_bg.png) 120% 10%;
  background-size: 90%;
  background-repeat: no-repeat;
}
.mvv__items:nth-of-type(2) {
  background-color: var(--background-color);
  top: 6rem;
}
.mvv__items:nth-of-type(2) h4 {
  color: var(--background-color);
}
.mvv__items:last-of-type {
  background: var(--primary-color) url(../img/about/value_bg.png);
  background-size: 150%;
  background-position: 50% 250px;
  background-repeat: no-repeat;
}
.mvv__items:last-of-type h4 {
  color: var(--primary-color);
  -webkit-text-stroke: 3px var(--base-background-color);
  paint-order: stroke;
}
.mvv__items:last-of-type h5 {
  color: var(--background-color);
}
.mvv__items:last-of-type ul {
  width: fit-content;
  margin: 0 auto;
}
.mvv__items:last-of-type ul li {
  font-weight: bold;
  color: var(--background-color);
  text-align: start;
  margin: 0.5rem 0 1.5rem;
}
.mvv__items:last-of-type ul li span {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.mvv__items h4,
.mvv__items-details,
.mvv__items-title,
.mvv__items ul li {
  opacity: 0;
}

/* -------------------------------- 
アクセス
-----------------------------------*/
.access {
  width: 100%;
  background: var(--background-color);
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.access__items {
  width: 100%;
}
.access__items address {
  font-style: normal;
}
.access__items ul {
  margin: 1rem 0 1rem;
}
.access__items .btn {
  width: fit-content;
  margin: 0 auto;
}
.access__items .btn a {
  width: 200px;
}

/* //////////////////////////////// 
タブレット
//////////////////////////////////*/
@media screen and (width>=550px) {
  /* -------------------------------- 
会社名の由来
-----------------------------------*/
  .source__wrap {
    width: 90%;
    max-width: 800px;
  }
  .source {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .source__items {
    width: 45%;
    max-width: 350px;
    margin: 0;
  }
  .source__items-symbol {
    width: 7%;
  }
  .source__company-name {
    margin-top: 1rem;
    margin-bottom: 3rem;
  }
  .source__company-name-logo {
    max-width: 170px;
  }

  /* -------------------------------- 
企業理念
-----------------------------------*/
  .mvv__items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
    padding: 50px calc((100% - 700px) / 2) 70px;
  }
  .mvv__items:first-of-type {
    background-size: 70%;
    background-position: 110% 20%;
  }
  .mvv__items:nth-of-type(2) {
    flex-direction: row-reverse;
    top: 7rem;
  }
  .mvv__items:last-of-type {
    background-size: 130%;
    background-position: 50% 200px;
    align-items: start;
  }
  .mvv__items:last-of-type ul {
    margin: 0;
  }
  /* -------------------------------- 
アクセス
-----------------------------------*/
  .access {
    min-width: 550px;
    padding: 1.5rem 1.5rem 2rem;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .access__items {
    width: 45%;
  }
  .access__items .btn {
    margin: 0;
  }
  .access iframe {
    width: 45%;
    height: 250px;
  }
}

/* //////////////////////////////// 
PC
//////////////////////////////////*/
@media screen and (width>=950px) {
  /* -------------------------------- 
企業理念
-----------------------------------*/
  .mvv__items {
    padding: 80px calc((100% - 700px) / 2);
    justify-content: space-between;
  }
  .mvv__items:first-of-type {
    background-size: 60%;
    background-position: 100% 25%;
    top: 120px;
  }
  .mvv__items:nth-of-type(2) {
    top: 220px;
  }
  /* -------------------------------- 
アクセス
-----------------------------------*/
  .access {
    padding-top: 2rem;
  }
  .access__items {
    width: 40%;
  }
  .access iframe {
    width: 50%;
    height: 260px;
  }
}
