body {
  color: #333;
  font-family: 'Noto Sans JP','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ','Meiryo',sans-serif;
}
@media only screen and (min-width: 769px) {
  body {
    font-size: 16px;
  }
}
@media only screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

/*----------------------------------------
Utility
----------------------------------------*/
.u-textSmall {
  font-size: .8rem;
}

.u-pb0 {
  padding-bottom: 0 !important;
}

.u-mt20 {
  margin-top: 20px;
}

@media only screen and (min-width: 769px) {
  .u-textRight {
    text-align: right !important;
  }
}


/*----------------------------------------
Layout secCont
----------------------------------------*/
.l-secCont {
  padding: 40px 0;
}

/*----------------------------------------
Layout inner
----------------------------------------*/
.l-inner {
  width: 100%;
  padding: 0 5%;
  margin: 0 auto;
}

/*----------------------------------------
Layout header
----------------------------------------*/
.l-header__inner {
  width: 100%;
  padding: 0 3%;
  margin: 0 auto;
}

.l-header__cont {
  border-bottom: 3px solid #ffe666;
}

@media only screen and (min-width: 769px) {
  .l-header__cont {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 2rem 1rem;
  }
}

@media only screen and (max-width: 768px) {
  .l-header__cont {
    display: block;
    text-align: center;
    padding: 1rem 0;
  }
}

@media only screen and (min-width: 769px) {
  .l-header__title {
    padding: 0 0 .5rem 3rem;
  }
}

@media only screen and (max-width: 768px) {
  .l-header__title {
    margin-top: 10px;
  }
}

/*----------------------------------------
Component title
----------------------------------------*/
.c-title {
  text-align: center;
  padding-bottom: 20px;
}

/*----------------------------------------
Component button
----------------------------------------*/
.c-button {
  text-align: center;
  margin-top: 40px;
}

.c-button button {
  min-width: 300px;
  padding: 10px;
  background-color: #f6952c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.c-button button:hover {
  background-color: #E0780A;
}

/*----------------------------------------
Component formGroup
----------------------------------------*/
.c-formGroup {
  margin-top: 20px;
}

.c-formGroup input,
.c-formGroup select,
.c-formGroup textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.c-formGroup span {
  font-size: .8em;
}

.c-formGroup {
  position: relative;
}

.c-formGroup select {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}

/*----------------------------------------
Component table
----------------------------------------*/
table, tr, th, td {
  border-collapse: collapse;
}

.c-table {
  width: 100%;
}

.c-table thead tr th {
  font-weight: normal;
}

.c-table td {
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}


.c-table th,
.c-table td {
  border: solid 1px #DDD;
  padding: .5em 1em;
  width: auto;
}

.c-table thead tr {
  background-color: #f5f5f5;
}

@media screen and (min-width: 769px) {
  .c-table td:nth-child(1) {
    width: 5%;
  }
  .c-table td:nth-child(2) {
    width: 20%;
  }
  .c-table td:nth-child(3) {
    width: 9%;
    text-align: center;
  }
  .c-table td:nth-child(4) {
    width: 24%;
  }
  .c-table td:nth-child(5) {
    width: 8%;
  }
  .c-table tr td:nth-child(6) {
    width: 24%;
  }
  .c-table tr td:nth-child(7) {
    width: 10%;
  }
}

@media screen and (max-width: 768px) {
  .table-scroll {
    overflow: scroll;
  }

  .table-scroll::before {
    content: '>> 横にスクロール出来ます。';
    display: block;
    font-size: 0.9em;
    text-align: right;
  }

  .c-table {
    width: -webkit-max-content !important;
    width: -moz-max-content !important;
  }
}

/*----------------------------------------
Component table
----------------------------------------*/
.c-label {
  min-width: 25px;
  display: block;
  color: #fff;
  padding: 5px 10px 7px 10px;
  border-radius: 5px;
  font-size: 0.75em;
  text-align: center;
}

.c-label--orange {
  background-color: #f6952c;
}

.c-label--gray {
  background-color: #888;
}

/*----------------------------------------
Project login/search/result
----------------------------------------*/
.p-login,
.p-search {
  margin: 0 auto;
}

@media only screen and (min-width: 769px) {
  .p-login,
  .p-search {
    width: 500px;
  }
}

.p-result__cont {
  margin: 40px 0 20px 0;
}

.p-result__cont dl {
  padding-bottom: .8em;
  border-bottom: 1px solid #ddd;
}

.p-result__cont dl dt {
  color: #f6952c;
}

.p-result__cont dl dd {
  font-size: 19px;
  font-weight: 500;
}

.p-result__button {
  text-align: center;
  margin-top: 40px;
}

.p-result__button a {
  min-width: 300px;
  padding: 10px;
  color: #fff;
  text-decoration:none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.p-result__button--gray a {
  background-color: #888;
}

.p-result__button--gray a:hover {
  background-color: #6D6D6D;
}

@media only screen and (min-width: 769px) {
  .p-result__cont dl {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
  }
}

@media only screen and (max-width: 768px) {
  .p-result__cont dl {
    display: block;
  }

  .p-result__cont dl dt {
    width: 100%;
  }

  .p-result__cont dl dd {
    width: 100%;
    margin-top: 5px;
  }
}
