/* ローディング画面 */
#loading {
  width: 100%;
  height: 100%;
  transition: all 1s;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.spinner {
  width: 100px;
  height: 100px;
  margin: 200px auto;
  background-color: #ce0f31;
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

p {
  font-size: 16px;
  line-height: 30px;
}

a {
  text-decoration: none;
}

.case-page {
  margin: 0;
}

img {
  height: auto;
  width: 100%;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.header {
    max-width: 1200px;
    margin: auto;
    padding: 15px 25px 10px;
}

.header img {
    width: auto;
    height: 60px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.case_title {
  border-bottom: 1px solid #000;
  font-size: 20px;
  line-height: 30px;
  margin-top: 40px;
  padding-bottom: 12px;
  width: 100%;
}

.case-top {
  justify-content: space-between; 
  margin-top: 40px;
  width: 100%;
}

.case-left {
  width: 100%;
}

.case-right {
  width: 100%;
}

#company {
  font-size: 16px;
  font-weight: 600;
}

#company-info {
  font-size: 12px;
  line-height: 20px;
}

.case-company-logo {
  border: 1px solid #ddd;
  width: 150px;
}

.summary {
  background-image: url('https://gacco.co.jp/service/biz/img/course-back.png');
  background-size: cover;
  padding: 40px 0;
}

.summary > .container > :not(:last-child) {
  margin-bottom: 20px;
}

.case-item {
  background-color: #fff;
  border: 1px solid #c03;
  border-spacing: 0;
  border-radius: 20px;
  padding: 12px 0;
  width: 100%;
}

.case-th {
  color: #c03;
  text-align: center;
  vertical-align: middle;
}

.case-table-label {
  font-size: 20px;
  margin: 0;
  vertical-align: middle;
}

.case-td {
  font-weight: 600;
  padding: 8px 16px;
}

.case-td p {
  display: inline-block;
  margin: 0;
}

.case-label {
  font-size: 20px;
  margin-top: 40px;
  text-align: center;
}

.case-body {
  margin-top: 20px;
}

.case-body > h2 {
  font-size: 16px;
  color: #c03;
  font-weight: 600;
  line-height: 30px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.case-body > h2::before {
  content:"─";
  margin-right: 4px;
}

.button {
    text-align: center;
    margin: 40px auto;
}

.btn {
    display: inline-block;
    margin: 0 5px;
    padding: 25px 40px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    background: #1E5FE4;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 50px;
    color: #fff;
    background-color: #c03;
}

.footer-logo {
    margin: auto;
    width: 200px;
}

.footer-menu {
    padding: 20px;
}

footer a {
    color: #fff;
}

@media (min-width: 591px) {
  .case_title {
    font-size: 30px;
    line-height: 48px;
  }

  .case-left {
    width: 200px;
  }

  .case-right {
    flex: 1;
  }

  #company {
    margin: 0;
    font-size: 24px;
  }

  #company-info {
    font-size: 14px;
    line-height: 24px;
    margin-top: 8px;
  } 

  .summary {
    padding: 60px 0;
  }
  
  .case-table-label {
    font-size: 26px;
  }
  
  .case-td {
    text-align: center;
  }

  .case-td p {
    font-size: 18px;
    line-height: 30px;
    max-width: 60%;
    text-align: left;
  }

  .case-label {
    font-size: 30px;
  }
  /* .case-body {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  } */
}