@charset "utf-8";
:root {
  --profile-gap : min(10vw,100px);
  --profile-title-w : clamp(200px, 34.483px + 21.552vw, 250px);
  --profile-blue2: #2E8AD6;
}
@media screen and (width <= 768px) {
  :root {
    --profile-gap : 10.41vw;
    --profile-title-w : clamp(200px, 152.290px + 12.723vw, 250px);
  }
}

.company-footer {
  margin-top: 240px;
}
@media screen and (width <= 768px) {
  .company-footer {
    margin-top: 13.02vw;
  }
}

/***** Profile *****/
.profile-overview {
  display: flex;
  gap: var(--profile-gap);
  width: min(100%, 1040px);
  padding: 0 var(--side-padding);
  margin: 0 auto;
}
@media screen and (width <= 768px) {
  .profile-overview {
    flex-flow: column;
  }
}

.profile-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--profile-title-w);
  aspect-ratio: 1;
  height: fit-content;
  border: solid 5px var(--color-main);
  color: var(--color-main);
  text-align: center;
  font-feature-settings:normal;
  & h2 {
    font-size: clamp(24px, -4.444px + 3.704vw, 40px);
    font-weight: 700;
    line-height: 1.2;
  }
  & p {
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: 0;
  }
  &._blue {
    background-color: var(--color-main);
    color: var(--color-white);
  }
}
@media screen and (width <= 768px) {
  .profile-title {
    margin: 0 auto;
    & h2 {
      font-size: clamp(32px, 24.366px + 2.036vw, 40px);
    }
    & p {
      font-size: clamp(12px, 10.092px + 0.509vw, 14px);
    }
  }
}

.profile-overview-list {
  width: calc(100% - var(--profile-title-w) - var(--profile-gap));
  & dl {
    display: flex;
    flex-wrap: wrap;
  }
  & dt {
    width: 11em;
    padding: 8px;
    margin-top: 1em;
    font-weight: 700;
    color: var(--color-main);
    border-bottom: 1px solid #EDEDED;
    &:first-of-type {
      margin-top: 0;
      padding-top: 0;
    }
    &:last-of-type {
      border-bottom: 0;
    }
  }
  & dd {
    width: calc(100% - 11em);
    padding: 8px;
    margin-top: 1em;
    font-weight: 500;
    border-bottom: 1px solid #EDEDED;
    &:first-of-type {
      margin-top: 0;
      padding-top: 0;
    }
    &:last-of-type {
      border-bottom: 0;
    }
  }
}
@media screen and (width <= 768px) {
  .profile-overview-list {
    width: 100%;
    & dt {
      width: 100%;
      padding: 0 8px;
      border-bottom: none;
    }
    & dd {
      width: 100%;
      margin-top: 0;
      padding: 0 8px 1em;
    }
  }
}

.overview-btn {
  margin-top: 80px;
  & .cmn-more {
    & a {
      margin: 0 auto;
    }
  }
}
@media screen and (width <= 768px) {
  .overview-btn {
    margin-top: 7.81vw
  }
}

.profile-history {
  display: flex;
  gap: var(--profile-gap);
  width: min(100%, 1040px);
  padding: 0 var(--side-padding);
  margin: 200px auto 0;
}
@media screen and (width <= 768px) {
  .profile-history {
    flex-flow: column;
    margin-top: 15.62vw;
  }
}

.profile-history-list {
  width: calc(100% - var(--profile-title-w) - var(--profile-gap));
  & dl {
    display: flex;
    flex-wrap: wrap;
  }
  & dt {
    width: 140px;
    padding-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-main);
    & span {
      font-size: 12px;
      font-weight: 500;
    }
  }
  & dd {
    position: relative;
    width: calc(100% - 140px);
    padding: 0 0 20px 20px;
    font-weight: 500;
    min-height: 4em;
    border-left: 1px solid var(--color-main);
    &::before {
      content: "";
      position: absolute;
      left: -7px;
      top: 9px;
      width: 14px;
      aspect-ratio: 1;
      border-radius: 50%;
      background-color: var(--color-main);
    }
  }
}
@media screen and (width <= 768px) {
  .profile-history-list {
    width: 100%;
    & dl {
      display: block;
    }
    & dt {
      position: relative;
      width: 100%;
      padding: 0 0 0 5.2vw;
      font-size: clamp(20px, 14.275px + 1.527vw, 26px);
      border-left: 1px solid var(--color-main);
      & span {
        font-size: clamp(12px, 8.183px + 1.018vw, 16px);
      }
      &::before {
        content: "";
        position: absolute;
        left: -7px;
        top: .6em;
        width: 14px;
        aspect-ratio: 1;
        border-radius: 50%;
        background-color: var(--color-main);
      }
    }
    & dd {
      width: 100%;
      padding: 0 0 5.2vw 5.2vw;
      &::before {
        content: none;
      }
    }
  }
}

.profile-group {
  width: min(100%, 1040px);
  padding: 0 var(--side-padding);
  margin: 200px auto 0;
}
@media screen and (width <= 768px) {
  .profile-group {
    margin-top: 15.62vw;
  }
}

.profile-group-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 25px;
  margin-top: 130px;
}
@media screen and (width <= 768px) {
  .profile-group-list {
    gap: 0;
    margin-top: 16.52vw;
    &:last-of-type {
      margin-top: 10.4vw;
    }
  }
}

.profile-group-item {
  position: relative;
  padding: 20px;
  width: calc((100% - 50px) / 3);
  border: 1px solid #EDEDED;
}
@media screen and (width <= 768px) {
  .profile-group-item {
    padding: 2.6vw;
    width: 50%;
  }
}
@media screen and (width <= 600px) {
  .profile-group-item {
    padding: 5.2vw;
    width: 100%;
  }
}

.profile-group-division {
  position: absolute;
  top: -3em;
  & h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--profile-blue2);
  }
}
@media screen and (width <= 768px) {
  .profile-group-division {
    top: -28px;
    & h3 {
      font-size: 14px
    }
  }
}

.group-item-inner {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
  & h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--profile-blue2);
  }
  & p {
    margin-top: 10px;
    font-size: clamp(12px, 4.889px + 0.926vw, 16px);
    font-weight: 500;
    line-height: 1.8;
  }
}
@media screen and (width <= 768px) {
  .group-item-inner {
    & h3 {
      font-size: clamp(16px, 12.183px + 1.018vw, 20px);
    }
    & p {
      margin-top: 0.5em;
      /* font-size: clamp(12px, 10.092px + 0.509vw, 14px); */
      font-size: clamp(14px, 12.092px + 0.509vw, 16px);
    }
  }
}

.profile-group-item._parent {
  & .profile-group-division {
    & h3 {
      color: var(--color-main);
    }
  }
  & .group-item-inner {
    & h3 {
      color: var(--color-main);
    }
  }
}

.group-item-btn {
  margin-top: 10px;
  & .cmn-more {
    & a {
      padding: 15px 10px;
      margin: 0 auto;
      font-size: clamp(12px, 4.889px + 0.926vw, 16px);
    }
  }
}

.map {
  margin-top: 200px;
}
@media screen and (width <= 768px) {
  .map {
    margin-top: 15.62vw;
  }
}

.map-title {
  color: var(--color-main);
}

.map-content {
  margin-top: 70px;
  padding: 130px var(--side-padding);
  background-color: var(--color-sub);
}
@media screen and (width <= 768px) {
  .map-content {
    margin-top: 5.2vw;
    padding: 5.2vw;
  }
}

.map-container {
  width: min(100%, 1200px);
  padding: 120px clamp(50px, -216.667px + 34.722vw, 200px);
  margin: 0 auto;
  background-color: var(--color-white);
}
@media screen and (width <= 768px) {
  .map-container {
    padding: 5.2vw;
  }
}

.map-frame {
  & iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 6;
  }
}

.map-list {
  margin-top: 50px;
  & dl {
    display: flex;
    flex-wrap: wrap;
  }
  & dt {
    width: 6em;
    margin-top: 25px;
    font-weight: 700;
    color: var(--color-main);
  }
  & dd {
    width: calc(100% - 6em);
    margin-top: 25px;
    font-weight: 500;
  }
}
@media screen and (width <= 768px) {
  .map-list {
    margin-top: 5.2vw;
    /* font-size: clamp(12px, 10.092px + 0.509vw, 14px); */
    font-size: clamp(14px, 12.092px + 0.509vw, 16px);
    & dt {
      width: 5em;
      margin-top: 1em;
    }
    & dd {
      width: calc(100% - 5em);
      margin-top: 1em;
    }
  }
}


/*** philosophy ***/
.company-msg {
  display: flex;
  gap: min(8.87vw, 110px);
  width: min(100%, 1240px);
  padding: 0 var(--side-padding);
  margin: 0 auto;
}
@media screen and (width <= 768px) {
  .company-msg {
    flex-flow: column;
    gap: 7.81vw;
  }
}

.company-msg-title {
  width: 50%;
  color: var(--color-main);
  & h2 {
    font-size: clamp(24px, -4.444px + 3.704vw, 40px);
    font-weight: 700;
    line-height: 1;
  }
  & p {
    margin-top: 10px;
    font-family: var(--font-family-din);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
  }
}
@media screen and (width <= 768px) {
  .company-msg-title {
    width: 100%;
    & h2 {
      font-size: clamp(32px, 24.366px + 2.036vw, 40px);
    }
    & p {
      margin-top: 0.8em;
      font-size: clamp(12px, 10.092px + 0.509vw, 14px);
    }
  }
}

.company-msg-img {
  width: 100%;
  aspect-ratio: 60 / 45;
  margin-top: 45px;
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media screen and (width <= 768px) {
  .company-msg-img {
    margin-top: 5.85vw;
  }
}

.company-msg-text {
  width: calc(50% - min(8.87vw, 110px));
  margin-top: min(90px, 7vw);
  font-weight: 500;
}
@media screen and (width <= 768px) {
  .company-msg-text {
    width: 100%;
    margin-top: 0;
  }
}

.company-msg-sig {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 25px;
  align-items: baseline;
  & img {
    width: 150px;
  }
}
@media screen and (width <= 768px) {
  .company-msg-sig {
    margin-top: 5.85vw;
    justify-content: flex-end;
    & img {
      width: clamp(130px, -13.130px + 38.168vw, 280px);
    }
  }
}

.company-vision {
  margin-top: 240px;
}
@media screen and (width <= 768px) {
  .company-vision {
    margin-top: 26.04vw;
  }
}

.company-vision-title {
  color: var(--color-main);
}

.company-vision-copy {
  margin-top: 80px;
  font-size: clamp(24px, -4.444px + 3.704vw, 40px);
  font-weight: 800;
  text-align: center;
}
@media screen and (width <= 768px) {
  .company-vision-copy {
    margin-top: 6.51vw;
    font-size: clamp(22px, 18.183px + 1.018vw, 26px);
  }
}

.company-vision-img {
  margin-top: 80px;
  & img {
    width: 100%;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--animation-time) ease-out;
  }
  &.is-view img {
    transform: translateY(0);
    opacity: 1;
  }
}
@media screen and (width <= 768px) {
  .company-vision-img {
    margin-top: 6.51vw;
  }
}

.company-vision-text {
  margin-top: 80px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
@media screen and (width <= 768px) {
  .company-vision-text {
    margin-top: 6.51vw;
    padding: 0 var(--side-padding);
    font-size: clamp(16px, 14.092px + 0.509vw, 18px);
    text-align: left;
  }
}

.company-policy {
  margin-top: 240px;
}
@media screen and (width <= 768px) {
  .company-policy {
    margin-top: 26.04vw;
    padding: 0 var(--side-padding);
  }
}

.company-policy-title {
  color: var(--color-main);
}

.company-policy-text {
  width: min(625px, 100%);
  margin: 100px auto 0;
  & p {
    font-size:clamp(24px, -4.444px + 3.704vw, 40px);
    font-weight: 900;
    text-align: center;
  }
  & ol {
    list-style: decimal;
    & li {
      font-size: clamp(16px, 1.778px + 1.852vw, 24px);
      font-weight: 900;
      padding: 40px 0;
      border-bottom: 2px solid var(--color-sub);
      list-style-position: inside;
    }
    & li::marker {
      font-family: var(--font-family-din);
      font-size: clamp(30px, -5.556px + 4.63vw, 50px);
      font-weight: 700;
      color: var(--color-main);
    }
    & li:last-of-type {
      border-bottom: none;
    }
  }
}
@media screen and (width <= 768px) {
  .company-policy-text {
    margin: 6.51vw auto 0;
    & p {
      font-size: clamp(18px, 14.183px + 1.018vw, 22px);
    }
    & ol {
      & li {
        font-size: clamp(14px, 12.092px + 0.509vw, 16px);
        padding: 1em 0;
      }
      & li::marker {
        font-size: clamp(18px, 14.183px + 1.018vw, 22px);
      }
    }
  }
}


