@charset "UTF-8";
/*------------------------------------------------------------------------
// for Company Information
  ├ p-greeting
  ├ p-companyArea
  ├ p-profile
  └ p-history
------------------------------------------------------------------------*/
/* ごあいさつ
--------------------------------------------*/
.p-greeting {
  padding-top: 20px;
  padding-bottom: 19.84375vw;
  padding-bottom: clamp(75px, 19.84375vw, 130px);
}

/*社長近影*/
.p-greeting__ph img {
  width: 100%;
  height: 62.34375vw;
  max-height: 480px;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
  font-family: 'object-fit: cover';
}

/*ご挨拶文*/
.p-greeting__msg {
  max-width: 769px;
  margin: auto;
  line-height: 2;
}

.p-greeting__msg p {
  margin-top: 2em;
  font-size: 16px;
  font-size: 1.6rem;
}

@media screen and (min-width: 768px), print {
  .p-greeting__msg p {
    font-size: 18px;
    font-size: 1.8rem;
  }
}

/*署名*/
.p-greeing__sign {
  text-align: right;
}

.p-greeing__sign .sign {
  display: inline-block;
  width: 88px;
  height: 20px;
  margin-left: 1em;
}

@media screen and (min-width: 768px), print {
  .p-greeing__sign .sign {
    width: 130px;
    height: 30px;
  }
}

/* 会社情報エリア
--------------------------------------------*/
.p-companyArea {
  padding-top: 30px;
  padding-bottom: 50px;
  padding-top: clamp(30px, 9.375vw, 60px);
  padding-bottom: clamp(50px, 15.625vw, 100px);
  background: #E9EAF5;
}

/* 会社概要
--------------------------------------------*/
.p-profile {
  padding: 30px 15px;
  background: #ffffff;
  border-radius: 12px;
}

@media screen and (min-width: 768px), print {
  .p-profile {
    padding: 6.25% 8.33% 9.375%;
  }
}

/*社屋写真*/
@media screen and (min-width: 768px), print {
  .p-profile__ph img {
    width: 100%;
    height: 260px;
    -o-object-fit: cover;
       object-fit: cover;
    font-family: 'object-fit: cover';
  }
}

/*概要表*/
@media screen and (max-width: 767px), print {
  .p-profile__table {
    width: 100%;
  }
  .p-profile__table tbody, .p-profile__table tr, .p-profile__table th, .p-profile__table td {
    display: block;
    width: 100%;
  }
  .p-profile__table tr {
    padding: 15px;
    border-bottom: 1px solid #E6E6E6;
  }
  .p-profile__table tr:last-child {
    border-bottom: 0;
  }
  .p-profile__table th {
    color: #493759;
  }
  .p-profile__table td {
    padding-left: 1em;
  }
}

@media screen and (min-width: 768px), print {
  .p-profile__table {
    width: 100%;
    margin-top: 6%;
  }
  .p-profile__table th {
    padding: 30px 10px;
    border-bottom: 2px solid #BEBEBE;
    color: #493759;
  }
  .p-profile__table td {
    padding: 30px 0;
    border-bottom: 2px solid #E6E6E6;
  }
  .p-profile__table tr:last-child th, .p-profile__table tr:last-child td {
    border-bottom: 0;
  }
}

/*地図*/
.p-profile__map {
  position: relative;
  margin-top: 15px;
  padding-top: 71.428%;
}

.p-profile__map iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.p-profile__mapLink {
  margin-top: 10px;
  text-align: right;
}

.p-profile__mapLink a::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url(../img/ico_pin.svg) center center/contain no-repeat;
  vertical-align: middle;
}

@media screen and (min-width: 768px), print {
  .p-profile__map {
    padding-top: 300px;
  }
}

/* 沿革
--------------------------------------------*/
.p-history {
  margin-top: clamp(40px, 12.5vw, 80px);
  padding: 30px 15px;
  background: #ffffff;
  border-radius: 12px;
}

@media screen and (min-width: 768px), print {
  .p-history {
    margin-top: 80px;
    padding: 6.25% 8.33% 9.375%;
  }
}

/*沿革表*/
@media screen and (max-width: 767px), print {
  .p-history__table {
    width: 100%;
  }
  .p-history__table tbody,
  .p-history__table tr, .p-history__table th, .p-history__table td {
    display: block;
    width: 100%;
  }
  .p-history__table th {
    padding: 30px 15px 10px;
    border-bottom: 2px solid #BEBEBE;
    color: #493759;
  }
  .p-history__table th .year {
    font-size: 1.1em;
  }
  .p-history__table th .gengou {
    font-weight: normal;
    font-size: 0.8em;
  }
  .p-history__table td {
    padding: 10px 15px 10px 30px;
    border-bottom: 1px solid #E6E6E6;
    line-height: 1.8;
  }
  .p-history__table dt {
    font-weight: 500;
  }
}

@media screen and (min-width: 768px), print {
  .p-history__table {
    width: 100%;
  }
  .p-history__table th {
    width: 164px;
    padding: 30px 10px;
    border-bottom: 2px solid #BEBEBE;
    color: #493759;
  }
  .p-history__table th .year {
    font-size: 24px;
    font-size: 2.4rem;
  }
  .p-history__table th .gengou {
    display: block;
    font-weight: normal;
    font-size: 14px;
    font-size: 1.4rem;
  }
  .p-history__table td {
    padding: 30px 0;
    border-bottom: 2px solid #E6E6E6;
    line-height: 2;
  }
  .p-history__table td p {
    padding-left: 4em;
  }
  .p-history__table td dl {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .p-history__table td dt {
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    width: 4em;
  }
  .p-history__table td dd {
    width: calc(100% - 4em);
  }
  .p-history__table tr:last-child th, .p-history__table tr:last-child td {
    border-bottom: 0;
  }
}
