/* contents */

.header-area {
  position: sticky;
  top:0;
  left:0;
  right:0;
  z-index: 1000
}

.contents {
  width: 960px;
  margin: 0 auto;
}

.main-contents {
  padding: 0 20px;
  border-top: 3px solid #004263;
  background: url(/images/work/bg_ttl.jpg) top center no-repeat;
  text-align: center
}

.ttl {
  min-height: 180px;
  margin: 0 auto;
  padding: 70px 0 0;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.4;
  color: #004263
}

.subttl {
  padding: 15px 0 10px;
  font-size: 24px;
  font-weight: bold;
  color: #004263
}
.strength-area {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between
}

.strength {
  width: calc(50% - 50px);
  margin: 15px 0;
  padding: 20px;
  border: 1px solid #004263;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
  gap: 10px 30px
}

.strength figcaption {
  margin-bottom: 20px;
  font-size:20px;
  font-weight: bold;
  line-height: 1.6;
  color: #004263
}

.type {
  padding: 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: #004263
}

.type a {
  display: block;
}

.type a:hover {
  opacity: .5;
}

.item {
  position: relative;
  float: left;
  min-width: 232px;
  margin-bottom: 20px;
  margin-right: 25px;
  padding: 20px;
  border-top: 3px solid #004263;
  border-right: 3px solid #004263;
  border-bottom: 3px solid #004263;
  border-left: 3px solid #004263;
  font-size: 20px;
  font-weight: bold;
  color: #004263
}


.item2 {
  position: relative;
  float: left;
  margin-bottom: 20px;
  margin-right: 25px;
  font-size: 20px;
  font-weight: bold;
  color: #004263
}

.item2 a{
  display: block;
  min-width: 220px;
  padding: 20px;
  border-top: 3px solid #004263;
  border-right: 15px solid #004263;
  border-bottom: 3px solid #004263;
  border-left: 3px solid #004263;
  background-color: transparent
}

.item2 a:after {content:"\0bb";}

.item2 a:hover{
  background-color: #004263;
  color: #fff
}

.flow {
  margin: 0 auto 20px;
}

.schedule {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 20px;
  border: 4px solid #004263;
  text-align: left;
}

.schedule p {
  display: block;
  font-size: 24px;
}

.schedule span {
  display: block;
  margin: 0 auto 10px;
  font-size: 24px;
  font-weight: bold;
  color: #004263
}

.category {
  max-width: 1060px;
  margin:0 10px 2.5em 10px;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1), 0 0 4px 0 rgba(0, 0, 0, .1);
}

.category a {
  display: block;
  padding: 0 0 10px;
  text-decoration: none;
}

.category a:hover {
  opacity: .8;
}

.category h3 {
  padding: 1em .5em;
  background-color: #004263;
  font-size: 1.75em;
  font-weight: bold;
  color: #fff;
}

.category .layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 0;
  padding: 10px 20px;
  font-size: 1.3em;
  text-align: left;
}

.category .layout ul {
  display: block;
  width: 65%;
  margin-bottom: 0;
  line-height: 2;
}

.category .layout li {
  display: inline-block;
}

.category .recommend {
  margin: 0 20px 0;
  padding: 20px;
  border: 2px dotted #004263;
  border-radius: .5em;
  font-size: 1.75em;
  font-weight: bold;
  line-height: 1em;
}

.category .recommend h4 {
  padding: 0 0 5px;
  font-size: 1em;
  font-weight: bold;
  line-height: 1em; 
  color: #3a8ee8;
}

.category .recommend h4 .point {
  color: #ffa114;
}

.arrow {
  display: block;
  margin: 20px 0;
  font-size: 24px;
  font-weight: bold;
  color: #004263;
  text-align: center;
}

.info {
  margin: 10px auto 0;
  text-align: center;
}

.info a.contact{
  display: block;
  width: 30%;
  min-height: 30px;
  margin: 0 auto 10px;
  padding: 15px;
  -webkit-border-radius: 40px;
          border-radius: 40px;
  background-color: #004263;
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  text-decoration: none;
  vertical-align: middle;
  overflow: hidden
}

.info a.contact:hover{
  padding: 14px;
  border: 1px solid #004263;
  background-color: #fff;
  color: #004263
}

.detail {
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.qa ul {
  margin: 30px auto 0
}

.qa li {
  margin: 0 auto 20px;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1), 0 0 4px 0 rgba(0, 0, 0, .1);
  text-align: left
}

.qa .question {
  padding: 25px 20px 25px 35px;
  background-color: #004263;
  font-size: 1.8em;
  font-weight: bold;
  color: #FFF
}

.qa .answer {
  padding: 25px 20px 25px 35px;
  background-color: #FFF;
  font-size: 1.4em;
  color: #004263
}


@media screen and (max-width: 767px) {
    .sp .contents {
      width: 100%;
    }
    .sp .ttl {
      min-height: 100px;
      font-size: 30px
    }
    .sp .strength {
      width: 100%;
    }
    .sp .type img {
      width: 100%;
    }
    .sp .item {
      float: none;
      width: auto;
      margin: 0 auto 15px;
    }
    .sp .item2 {
      float: none;
      width: auto;
      margin: 0 auto 15px;
    }
    .sp .info a.contact{
      width: 70%
    }
    .sp .schedule {
      display: block;
      text-align: center;
    }
    .sp .schedule img{
      margin: 0 auto 20px;
    }
    .sp .category .layout {
      font-size: 1.2em;
      justify-content: center;
    }
    .category .layout ul {
      width: 100%;
      margin: 10px 0 0;
      line-height: 1.2em;
    }
    .category .recommend {
      padding: 10px 0;
      font-size: 1.3em;
      font-weight: bold;
    }
}