@charset "utf-8";
.company-profaile,
.history  {
  background: linear-gradient(to bottom, #ddf1ff 0%, #ffffff 30%);
}

.history {
  border-top: solid .1rem #767171;
}


.company-profaile .inner,
.history .inner {
  max-width: 120rem;
  width: 95%;
  margin: auto;
  padding: 10rem 0 7rem;
}

.company-img {
  margin-top: 10rem;
  width: 100%;
  aspect-ratio: 16 / 7;
}

.company-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-profaile .table-inner {
  padding: 13% 0 3em;
  width: 100%;
  max-width: 100rem;
  margin: auto;
}

.company-profaile .terms-table {
  background: #fff;
  border-collapse: collapse;
  border: 0.1rem solid #ccc;
  border-width: 0.1rem 0;  
}

.company-profaile .terms-table tr {
  border-bottom: 0.1rem dotted #999;   
}

.company-profaile .terms-table th {
  padding: 1em;
  width: 36%;
  font-weight: 400;
  text-align: left;
  background: #e9e9e9;  
}

.company-profaile .terms-table td {
  padding: 1em;
  width: 64%;
  text-align: left;
  color: #333; 
}

.company-profaile .terms-table .bill .nowrap {
  white-space: nowrap; 
}

.company-profaile .terms-pay-dl {
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;   
}

.company-profaile .terms-pay-dl dt {
  width: 8.5em;  
}

.company-profaile .terms-pay-dl dd {
  width: calc(100% - 8.5em - 1rem);  
}

.terms-table ul {
  list-style: disc;
  padding-left: 1.5em;  
}

/* ========== テーブル ========== */
.history-table-inner {
  max-width: 80rem;
  margin: 10rem auto 0;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.history-table tr {
  border: none;
}

.history-table th {
  width: 30%;
  padding: 2em 3em;
  text-align: center;
  font-weight: 400;
  font-size: 1.5rem;
  color: #333;
  background: #f0f0f0;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  vertical-align: middle;
  border: none;
}

.history-table td {
  width: 70%;
  padding: 2em 3em;
  text-align: left;
  font-size: 1.5rem;
  color: #333;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
  vertical-align: middle;
  background: transparent;
  border: none;
}

.history-table {
  border-spacing: 0 1.5rem;
  border-collapse: separate;
}


@media screen and (max-width: 900px) {
.company-img {
  margin-top: 7%;  
}

.history h2 {
  font-size: 4rem;
}

.history h2 span {
  font-size: 1.8rem;
  margin-top: 1.5rem;
}


.history-table th {
  padding: 1.5em 2em;
  font-size: 1.4rem;
}

.history-table td {
  padding: 1.5em 2em;
  font-size: 1.4rem;
}

.history-table-inner {
  margin: 4rem auto 0; 
}
}

@media screen and (max-width: 640px) {
.company-profaile .inner,
.history .inner  {
  padding: 8% 0 7rem;
}

.company-profaile .terms-table tr {
  border: none;
}

.company-profaile .terms-table {
  width: 100%;
}

.company-profaile .terms-table th,
.company-profaile .terms-table td {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.4rem;
}

.company-profaile .terms-pay-dl {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.company-profaile .terms-pay-dl dt {
  width: 100%;
  font-weight: 700;
}

.company-profaile .terms-pay-dl dd {
  width: 100%;
  padding-left: 1em;
}

.company-profaile .terms-table th {
  padding: 0.8em 1rem;
}
.company-profaile .terms-table td {
  padding: 0.8em 1rem 2rem;
}

.history-table th,
.history-table td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.history-table th {
  padding: 1em 1.5rem;
  text-align: left;
}

.history-table td {
  padding: 1em 1.5rem;
}

.history-table tr {
  border-bottom: 1px solid #ddd;
}
}